Lines Matching defs:AVLTreeAbstractorForArrayCompare
737 struct AVLTreeAbstractorForArrayCompare { struct
738 typedef int32_t handle; // Handle is an index into m_nodes vector.
739 typedef JSValue key;
740 typedef int32_t size;
742 Vector<AVLTreeNodeForArrayCompare> m_nodes;
743 ExecState* m_exec;
744 JSValue m_compareFunction;
745 CallType m_compareCallType;
746 const CallData* m_compareCallData;
747 JSValue m_globalThisValue;
748 OwnPtr<CachedCall> m_cachedCall;
750 handle get_less(handle h) { return m_nodes[h].lt & 0x7FFFFFFF; } in get_less()
751 void set_less(handle h, handle lh) { m_nodes[h].lt &= 0x80000000; m_nodes[h].lt |= lh; } in set_less()
752 handle get_greater(handle h) { return m_nodes[h].gt & 0x7FFFFFFF; } in get_greater()
753 void set_greater(handle h, handle gh) { m_nodes[h].gt &= 0x80000000; m_nodes[h].gt |= gh; } in set_greater()
755 int get_balance_factor(handle h) in get_balance_factor()
762 void set_balance_factor(handle h, int bf) in set_balance_factor()
776 int compare_key_key(key va, key vb) in compare_key_key()
799 int compare_key_node(key k, handle h) { return compare_key_key(k, m_nodes[h].value); } in compare_key_node()
800 …e_node_node(handle h1, handle h2) { return compare_key_key(m_nodes[h1].value, m_nodes[h2].value); } in compare_node_node()
802 static handle null() { return 0x7FFFFFFF; } in null()