Searched defs:child (Results 1 - 18 of 18) sorted by relevance

/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_children.c59 static void fpm_child_free(struct fpm_child_s *child) /* {{{ */ argument
61 free(child);
65 static void fpm_child_close(struct fpm_child_s *child, int in_event_loop) /* {{{ */ argument
67 if (child->fd_stdout != -1) {
69 fpm_event_fire(&child->ev_stdout);
71 if (child->fd_stdout != -1) {
72 close(child->fd_stdout);
76 if (child->fd_stderr != -1) {
78 fpm_event_fire(&child->ev_stderr);
80 if (child
89 fpm_child_link(struct fpm_child_s *child) argument
105 fpm_child_unlink(struct fpm_child_s *child) argument
125 struct fpm_child_s *child = 0; local
164 fpm_children_free(struct fpm_child_s *child) argument
181 struct fpm_child_s *child; local
330 fpm_resources_discard(struct fpm_child_s *child) argument
338 fpm_child_resources_use(struct fpm_child_s *child) argument
354 fpm_parent_resources_use(struct fpm_child_s *child) argument
364 struct fpm_child_s *child; local
[all...]
H A Dfpm_php_trace.c42 static int fpm_php_trace_dump(struct fpm_child_s *child, FILE *slowlog TSRMLS_DC) /* {{{ */ argument
45 pid_t pid = child->pid;
56 fprintf(slowlog, "\n%s [pool %s] pid %d\n", buf, child->wp->config->name, (int) pid);
137 void fpm_php_trace(struct fpm_child_s *child) /* {{{ */ argument
142 zlog(ZLOG_NOTICE, "about to trace %d", (int) child->pid);
144 slowlog = fopen(child->wp->config->slowlog, "a+");
147 zlog(ZLOG_SYSERROR, "unable to open slowlog (%s)", child->wp->config->slowlog);
151 if (0 > fpm_trace_ready(child->pid)) {
155 if (0 > fpm_php_trace_dump(child, slowlog TSRMLS_CC)) {
159 if (0 > fpm_trace_close(child
[all...]
H A Dfpm_process_ctl.c152 struct fpm_child_s *child; local
154 for (child = wp->children; child; child = child->next) {
155 int res = kill(child->pid, signo);
157 zlog(ZLOG_DEBUG, "[pool %s] sending signal %d %s to child %d",
158 child->wp->config->name, signo,
159 fpm_signal_names[signo] ? fpm_signal_names[signo] : "", (int) child->pid);
168 zlog(ZLOG_DEBUG, "%d child(re
299 struct fpm_child_s *child; local
315 struct fpm_child_s *child; local
499 struct fpm_child_s *child; local
[all...]
H A Dfpm_request.c230 void fpm_request_check_timed_out(struct fpm_child_s *child, struct timeval *now, int terminate_timeout, int slowlog_timeout) /* {{{ */ argument
234 proc_p = fpm_scoreboard_proc_acquire(child->wp->scoreboard, child->scoreboard_i, 1);
244 if (child->slow_logged.tv_sec) {
245 if (child->slow_logged.tv_sec != proc.accepted.tv_sec || child->slow_logged.tv_usec != proc.accepted.tv_usec) {
246 child->slow_logged.tv_sec = 0;
247 child->slow_logged.tv_usec = 0;
259 if (child->slow_logged.tv_sec == 0 && slowlog_timeout &&
264 child
287 fpm_request_is_idle(struct fpm_child_s *child) argument
301 fpm_request_last_activity(struct fpm_child_s *child, struct timeval *tv) argument
[all...]
H A Dfpm_stdio.c78 zlog(ZLOG_SYSERROR, "failed to init child stdio: dup2()");
91 struct fpm_child_s *child; local
102 child = (struct fpm_child_s *)arg;
103 is_stdout = (fd == child->fd_stdout);
105 event = &child->ev_stdout;
107 event = &child->ev_stderr;
120 zlog(ZLOG_SYSERROR, "unable to read what child say");
127 close(child->fd_stdout);
128 child->fd_stdout = -1;
130 close(child
183 fpm_stdio_prepare_pipes(struct fpm_child_s *child) argument
213 fpm_stdio_parent_use_pipes(struct fpm_child_s *child) argument
234 fpm_stdio_discard_pipes(struct fpm_child_s *child) argument
249 fpm_stdio_child_use_pipes(struct fpm_child_s *child) argument
[all...]
/PHP_5_3/ext/intl/resourcebundle/
H A Dresourcebundle_class.h32 UResourceBundle *child; member in struct:__anon184
/PHP_5_3/ext/json/
H A DJSON_parser.c379 zval *child = jp->the_zstack[cur]; local
384 add_next_index_zval(root, child);
390 add_property_zval_ex(root, (key->len ? key->c : "_empty_"), (key->len ? (key->len + 1) : sizeof("_empty_")), child TSRMLS_CC);
391 Z_DELREF_P(child);
395 add_assoc_zval_ex(root, (key->len ? key->c : ""), (key->len ? (key->len + 1) : sizeof("")), child);
/PHP_5_3/ext/mbstring/oniguruma/
H A Dregexec.c96 history_tree_add_child(OnigCaptureTreeNode* parent, OnigCaptureTreeNode* child) argument
121 parent->childs[parent->num_childs] = child;
130 OnigCaptureTreeNode *clone, *child; local
138 child = history_tree_clone(node->childs[i]);
139 if (IS_NULL(child)) {
143 history_tree_add_child(clone, child);
1091 OnigCaptureTreeNode* child; local
1099 child = history_node_new();
1100 CHECK_NULL_RETURN_VAL(child, ONIGERR_MEMORY);
1101 child
[all...]
/PHP_5_3/ext/dom/
H A Dnode.c1002 xmlNodePtr child, new_child, parentp, refp; local
1016 DOM_GET_OBJ(child, node, xmlNodePtr, childobj);
1023 (child->parent != NULL && dom_node_is_read_only(child->parent) == SUCCESS)) {
1028 if (dom_hierarchy(parentp, child) == FAILURE) {
1033 if (child->doc != parentp->doc && child->doc != NULL) {
1038 if (child->type == XML_DOCUMENT_FRAG_NODE && child->children == NULL) {
1043 if (child
1251 xmlNodePtr children, child, nodep; local
1302 xmlNodePtr child, nodep, new_child = NULL; local
[all...]
H A Dphp_dom.c1442 /* {{{ int dom_hierarchy(xmlNodePtr parent, xmlNodePtr child) */
1443 int dom_hierarchy(xmlNodePtr parent, xmlNodePtr child) argument
1447 if (parent == NULL || child == NULL || child->doc != parent->doc) {
1454 if (nodep == child) {
1508 xmlNodePtr child, nextp, newnextp; local
1512 child = nodep->children;
1513 while(child != NULL) {
1514 switch (child->type) {
1516 nextp = child
[all...]
H A Dxpath.c146 zval *child; local
147 MAKE_STD_ZVAL(child);
167 child = php_dom_create_object(node, &ret, NULL, child, (dom_object *)intern TSRMLS_CC);
168 add_next_index_zval(args[i], child);
479 zval *child; local
481 MAKE_STD_ZVAL(child);
501 child = php_dom_create_object(node, &ret, NULL, child, (dom_object *)intern TSRMLS_CC);
502 add_next_index_zval(retval, child);
[all...]
/PHP_5_3/ext/simplexml/
H A Dsxe.c87 Get name of current child element */
132 php_sxe_object *child; local
142 child = php_sxe_fetch_object(sxe->iter.data TSRMLS_CC);
144 GET_NODE(child, node);
156 Get child element iterator */
/PHP_5_3/ext/standard/
H A Dproc_open.c259 wait_pid = waitpid(proc->child, &wstatus, 0);
355 if (kill(proc->child, sig_no) == 0) {
406 add_assoc_long(return_value, "pid", (long) proc->child);
418 wait_pid = waitpid(proc->child, &wstatus, WNOHANG|WUNTRACED);
420 if (wait_pid == proc->child) {
483 int index; /* desired fd number in child process */
484 php_file_descriptor_t parentend, childend; /* fds for pipes in parent/child */
523 php_process_id_t child; local
574 /* we use this to allow the child to inherit handles */
663 /* don't let the child inheri
[all...]
H A Dproc_open.h42 php_process_id_t child; member in struct:php_process_handle
/PHP_5_3/ext/xsl/
H A Dxsltprocessor.c253 zval *child; local
254 MAKE_STD_ZVAL(child);
274 child = php_dom_create_object(node, &ret, NULL, child, domintern TSRMLS_CC);
275 add_next_index_zval(args[i], child);
/PHP_5_3/Zend/
H A Dzend_compile.c2621 zend_function *child; local
2624 if (zend_hash_quick_find(child_function_table, hash_key->arKey, hash_key->nKeyLength, hash_key->h, (void **) &child)==FAILURE) {
2628 return 1; /* method doesn't exist in child, copy from parent */
2633 && parent->common.scope != (child->common.prototype ? child->common.prototype->common.scope : child->common.scope)
2634 && child->common.fn_flags & (ZEND_ACC_ABSTRACT|ZEND_ACC_IMPLEMENTED_ABSTRACT)) {
2637 child->common.function_name,
2638 child->common.prototype ? child
[all...]
H A Dzend_alloc.c403 struct _zend_mm_free_block *child[2]; member in struct:_zend_mm_free_block
748 mm_block->child[0] = mm_block->child[1] = NULL;
761 p = &prev->child[(m >> (ZEND_MM_NUM_BUCKETS-1)) & 1];
812 rp = &mm_block->child[mm_block->child[1] != NULL];
823 while (*(cp = &(prev->child[prev->child[1] != NULL])) != NULL) {
833 if ((prev->child[0] = mm_block->child[
[all...]
/PHP_5_3/ext/spl/
H A Dspl_iterators.c209 zval *retval, *child; local
298 zend_call_method_with_0_params(&zthis, object->ce, &object->callGetChildren, "callGetChildren", &child);
300 zend_call_method_with_0_params(&zobject, ce, NULL, "getchildren", &child);
308 if (child) {
309 zval_ptr_dtor(&child);
316 ce = child && Z_TYPE_P(child) == IS_OBJECT ? Z_OBJCE_P(child) : NULL;
318 if (child) {
319 zval_ptr_dtor(&child);
[all...]

Completed in 89 milliseconds