Home
last modified time | relevance | path

Searched refs:tree (Results 1 – 25 of 38) sorted by relevance

12

/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_btree.c36 tree->depth = depth; in phpdbg_btree_init()
37 tree->branch = NULL; in phpdbg_btree_init()
38 tree->persistent = 0; in phpdbg_btree_init()
39 tree->count = 0; in phpdbg_btree_init()
127 pos.tree = tree; in phpdbg_btree_find_between()
169 tree->count++; in phpdbg_btree_insert_or_update()
202 tree->count--; in phpdbg_btree_delete()
205 pefree(tree->branch, tree->persistent); in phpdbg_btree_delete()
243 phpdbg_btree_clean_recursive(tree->branch, tree->depth, tree->persistent); in phpdbg_btree_clean()
245 tree->count = 0; in phpdbg_btree_clean()
[all …]
H A Dphpdbg_btree.h45 phpdbg_btree *tree; member
50 void phpdbg_btree_init(phpdbg_btree *tree, zend_ulong depth);
51 void phpdbg_btree_clean(phpdbg_btree *tree);
52 phpdbg_btree_result *phpdbg_btree_find(phpdbg_btree *tree, zend_ulong idx);
53 phpdbg_btree_result *phpdbg_btree_find_closest(phpdbg_btree *tree, zend_ulong idx);
56 int phpdbg_btree_delete(phpdbg_btree *tree, zend_ulong idx);
62 int phpdbg_btree_insert_or_update(phpdbg_btree *tree, zend_ulong idx, void *ptr, int flags);
63 #define phpdbg_btree_insert(tree, idx, ptr) phpdbg_btree_insert_or_update(tree, idx, ptr, PHPDBG_BT… argument
64 #define phpdbg_btree_update(tree, idx, ptr) phpdbg_btree_insert_or_update(tree, idx, ptr, PHPDBG_BT… argument
65 #define phpdbg_btree_overwrite(tree, idx, ptr) phpdbg_btree_insert_or_update(tree, idx, ptr, PHPDBG… argument
[all …]
/PHP-7.4/Zend/tests/
H A Dbug78502.phpt6 $tree = [
17 function tree_map($tree, $recursive_attr, closure $callback){
18 if(isset($tree[$recursive_attr])){
19 $tree[$recursive_attr] = array_map(function($c) use($recursive_attr, $callback){
21 }, $tree[$recursive_attr]);
23 return $callback($tree);
26 tree_map($tree, 'children', function ($node) {});
H A Dbug60138.phpt5 $tree = array(array("f"));
6 $category =& $tree[0];
9 new RecursiveArrayIterator($tree),
/PHP-7.4/ext/standard/tests/serialize/
H A Dbug78438.phpt56 $serialized = serialize($tree);
59 $tree = unserialize($serialized);
64 $nodes = [$tree];
83 Testcase tree 3 x 1
88 Testcase tree 3 x 2
93 Testcase tree 3 x 3
98 Testcase tree 3 x 4
103 Testcase tree 3 x 5
108 Testcase tree 3 x 6
113 Testcase tree 3 x 7
[all …]
/PHP-7.4/ext/dom/
H A Ddocumentfragment.c79 static void php_dom_xmlSetTreeDoc(xmlNodePtr tree, xmlDocPtr doc) /* {{{ */ in php_dom_xmlSetTreeDoc() argument
84 if (tree) { in php_dom_xmlSetTreeDoc()
85 if(tree->type == XML_ELEMENT_NODE) { in php_dom_xmlSetTreeDoc()
86 prop = tree->properties; in php_dom_xmlSetTreeDoc()
99 if (tree->children != NULL) { in php_dom_xmlSetTreeDoc()
100 cur = tree->children; in php_dom_xmlSetTreeDoc()
106 tree->doc = doc; in php_dom_xmlSetTreeDoc()
/PHP-7.4/ext/intl/tests/
H A Dmsgfmt_format.phpt16 …n_US' => "{0,number,integer} monkeys on {1,number,integer} trees make {2,number} monkeys per tree",
19 …n_UK' => "{0,number,integer} monkeys on {1,number,integer} trees make {2,number} monkeys per tree",
50 '4,560 monkeys on 123 trees make 37.073 monkeys per tree'
51 '4,560 monkeys on 123 trees make 37.073 monkeys per tree'
62 '4,560 monkeys on 123 trees make 37.073 monkeys per tree'
63 '4,560 monkeys on 123 trees make 37.073 monkeys per tree'
H A Dmsgfmt_parse.phpt16 …n_US' => "{0,number,integer} monkeys on {1,number,integer} trees make {2,number} monkeys per tree",
19 …n_UK' => "{0,number,integer} monkeys on {1,number,integer} trees make {2,number} monkeys per tree",
25 'en_US' => "4,560 monkeys on 123 trees make 37.073 monkeys per tree",
28 'en_UK' => "4,560 monkeys on 123 trees make 37.073 monkeys per tree",
29 'root' => "4,560 monkeys on 123 trees make 37.073 monkeys per tree",
/PHP-7.4/ext/ffi/tests/
H A Dbug79576.phpt11 FFI::cdef('struct tree *get_tree(const oid *, size_t, struct tree *);');
16 FFI::cdef('struct tree *get_tree(oid, size_t, struct tree *);');
/PHP-7.4/ext/phar/phar/
H A Ddirectorytreeiterator.inc38 $tree = '';
40 $tree .= $this->getSubIterator($l)->hasNext() ? '| ' : ' ';
42 return $tree . ($this->getSubIterator($l)->hasNext() ? '|-' : '\-')
H A Ddirectorygraphiterator.inc13 * @brief A tree iterator that only shows directories.
/PHP-7.4/ext/spl/tests/
H A Dbug65328.phpt193 throw new \RuntimeException("Node uid is not unique in assigned node tree");
211 $tree = new Tree($headNode);
213 return !$tree->find($uid);
289 $tree = new Tree();
291 $tree->getHead()->addChild($node1);
295 print_r($tree->findAll(2)->offsetGet(0));
/PHP-7.4/ext/dom/tests/
H A DDOMNode_replaceChild_basic.phpt22 // If the newChild is already in the tree, it is first removed.
25 echo "Existing child is removed from tree:\n" . $document->saveXML();
39 Existing child is removed from tree:
H A DDOMNode_cloneNode_basic.phpt40 // strip all text nodes from this tree
/PHP-7.4/appveyor/
H A Dbuild.bat31 …git --git-dir="%PHP_BUILD_CACHE_SDK_DIR%\.git" --work-tree="%PHP_BUILD_CACHE_SDK_DIR%" fetch --pru…
33 …git --git-dir="%PHP_BUILD_CACHE_SDK_DIR%\.git" --work-tree="%PHP_BUILD_CACHE_SDK_DIR%" checkout --…
/PHP-7.4/scripts/dev/
H A Dmakedist24 makedist [options] <tree-ish>
30 <tree-ish> The Git tree or Git commit to produce an archive for. This
/PHP-7.4/ext/xmlreader/
H A Dconfig.w328 CHECK_HEADER_ADD_INCLUDE("libxml/tree.h", "CFLAGS_XMLREADER", PHP_PHP_BUILD + "\\include\\libxml2")
/PHP-7.4/ext/xml/
H A Dconfig.w329 CHECK_HEADER_ADD_INCLUDE("libxml/tree.h", "CFLAGS_XML", PHP_PHP_BUILD + "\\include\\libxml2")
/PHP-7.4/ext/soap/
H A Dconfig.w329 CHECK_HEADER_ADD_INCLUDE("libxml/tree.h", "CFLAGS_SOAP", PHP_PHP_BUILD + "\\include\\libxml2")
/PHP-7.4/ext/simplexml/
H A Dconfig.w328 …CHECK_HEADER_ADD_INCLUDE("libxml/tree.h", "CFLAGS_SIMPLEXML", PHP_PHP_BUILD + "\\include\\libxml2")
/PHP-7.4/ext/libxml/
H A Dconfig.w329 …CHECK_HEADER_ADD_INCLUDE("libxml/tree.h", "CFLAGS_LIBXML", PHP_PHP_BUILD + "\\include\\libxml2") &&
/PHP-7.4/ext/xsl/
H A Dconfig.w329 && CHECK_HEADER_ADD_INCLUDE("libxml/tree.h", "CFLAGS_XSL", PHP_PHP_BUILD + "\\include\\libxml2")
/PHP-7.4/ext/standard/tests/file/
H A Drename_variation1.phpt18 /* Testing simple directory tree */
H A Drename_variation1-win32.phpt23 /* Testing simple directory tree */
/PHP-7.4/ext/snmp/tests/
H A Dsnmp2_real_walk.phpt85 …'%s': No more variables left in this MIB View (It is past the end of the MIB tree) in %s on line %d

Completed in 51 milliseconds

12