/arkcompiler/ets_runtime/ecmascript/ |
D | global_env.cpp | 58 JSHandle<JSTaggedValue> nameKey(factory->NewFromUtf8(name)); in GetStringPrototypeFunctionByName() local 59 return JSObject::GetProperty(thread, stringFuncPrototype, nameKey).GetValue(); in GetStringPrototypeFunctionByName() 66 JSHandle<JSTaggedValue> nameKey(factory->NewFromUtf8(name)); in GetStringFunctionByName() local 67 return JSObject::GetProperty(thread, stringFuncObj, nameKey).GetValue(); in GetStringFunctionByName()
|
D | global_dictionary-inl.h | 118 JSTaggedValue nameKey = entry.first; in GetAllKeys() local 119 keyArray->Set(thread, arrayIndex + offset, nameKey); in GetAllKeys() 152 JSTaggedValue nameKey = entry.first; in GetAllKeysByFilter() local 153 keyArray->Set(thread, keyArrayEffectivelength, nameKey); in GetAllKeysByFilter() 198 JSTaggedValue nameKey = entry.first; in GetEnumAllKeys() local 199 keyArray->Set(thread, arrayIndex + offset, nameKey); in GetEnumAllKeys()
|
D | js_function.cpp | 180 JSHandle<JSTaggedValue> nameKey = globalConst->GetHandledNameString(); in NameGetter() local 182 … JSHandle<JSTaggedValue> targetName = JSObject::GetProperty(thread, target, nameKey).GetValue(); in NameGetter() 592 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); in GetFunctionName() local 594 return JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(func), nameKey).GetValue(); in GetFunctionName() 638 JSHandle<JSTaggedValue> nameKey = globalConst->GetHandledNameString(); in SetFunctionName() local 641 return JSTaggedValue::DefinePropertyOrThrow(thread, funcHandle, nameKey, nameDesc); in SetFunctionName()
|
D | ecma_context.cpp | 629 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); in PrintJSErrorInfo() local 630 …JSHandle<JSTaggedValue> nameValue = JSObject::GetProperty(thread, exceptionInfo, nameKey).GetValue… in PrintJSErrorInfo()
|
D | object_factory.cpp | 1891 JSHandle<JSTaggedValue> nameKey = globalConst->GetHandledNameString(); in NewJSIntlBoundFunction() local 1893 …JSTaggedValue::DefinePropertyOrThrow(thread_, JSHandle<JSTaggedValue>::Cast(function), nameKey, na… in NewJSIntlBoundFunction() 1912 JSHandle<JSTaggedValue> nameKey = globalConst->GetHandledNameString(); in NewJSProxyRevocFunction() local 1914 …JSTaggedValue::DefinePropertyOrThrow(thread_, JSHandle<JSTaggedValue>::Cast(function), nameKey, na… in NewJSProxyRevocFunction()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | global_dictionary_test.cpp | 221 std::vector<CString> nameKey = {"a", "b", "c", "d", "e", "f", in HWTEST_F_L0() local 228 JSHandle<JSTaggedValue> handleNameKey(factory->NewFromASCII(nameKey[i])); in HWTEST_F_L0() 247 EXPECT_EQ(nameKey[0], EcmaStringAccessor(resultFirstKey).ToCString().c_str()); in HWTEST_F_L0() 248 EXPECT_EQ(nameKey[15], EcmaStringAccessor(resultLastKey).ToCString().c_str()); in HWTEST_F_L0() 262 std::vector<CString> nameKey = {"a", "b", "c", "d", "e", "f", in HWTEST_F_L0() local 270 JSHandle<JSTaggedValue> handleNameKey(factory->NewFromASCII(nameKey[i])); in HWTEST_F_L0() 291 EXPECT_EQ(nameKey[1], EcmaStringAccessor(resultFirstKey).ToCString().c_str()); in HWTEST_F_L0() 292 EXPECT_EQ(nameKey[15], EcmaStringAccessor(resultLastKey).ToCString().c_str()); in HWTEST_F_L0() 321 std::vector<CString> nameKey = {"a", "b", "s", "t", "e", "f", in HWTEST_F_L0() local 328 JSHandle<JSTaggedValue> handleKey(factory->NewFromASCII(nameKey[i])); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_errors_test.cpp | 87 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); in HWTEST_F_L0() local 97 JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(handleObj), nameKey).GetValue()); in HWTEST_F_L0() 113 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); in HWTEST_F_L0() local 119 JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(handleObj), nameKey).GetValue()); in HWTEST_F_L0() 147 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); in HWTEST_F_L0() local 153 … JSHandle<JSTaggedValue> nameValue(JSObject::GetProperty(thread, errorObject, nameKey).GetValue()); in HWTEST_F_L0() 183 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); in HWTEST_F_L0() local 189 … JSHandle<JSTaggedValue> nameValue(JSObject::GetProperty(thread, errorObject, nameKey).GetValue()); in HWTEST_F_L0() 272 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); in HWTEST_F_L0() local 277 … JSHandle<JSTaggedValue> nameValue(JSObject::GetProperty(thread, errorObject, nameKey).GetValue()); in HWTEST_F_L0() [all …]
|
D | builtins_function_test.cpp | 198 JSHandle<JSTaggedValue> nameKey = globalConst->GetHandledNameString(); in HWTEST_F_L0() local 200 …JSHandle<EcmaString> resultName(JSObject::GetProperty(thread, resultFuncHandle, nameKey).GetValue(… in HWTEST_F_L0() 253 JSHandle<JSTaggedValue> nameKey = globalConst->GetHandledNameString(); in HWTEST_F_L0() local 255 …JSHandle<EcmaString> resultName(JSObject::GetProperty(thread, resultFuncHandle, nameKey).GetValue(… in HWTEST_F_L0() 309 JSHandle<JSTaggedValue> nameKey = globalConst->GetHandledNameString(); in HWTEST_F_L0() local 311 …JSHandle<EcmaString> resultName(JSObject::GetProperty(thread, resultFuncHandle, nameKey).GetValue(… in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
D | error_helper_test.cpp | 172 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); in HWTEST_F_L0() local 187 …JSHandle<JSTaggedValue> errorNameValue(JSObject::GetProperty(thread, errorResult, nameKey).GetValu… in HWTEST_F_L0() 201 …JSHandle<JSTaggedValue> evalNameValue(JSObject::GetProperty(thread, evalErrorResult, nameKey).GetV… in HWTEST_F_L0() 215 …JSHandle<JSTaggedValue> typeNameValue(JSObject::GetProperty(thread, typeErrorResult, nameKey).GetV… in HWTEST_F_L0() 226 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); in HWTEST_F_L0() local 242 …JSHandle<JSTaggedValue> rangeNameValue(JSObject::GetProperty(thread, rangeErrorResult, nameKey).Ge… in HWTEST_F_L0() 256 …JSHandle<JSTaggedValue> uriNameValue(JSObject::GetProperty(thread, uriErrorResult, nameKey).GetVal… in HWTEST_F_L0() 270 …JSHandle<JSTaggedValue> oomNameValue(JSObject::GetProperty(thread, oomErrorResult, nameKey).GetVal… in HWTEST_F_L0() 281 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); in HWTEST_F_L0() local 297 …TaggedValue> syntaxNameValue(JSObject::GetProperty(thread, syntaxErrorResult, nameKey).GetValue()); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_function.cpp | 246 JSHandle<JSTaggedValue> nameKey = globalConst->GetHandledNameString(); in FunctionPrototypeBind() local 257 thread, target.GetTaggedValue(), nameKey.GetTaggedValue()); in FunctionPrototypeBind() 262 … JSHandle<JSTaggedValue> targetName = JSObject::GetProperty(thread, target, nameKey).GetValue(); in FunctionPrototypeBind() 335 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); in FunctionPrototypeToString() local 336 … JSHandle<EcmaString> methodName(JSObject::GetProperty(thread, thisValue, nameKey).GetValue()); in FunctionPrototypeToString()
|
D | builtins.cpp | 3742 JSHandle<JSTaggedValue> nameKey = globalConst->GetHandledNameString(); in SetSFunctionName() local 3744 …JSObject::DefineOwnProperty(thread_, JSHandle<JSObject>(ctor), nameKey, nameDesc, SCheckMode::SKIP… in SetSFunctionName()
|
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/ |
D | js_stackgetter.cpp | 131 JSHandle<JSTaggedValue> nameKey = globalConst->GetHandledNameString(); in GetNativeStack() local 133 JSHandle<JSTaggedValue> funcNameValue = JSObject::GetProperty(thread, func, nameKey).GetValue(); in GetNativeStack()
|
/arkcompiler/ets_runtime/ecmascript/debugger/ |
D | debugger_api.cpp | 808 JSHandle<JSTaggedValue> nameKey = globalConst->GetHandledNameString(); in HandleUncaughtException() local 809 JSHandle<EcmaString> name(JSObject::GetProperty(thread, exHandle, nameKey).GetValue()); in HandleUncaughtException()
|