Home
last modified time | relevance | path

Searched refs:IsObject (Results 1 – 25 of 27) sorted by relevance

12

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DtypeGuardOnContainerTypeNoHang.ts22 export function IsObject(value: any) : value is {[index:string]:any} {
/arkcompiler/ets_runtime/ecmascript/tests/
Dlexical_env_test.cpp54 EXPECT_TRUE(lexicalEnv.GetTaggedValue().IsObject()); in HWTEST_F_L0()
Dtagged_value_test.cpp66 EXPECT_EQ(false, td.IsObject()); in HWTEST_F_L0()
73 EXPECT_EQ(false, tNan.IsObject()); in HWTEST_F_L0()
85 EXPECT_EQ(false, t.IsObject()); in HWTEST_F_L0()
90 HWTEST_F_L0(JSTaggedValueTest, IsObject) in HWTEST_F_L0() argument
94 EXPECT_EQ(true, t.IsObject()); in HWTEST_F_L0()
108 EXPECT_EQ(true, t.IsObject()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Delements.h49 static bool IsObject(ElementsKind kind);
Delements.cpp55 bool Elements::IsObject(ElementsKind kind) in IsObject() function in panda::ecmascript::Elements
Djs_tagged_value.h220 return !IsInt() && !IsObject(); in IsDouble()
233 ARK_INLINE bool IsObject() const in IsObject() function
Dobject_operator.cpp453 } else if (value->IsObject()) { in ConvertOrTransitionWithRep()
/arkcompiler/toolchain/tooling/base/
Dpt_json.h81 bool IsObject() const;
Dpt_json.cpp272 bool PtJson::IsObject() const in IsObject() function in panda::ecmascript::tooling::PtJson
Dpt_types.cpp226 if (tagged->IsObject()) { in FromTagged()
509 if (jsVKey->IsObject()) { in DescriptionForMap()
519 if (jsVValue->IsObject()) { in DescriptionForMap()
553 if (jsVKey->IsObject()) { in DescriptionForWeakMap()
563 if (jsVValue->IsObject()) { in DescriptionForWeakMap()
598 if (jsValue->IsObject()) { in DescriptionForSet()
631 if (jsValue->IsObject()) { in DescriptionForWeakSet()
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_tests.cpp101 ASSERT_TRUE(globalObject->IsObject()); in HWTEST_F_L0()
128 ASSERT_TRUE(globalObject->IsObject()); in HWTEST_F_L0()
140 ASSERT_TRUE(globalObject->IsObject()); in HWTEST_F_L0()
160 ASSERT_TRUE(globalObject->IsObject()); in HWTEST_F_L0()
166 ASSERT_TRUE(result->IsObject()); in HWTEST_F_L0()
307 ASSERT_TRUE(toValue->ToObject(vm_)->IsObject()); in HWTEST_F_L0()
392 ASSERT_TRUE(protoType->IsObject()); in HWTEST_F_L0()
396 ASSERT_TRUE(protoType->IsObject()); in HWTEST_F_L0()
400 ASSERT_TRUE(protoType->IsObject()); in HWTEST_F_L0()
476 ASSERT_TRUE(result->IsObject()); in HWTEST_F_L0()
[all …]
/arkcompiler/runtime_core/assembler/
Dassembly-type.h100 bool IsObject() const in IsObject() function
Dmeta.cpp486 if (!field_type_.IsObject()) { in StoreValue()
Dassembly-emitter.cpp235 if (type.IsObject()) { in CreateScalarRecordValueItem()
1460 if (!type.IsObject()) { in GetTypeItem()
/arkcompiler/toolchain/tooling/
Ddispatcher.cpp38 if (!json->IsObject()) { in DispatchRequest()
/arkcompiler/toolchain/tooling/agent/
Druntime_impl.cpp193 if (value.IsEmpty() || !value->IsObject()) { in GetProperties()
310 if (vValue->IsObject()) { in GetProperties()
402 if (valRef->IsObject()) { in CacheObjectIfNeeded()
636 if (jsKey->IsHole() || !jsKey->IsObject()) { in GetWeakMapValue()
664 } else if (elementRef->IsObject()) { in GetSetValue()
691 } else if (elementRef->IsObject()) { in GetWeakSetValue()
/arkcompiler/runtime_core/assembler/templates/
Dopcode_parsing.h.erb36 if (!curr_func_->return_type.IsObject()) {
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_date_test.cpp1112 ASSERT_TRUE(result2.IsObject()); in HWTEST_F_L0()
1123 ASSERT_TRUE(result3.IsObject()); in HWTEST_F_L0()
1152 ASSERT_TRUE(result5.IsObject()); in HWTEST_F_L0()
1201 ASSERT_TRUE(result8.IsObject()); in HWTEST_F_L0()
1213 ASSERT_TRUE(result9.IsObject()); in HWTEST_F_L0()
1228 ASSERT_TRUE(result11.IsObject()); in HWTEST_F_L0()
1243 ASSERT_TRUE(result13.IsObject()); in HWTEST_F_L0()
Dbuiltins_object_test.cpp127 ASSERT_TRUE(resultTg.IsObject()); in HWTEST_F_L0()
148 ASSERT_TRUE(resultVn.IsObject()); in HWTEST_F_L0()
236 ASSERT_TRUE(resultHp.IsObject()); in HWTEST_F_L0()
787 ASSERT_TRUE(result1.IsObject()); in HWTEST_F_L0()
/arkcompiler/toolchain/tooling/test/
Dpt_json_test.cpp126 EXPECT_TRUE(json->Get(4)->IsObject()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dts_hcr_lowering.cpp873 } else if (Elements::IsObject(kind)) { in LoadJSArrayByIndex()
930 if (Elements::IsObject(kind)) { in StoreJSArrayByIndex()
Dgate_accessor.cpp1306 return Elements::IsObject(kind); in IsHeapObjectFromElementsKind()
/arkcompiler/ets_runtime/ecmascript/napi/include/
Djsnapi.h418 bool IsObject();
/arkcompiler/runtime_core/assembler/tests/
Dparser_test.cpp1827 ASSERT_TRUE(item.Value().record_table.at("R").field_list[0].type.IsObject()); in TEST()
1833 ASSERT_TRUE(item.Value().function_table.at(sig_f).return_type.IsObject()); in TEST()
1840 ASSERT_TRUE(item.Value().function_table.at(sig_f).params[0].type.IsObject()); in TEST()
Dassembler_parser_test.cpp1723 EXPECT_TRUE(item.Value().record_table.at("R").field_list[0].type.IsObject());

12