Searched refs:bal_h (Results 1 – 2 of 2) sorted by relevance
/external/webkit/Source/JavaScriptCore/wtf/ |
D | AVLTree.h | 495 handle balance(handle bal_h) in balance() argument 503 if (get_bf(bal_h) > 0) { in balance() 506 deep_h = get_gt(bal_h); in balance() 509 handle old_h = bal_h; in balance() 510 bal_h = get_lt(deep_h); in balance() 512 set_gt(old_h, get_lt(bal_h)); in balance() 513 set_lt(deep_h, get_gt(bal_h)); in balance() 514 set_lt(bal_h, old_h); in balance() 515 set_gt(bal_h, deep_h); in balance() 517 int bf = get_bf(bal_h); in balance() [all …]
|
/external/libvpx/vpx_mem/memory_manager/include/ |
D | cavl_impl.h | 204 L_SC AVL_HANDLE L_(balance)(L_BALANCE_PARAM_DECL_PREFIX AVL_HANDLE bal_h) in L_() 212 if (AVL_GET_BALANCE_FACTOR(bal_h) > 0) in L_() 216 deep_h = AVL_GET_GREATER(bal_h, 1); in L_() 224 AVL_HANDLE old_h = bal_h; in L_() 225 bal_h = AVL_GET_LESS(deep_h, 1); in L_() 227 AVL_SET_GREATER(old_h, AVL_GET_LESS(bal_h, 1)) in L_() 228 AVL_SET_LESS(deep_h, AVL_GET_GREATER(bal_h, 1)) in L_() 229 AVL_SET_LESS(bal_h, old_h) in L_() 230 AVL_SET_GREATER(bal_h, deep_h) in L_() 232 bf = AVL_GET_BALANCE_FACTOR(bal_h); in L_() [all …]
|