Home
last modified time | relevance | path

Searched refs:IsJSAPIHashMap (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_hashmap.cpp59 if (!self->IsJSAPIHashMap()) { in Keys()
60 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget(thread).IsJSAPIHashMap()) { in Keys()
80 if (!self->IsJSAPIHashMap()) { in Values()
81 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget(thread).IsJSAPIHashMap()) { in Values()
101 if (!self->IsJSAPIHashMap()) { in GetIteratorObj()
102 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget(thread).IsJSAPIHashMap()) { in GetIteratorObj()
122 if (!self->IsJSAPIHashMap()) { in Entries()
123 … if (self->IsJSProxy() && JSHandle<JSProxy>::Cast(self)->GetTarget(thread).IsJSAPIHashMap()) { in Entries()
143 if (!thisHandle->IsJSAPIHashMap()) { in ForEach()
144 …isHandle->IsJSProxy() && JSHandle<JSProxy>::Cast(thisHandle)->GetTarget(thread).IsJSAPIHashMap()) { in ForEach()
[all …]
/arkcompiler/ets_runtime/ecmascript/containers/tests/
Dcontainers_hashmap_test.cpp131 ASSERT_TRUE(result.IsJSAPIHashMap()); in HWTEST_F_L0()
159 EXPECT_TRUE(result.IsJSAPIHashMap()); in HWTEST_F_L0()
191 EXPECT_TRUE(result.IsJSAPIHashMap()); in HWTEST_F_L0()
242 EXPECT_TRUE(result.IsJSAPIHashMap()); in HWTEST_F_L0()
293 EXPECT_TRUE(result2.IsJSAPIHashMap()); in HWTEST_F_L0()
362 EXPECT_TRUE(result1.IsJSAPIHashMap()); in HWTEST_F_L0()
440 EXPECT_TRUE(result.IsJSAPIHashMap()); in HWTEST_F_L0()
493 EXPECT_TRUE(result.IsJSAPIHashMap()); in HWTEST_F_L0()
530 EXPECT_TRUE(result.IsJSAPIHashMap()); in HWTEST_F_L0()
578 EXPECT_TRUE(result.IsJSAPIHashMap()); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_hashmap.h29 ASSERT(JSTaggedValue(object).IsJSAPIHashMap()); in Cast()
Djs_api_hashmap_iterator.cpp88 if (!obj->IsJSAPIHashMap()) { in CreateHashMapIterator()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dcontainers_stub_builder.h90 return IsJSAPIHashMap(glue, obj); in IsContainer()
/arkcompiler/ets_runtime/ecmascript/
Djs_tagged_value-inl.h548 inline bool JSTaggedValue::IsJSAPIHashMap() const in IsJSAPIHashMap() function
550 return IsHeapObject() && GetTaggedObject()->GetClass()->IsJSAPIHashMap(); in IsJSAPIHashMap()
Djs_tagged_value.h685 bool IsJSAPIHashMap() const;
Djs_hclass.h1277 inline bool IsJSAPIHashMap() const in IsJSAPIHashMap() function
/arkcompiler/ets_runtime/ecmascript/compiler/
Dstub_builder.h520 GateRef IsJSAPIHashMap(GateRef glue, GateRef obj);
Dstub_builder-inl.h1789 inline GateRef StubBuilder::IsJSAPIHashMap(GateRef glue, GateRef obj) in IsJSAPIHashMap() function
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi_expo.cpp1027 return JSNApiHelper::ToJSTaggedValue(this).IsJSAPIHashMap(); in IsHashMap()