Lines Matching refs:depth
35 void phpdbg_btree_init(phpdbg_btree *tree, zend_ulong depth) { in phpdbg_btree_init() argument
36 tree->depth = depth; in phpdbg_btree_init()
44 int i = tree->depth - 1; in phpdbg_btree_find()
71 int i = tree->depth - 1, last_superior_i = -1; in phpdbg_btree_find_closest()
91 i = tree->depth - 1; in phpdbg_btree_find_closest()
147 int i = tree->depth - 1; in phpdbg_btree_insert_or_update()
182 int i = tree->depth; in phpdbg_btree_delete()
229 void phpdbg_btree_clean_recursive(phpdbg_btree_branch *branch, zend_ulong depth, zend_bool persiste… in phpdbg_btree_clean_recursive() argument
231 while (depth--) { in phpdbg_btree_clean_recursive()
234 phpdbg_btree_clean_recursive(branch->branches[use_branch], depth, persistent); in phpdbg_btree_clean_recursive()
243 phpdbg_btree_clean_recursive(tree->branch, tree->depth, tree->persistent); in phpdbg_btree_clean()
249 void phpdbg_btree_branch_dump(phpdbg_btree_branch *branch, zend_ulong depth) { in phpdbg_btree_branch_dump() argument
251 if (depth--) { in phpdbg_btree_branch_dump()
252 phpdbg_btree_branch_dump(branch->branches[0], depth); in phpdbg_btree_branch_dump()
253 phpdbg_btree_branch_dump(branch->branches[1], depth); in phpdbg_btree_branch_dump()
261 phpdbg_btree_branch_dump(tree->branch, tree->depth); in phpdbg_btree_dump()