Lines Matching full:cast
49 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(obj); in TreeSetConstructor()
66 TaggedTreeSet::Cast(internal.GetTaggedObject())->SetCompare(thread, compareFn.GetTaggedValue()); in TreeSetConstructor()
79 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in Add()
80 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Add()
89 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in Add()
103 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in Remove()
104 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Remove()
112 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in Remove()
125 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in Has()
126 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Has()
135 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in Has()
137 bool flag = JSAPITreeSet::Has(thread, JSHandle<JSAPITreeSet>::Cast(set), key); in Has()
150 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in GetFirstValue()
151 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in GetFirstValue()
159 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in GetFirstValue()
160 return TaggedTreeSet::Cast(set->GetTreeSet().GetTaggedObject())->GetFirstKey(); in GetFirstValue()
171 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in GetLastValue()
172 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in GetLastValue()
180 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in GetLastValue()
181 return TaggedTreeSet::Cast(set->GetTreeSet().GetTaggedObject())->GetLastKey(); in GetLastValue()
192 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in Clear()
193 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in Clear()
201 JSAPITreeSet::Clear(thread, JSHandle<JSAPITreeSet>::Cast(self)); in Clear()
213 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in GetLowerValue()
214 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in GetLowerValue()
222 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in GetLowerValue()
243 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in GetHigherValue()
244 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in GetHigherValue()
252 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in GetHigherValue()
273 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in PopFirst()
274 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in PopFirst()
282 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in PopFirst()
294 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in PopLast()
295 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in PopLast()
303 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in PopLast()
315 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in IsEmpty()
316 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in IsEmpty()
323 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in IsEmpty()
356 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in ForEach()
357 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in ForEach()
375 JSHandle<JSAPITreeSet> tset = JSHandle<JSAPITreeSet>::Cast(self); in ForEach()
414 if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget().IsJSAPITreeSet()) { in GetLength()
415 self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget()); in GetLength()
423 int count = JSHandle<JSAPITreeSet>::Cast(self)->GetSize(); in GetLength()