Home
last modified time | relevance | path

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

1234567

/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_children.c62 free(child); in fpm_child_free()
99 child->next->prev = child; in fpm_child_link()
112 child->prev->next = child->next; in fpm_child_unlink()
114 child->wp->children = child->next; in fpm_child_unlink()
118 child->next->prev = child->prev; in fpm_child_unlink()
130 for (child = wp->children; child; child = child->next) { in fpm_child_find()
170 for (; child; child = next) { in fpm_children_free()
199 if (child && child->idle_kill) { in fpm_children_bury()
235 if (child && child->tracer) { in fpm_children_bury()
236 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");
277 close(child->fd_stdout);
278 child->fd_stdout = -1;
280 close(child->fd_stderr);
281 child->fd_stderr = -1;
329 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()
302 struct fpm_child_s *child; in fpm_pctl_check_request_timeout() local
305 for (child = wp->children; child; child = child->next) { in fpm_pctl_check_request_timeout()
315 if (child->idle_kill) { in fpm_pctl_kill_idle_child()
318 child->idle_kill = 1; in fpm_pctl_kill_idle_child()
329 struct fpm_child_s *child; in fpm_pctl_perform_idle_server_maintenance() local
358 for (child = wp->children; child; child = child->next) { in fpm_pctl_perform_idle_server_maintenance()
361 last_idle_child = child; in fpm_pctl_perform_idle_server_maintenance()
514 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 …]
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-8.0/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.0/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.0/Zend/
H A Dzend_ast.c130 ast->child[0] = child0; in zend_ast_create_decl()
131 ast->child[1] = child1; in zend_ast_create_decl()
132 ast->child[2] = child2; in zend_ast_create_decl()
133 ast->child[3] = child3; in zend_ast_create_decl()
134 ast->child[4] = child4; in zend_ast_create_decl()
160 ast->child[0] = child; in zend_ast_create_1()
161 if (child) { in zend_ast_create_1()
301 list->child[0] = child; in zend_ast_create_list_1()
302 if (child) { in zend_ast_create_list_1()
1263 if (ast->child[1] && ast->child[1]->kind == ZEND_AST_IF) { in zend_ast_export_if_stmt()
[all …]
/PHP-8.0/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.0/ext/dom/tests/
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_basic.phpt2 Test whether a node has child nodes: hasChildNodes()
15 * Check for child nodes of the <book>, <title> and This is the title
30 echo "Root has child nodes: ";
33 echo "Title has child nodes: ";
36 echo "Text has child nodes: ";
41 Root has child nodes: bool(true)
42 Title has child nodes: bool(true)
43 Text has child nodes: bool(false)
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
/PHP-8.0/ext/soap/tests/interop/Round3/GroupE/
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"]=>
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"]=>
/PHP-8.0/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-8.0/sapi/phpdbg/
H A Dphpdbg_watch.c532 child->child = NULL;
563 child = element->child;
570 child->child = NULL;
571 element->child = child;
652 child = child->child;
711 child = child->child;
789 child = child->child;
823 child = child->child;
827 child->child = NULL;
853 child = child->child;
[all …]
/PHP-8.0/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 …]
/PHP-8.0/ext/dom/
H A Dnode.c872 if (child->doc != parentp->doc && child->doc != NULL) { in PHP_METHOD()
877 if (child->type == XML_DOCUMENT_FRAG_NODE && child->children == NULL) { in PHP_METHOD()
904 new_child = child; in PHP_METHOD()
924 lastattr = xmlHasNsProp(refp->parent, child->name, child->ns->href); in PHP_METHOD()
950 new_child = child; in PHP_METHOD()
966 lastattr = xmlHasNsProp(parentp, child->name, child->ns->href); in PHP_METHOD()
1180 if (!(child->doc == NULL || child->doc == nodep->doc)) { in PHP_METHOD()
1185 if (child->type == XML_DOCUMENT_FRAG_NODE && child->children == NULL) { in PHP_METHOD()
1197 xmlUnlinkNode(child); in PHP_METHOD()
1205 new_child = child; in PHP_METHOD()
[all …]

Completed in 97 milliseconds

1234567