/PHP-8.4/sapi/fpm/fpm/ |
H A D | fpm_children.c | 62 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 D | fpm_stdio.c | 173 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 D | fpm_process_ctl.c | 158 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-8.4/ext/simplexml/tests/ |
H A D | 017.phpt | 31 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 D | bug26976.phpt | 11 <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 D | 018.phpt | 11 <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 D | profile02.phpt | 9 <child>Hello</child> 10 <child>World</child> 14 foreach ($root->child as $child) { 15 echo "$child ";
|
H A D | profile11.phpt | 10 <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.4/ext/tidy/tests/ |
H A D | 023.phpt | 20 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 D | 025.phpt | 9 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.4/ext/dom/tests/modern/xml/ |
H A D | Element_innerHTML_writing.phpt | 23 $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 D | Element_innerHTML_writing_errors.phpt | 14 $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-8.4/Zend/ |
H A D | zend_ast.c | 126 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-8.4/ext/dom/tests/modern/spec/ |
H A D | xml_serialize_formatting.phpt | 12 '<root><child>text</child><!-- comment --><foo>&</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 D | Node_replaceChild_edge_cases.phpt | 11 $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-8.4/ext/spl/tests/ |
H A D | bug69264.phpt | 7 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 D | iterator_006.phpt | 10 <child>Hello</child> 11 <child>World</child> 15 foreach (new IteratorIterator($root->child) as $child) { 16 echo $child."\n";
|
/PHP-8.4/ext/dom/tests/modern/css_selectors/ |
H A D | pseudo_classes_nth_child_of.phpt | 2 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 D | pseudo_classes_nth_child.phpt | 2 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-8.4/ext/dom/tests/modern/extensions/ |
H A D | Element_getDescendantNamespaces.phpt | 24 <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 D | Element_getInScopeNamespaces.phpt | 24 <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-8.4/ext/dom/tests/compareDocumentPosition/ |
H A D | entity.phpt | 16 <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-8.4/ext/dom/tests/ |
H A D | replaceWith_non_viable_next_sibling.phpt | 11 <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 D | xpath_domnamespacenode_advanced.phpt | 11 <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-8.4/ext/dom/tests/delayed_freeing/ |
H A D | namespace_definition_crash.phpt | 9 $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>
|