Searched refs:child (Results 1 - 25 of 39) sorted by relevance

12

/PHP_TRUNK/ext/spl/examples/
H A Drecursivecomparedualiterator.inc20 * level we need to check whether both child iterators are at their end.
/PHP_TRUNK/ext/tidy/examples/
H A Ddumpit5.php84 foreach($node->child as $child) {
85 dump_tree($child, $indent + 3);
H A Durlgrab5.php27 foreach($node->child as $c) {
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_children.h15 int fpm_children_free(struct fpm_child_s *child);
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_stdio.h13 int fpm_stdio_prepare_pipes(struct fpm_child_s *child);
14 void fpm_stdio_child_use_pipes(struct fpm_child_s *child);
15 int fpm_stdio_parent_use_pipes(struct fpm_child_s *child);
16 int fpm_stdio_discard_pipes(struct fpm_child_s *child);
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.c90 /* Notice: child cannot use master error_log
102 zlog(ZLOG_SYSERROR, "failed to init child stdio: dup2()");
115 struct fpm_child_s *child; local
126 child = (struct fpm_child_s *)arg;
127 is_stdout = (fd == child->fd_stdout);
129 event = &child->ev_stdout;
131 event = &child->ev_stderr;
144 zlog(ZLOG_SYSERROR, "unable to read what child say");
151 close(child->fd_stdout);
152 child
207 fpm_stdio_prepare_pipes(struct fpm_child_s *child) argument
237 fpm_stdio_parent_use_pipes(struct fpm_child_s *child) argument
258 fpm_stdio_discard_pipes(struct fpm_child_s *child) argument
273 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) /* {{{ */ 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
143 fpm_scoreboard_update(0, 0, 0, 0, 0, 0, 1, FPM_SCOREBOARD_ACTION_INC, child->wp->scoreboard);
146 zlog(ZLOG_NOTICE, "about to trace %d", (int) child->pid);
148 slowlog = fopen(child->wp->config->slowlog, "a+");
151 zlog(ZLOG_SYSERROR, "unable to open slowlog (%s)", child->wp->config->slowlog);
155 if (0 > fpm_trace_ready(child->pid)) {
159 if (0 > fpm_php_trace_dump(child, slowlo
[all...]
H A Dfpm_request.c229 void fpm_request_check_timed_out(struct fpm_child_s *child, struct timeval *now, int terminate_timeout, int slowlog_timeout) /* {{{ */ argument
233 proc_p = fpm_scoreboard_proc_acquire(child->wp->scoreboard, child->scoreboard_i, 1);
243 if (child->slow_logged.tv_sec) {
244 if (child->slow_logged.tv_sec != proc.accepted.tv_sec || child->slow_logged.tv_usec != proc.accepted.tv_usec) {
245 child->slow_logged.tv_sec = 0;
246 child->slow_logged.tv_usec = 0;
258 if (child->slow_logged.tv_sec == 0 && slowlog_timeout &&
263 child
286 fpm_request_is_idle(struct fpm_child_s *child) argument
300 fpm_request_last_activity(struct fpm_child_s *child, struct timeval *tv) argument
[all...]
H A Dfpm_request.h18 void fpm_request_check_timed_out(struct fpm_child_s *child, struct timeval *tv, int terminate_timeout, int slowlog_timeout);
19 int fpm_request_is_idle(struct fpm_child_s *child);
21 int fpm_request_last_activity(struct fpm_child_s *child, struct timeval *tv);
/PHP_TRUNK/ext/standard/
H A Dproc_open.h42 php_process_id_t child; member in struct:php_process_handle
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...]
/PHP_TRUNK/sapi/phpdbg/
H A Dzend_mm_structs.h50 struct _zend_mm_free_block *child[2]; member in struct:_zend_mm_free_block
/PHP_TRUNK/sapi/fpm/tests/
H A Dinclude.inc35 $fpm = proc_open('killit () { kill $child; }; trap killit TERM; '.get_fpm_path().' -F -O -y '.$cfg.' '.$extra_args.' 2>&1 & child=$!; wait', $desc, $pipes);
/PHP_TRUNK/ext/spl/internal/
H A Drecursivecachingiterator.inc55 $child = $this->it->getChildren();
60 $this->getChildren = $ref->newInstance($child, $this->flags);
/PHP_TRUNK/Zend/
H A Dzend_ast.c81 ast->child[0] = child0;
82 ast->child[1] = child1;
83 ast->child[2] = child2;
98 ast->child[i] = va_arg(va, zend_ast *);
99 if (ast->child[i] != NULL) {
100 uint32_t lineno = zend_ast_get_lineno(ast->child[i]);
170 list->child[list->children++] = op;
213 zend_ast_evaluate(&op1, ast->child[0], scope);
214 zend_ast_evaluate(&op2, ast->child[1], scope);
226 zend_ast_evaluate(&op1, ast->child[
[all...]
H A Dzend_inheritance.c503 static void do_inheritance_check_on_method(zend_function *child, zend_function *parent) /* {{{ */ argument
510 && parent->common.scope != (child->common.prototype ? child->common.prototype->common.scope : child->common.scope)
511 && child->common.fn_flags & (ZEND_ACC_ABSTRACT|ZEND_ACC_IMPLEMENTED_ABSTRACT)) {
514 child->common.function_name->val,
515 child->common.prototype ? child->common.prototype->common.scope->name->val : child->common.scope->name->val);
519 zend_error_noreturn(E_COMPILE_ERROR, "Cannot override final method %s::%s()", ZEND_FN_SCOPE_NAME(parent), child
578 zend_function *child; local
[all...]
H A Dzend_compile.c1863 ast = ast->child[0];
1945 zend_ast *name_ast = ast->child[0];
1969 zend_ast *name_ast = ast->child[0];
2039 zend_ast *var_ast = ast->child[0];
2040 zend_ast *dim_ast = ast->child[1];
2081 if (ast->kind == ZEND_AST_VAR && ast->child[0]->kind == ZEND_AST_ZVAL) {
2082 zval *name = zend_ast_get_zval(ast->child[0]);
2092 zend_ast *obj_ast = ast->child[0];
2093 zend_ast *prop_ast = ast->child[1];
2133 zend_ast *class_ast = ast->child[
[all...]
/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...]
/PHP_TRUNK/ext/intl/resourcebundle/
H A Dresourcebundle.c38 restype = ures_getType( source->child );
42 ufield = ures_getString( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) );
48 bfield = ures_getBinary( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) );
54 lfield = ures_getInt( source->child, &INTL_DATA_ERROR_CODE(source) );
60 vfield = ures_getIntVector( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) );
72 newrb->me = source->child;
73 source->child = NULL;
H A Dresourcebundle_class.c48 if (rb->child) {
49 ures_close( rb->child );
68 rb->child = NULL;
183 rb->child = ures_getByIndex( rb->me, meindex, rb->child, &INTL_DATA_ERROR_CODE(rb) );
186 rb->child = ures_getByKey(rb->me, mekey, rb->child, &INTL_DATA_ERROR_CODE(rb) );
H A Dresourcebundle_class.h31 UResourceBundle *child; member in struct:__anon115
H A Dresourcebundle_iterator.c37 rb->child = ures_getByIndex( rb->me, iterator->i, rb->child, &icuerror );
40 /* ATTN: key extraction must be the first thing to do... rb->child might be reset in read! */
42 iterator->currentkey = estrdup( ures_getKey( rb->child ) );
/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 */

Completed in 41 milliseconds

12