Lines Matching defs:AVLTreeAbstractorForArrayCompare
756 struct AVLTreeAbstractorForArrayCompare { struct
757 typedef int32_t handle; // Handle is an index into m_nodes vector.
758 typedef JSValue key;
759 typedef int32_t size;
761 Vector<AVLTreeNodeForArrayCompare> m_nodes;
762 ExecState* m_exec;
763 JSValue m_compareFunction;
764 CallType m_compareCallType;
765 const CallData* m_compareCallData;
766 JSValue m_globalThisValue;
767 OwnPtr<CachedCall> m_cachedCall;
769 handle get_less(handle h) { return m_nodes[h].lt & 0x7FFFFFFF; } in get_less()
770 void set_less(handle h, handle lh) { m_nodes[h].lt &= 0x80000000; m_nodes[h].lt |= lh; } in set_less()
771 handle get_greater(handle h) { return m_nodes[h].gt & 0x7FFFFFFF; } in get_greater()
772 void set_greater(handle h, handle gh) { m_nodes[h].gt &= 0x80000000; m_nodes[h].gt |= gh; } in set_greater()
774 int get_balance_factor(handle h) in get_balance_factor()
781 void set_balance_factor(handle h, int bf) in set_balance_factor()
795 int compare_key_key(key va, key vb) in compare_key_key()
818 int compare_key_node(key k, handle h) { return compare_key_key(k, m_nodes[h].value); } in compare_key_node()
819 …e_node_node(handle h1, handle h2) { return compare_key_key(m_nodes[h1].value, m_nodes[h2].value); } in compare_node_node()
821 static handle null() { return 0x7FFFFFFF; } in null()