Home
last modified time | relevance | path

Searched refs:child (Results 1 – 25 of 160) sorted by relevance

1234567

/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_children.c63 free(child); in fpm_child_free()
100 child->next->prev = child; in fpm_child_link()
113 child->prev->next = child->next; in fpm_child_unlink()
115 child->wp->children = child->next; in fpm_child_unlink()
119 child->next->prev = child->prev; in fpm_child_unlink()
131 for (child = wp->children; child; child = child->next) { in fpm_child_find()
140 if (!child) { in fpm_child_find()
171 for (; child; child = next) { in fpm_children_free()
200 if (child && child->idle_kill) { in fpm_children_bury()
236 if (child && child->tracer) { in fpm_children_bury()
[all …]
H A Dfpm_stdio.c122 struct fpm_child_s *child; local
136 event = &child->ev_stdout;
138 event = &child->ev_stderr;
148 child->wp->config->name, (int) child->pid, is_stdout ? "stdout" : "stderr");
159 child->wp->config->name, (int) child->pid, is_stdout ? "stdout" : "stderr");
226 close(child->fd_stdout);
227 child->fd_stdout = -1;
229 close(child->fd_stderr);
230 child->fd_stderr = -1;
278 fpm_event_set(&child->ev_stdout, child->fd_stdout, FPM_EV_READ, fpm_stdio_child_said, child);
[all …]
H A Dfpm_php_trace.c43 int callers_limit = child->wp->config->request_slowlog_trace_depth; in fpm_php_trace_dump()
44 pid_t pid = child->pid; in fpm_php_trace_dump()
195 void fpm_php_trace(struct fpm_child_s *child) /* {{{ */ in fpm_php_trace() argument
200 zlog(ZLOG_NOTICE, "about to trace %d", (int) child->pid); in fpm_php_trace()
202 slowlog = fopen(child->wp->config->slowlog, "a+"); in fpm_php_trace()
209 if (0 > fpm_trace_ready(child->pid)) { in fpm_php_trace()
213 if (0 > fpm_php_trace_dump(child, slowlog)) { in fpm_php_trace()
217 if (0 > fpm_trace_close(child->pid)) { in fpm_php_trace()
225 fpm_pctl_kill(child->pid, FPM_PCTL_CONT); in fpm_php_trace()
226 child->tracer = 0; in fpm_php_trace()
[all …]
H A Dfpm_process_ctl.c154 struct fpm_child_s *child; in fpm_pctl_kill_all() local
156 for (child = wp->children; child; child = child->next) { in fpm_pctl_kill_all()
160 child->wp->config->name, signo, in fpm_pctl_kill_all()
302 struct fpm_child_s *child; in fpm_pctl_check_request_timeout() local
305 for (child = wp->children; child; child = child->next) { in fpm_pctl_check_request_timeout()
318 struct fpm_child_s *child; in fpm_pctl_perform_idle_server_maintenance() local
327 for (child = wp->children; child; child = child->next) { in fpm_pctl_perform_idle_server_maintenance()
330 last_idle_child = child; in fpm_pctl_perform_idle_server_maintenance()
333 last_idle_child = child; in fpm_pctl_perform_idle_server_maintenance()
502 struct fpm_child_s *child; in fpm_pctl_on_socket_accept() local
[all …]
H A Dfpm_request.c228 proc_p = fpm_scoreboard_proc_acquire(child->wp->scoreboard, child->scoreboard_i, 1); in fpm_request_check_timed_out()
238 if (child->slow_logged.tv_sec) { in fpm_request_check_timed_out()
239 …if (child->slow_logged.tv_sec != proc.accepted.tv_sec || child->slow_logged.tv_usec != proc.accept… in fpm_request_check_timed_out()
240 child->slow_logged.tv_sec = 0; in fpm_request_check_timed_out()
241 child->slow_logged.tv_usec = 0; in fpm_request_check_timed_out()
258 child->slow_logged = proc.accepted; in fpm_request_check_timed_out()
259 child->tracer = fpm_php_trace; in fpm_request_check_timed_out()
261 fpm_trace_signal(child->pid); in fpm_request_check_timed_out()
264child->wp->config->name, (int) child->pid, purified_script_filename, proc.request_method, proc.req… in fpm_request_check_timed_out()
272 fpm_pctl_kill(child->pid, FPM_PCTL_TERM); in fpm_request_check_timed_out()
[all …]
H A Dfpm_stdio.h14 int fpm_stdio_prepare_pipes(struct fpm_child_s *child);
15 void fpm_stdio_child_use_pipes(struct fpm_child_s *child);
16 int fpm_stdio_parent_use_pipes(struct fpm_child_s *child);
17 int fpm_stdio_discard_pipes(struct fpm_child_s *child);
/PHP-7.4/ext/simplexml/tests/
H A D017.phpt31 echo " child: ".$child['name']."\n";
41 echo " child: ".$person->child[$j]['name']."\n";
59 child: Ann
60 child: Marray
62 child: Joe
63 child: Ann
66 child: Ann
69 child: Ann
72 child: Joe
73 child: Ann
[all …]
H A Dbug26976.phpt11 <child>a</child>
12 <child>b</child>
13 <child>c</child>
14 <child>d</child>
18 echo $root->child[0], "\n";
19 echo $root->child[1], "\n";
20 echo $root->child[2], "\n";
21 echo $root->child[3], "\n";
H A D018.phpt11 <child name="Ann" />
25 <child />
49 <child name="Ann">
50 </child>
52 </child>
55 <child name="Joe">
56 </child>
57 <child name="Ann">
58 </child>
62 <child>
[all …]
H A Dprofile02.phpt9 <child>Hello</child>
10 <child>World</child>
14 foreach ($root->child as $child) {
15 echo "$child ";
H A Dprofile11.phpt10 <reserved:child>Hello</reserved:child>
11 <special:child>World</special:child>
15 var_dump($root->children('reserved-ns')->child);
16 var_dump($root->children('special-ns')->child);
17 var_dump((string)$root->children('reserved-ns')->child);
18 var_dump((string)$root->children('special-ns')->child);
19 var_dump($root->child);
/PHP-7.4/ext/tidy/tests/
H A D023.phpt17 var_dump(tidy_get_root($tidy)->child[0]->isHtml());
18 var_dump(tidy_get_root($tidy)->child[0]->child[0]->isPHP());
19 var_dump(tidy_get_root($tidy)->child[0]->child[0]->isAsp());
20 var_dump(tidy_get_root($tidy)->child[0]->child[0]->isJste());
21 var_dump(tidy_get_root($tidy)->child[0]->child[0]->type === TIDY_NODETYPE_PHP);
23 var_dump(tidy_get_root($tidy)->child[0]->hasChildren());
24 var_dump(tidy_get_root($tidy)->child[0]->child[0]->hasChildren());
H A D025.phpt9 var_dump($tidy->Root()->child[0]->isAsp());
12 var_dump($tidy->Root()->child[0]->isJste());
15 var_dump($tidy->Root()->child[0]->child[1]->child[0]->isText());
18 $n = $tidy->Root()->child[0]->child[1]->child[0];
24 var_dump($tidy->Root()->child[0]->child[0]->hasSiblings());
H A D012.phpt55 ["child"]=>
76 ["child"]=>
100 ["child"]=>
128 ["child"]=>
148 ["child"]=>
273 ["child"]=>
312 ["child"]=>
332 ["child"]=>
412 ["child"]=>
432 ["child"]=>
[all …]
/PHP-7.4/ext/spl/tests/
H A Dbug69264.phpt7 return ['child' => 42, 'parent' => count(parent::__debugInfo())];
13 return ['child' => 42, 'parent' => count(parent::__debugInfo())];
19 return ['child' => 42, 'parent' => count(parent::__debugInfo())];
66 ["child"]=>
72 ["child"]=>
78 ["child"]=>
84 ["child"]=>
90 ["child"]=>
96 ["child"]=>
102 ["child"]=>
[all …]
H A Diterator_006.phpt10 <child>Hello</child>
11 <child>World</child>
15 foreach (new IteratorIterator($root->child) as $child) {
16 echo $child."\n";
/PHP-7.4/Zend/
H A Dzend_ast.c130 ast->child[0] = child0; in zend_ast_create_decl()
131 ast->child[1] = child1; in zend_ast_create_decl()
132 ast->child[2] = child2; in zend_ast_create_decl()
133 ast->child[3] = child3; in zend_ast_create_decl()
159 ast->child[0] = child; in zend_ast_create_1()
160 if (child) { in zend_ast_create_1()
270 list->child[0] = child; in zend_ast_create_list_1()
271 if (child) { in zend_ast_create_list_1()
381 if (child != NULL) { in zend_ast_create_list()
1227 if (ast->child[1] && ast->child[1]->kind == ZEND_AST_IF) { in zend_ast_export_if_stmt()
[all …]
/PHP-7.4/ext/dom/tests/
H A DDOMDocumentFragment_appendXML_hasChildNodes_basic.phpt11 echo "has child nodes\n";
13 echo "has no child nodes\n";
17 echo "has child nodes\n";
19 echo "has no child nodes\n";
22 has no child nodes
23 has child nodes
H A DDOMNode_hasChildNodes_basic.phpt2 Test whether a node has child nodes: hasChildNodes()
15 * Check for child nodes of the <book>, <title> and This is the title
30 echo "Root has child nodes: ";
33 echo "Title has child nodes: ";
36 echo "Text has child nodes: ";
41 Root has child nodes: bool(true)
42 Title has child nodes: bool(true)
43 Text has child nodes: bool(false)
H A DDOMNode_hasChildNodes.phpt17 echo "Document has child nodes\n";
20 echo "Document has child nodes\n";
28 echo "Document has child nodes\n";
31 echo "Document with 2 child nodes\n";
39 Document has child nodes
41 Document has child nodes
46 Document has child nodes
48 Document with 2 child nodes
H A DDOMNode_replaceChild_basic.phpt2 Replacing a child node
14 // Replaces the child node oldChild with newChild in the list of children, and
19 echo "New child replaces old child:\n" . $document->saveXML();
20 echo "Old child is returned:\n" . $old_child->tagName . "\n";
25 echo "Existing child is removed from tree:\n" . $document->saveXML();
34 New child replaces old child:
37 Old child is returned:
39 Existing child is removed from tree:
/PHP-7.4/ext/soap/tests/interop/Round3/GroupE/
H A Dr3_groupE_list_006w.phpt13 $this->child = $c;
17 $struct->child->child->child = $struct->child;
27child id="ref1" xsi:type="ns2:List"><varInt xsi:type="xsd:int">2</varInt><varString xsi:type="xsd:…
29child id="ref1" xsi:type="ns2:List"><varInt xsi:type="xsd:int">2</varInt><varString xsi:type="xsd:…
35 ["child"]=>
41 ["child"]=>
47 ["child"]=>
H A Dr3_groupE_list_005w.phpt13 $this->child = $c;
17 $struct->child->child->child = $struct;
27child xsi:type="ns2:List"><varInt xsi:type="xsd:int">2</varInt><varString xsi:type="xsd:string">ar…
29child xsi:type="ns2:List"><varInt xsi:type="xsd:int">2</varInt><varString xsi:type="xsd:string">ar…
35 ["child"]=>
41 ["child"]=>
47 ["child"]=>
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_watch.c534 child->child = NULL;
565 child = element->child;
572 child->child = NULL;
573 element->child = child;
654 child = child->child;
713 child = child->child;
791 child = child->child;
825 child = child->child;
829 child->child = NULL;
855 child = child->child;
[all …]
/PHP-7.4/ext/intl/resourcebundle/
H A Dresourcebundle.c38 restype = ures_getType( source->child ); in resourcebundle_extract_value()
42 ufield = ures_getString( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) ); in resourcebundle_extract_value()
48 bfield = ures_getBinary( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) ); in resourcebundle_extract_value()
54 lfield = ures_getInt( source->child, &INTL_DATA_ERROR_CODE(source) ); in resourcebundle_extract_value()
60 vfield = ures_getIntVector( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) ); in resourcebundle_extract_value()
72 newrb->me = source->child; in resourcebundle_extract_value()
73 source->child = NULL; in resourcebundle_extract_value()

Completed in 88 milliseconds

1234567