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

/PHP_TRUNK/sapi/fpm/fpm/
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_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_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...]
H A Dfpm_php_trace.c43 static int fpm_php_trace_dump(struct fpm_child_s *child, FILE *slowlog TSRMLS_DC) /* {{{ */ argument
48 pid_t pid = child->pid;
59 fprintf(slowlog, "\n%s [pool %s] pid %d\n", buf, child->wp->config->name, (int) pid);
141 void fpm_php_trace(struct fpm_child_s *child) /* {{{ */ argument
144 fpm_scoreboard_update(0, 0, 0, 0, 0, 0, 1, FPM_SCOREBOARD_ACTION_INC, child->wp->scoreboard);
147 zlog(ZLOG_NOTICE, "about to trace %d", (int) child->pid);
149 slowlog = fopen(child->wp->config->slowlog, "a+");
152 zlog(ZLOG_SYSERROR, "unable to open slowlog (%s)", child->wp->config->slowlog);
156 if (0 > fpm_trace_ready(child->pid)) {
160 if (0 > fpm_php_trace_dump(child, slowlo
[all...]
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregexec.c98 history_tree_add_child(OnigCaptureTreeNode* parent, OnigCaptureTreeNode* child) argument
123 parent->childs[parent->num_childs] = child;
132 OnigCaptureTreeNode *clone, *child; local
140 child = history_tree_clone(node->childs[i]);
141 if (IS_NULL(child)) {
145 history_tree_add_child(clone, child);
1041 OnigCaptureTreeNode* child; local
1049 child = history_node_new();
1050 CHECK_NULL_RETURN_MEMERR(child);
1051 child
[all...]
/PHP_TRUNK/ext/json/
H A DJSON_parser.c413 zval *child = &jp->the_zstack[cur]; local
418 add_next_index_zval(root, child);
422 add_assoc_or_property(assoc, root, key, child TSRMLS_CC);
/PHP_TRUNK/ext/dom/
H A Dnode.c920 xmlNodePtr child, new_child, parentp, refp; local
934 DOM_GET_OBJ(child, node, xmlNodePtr, childobj);
941 (child->parent != NULL && dom_node_is_read_only(child->parent) == SUCCESS)) {
946 if (dom_hierarchy(parentp, child) == FAILURE) {
951 if (child->doc != parentp->doc && child->doc != NULL) {
956 if (child->type == XML_DOCUMENT_FRAG_NODE && child->children == NULL) {
961 if (child
1169 xmlNodePtr children, child, nodep; local
1220 xmlNodePtr child, nodep, new_child = NULL; local
[all...]
H A Dphp_dom.c1312 /* {{{ int dom_hierarchy(xmlNodePtr parent, xmlNodePtr child) */
1313 int dom_hierarchy(xmlNodePtr parent, xmlNodePtr child) argument
1317 if (parent == NULL || child == NULL || child->doc != parent->doc) {
1324 if (nodep == child) {
1378 xmlNodePtr child, nextp, newnextp; local
1382 child = nodep->children;
1383 while(child != NULL) {
1384 switch (child->type) {
1386 nextp = child
[all...]
H A Dxpath.c142 zval child; local
162 php_dom_create_object(node, &child, &intern->dom TSRMLS_CC);
163 add_next_index_zval(&fci.params[i], &child);
447 zval child; local
467 php_dom_create_object(node, &child, &intern->dom TSRMLS_CC);
468 add_next_index_zval(&retval, &child);
/PHP_TRUNK/ext/intl/resourcebundle/
H A Dresourcebundle_class.h31 UResourceBundle *child; member in struct:__anon113
/PHP_TRUNK/ext/simplexml/
H A Dsxe.c87 Get name of current child element */
132 php_sxe_object *child; local
142 child = Z_SXEOBJ_P(&sxe->iter.data);
144 GET_NODE(child, node);
156 Get child element iterator */
/PHP_TRUNK/ext/standard/
H A Dproc_open.c228 wait_pid = waitpid(proc->child, &wstatus, waitpid_options);
278 if (kill(proc->child, sig_no) == 0) {
331 add_assoc_long(return_value, "pid", (zend_long) proc->child);
343 wait_pid = waitpid(proc->child, &wstatus, WNOHANG|WUNTRACED);
345 if (wait_pid == proc->child) {
408 int index; /* desired fd number in child process */
409 php_file_descriptor_t parentend, childend; /* fds for pipes in parent/child */
450 php_process_id_t child; local
499 /* we use this to allow the child to inherit handles */
582 /* don't let the child inheri
[all...]
H A Dproc_open.h42 php_process_id_t child; member in struct:php_process_handle
/PHP_TRUNK/ext/xsl/
H A Dxsltprocessor.c256 zval child; local
279 php_dom_create_object(node, &child, domintern TSRMLS_CC);
280 add_next_index_zval(&args[i], &child);
/PHP_TRUNK/ext/spl/
H A Dspl_iterators.c240 zval retval, child; local
332 zend_call_method_with_0_params(zthis, object->ce, &object->callGetChildren, "callGetChildren", &child);
334 zend_call_method_with_0_params(zobject, ce, NULL, "getchildren", &child);
342 zval_ptr_dtor(&child);
348 if (Z_TYPE(child) == IS_UNDEF || Z_TYPE(child) != IS_OBJECT ||
349 !((ce = Z_OBJCE(child)) && instanceof_function(ce, spl_ce_RecursiveIterator TSRMLS_CC))) {
350 zval_ptr_dtor(&child);
361 sub_iter = ce->get_iterator(ce, &child, 0 TSRMLS_CC);
362 ZVAL_COPY_VALUE(&object->iterators[object->level].zobject, &child);
[all...]
/PHP_TRUNK/Zend/
H A Dzend_inheritance.c478 static void do_inheritance_check_on_method(zend_function *child, zend_function *parent TSRMLS_DC) /* {{{ */ argument
485 && parent->common.scope != (child->common.prototype ? child->common.prototype->common.scope : child->common.scope)
486 && child->common.fn_flags & (ZEND_ACC_ABSTRACT|ZEND_ACC_IMPLEMENTED_ABSTRACT)) {
489 child->common.function_name->val,
490 child->common.prototype ? child->common.prototype->common.scope->name->val : child->common.scope->name->val);
494 zend_error_noreturn(E_COMPILE_ERROR, "Cannot override final method %s::%s()", ZEND_FN_SCOPE_NAME(parent), child
553 zend_function *child; local
[all...]
H A Dzend_ast.h62 /* 0 child nodes */
66 /* 1 child node */
100 /* 2 child nodes */
136 /* 3 child nodes */
145 /* 4 child nodes */
157 zend_ast *child[1]; /* Array of children (using struct hack) */ member in struct:_zend_ast
166 zend_ast *child[1]; member in struct:_zend_ast_list
186 zend_ast *child[3]; member in struct:_zend_ast_decl

Completed in 25 milliseconds