Home
last modified time | relevance | path

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

12345678910>>...13

/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 …]
/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/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/xml/
H A DElement_innerHTML_writing.phpt23 $child = $dom->documentElement->appendChild($dom->createElementNS('urn:a', 'child'));
40 </child>
48 <child b:b="b" c:c="c">
49 <b:child/>
50 <c:child/>
51 </child>
67 <root><child xmlns="urn:a"><default/></child></root>
79 </child>
84 <b:child/>
85 <c:child/>
[all …]
H A DElement_innerHTML_writing_errors.phpt14 $child = $dom->documentElement->appendChild($dom->createElementNS('urn:a', 'child'));
17 function test($child, $html) {
20 $child->innerHTML = $html;
27 test($child, '&foo;');
28 test($child, '</root>');
29 test($child, '</root><foo/><!--');
30 test($child, '--></root><!--');
31 test($child, '<');
32 test($child, '<!ENTITY foo "content">');
/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 …]
/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()
334 list->child[0] = child; in zend_ast_create_list_1()
335 if (child) { in zend_ast_create_list_1()
1540 zend_ast *first_prop = zend_ast_get_list(ast->child[1])->child[0]; in zend_ast_export_stmt()
[all …]
/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/modern/css_selectors/
H A Dpseudo_classes_nth_child_of.phpt2 CSS Selectors - Pseudo classes: nth-child of
21 test_helper($dom, 'h2:nth-child(even of .hi)');
22 test_helper($dom, 'h2.hi:nth-child(even)');
23 test_helper($dom, 'h2:nth-child(odd of .hi)');
24 test_helper($dom, 'h2.hi:nth-child(odd)');
33 --- Selector: h2:nth-child(even of .hi) ---
36 --- Selector: h2.hi:nth-child(even) ---
39 --- Selector: h2:nth-child(odd of .hi) ---
42 --- Selector: h2.hi:nth-child(odd) ---
48 --- Selector: h2.hi:nth-last-child(even) ---
[all …]
H A Dpseudo_classes_nth_child.phpt2 CSS Selectors - Pseudo classes: nth-child
22 test_helper($dom, 'h2:nth-child(2)');
23 test_helper($dom, 'h2:nth-last-child(2)');
24 test_helper($dom, 'h2:nth-child(2n + 1)');
26 test_helper($dom, 'h2:nth-child(3n - 2)');
39 --- Selector: h2:nth-child(2) ---
41 --- Selector: h2:nth-last-child(2) ---
43 --- Selector: h2:nth-child(2n + 1) ---
47 --- Selector: h2:nth-last-child(2n + 1) ---
51 --- Selector: h2:nth-child(3n - 2) ---
[all …]
/php-src/ext/dom/tests/modern/extensions/
H A DElement_getDescendantNamespaces.phpt24 <child xmlns="">
25 <c:child xmlns:c="urn:c"/>
26 </child>
28 <d:child xmlns:d="urn:d2"/>
33 dump($dom, 'c:child');
34 dump($dom, 'child');
36 dump($dom, 'd:child');
41 === c:child ===
44 element->nodeName: string(7) "c:child"
47 === child ===
[all …]
H A DElement_getInScopeNamespaces.phpt24 <child xmlns="">
25 <c:child xmlns:c="urn:c"/>
26 </child>
28 <d:child xmlns:d="urn:d2"/>
33 dump($dom, 'c:child');
34 dump($dom, 'child');
36 dump($dom, 'd:child');
41 === c:child ===
44 element->nodeName: string(7) "c:child"
47 === child ===
[all …]
/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 …]
/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>

Completed in 34 milliseconds

12345678910>>...13