Home
last modified time | relevance | path

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

123456789

/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_children.c62 free(child); in fpm_child_free()
122 child->next->prev = child; in fpm_child_link()
135 child->prev->next = child->next; in fpm_child_unlink()
137 child->wp->children = child->next; in fpm_child_unlink()
141 child->next->prev = child->prev; in fpm_child_unlink()
153 for (child = wp->children; child; child = child->next) { in fpm_child_find()
193 for (; child; child = next) { in fpm_children_free()
222 if (child && child->idle_kill) { in fpm_children_bury()
258 if (child && child->tracer) { in fpm_children_bury()
259 child->tracer(child); in fpm_children_bury()
[all …]
H A Dfpm_stdio.c174 struct fpm_child_s *child; local
188 event = &child->ev_stdout;
190 event = &child->ev_stderr;
200 child->wp->config->name, (int) child->pid, is_stdout ? "stdout" : "stderr");
211 child->wp->config->name, (int) child->pid, is_stdout ? "stdout" : "stderr");
279 close(child->fd_stdout);
280 child->fd_stdout = -1;
282 close(child->fd_stderr);
283 child->fd_stderr = -1;
331 fpm_event_set(&child->ev_stdout, child->fd_stdout, FPM_EV_READ, fpm_stdio_child_said, child);
[all …]
H A Dfpm_process_ctl.c158 struct fpm_child_s *child; in fpm_pctl_kill_all() local
160 for (child = wp->children; child; child = child->next) { in fpm_pctl_kill_all()
305 struct fpm_child_s *child; in fpm_pctl_check_request_timeout() local
308 for (child = wp->children; child; child = child->next) { in fpm_pctl_check_request_timeout()
318 if (child->idle_kill) { in fpm_pctl_kill_idle_child()
321 child->idle_kill = true; in fpm_pctl_kill_idle_child()
332 struct fpm_child_s *child; in fpm_pctl_perform_idle_server_maintenance() local
361 for (child = wp->children; child; child = child->next) { in fpm_pctl_perform_idle_server_maintenance()
364 last_idle_child = child; in fpm_pctl_perform_idle_server_maintenance()
517 struct fpm_child_s *child; in fpm_pctl_on_socket_accept() local
[all …]
H A Dfpm_php_trace.c39 int callers_limit = child->wp->config->request_slowlog_trace_depth; in fpm_php_trace_dump()
40 pid_t pid = child->pid; in fpm_php_trace_dump()
191 void fpm_php_trace(struct fpm_child_s *child) /* {{{ */ in fpm_php_trace() argument
196 zlog(ZLOG_NOTICE, "about to trace %d", (int) child->pid); in fpm_php_trace()
198 slowlog = fopen(child->wp->config->slowlog, "a+"); in fpm_php_trace()
205 if (0 > fpm_trace_ready(child->pid)) { in fpm_php_trace()
209 if (0 > fpm_php_trace_dump(child, slowlog)) { in fpm_php_trace()
213 if (0 > fpm_trace_close(child->pid)) { in fpm_php_trace()
221 fpm_pctl_kill(child->pid, FPM_PCTL_CONT); in fpm_php_trace()
222 child->tracer = 0; in fpm_php_trace()
[all …]
H A Dfpm_request.c226 proc_p = fpm_scoreboard_proc_acquire(child->wp->scoreboard, child->scoreboard_i, 1); in fpm_request_check_timed_out()
236 if (child->slow_logged.tv_sec) { in fpm_request_check_timed_out()
237 …if (child->slow_logged.tv_sec != proc.accepted.tv_sec || child->slow_logged.tv_usec != proc.accept… in fpm_request_check_timed_out()
238 child->slow_logged.tv_sec = 0; in fpm_request_check_timed_out()
239 child->slow_logged.tv_usec = 0; in fpm_request_check_timed_out()
256 child->slow_logged = proc.accepted; in fpm_request_check_timed_out()
257 child->tracer = fpm_php_trace; in fpm_request_check_timed_out()
259 fpm_trace_signal(child->pid); in fpm_request_check_timed_out()
262child->wp->config->name, (int) child->pid, purified_script_filename, proc.request_method, proc.req… in fpm_request_check_timed_out()
270 fpm_pctl_kill(child->pid, FPM_PCTL_TERM); in fpm_request_check_timed_out()
[all …]
/PHP-8.1/ext/simplexml/tests/
H A D017.phpt31 echo " child: ".$child['name']."\n";
41 echo " child: ".$person->child[$j]['name']."\n";
58 child: Ann
59 child: Marray
61 child: Joe
62 child: Ann
65 child: Ann
68 child: Ann
71 child: Joe
72 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-8.1/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());
/PHP-8.1/Zend/
H A Dzend_ast.c127 ast->child[0] = child0; in zend_ast_create_decl()
128 ast->child[1] = child1; in zend_ast_create_decl()
129 ast->child[2] = child2; in zend_ast_create_decl()
130 ast->child[3] = child3; in zend_ast_create_decl()
131 ast->child[4] = child4; in zend_ast_create_decl()
157 ast->child[0] = child; in zend_ast_create_1()
158 if (child) { in zend_ast_create_1()
298 list->child[0] = child; in zend_ast_create_list_1()
299 if (child) { in zend_ast_create_list_1()
1374 if (ast->child[1] && ast->child[1]->kind == ZEND_AST_IF) { in zend_ast_export_if_stmt()
[all …]
/PHP-8.1/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-8.1/ext/dom/tests/
H A DreplaceWith_non_viable_next_sibling.phpt11 <child>
13 </child>
18 $child = $container->firstElementChild;
19 $alone = $child->firstElementChild;
21 $child->after($alone);
23 $child->replaceWith($alone);
29 <child>
31 </child><alone/>
H A Dxpath_domnamespacenode_advanced.phpt11 <child xmlns:baz="http://example.com/baz">Hello PHP!</child>
49 string(5) "child"
51 string(5) "child"
65 Before: child
66 After: child
67 Before: child
69 After: child
70 Before: child
72 After: child
73 Before: child
[all …]
H A DDOMNode_hasChildNodes_basic.phpt2 Test whether a node has child nodes: hasChildNodes()
13 * Check for child nodes of the <book>, <title> and This is the title
28 echo "Root has child nodes: ";
31 echo "Title has child nodes: ";
34 echo "Text has child nodes: ";
39 Root has child nodes: bool(true)
40 Title has child nodes: bool(true)
41 Text has child nodes: bool(false)
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";
23 has no child nodes
24 has child nodes
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 Dgh11906.phpt11 <child/>
16 $child = $container->firstElementChild;
19 $test->append($child);
24 $test->prepend($child);
29 $test->append($child);
38 <foo><child/></foo>
45 <foo><child/></foo>
/PHP-8.1/ext/soap/tests/interop/Round3/GroupE/
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"]=>
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"]=>
/PHP-8.1/sapi/phpdbg/
H A Dphpdbg_watch.c523 child->child = NULL;
554 child = element->child;
561 child->child = NULL;
562 element->child = child;
643 child = child->child;
702 child = child->child;
780 child = child->child;
814 child = child->child;
818 child->child = NULL;
844 child = child->child;
[all …]
/PHP-8.1/ext/intl/resourcebundle/
H A Dresourcebundle.c36 restype = ures_getType( source->child ); in resourcebundle_extract_value()
40 ufield = ures_getString( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) ); in resourcebundle_extract_value()
46 bfield = ures_getBinary( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) ); in resourcebundle_extract_value()
52 lfield = ures_getInt( source->child, &INTL_DATA_ERROR_CODE(source) ); in resourcebundle_extract_value()
58 vfield = ures_getIntVector( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) ); in resourcebundle_extract_value()
70 newrb->me = source->child; in resourcebundle_extract_value()
71 source->child = NULL; in resourcebundle_extract_value()

Completed in 75 milliseconds

123456789