Lines Matching full:cast
48 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(obj); in TreeMapConstructor()
66 TaggedTreeMap::Cast(internal.GetTaggedObject())->SetCompare(thread, compareFn.GetTaggedValue()); in TreeMapConstructor()
79 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget(thread).IsJSAPITreeMap()) { in Set()
80 … self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget(thread)); in Set()
91 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in Set()
106 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget(thread).IsJSAPITreeMap()) { in Get()
107 … self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget(thread)); in Get()
115 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in Get()
128 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget(thread).IsJSAPITreeMap()) { in Remove()
129 … self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget(thread)); in Remove()
137 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in Remove()
150 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget(thread).IsJSAPITreeMap()) { in HasKey()
151 … self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget(thread)); in HasKey()
160 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in HasKey()
162 bool flag = JSAPITreeMap::HasKey(thread, JSHandle<JSAPITreeMap>::Cast(map), key); in HasKey()
175 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget(thread).IsJSAPITreeMap()) { in HasValue()
176 … self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget(thread)); in HasValue()
184 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in HasValue()
197 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget(thread).IsJSAPITreeMap()) { in GetFirstKey()
198 … self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget(thread)); in GetFirstKey()
206 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in GetFirstKey()
207 return TaggedTreeMap::Cast(map->GetTreeMap(thread).GetTaggedObject())->GetFirstKey(thread); in GetFirstKey()
218 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget(thread).IsJSAPITreeMap()) { in GetLastKey()
219 … self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget(thread)); in GetLastKey()
227 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in GetLastKey()
228 return TaggedTreeMap::Cast(map->GetTreeMap(thread).GetTaggedObject())->GetLastKey(thread); in GetLastKey()
239 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget(thread).IsJSAPITreeMap()) { in SetAll()
240 … self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget(thread)); in SetAll()
250 if (obj->IsJSProxy() && JSHandle<JSProxy>::Cast(obj)->GetTarget(thread).IsJSAPITreeMap()) { in SetAll()
251 obj = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(obj)->GetTarget(thread)); in SetAll()
262 JSHandle<JSAPITreeMap> dst = JSHandle<JSAPITreeMap>::Cast(self); in SetAll()
264 JSHandle<TaggedTreeMap> smap(thread, JSHandle<JSAPITreeMap>::Cast(obj)->GetTreeMap(thread)); in SetAll()
266 if (JSHandle<JSAPITreeMap>::Cast(obj)->GetSize(thread) > 0) { in SetAll()
282 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget(thread).IsJSAPITreeMap()) { in Clear()
283 … self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget(thread)); in Clear()
291 JSAPITreeMap::Clear(thread, JSHandle<JSAPITreeMap>::Cast(self)); in Clear()
303 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget(thread).IsJSAPITreeMap()) { in GetLowerKey()
304 … self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget(thread)); in GetLowerKey()
312 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in GetLowerKey()
327 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget(thread).IsJSAPITreeMap()) { in GetHigherKey()
328 … self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget(thread)); in GetHigherKey()
336 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in GetHigherKey()
351 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget(thread).IsJSAPITreeMap()) { in Replace()
352 … self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget(thread)); in Replace()
360 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in Replace()
408 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget(thread).IsJSAPITreeMap()) { in ForEach()
409 … self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget(thread)); in ForEach()
428 JSHandle<JSAPITreeMap> tmap = JSHandle<JSAPITreeMap>::Cast(self); in ForEach()
469 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget(thread).IsJSAPITreeMap()) { in GetLength()
470 … self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget(thread)); in GetLength()
477 int count = JSHandle<JSAPITreeMap>::Cast(self)->GetSize(thread); in GetLength()
489 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget(thread).IsJSAPITreeMap()) { in IsEmpty()
490 … self = JSHandle<JSTaggedValue>(thread, JSHandle<JSProxy>::Cast(self)->GetTarget(thread)); in IsEmpty()
497 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in IsEmpty()