Home
last modified time | relevance | path

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

12345678910>>...12

/php-src/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()
212 for (; child; child = next) { in fpm_children_free()
241 if (child && child->idle_kill) { in fpm_children_bury()
277 if (child && child->tracer) { in fpm_children_bury()
278 child->tracer(child); in fpm_children_bury()
[all …]
H A Dfpm_stdio.c173 struct fpm_child_s *child; local
187 event = &child->ev_stdout;
189 event = &child->ev_stderr;
199 child->wp->config->name, (int) child->pid, is_stdout ? "stdout" : "stderr");
210 child->wp->config->name, (int) child->pid, is_stdout ? "stdout" : "stderr");
278 close(child->fd_stdout);
279 child->fd_stdout = -1;
281 close(child->fd_stderr);
282 child->fd_stderr = -1;
330 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()
190 void fpm_php_trace(struct fpm_child_s *child) /* {{{ */ in fpm_php_trace() argument
195 zlog(ZLOG_NOTICE, "about to trace %d", (int) child->pid); in fpm_php_trace()
197 slowlog = fopen(child->wp->config->slowlog, "a+"); in fpm_php_trace()
204 if (0 > fpm_trace_ready(child->pid)) { in fpm_php_trace()
208 if (0 > fpm_php_trace_dump(child, slowlog)) { in fpm_php_trace()
212 if (0 > fpm_trace_close(child->pid)) { in fpm_php_trace()
220 fpm_pctl_kill(child->pid, FPM_PCTL_CONT); in fpm_php_trace()
221 child->tracer = 0; in fpm_php_trace()
[all …]
/php-src/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-src/Zend/
H A Dzend_ast.c126 ast->child[0] = child0; in zend_ast_create_decl()
127 ast->child[1] = child1; in zend_ast_create_decl()
128 ast->child[2] = child2; in zend_ast_create_decl()
129 ast->child[3] = child3; in zend_ast_create_decl()
130 ast->child[4] = child4; in zend_ast_create_decl()
156 ast->child[0] = child; in zend_ast_create_1()
157 if (child) { in zend_ast_create_1()
175 ast->child[0] = child1; in zend_ast_create_2()
297 list->child[0] = child; in zend_ast_create_list_1()
298 if (child) { in zend_ast_create_list_1()
[all …]
/php-src/ext/tidy/tests/
H A D023.phpt20 var_dump(tidy_get_root($tidy)->child[0]->isHtml());
21 var_dump(tidy_get_root($tidy)->child[0]->child[0]->isPHP());
22 var_dump(tidy_get_root($tidy)->child[0]->child[0]->isAsp());
23 var_dump(tidy_get_root($tidy)->child[0]->child[0]->isJste());
24 var_dump(tidy_get_root($tidy)->child[0]->child[0]->type === TIDY_NODETYPE_PHP);
26 var_dump(tidy_get_root($tidy)->child[0]->hasChildren());
27 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-src/ext/dom/tests/modern/spec/
H A Dxml_serialize_formatting.phpt12 '<root><child>text</child><!-- comment --><foo>&amp;</foo></root>',
13 '<root><child>text</child><![CDATA[x]]><foo><bar/></foo></root>',
17 <child>
18 <child/>
19 </child>
48 <child>text</child>
54 <root><child>text</child><![CDATA[x]]><foo><bar/></foo></root>
69 <child>
70 <child/>
71 </child>
H A DNode_replaceChild_edge_cases.phpt11 $child = $dom->createElement("child");
12 $parent->appendChild($child);
27 $parent->replaceChild($parent, $child);
33 $parent->replaceChild($dom, $child);
41 $parent->replaceChild($dom->createElement("new-child"), $dom->createElement("old-child"));
46 echo "--- Invalid child to replace with ---\n";
66 $parent->replaceChild($dom->doctype, $child);
129 --- Invalid child to replace with ---
132 Cannot insert text as a child of a document
144 <!DOCTYPE html><parent><child></child></parent><!--comment-->
[all …]
H A Dserialize_element_unqualified.phpt8 … DOM\XMLDocument::createFromString('<root xmlns:p1="u1"><child xmlns:p2="u1"><p1:child2/></child><…
11 $dom = DOM\XMLDocument::createFromString('<root xmlns:p1="u1"><child xmlns:p2="u1"></child></root>'…
20 <root xmlns:p1="u1"><child xmlns:p2="u1"><p1:child2/></child></root>
22 <root xmlns:p1="u1"><child xmlns:p2="u1"><p2:child2/></child></root>
/php-src/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-src/ext/dom/tests/compareDocumentPosition/
H A Dentity.phpt16 <child>&e1;</child>
29 $child = $xpath->query('//child')->item(0);
31 echo "--- Compare entities against first child ---\n";
33 var_dump($entities[0]->compareDocumentPosition($child->firstChild) === DOMNode::DOCUMENT_POSITION_F…
34 var_dump($entities[1]->compareDocumentPosition($child->firstChild) === DOMNode::DOCUMENT_POSITION_F…
36 echo "--- Compare first child against entities ---\n";
38 var_dump($child->firstChild->compareDocumentPosition($entities[0]) === DOMNode::DOCUMENT_POSITION_P…
39 var_dump($child->firstChild->compareDocumentPosition($entities[1]) === DOMNode::DOCUMENT_POSITION_P…
46 --- Compare entities against first child ---
49 --- Compare first child against entities ---
/php-src/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
/php-src/ext/dom/tests/delayed_freeing/
H A Dnamespace_definition_crash.phpt9 $child = $doc->documentElement->appendChild($doc->createElementNS('some:ns', 'child'));
10 $child_child = $child->appendChild($doc->createElementNS('some:ns', 'x'));
14 $child->remove();
17 unset($child);
22 <container><child xmlns="some:ns"><x/></child></container>
/php-src/ext/soap/tests/interop/Round3/GroupE/
H A Dr3_groupE_list_006w.phpt10 function __construct(public $varString, public $varInt, public $child) {}
13 $struct->child->child->child = $struct->child;
23child id="ref1" xsi:type="ns2:List"><varInt xsi:type="xsd:int">2</varInt><varString xsi:type="xsd:…
25child id="ref1" xsi:type="ns2:List"><varInt xsi:type="xsd:int">2</varInt><varString xsi:type="xsd:…
31 ["child"]=>
37 ["child"]=>
43 ["child"]=>
H A Dr3_groupE_list_005w.phpt10 function __construct(public $varString, public $varInt, public $child) {}
13 $struct->child->child->child = $struct;
23child xsi:type="ns2:List"><varInt xsi:type="xsd:int">2</varInt><varString xsi:type="xsd:string">ar…
25child xsi:type="ns2:List"><varInt xsi:type="xsd:int">2</varInt><varString xsi:type="xsd:string">ar…
31 ["child"]=>
37 ["child"]=>
43 ["child"]=>

Completed in 64 milliseconds

12345678910>>...12