Searched defs:children (Results 1 - 12 of 12) sorted by relevance

/PHP_TRUNK/ext/dom/examples/
H A Ddom1.php12 // children() of of document would result in a memleak
13 //$children = $dom->children();
14 //print_node_list($children);
20 echo "--------- children of root\n";
21 $children = $rootnode->childNodes; variable
22 print_node_list($children);
24 // The last node should be identical with the last entry in the children array
34 // The children of this parent are the same children a
36 $children = $parent->childNodes; variable
63 $children = $attrs->item(0)->childNodes; variable
75 $children = $dom->getElementsByTagname("Silly"); variable
79 $children = $rootnode->getElementsByTagName("Silly"); variable
[all...]
/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dxml_element.h155 queue children; /* child element list */ member in struct:_xml_element
185 #define xml_elem_next_element(el) ((el) ? (xml_element *)Q_Next(&el->children) : NULL)
186 #define xml_elem_head_element(el) ((el) ? (xml_element *)Q_Head(&el->children) : NULL)
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_worker_pool.h31 struct fpm_child_s *children; member in struct:fpm_worker_pool_s
/PHP_TRUNK/ext/opcache/
H A Dzend_persist.c157 sizeof(zend_ast_list) - sizeof(zend_ast *) + sizeof(zend_ast *) * list->children);
158 for (i = 0; i < list->children; i++) {
165 uint32_t children = zend_ast_get_num_children(ast); local
166 node = zend_accel_memdup(ast, sizeof(zend_ast) - sizeof(zend_ast *) + sizeof(zend_ast *) * children);
167 for (i = 0; i < children; i++) {
H A Dzend_accelerator_util_funcs.c320 sizeof(zend_ast_list) - sizeof(zend_ast *) + sizeof(zend_ast *) * list->children);
323 copy->children = list->children;
324 for (i = 0; i < list->children; i++) {
333 uint32_t children = zend_ast_get_num_children(ast); local
334 zend_ast *copy = emalloc(sizeof(zend_ast) - sizeof(zend_ast *) + sizeof(zend_ast *) * children);
337 for (i = 0; i < children; i++) {
H A Dzend_persist_calc.c94 ADD_SIZE(sizeof(zend_ast_list) - sizeof(zend_ast *) + sizeof(zend_ast *) * list->children);
95 for (i = 0; i < list->children; i++) {
101 uint32_t children = zend_ast_get_num_children(ast); local
102 ADD_SIZE(sizeof(zend_ast) - sizeof(zend_ast *) + sizeof(zend_ast *) * children);
103 for (i = 0; i < children; i++) {
/PHP_TRUNK/Zend/
H A Dzend_ast.c36 static inline size_t zend_ast_size(uint32_t children) { argument
37 return sizeof(zend_ast) - sizeof(zend_ast *) + sizeof(zend_ast *) * children;
40 static inline size_t zend_ast_list_size(uint32_t children) { argument
41 return sizeof(zend_ast_list) - sizeof(zend_ast *) + sizeof(zend_ast *) * children;
92 uint32_t i, children = kind >> ZEND_AST_NUM_CHILDREN_SHIFT; local
96 ast = zend_ast_alloc(zend_ast_size(children) TSRMLS_CC);
101 for (i = 0; i < children; ++i) {
150 list->children = 0;
171 if (list->children >= 4 && is_power_of_two(list->children)) {
367 uint32_t i, children = zend_ast_get_num_children(ast); local
413 uint32_t i, children = zend_ast_get_num_children(ast); local
440 uint32_t i, children = zend_ast_get_num_children(ast); local
[all...]
H A Dzend_ast.h156 zend_ast *child[1]; /* Array of children (using struct hack) */
159 /* Same as zend_ast, but with children count, which is updated dynamically */
164 uint32_t children; member in struct:_zend_ast_list
H A Dzend_compile.c2235 if (list->children == 1 && !list->child[0]) {
2239 for (i = 0; i < list->children; ++i) {
2461 for (i = 0; i < args->children; ++i) {
2624 for (i = 0; i < args->children; ++i) {
2638 || args->children != 1 || args->child[0]->kind == ZEND_AST_UNPACK
2654 if (args->children != 1 || args->child[0]->kind == ZEND_AST_UNPACK) {
2670 if (args->children != 1 || args->child[0]->kind != ZEND_AST_ZVAL) {
2751 if (args->children != 2 || zend_args_contain_unpack(args)) {
2769 if (args->children < 1 || zend_args_contain_unpack(args)) {
2773 zend_compile_init_user_func(NULL, args->child[0], args->children
4265 uint32_t i, children = list->children; local
[all...]
/PHP_TRUNK/ext/dom/
H A Dnode.c307 str = (char *) xmlNodeGetContent(nodep->children);
338 if (nodep->children) {
339 node_list_unlink(nodep->children TSRMLS_CC);
461 first = nodep->children;
872 newchild = fragment->children;
876 nodep->children = newchild;
905 fragment->children = NULL;
956 if (child->type == XML_DOCUMENT_FRAG_NODE && child->children == NULL) {
991 if (new_child->parent->children == refp) {
992 new_child->parent->children
1081 xmlNodePtr children, newchild, oldchild, nodep; local
1169 xmlNodePtr children, child, nodep; local
[all...]
/PHP_TRUNK/ext/tidy/
H A Dtidy.c835 zval attribute, children, temp; local
887 array_init(&children);
897 add_next_index_zval(&children, &temp);
902 ZVAL_NULL(&children);
905 zend_hash_str_update(obj->std.properties, "child", sizeof("child") - 1, &children);
1677 Returns true if this node has children */
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c103 /* these globals used for forking children on unix systems */
107 static int children = 0; variable
118 /* Is Parent waiting for children to exit */
1992 children = atoi(children_str);
1993 if (children < 0) {
2005 if (children) {
2009 /* Create a process group for ourself & children */
2016 /* Set up handler to kill children upon exit */
2039 /* One of the children.
2059 } while (parent && (running < children));
[all...]

Completed in 46 milliseconds