Home
last modified time | relevance | path

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

12

/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_btree.c34 tree->depth = depth; in phpdbg_btree_init()
35 tree->branch = NULL; in phpdbg_btree_init()
36 tree->persistent = 0; in phpdbg_btree_init()
37 tree->count = 0; in phpdbg_btree_init()
125 pos.tree = tree; in phpdbg_btree_find_between()
167 tree->count++; in phpdbg_btree_insert_or_update()
200 tree->count--; in phpdbg_btree_delete()
203 pefree(tree->branch, tree->persistent); in phpdbg_btree_delete()
241 phpdbg_btree_clean_recursive(tree->branch, tree->depth, tree->persistent); in phpdbg_btree_clean()
243 tree->count = 0; in phpdbg_btree_clean()
[all …]
H A Dphpdbg_btree.h43 phpdbg_btree *tree; member
48 void phpdbg_btree_init(phpdbg_btree *tree, zend_ulong depth);
49 void phpdbg_btree_clean(phpdbg_btree *tree);
50 phpdbg_btree_result *phpdbg_btree_find(phpdbg_btree *tree, zend_ulong idx);
51 phpdbg_btree_result *phpdbg_btree_find_closest(phpdbg_btree *tree, zend_ulong idx);
54 int phpdbg_btree_delete(phpdbg_btree *tree, zend_ulong idx);
60 int phpdbg_btree_insert_or_update(phpdbg_btree *tree, zend_ulong idx, void *ptr, int flags);
61 #define phpdbg_btree_insert(tree, idx, ptr) phpdbg_btree_insert_or_update(tree, idx, ptr, PHPDBG_BT… argument
62 #define phpdbg_btree_update(tree, idx, ptr) phpdbg_btree_insert_or_update(tree, idx, ptr, PHPDBG_BT… argument
63 #define phpdbg_btree_overwrite(tree, idx, ptr) phpdbg_btree_insert_or_update(tree, idx, ptr, PHPDBG… argument
[all …]
/PHP-8.0/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-8.0/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-8.0/ext/dom/
H A Ddocumentfragment.c62 static void php_dom_xmlSetTreeDoc(xmlNodePtr tree, xmlDocPtr doc) /* {{{ */ in php_dom_xmlSetTreeDoc() argument
67 if (tree) { in php_dom_xmlSetTreeDoc()
68 if(tree->type == XML_ELEMENT_NODE) { in php_dom_xmlSetTreeDoc()
69 prop = tree->properties; in php_dom_xmlSetTreeDoc()
82 if (tree->children != NULL) { in php_dom_xmlSetTreeDoc()
83 cur = tree->children; in php_dom_xmlSetTreeDoc()
89 tree->doc = doc; in php_dom_xmlSetTreeDoc()
/PHP-8.0/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-8.0/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-8.0/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-8.0/ext/opcache/tests/jit/
H A Dbug80447.phpt31 $tree = createTree(12);
32 var_dump(checkTree($tree));
/PHP-8.0/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-8.0/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-8.0/.github/scripts/windows/
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-8.0/ext/xmlreader/
H A Dconfig.w328 CHECK_HEADER_ADD_INCLUDE("libxml/tree.h", "CFLAGS_XMLREADER", PHP_PHP_BUILD + "\\include\\libxml2")
/PHP-8.0/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-8.0/ext/xml/
H A Dconfig.w329 CHECK_HEADER_ADD_INCLUDE("libxml/tree.h", "CFLAGS_XML", PHP_PHP_BUILD + "\\include\\libxml2")
/PHP-8.0/ext/soap/
H A Dconfig.w329 CHECK_HEADER_ADD_INCLUDE("libxml/tree.h", "CFLAGS_SOAP", PHP_PHP_BUILD + "\\include\\libxml2")
/PHP-8.0/ext/libxml/
H A Dconfig.w329 …CHECK_HEADER_ADD_INCLUDE("libxml/tree.h", "CFLAGS_LIBXML", PHP_PHP_BUILD + "\\include\\libxml2") &&
/PHP-8.0/ext/simplexml/
H A Dconfig.w328 …CHECK_HEADER_ADD_INCLUDE("libxml/tree.h", "CFLAGS_SIMPLEXML", PHP_PHP_BUILD + "\\include\\libxml2")
/PHP-8.0/ext/xsl/
H A Dconfig.w329 && CHECK_HEADER_ADD_INCLUDE("libxml/tree.h", "CFLAGS_XSL", PHP_PHP_BUILD + "\\include\\libxml2")
/PHP-8.0/ext/standard/tests/file/
H A Drename_variation1.phpt18 /* Testing simple directory tree */
H A Drename_variation1-win32.phpt19 /* Testing simple directory tree */

Completed in 76 milliseconds

12