Lines Matching refs:depth
33 void phpdbg_btree_init(phpdbg_btree *tree, zend_ulong depth) { in phpdbg_btree_init() argument
34 tree->depth = depth; in phpdbg_btree_init()
42 int i = tree->depth - 1; in phpdbg_btree_find()
69 int i = tree->depth - 1, last_superior_i = -1; in phpdbg_btree_find_closest()
89 i = tree->depth - 1; in phpdbg_btree_find_closest()
145 int i = tree->depth - 1; in phpdbg_btree_insert_or_update()
180 int i = tree->depth; in phpdbg_btree_delete()
227 void phpdbg_btree_clean_recursive(phpdbg_btree_branch *branch, zend_ulong depth, bool persistent) { in phpdbg_btree_clean_recursive() argument
229 while (depth--) { in phpdbg_btree_clean_recursive()
232 phpdbg_btree_clean_recursive(branch->branches[use_branch], depth, persistent); in phpdbg_btree_clean_recursive()
241 phpdbg_btree_clean_recursive(tree->branch, tree->depth, tree->persistent); in phpdbg_btree_clean()
247 void phpdbg_btree_branch_dump(phpdbg_btree_branch *branch, zend_ulong depth) { in phpdbg_btree_branch_dump() argument
249 if (depth--) { in phpdbg_btree_branch_dump()
250 phpdbg_btree_branch_dump(branch->branches[0], depth); in phpdbg_btree_branch_dump()
251 phpdbg_btree_branch_dump(branch->branches[1], depth); in phpdbg_btree_branch_dump()
259 phpdbg_btree_branch_dump(tree->branch, tree->depth); in phpdbg_btree_dump()