Home
last modified time | relevance | path

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

1234567

/PHP-7.0/sapi/fpm/fpm/
H A Dfpm_children.c61 free(child); in fpm_child_free()
98 child->next->prev = child; in fpm_child_link()
111 child->prev->next = child->next; in fpm_child_unlink()
113 child->wp->children = child->next; in fpm_child_unlink()
117 child->next->prev = child->prev; in fpm_child_unlink()
129 for (child = wp->children; child; child = child->next) { in fpm_child_find()
138 if (!child) { in fpm_child_find()
168 for (; child; child = next) { in fpm_children_free()
197 if (child && child->idle_kill) { in fpm_children_bury()
229 if (child && child->tracer) { in fpm_children_bury()
[all …]
H A Dfpm_stdio.c121 struct fpm_child_s *child; local
135 event = &child->ev_stdout;
137 event = &child->ev_stderr;
157 close(child->fd_stdout);
158 child->fd_stdout = -1;
160 close(child->fd_stderr);
161 child->fd_stderr = -1;
252 child->fd_stdout = fd_stdout[0];
253 child->fd_stderr = fd_stderr[0];
255 fpm_event_set(&child->ev_stdout, child->fd_stdout, FPM_EV_READ, fpm_stdio_child_said, child);
[all …]
H A Dfpm_process_ctl.c152 struct fpm_child_s *child; in fpm_pctl_kill_all() local
154 for (child = wp->children; child; child = child->next) { in fpm_pctl_kill_all()
158 child->wp->config->name, signo, in fpm_pctl_kill_all()
299 struct fpm_child_s *child; in fpm_pctl_check_request_timeout() local
302 for (child = wp->children; child; child = child->next) { in fpm_pctl_check_request_timeout()
315 struct fpm_child_s *child; in fpm_pctl_perform_idle_server_maintenance() local
324 for (child = wp->children; child; child = child->next) { in fpm_pctl_perform_idle_server_maintenance()
327 last_idle_child = child; in fpm_pctl_perform_idle_server_maintenance()
330 last_idle_child = child; in fpm_pctl_perform_idle_server_maintenance()
499 struct fpm_child_s *child; in fpm_pctl_on_socket_accept() local
[all …]
H A Dfpm_request.c230 proc_p = fpm_scoreboard_proc_acquire(child->wp->scoreboard, child->scoreboard_i, 1); in fpm_request_check_timed_out()
240 if (child->slow_logged.tv_sec) { in fpm_request_check_timed_out()
242 child->slow_logged.tv_sec = 0; in fpm_request_check_timed_out()
243 child->slow_logged.tv_usec = 0; in fpm_request_check_timed_out()
260 child->slow_logged = proc.accepted; in fpm_request_check_timed_out()
261 child->tracer = fpm_php_trace; in fpm_request_check_timed_out()
263 fpm_trace_signal(child->pid); in fpm_request_check_timed_out()
266child->wp->config->name, (int) child->pid, purified_script_filename, proc.request_method, proc.req… in fpm_request_check_timed_out()
277child->wp->config->name, (int) child->pid, purified_script_filename, proc.request_method, proc.req… in fpm_request_check_timed_out()
290 proc = fpm_scoreboard_proc_get(child->wp->scoreboard, child->scoreboard_i); in fpm_request_is_idle()
[all …]
H A Dfpm_php_trace.c43 static int fpm_php_trace_dump(struct fpm_child_s *child, FILE *slowlog) /* {{{ */ in fpm_php_trace_dump() argument
46 pid_t pid = child->pid; in fpm_php_trace_dump()
197 void fpm_php_trace(struct fpm_child_s *child) /* {{{ */ in fpm_php_trace() argument
202 zlog(ZLOG_NOTICE, "about to trace %d", (int) child->pid); in fpm_php_trace()
204 slowlog = fopen(child->wp->config->slowlog, "a+"); in fpm_php_trace()
211 if (0 > fpm_trace_ready(child->pid)) { in fpm_php_trace()
215 if (0 > fpm_php_trace_dump(child, slowlog)) { in fpm_php_trace()
219 if (0 > fpm_trace_close(child->pid)) { in fpm_php_trace()
227 fpm_pctl_kill(child->pid, FPM_PCTL_CONT); in fpm_php_trace()
228 child->tracer = 0; in fpm_php_trace()
[all …]
H A Dfpm_stdio.h13 int fpm_stdio_prepare_pipes(struct fpm_child_s *child);
14 void fpm_stdio_child_use_pipes(struct fpm_child_s *child);
15 int fpm_stdio_parent_use_pipes(struct fpm_child_s *child);
16 int fpm_stdio_discard_pipes(struct fpm_child_s *child);
/PHP-7.0/ext/simplexml/tests/
H A D017.phpt31 echo " child: ".$child['name']."\n";
60 child: Ann
63 child: Joe
64 child: Ann
67 child: Ann
70 child: Ann
73 child: Joe
74 child: Ann
78 child:
82 child:
[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-7.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());
H A D012.phpt55 ["child"]=>
76 ["child"]=>
100 ["child"]=>
128 ["child"]=>
148 ["child"]=>
273 ["child"]=>
312 ["child"]=>
332 ["child"]=>
412 ["child"]=>
432 ["child"]=>
[all …]
/PHP-7.0/Zend/
H A Dzend_ast.c90 ast->child[0] = child0; in zend_ast_create_decl()
91 ast->child[1] = child1; in zend_ast_create_decl()
92 ast->child[2] = child2; in zend_ast_create_decl()
93 ast->child[3] = child3; in zend_ast_create_decl()
164 if (child != NULL) { in zend_ast_create_list()
476 new->child[i] = zend_ast_copy(list->child[i]); in zend_ast_copy()
485 new->child[i] = zend_ast_copy(ast->child[i]); in zend_ast_copy()
558 fn(&ast->child[i]); in zend_ast_apply()
880 if (ast->child[0]) { in zend_ast_export_if_stmt()
1700 if (ast->child[0]) { in zend_ast_export_ex()
[all …]
/PHP-7.0/ext/spl/tests/
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-7.0/ext/dom/tests/
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 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";
22 has no child nodes
23 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 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-7.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-7.0/ext/intl/resourcebundle/
H A Dresourcebundle.c38 restype = ures_getType( source->child ); in resourcebundle_extract_value()
42 ufield = ures_getString( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) ); in resourcebundle_extract_value()
48 bfield = ures_getBinary( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) ); in resourcebundle_extract_value()
54 lfield = ures_getInt( source->child, &INTL_DATA_ERROR_CODE(source) ); in resourcebundle_extract_value()
60 vfield = ures_getIntVector( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) ); in resourcebundle_extract_value()
72 newrb->me = source->child; in resourcebundle_extract_value()
73 source->child = NULL; in resourcebundle_extract_value()
/PHP-7.0/ext/dom/
H A Dnode.c961 if (child->doc != parentp->doc && child->doc != NULL) { in PHP_FUNCTION()
966 if (child->type == XML_DOCUMENT_FRAG_NODE && child->children == NULL) { in PHP_FUNCTION()
992 new_child = child; in PHP_FUNCTION()
1012 lastattr = xmlHasNsProp(refp->parent, child->name, child->ns->href); in PHP_FUNCTION()
1038 new_child = child; in PHP_FUNCTION()
1054 lastattr = xmlHasNsProp(parentp, child->name, child->ns->href); in PHP_FUNCTION()
1259 if (!(child->doc == NULL || child->doc == nodep->doc)) { in PHP_FUNCTION()
1264 if (child->type == XML_DOCUMENT_FRAG_NODE && child->children == NULL) { in PHP_FUNCTION()
1275 xmlUnlinkNode(child); in PHP_FUNCTION()
1283 new_child = child; in PHP_FUNCTION()
[all …]
/PHP-7.0/ext/standard/tests/array/
H A Darray_map_object3.phpt12 * 1) child class method using parent object
13 * 2) parent class method using child object
14 * 3) child class method using parent class
15 * 4) parent class method using child class
50 echo "-- accessing parent method from child class --\n";
53 echo "-- accessing child method from parent class --\n";
56 echo "-- accessing parent method using child class object --\n";
66 -- accessing parent method from child class --
75 -- accessing child method from parent class --
79 -- accessing parent method using child class object --
[all …]

Completed in 48 milliseconds

1234567