Home
last modified time | relevance | path

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

123456

/PHP-5.5/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.c91 struct fpm_child_s *child; in fpm_stdio_child_said() local
105 event = &child->ev_stdout; in fpm_stdio_child_said()
107 event = &child->ev_stderr; in fpm_stdio_child_said()
127 close(child->fd_stdout); in fpm_stdio_child_said()
128 child->fd_stdout = -1; in fpm_stdio_child_said()
130 close(child->fd_stderr); in fpm_stdio_child_said()
131 child->fd_stderr = -1; in fpm_stdio_child_said()
222 child->fd_stdout = fd_stdout[0]; in fpm_stdio_parent_use_pipes()
223 child->fd_stderr = fd_stderr[0]; in fpm_stdio_parent_use_pipes()
225 fpm_event_set(&child->ev_stdout, child->fd_stdout, FPM_EV_READ, fpm_stdio_child_said, child); in fpm_stdio_parent_use_pipes()
[all …]
H A Dfpm_php_trace.c46 pid_t pid = child->pid; in fpm_php_trace_dump()
138 void fpm_php_trace(struct fpm_child_s *child) /* {{{ */ in fpm_php_trace() argument
144 zlog(ZLOG_NOTICE, "about to trace %d", (int) child->pid); in fpm_php_trace()
146 slowlog = fopen(child->wp->config->slowlog, "a+"); in fpm_php_trace()
149 zlog(ZLOG_SYSERROR, "unable to open slowlog (%s)", child->wp->config->slowlog); in fpm_php_trace()
153 if (0 > fpm_trace_ready(child->pid)) { in fpm_php_trace()
157 if (0 > fpm_php_trace_dump(child, slowlog TSRMLS_CC)) { in fpm_php_trace()
161 if (0 > fpm_trace_close(child->pid)) { in fpm_php_trace()
169 fpm_pctl_kill(child->pid, FPM_PCTL_CONT); in fpm_php_trace()
170 child->tracer = 0; in fpm_php_trace()
[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.c232 proc_p = fpm_scoreboard_proc_acquire(child->wp->scoreboard, child->scoreboard_i, 1); in fpm_request_check_timed_out()
242 if (child->slow_logged.tv_sec) { in fpm_request_check_timed_out()
244 child->slow_logged.tv_sec = 0; in fpm_request_check_timed_out()
245 child->slow_logged.tv_usec = 0; in fpm_request_check_timed_out()
262 child->slow_logged = proc.accepted; in fpm_request_check_timed_out()
263 child->tracer = fpm_php_trace; in fpm_request_check_timed_out()
265 fpm_trace_signal(child->pid); in fpm_request_check_timed_out()
268child->wp->config->name, (int) child->pid, purified_script_filename, proc.request_method, proc.req… in fpm_request_check_timed_out()
278child->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_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-5.5/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-5.5/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-5.5/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-5.5/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"]=>
H A Dr3_groupE_list_003w.phpt13 $this->child = $c;
26child xsi:type="ns2:List"><varInt xsi:type="xsd:int">2</varInt><varString xsi:type="xsd:string">ar…
28child xsi:type="ns2:List"><varInt xsi:type="xsd:int">2</varInt><varString xsi:type="xsd:string">ar…
34 ["child"]=>
40 ["child"]=>
46 ["child"]=>
/PHP-5.5/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-5.5/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-5.5/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 …]
/PHP-5.5/ext/dom/
H A Dnode.c1033 if (child->doc != parentp->doc && child->doc != NULL) { in PHP_FUNCTION()
1038 if (child->type == XML_DOCUMENT_FRAG_NODE && child->children == NULL) { in PHP_FUNCTION()
1064 new_child = child; in PHP_FUNCTION()
1084 lastattr = xmlHasNsProp(refp->parent, child->name, child->ns->href); in PHP_FUNCTION()
1110 new_child = child; in PHP_FUNCTION()
1126 lastattr = xmlHasNsProp(parentp, child->name, child->ns->href); in PHP_FUNCTION()
1331 if (!(child->doc == NULL || child->doc == nodep->doc)) { in PHP_FUNCTION()
1336 if (child->type == XML_DOCUMENT_FRAG_NODE && child->children == NULL) { in PHP_FUNCTION()
1347 xmlUnlinkNode(child); in PHP_FUNCTION()
1355 new_child = child; in PHP_FUNCTION()
[all …]

Completed in 85 milliseconds

123456