Lines Matching refs:Cast
49 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(obj); in TreeSetConstructor()
67 TaggedTreeSet::Cast(internal.GetTaggedObject())->SetCompare(thread, compareFn.GetTaggedValue()); in TreeSetConstructor()
80 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in Add()
81 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Add()
90 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in Add()
104 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in Remove()
105 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Remove()
113 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in Remove()
126 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in Has()
127 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Has()
136 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in Has()
138 bool flag = JSAPITreeSet::Has(thread, JSHandle<JSAPITreeSet>::Cast(set), key); in Has()
151 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in GetFirstValue()
152 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in GetFirstValue()
160 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in GetFirstValue()
161 return TaggedTreeSet::Cast(set->GetTreeSet().GetTaggedObject())->GetFirstKey(); in GetFirstValue()
172 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in GetLastValue()
173 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in GetLastValue()
181 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in GetLastValue()
182 return TaggedTreeSet::Cast(set->GetTreeSet().GetTaggedObject())->GetLastKey(); in GetLastValue()
193 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in Clear()
194 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Clear()
202 JSAPITreeSet::Clear(thread, JSHandle<JSAPITreeSet>::Cast(self)); in Clear()
214 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in GetLowerValue()
215 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in GetLowerValue()
223 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in GetLowerValue()
245 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in GetHigherValue()
246 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in GetHigherValue()
254 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in GetHigherValue()
276 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in PopFirst()
277 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in PopFirst()
285 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in PopFirst()
297 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in PopLast()
298 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in PopLast()
306 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in PopLast()
318 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in IsEmpty()
319 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in IsEmpty()
326 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in IsEmpty()
359 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in ForEach()
360 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in ForEach()
379 JSHandle<JSAPITreeSet> tset = JSHandle<JSAPITreeSet>::Cast(self); in ForEach()
418 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in GetLength()
419 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in GetLength()
427 int count = JSHandle<JSAPITreeSet>::Cast(self)->GetSize(); in GetLength()