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.cpp1150 JSHandle<JSTaggedValue> defaultString = thread_->GlobalConstants()->GetHandledDefaultString(); in HWTEST_F_L0() local
1151 PropertyDescriptor desc = PropertyDescriptor(thread_, defaultString); in HWTEST_F_L0()
1152 …success = JSObject::DefineOwnProperty(thread_, JSHandle<JSObject>::Cast(set), defaultString, desc); in HWTEST_F_L0()
1176 …ionResult res = JSObject::GetProperty(thread_, JSHandle<JSObject>::Cast(sonHandle), defaultString); in HWTEST_F_L0()
1177 bool same4 = JSTaggedValue::SameValue(defaultString, res.GetValue()); in HWTEST_F_L0()
1246 JSHandle<JSTaggedValue> defaultString = thread_->GlobalConstants()->GetHandledDefaultString(); in HWTEST_F_L0() local
1247 PropertyDescriptor desc = PropertyDescriptor(thread_, defaultString); in HWTEST_F_L0()
1248 JSObject::DefineOwnProperty(thread_, JSHandle<JSObject>::Cast(protoFunc), defaultString, desc); in HWTEST_F_L0()
1254 …onResult res = JSObject::GetProperty(thread_, JSHandle<JSObject>::Cast(son1Handle), defaultString); in HWTEST_F_L0()
1255 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.cpp169 JSHandle<JSTaggedValue> defaultString = globalConstants->GetHandledDefaultString(); in ResolveExportObject() local
170 if (JSTaggedValue::SameValue(exportName, defaultString)) { in ResolveExportObject()
265 JSHandle<JSTaggedValue> defaultString = globalConstants->GetHandledDefaultString(); in ResolveExport() local
266 if (JSTaggedValue::SameValue(exportName, defaultString)) { in ResolveExport()