Home
last modified time | relevance | path

Searched refs:defaultString (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_first_tests.cpp1108 JSHandle<JSTaggedValue> defaultString = thread_->GlobalConstants()->GetHandledDefaultString(); in HWTEST_F_L0() local
1109 PropertyDescriptor desc = PropertyDescriptor(thread_, defaultString); in HWTEST_F_L0()
1110 …success = JSObject::DefineOwnProperty(thread_, JSHandle<JSObject>::Cast(set), defaultString, desc); in HWTEST_F_L0()
1134 …ionResult res = JSObject::GetProperty(thread_, JSHandle<JSObject>::Cast(sonHandle), defaultString); in HWTEST_F_L0()
1135 bool same4 = JSTaggedValue::SameValue(defaultString, res.GetValue()); in HWTEST_F_L0()
1202 JSHandle<JSTaggedValue> defaultString = thread_->GlobalConstants()->GetHandledDefaultString(); in HWTEST_F_L0() local
1203 PropertyDescriptor desc = PropertyDescriptor(thread_, defaultString); in HWTEST_F_L0()
1204 JSObject::DefineOwnProperty(thread_, JSHandle<JSObject>::Cast(protoFunc), defaultString, desc); in HWTEST_F_L0()
1210 …onResult res = JSObject::GetProperty(thread_, JSHandle<JSObject>::Cast(son1Handle), defaultString); in HWTEST_F_L0()
1211 EXPECT_EQ(JSTaggedValue::SameValue(defaultString, res.GetValue()), true); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/test/
Dcl_ut_test.cpp118 maplecl::Option<std::string> defaultString({"--defstring"}, "", maplecl::Init("Default String")); variable
492 std::string defStr = testopts::defaultString; in TEST()
/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_source_text.cpp187 JSHandle<JSTaggedValue> defaultString = globalConstants->GetHandledDefaultString(); in ResolveExportObject() local
188 if (JSTaggedValue::SameValue(exportName, defaultString)) { in ResolveExportObject()
248 JSHandle<JSTaggedValue> defaultString = globalConstants->GetHandledDefaultString(); in ResolveExport() local
251 if (JSTaggedValue::SameValue(exportName, defaultString) && in ResolveExport()