Home
last modified time | relevance | path

Searched refs:child (Results 26 – 50 of 312) sorted by relevance

12345678910>>...13

/php-src/ext/dom/tests/modern/spec/
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>
H A Ddefault_namespace_move.phpt10 $child = $root->appendChild($dom->createElementNS('urn:a', 'foo:baz'));
11 $child->setAttributeNS("urn:b", "foo:attr", "value");
13 $dom->appendChild($child);
17 $child = $dom2->importNode($child, true);
18 $dom2->appendChild($child);
H A Dxml_serialize_LIBXML_NOEMPTYTAG.phpt8 $doc = Dom\XMLDocument::createFromString('<root><child/><br xmlns="http://www.w3.org/1999/xhtml"/><…
17 <root><child></child><br xmlns="http://www.w3.org/1999/xhtml"></br></root>
20 <child></child>
H A DDocument_importLegacyNode.phpt11 <child xmlns="urn:a" a="b"/>
12 <child xmlns="urn:b" xmlns:c="urn:c" c:c="d"/>
24 foreach ($new->getElementsByTagName('child') as $child) {
25 var_dump($child->attributes);
26 foreach ($child->attributes as $attr) {
65 <child xmlns="urn:a" a="b"/>
66 <child xmlns="urn:b" xmlns:c="urn:c" c:c="d"/>
/php-src/sapi/fpm/fpm/
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 …]
H A Dfpm_request.c229 proc_p = fpm_scoreboard_proc_acquire(child->wp->scoreboard, child->scoreboard_i, 1); in fpm_request_check_timed_out()
239 if (child->slow_logged.tv_sec) { in fpm_request_check_timed_out()
240 …if (child->slow_logged.tv_sec != proc.accepted.tv_sec || child->slow_logged.tv_usec != proc.accept… in fpm_request_check_timed_out()
241 child->slow_logged.tv_sec = 0; in fpm_request_check_timed_out()
242 child->slow_logged.tv_usec = 0; in fpm_request_check_timed_out()
259 child->slow_logged = proc.accepted; in fpm_request_check_timed_out()
260 child->tracer = fpm_php_trace; in fpm_request_check_timed_out()
262 fpm_trace_signal(child->pid); in fpm_request_check_timed_out()
265child->wp->config->name, (int) child->pid, purified_script_filename, proc.request_method, proc.req… in fpm_request_check_timed_out()
273 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-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"]=>
H A Dr3_groupE_list_003w.phpt10 function __construct(public $varString, public $varInt, public $child) {}
22child xsi:type="ns2:List"><varInt xsi:type="xsd:int">2</varInt><varString xsi:type="xsd:string">ar…
24child xsi:type="ns2:List"><varInt xsi:type="xsd:int">2</varInt><varString xsi:type="xsd:string">ar…
30 ["child"]=>
36 ["child"]=>
42 ["child"]=>
/php-src/ext/dom/tests/
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>
H A DDOMChildNode_methods_without_parent.phpt11 <child/>
16 $child = $container->firstElementChild;
21 $test->$method($child);
30 <child/>
36 <child/>
42 <child/>
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-src/sapi/phpdbg/
H A Dphpdbg_watch.c591 child->child = NULL;
622 child = element->child;
629 child->child = NULL;
630 element->child = child;
705 child = child->child;
764 child = child->child;
842 child = child->child;
876 child = child->child;
880 child->child = NULL;
906 child = child->child;
[all …]
/php-src/ext/dom/parentnode/
H A Dtree.c127 last->next = child; in dom_add_child_without_merging()
128 child->prev = last; in dom_add_child_without_merging()
130 parent->last = child; in dom_add_child_without_merging()
131 child->parent = parent; in dom_add_child_without_merging()
187 …if (child != NULL && (child->type == XML_DTD_NODE || php_dom_has_sibling_following_node(child, XML… in php_dom_fragment_insertion_hierarchy_check_pre_insertion()
251 if (child != NULL && child->parent != parentNode) { in dom_is_pre_insert_valid_without_step_1()
302 …if (child != NULL && (child->type == XML_DTD_NODE || php_dom_has_sibling_following_node(child, XML… in dom_is_pre_insert_valid_without_step_1()
331 for (xmlNodePtr child = node->children; child != NULL; child = next) { in dom_free_node_after_zval_single_node_creation() local
332 next = child->next; in dom_free_node_after_zval_single_node_creation()
335 xmlFreeNode(child); in dom_free_node_after_zval_single_node_creation()
[all …]
/php-src/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()
/php-src/ext/tidy/tests/
H A D012.phpt55 ["child"]=>
76 ["child"]=>
100 ["child"]=>
128 ["child"]=>
148 ["child"]=>
279 ["child"]=>
322 ["child"]=>
342 ["child"]=>
428 ["child"]=>
448 ["child"]=>
[all …]
H A Dsibling_nodes.phpt25 foreach ($body->child as $i => $child) {
26 echo "=== From the perspective of child $i ===\n";
28 var_dump(format($child->getPreviousSibling()?->value));
30 var_dump(format($child->getNextSibling()?->value));
41 === From the perspective of child 0 ===
44 === From the perspective of child 1 ===
47 === From the perspective of child 2 ===
/php-src/ext/dom/tests/modern/common/
H A Dnamespace_sxe_interaction.phpt13 $sxe->addChild('b:child', 'value', 'urn:b');
15 $dom->documentElement->firstElementChild->appendChild($dom->createElementNS('urn:c', 'c:child'));
56 <root xmlns:a="urn:a" a:attr="value"><b:child xmlns:b="urn:b">value<c:child xmlns:c="urn:c"/></b:ch…
59 <root xmlns:a="urn:a" a:attr="value"><b:child xmlns:b="urn:b">value<c:child xmlns:c="urn:c"/></b:ch…
63 <root xmlns:a="urn:a" a:attr="value"><b:child xmlns:b="urn:b">value<c:child xmlns:c="urn:c"/></b:ch…
67 <root xmlns:a="urn:a" a:attr="value"><b:child xmlns:b="urn:b">value<c:child xmlns:c="urn:c"/></b:ch…
/php-src/ext/dom/tests/delayed_freeing/
H A Dnamespace_definition_crash_in_attribute.phpt9 $child = $doc->documentElement->appendChild($doc->createElementNS('some:ns', 'child'));
10 $child_attr1 = $child->appendChild($doc->createAttributeNS('some:ns2', 'hello'));
12 $child_attr2 = $child->appendChild($doc->createAttribute('hello2'));
14 $attr3 = $child->appendChild($doc->createElementNS('some:ns', 'childcontainer'))
19 $child->remove();
22 unset($child);
42 …ns:default1="some:ns"><child xmlns="some:ns" default:hello="hello content 2" hello2=""><childconta…
/php-src/ext/dom/tests/modern/css_selectors/
H A Dpseudo_classes_first_last_child.phpt2 CSS Selectors - Pseudo classes: first/last child
21 test_helper($dom, 'container > *:first-child');
22 test_helper($dom, 'container > *:last-child');
26 --- Selector: container > *:first-child ---
28 --- Selector: container > *:last-child ---
/php-src/ext/standard/tests/array/
H A Darray_map_object3.phpt7 * 1) child class method using parent object
8 * 2) parent class method using child object
9 * 3) child class method using parent class
10 * 4) parent class method using child class
45 echo "-- accessing parent method from child class --\n";
48 echo "-- accessing child method from parent class --\n";
55 echo "-- accessing parent method using child class object --\n";
69 -- accessing parent method from child class --
78 -- accessing child method from parent class --
80 -- accessing parent method using child class object --
[all …]

Completed in 40 milliseconds

12345678910>>...13