/arkcompiler/ets_runtime/ecmascript/ |
H A D | global_env.cpp | 47 JSHandle<JSTaggedValue> nameKey(factory->NewFromUtf8(name)); in GetStringPrototypeFunctionByName() 48 return JSObject::GetProperty(thread, stringFuncPrototype, nameKey).GetValue(); in GetStringPrototypeFunctionByName() 55 JSHandle<JSTaggedValue> nameKey(factory->NewFromUtf8(name)); in GetStringFunctionByName() 56 return JSObject::GetProperty(thread, stringFuncObj, nameKey).GetValue(); in GetStringFunctionByName()
|
H A 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()
|
H A D | jsnapi_sendable.cpp | 44 JSHandle<JSTaggedValue> nameKey = globalConst->GetHandledNameString(); in InitStaticDescription() local 46 nameDesc.SetKey(nameKey); in InitStaticDescription()
|
H A D | js_function.cpp | 251 JSHandle<JSTaggedValue> nameKey = globalConst->GetHandledNameString(); in NameGetter() local 253 JSHandle<JSTaggedValue> targetName = JSObject::GetProperty(thread, target, nameKey).GetValue(); in NameGetter() 662 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); in GetFunctionName() local 664 return JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(func), nameKey).GetValue(); in GetFunctionName() 718 JSHandle<JSTaggedValue> nameKey = globalConst->GetHandledNameString(); in SetFunctionName() local 721 return JSTaggedValue::DefinePropertyOrThrow(thread, funcHandle, nameKey, nameDesc); in SetFunctionName()
|
H A D | ecma_context.cpp | 765 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); in PrintJSErrorInfo() local 766 JSHandle<JSTaggedValue> nameValue = JSObject::GetProperty(thread, exceptionInfo, nameKey).GetValue(); in PrintJSErrorInfo()
|
H A D | object_factory.cpp | 2126 JSHandle<JSTaggedValue> nameKey = globalConst->GetHandledNameString(); in NewJSIntlBoundFunction() local 2128 JSTaggedValue::DefinePropertyOrThrow(thread_, JSHandle<JSTaggedValue>::Cast(function), nameKey, nameDesc); in NewJSIntlBoundFunction() 2147 JSHandle<JSTaggedValue> nameKey = globalConst->GetHandledNameString(); in NewJSProxyRevocFunction() local 2149 JSTaggedValue::DefinePropertyOrThrow(thread_, JSHandle<JSTaggedValue>::Cast(function), nameKey, nameDesc); in NewJSProxyRevocFunction()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | global_dictionary_test.cpp | 197 std::vector<CString> nameKey = {"a", "b", "c", "d", "e", "f", in HWTEST_F_L0() local 204 JSHandle<JSTaggedValue> handleNameKey(factory->NewFromASCII(nameKey[i])); in HWTEST_F_L0() 223 EXPECT_EQ(nameKey[0], EcmaStringAccessor(resultFirstKey).ToCString().c_str()); in HWTEST_F_L0() 224 EXPECT_EQ(nameKey[15], EcmaStringAccessor(resultLastKey).ToCString().c_str()); in HWTEST_F_L0() 238 std::vector<CString> nameKey = {"a", "b", "c", "d", "e", "f", in HWTEST_F_L0() local 246 JSHandle<JSTaggedValue> handleNameKey(factory->NewFromASCII(nameKey[i])); in HWTEST_F_L0() 267 EXPECT_EQ(nameKey[1], EcmaStringAccessor(resultFirstKey).ToCString().c_str()); in HWTEST_F_L0() 268 EXPECT_EQ(nameKey[15], EcmaStringAccessor(resultLastKey).ToCString().c_str()); in HWTEST_F_L0() 297 std::vector<CString> nameKey = {"a", "b", "s", "t", "e", "f", in HWTEST_F_L0() local 304 JSHandle<JSTaggedValue> handleKey(factory->NewFromASCII(nameKey[ in HWTEST_F_L0() [all...] |
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_errors_test.cpp | 63 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); in HWTEST_F_L0() local 73 JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(handleObj), nameKey).GetValue()); in HWTEST_F_L0() 89 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); in HWTEST_F_L0() local 95 JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(handleObj), nameKey).GetValue()); in HWTEST_F_L0() 123 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); in HWTEST_F_L0() local 129 JSHandle<JSTaggedValue> nameValue(JSObject::GetProperty(thread, errorObject, nameKey).GetValue()); in HWTEST_F_L0() 159 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); in HWTEST_F_L0() local 165 JSHandle<JSTaggedValue> nameValue(JSObject::GetProperty(thread, errorObject, nameKey).GetValue()); in HWTEST_F_L0() 248 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); in HWTEST_F_L0() local 253 JSHandle<JSTaggedValue> nameValue(JSObject::GetProperty(thread, errorObject, nameKey) in HWTEST_F_L0() 283 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); HWTEST_F_L0() local 374 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); HWTEST_F_L0() local 409 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); HWTEST_F_L0() local 494 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); HWTEST_F_L0() local 529 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); HWTEST_F_L0() local 615 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); HWTEST_F_L0() local 650 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); HWTEST_F_L0() local 739 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); HWTEST_F_L0() local 774 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); HWTEST_F_L0() local 862 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); HWTEST_F_L0() local 897 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); HWTEST_F_L0() local 997 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); HWTEST_F_L0() local [all...] |
H A D | builtins_function_test.cpp | 193 JSHandle<JSTaggedValue> nameKey = globalConst->GetHandledNameString(); in HWTEST_F_L0() local 195 JSHandle<EcmaString> resultName(JSObject::GetProperty(thread, resultFuncHandle, nameKey).GetValue()); in HWTEST_F_L0() 242 JSHandle<JSTaggedValue> nameKey = globalConst->GetHandledNameString(); in HWTEST_F_L0() local 244 JSHandle<EcmaString> resultName(JSObject::GetProperty(thread, resultFuncHandle, nameKey).GetValue()); in HWTEST_F_L0() 293 JSHandle<JSTaggedValue> nameKey = globalConst->GetHandledNameString(); in HWTEST_F_L0() local 295 JSHandle<EcmaString> resultName(JSObject::GetProperty(thread, resultFuncHandle, nameKey).GetValue()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
H A D | error_helper_test.cpp | 148 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); in HWTEST_F_L0() local 163 JSHandle<JSTaggedValue> errorNameValue(JSObject::GetProperty(thread, errorResult, nameKey).GetValue()); in HWTEST_F_L0() 177 JSHandle<JSTaggedValue> evalNameValue(JSObject::GetProperty(thread, evalErrorResult, nameKey).GetValue()); in HWTEST_F_L0() 191 JSHandle<JSTaggedValue> typeNameValue(JSObject::GetProperty(thread, typeErrorResult, nameKey).GetValue()); in HWTEST_F_L0() 202 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); in HWTEST_F_L0() local 218 JSHandle<JSTaggedValue> rangeNameValue(JSObject::GetProperty(thread, rangeErrorResult, nameKey).GetValue()); in HWTEST_F_L0() 232 JSHandle<JSTaggedValue> uriNameValue(JSObject::GetProperty(thread, uriErrorResult, nameKey).GetValue()); in HWTEST_F_L0() 246 JSHandle<JSTaggedValue> oomNameValue(JSObject::GetProperty(thread, oomErrorResult, nameKey).GetValue()); in HWTEST_F_L0() 257 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); in HWTEST_F_L0() local 273 JSHandle<JSTaggedValue> syntaxNameValue(JSObject::GetProperty(thread, syntaxErrorResult, nameKey) in HWTEST_F_L0() 318 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); HWTEST_F_L0() local [all...] |
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_function.cpp | 267 JSHandle<JSTaggedValue> nameKey = globalConst->GetHandledNameString(); in FunctionPrototypeBindInternal() local 278 thread, target.GetTaggedValue(), nameKey.GetTaggedValue()); in FunctionPrototypeBindInternal() 283 JSHandle<JSTaggedValue> targetName = JSObject::GetProperty(thread, target, nameKey).GetValue(); in FunctionPrototypeBindInternal() 356 JSHandle<JSTaggedValue> nameKey = thread->GlobalConstants()->GetHandledNameString(); in FunctionPrototypeToString() local 357 JSHandle<JSTaggedValue> name = JSObject::GetProperty(thread, thisValue, nameKey).GetValue(); in FunctionPrototypeToString()
|
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/ |
H A D | js_stackgetter.cpp | 143 JSHandle<JSTaggedValue> nameKey = globalConst->GetHandledNameString(); in GetNativeStack() local 145 JSHandle<JSTaggedValue> funcNameValue = JSObject::GetProperty(thread, func, nameKey).GetValue(); in GetNativeStack()
|
/arkcompiler/ets_runtime/ecmascript/debugger/ |
H A D | debugger_api.cpp | 823 JSHandle<JSTaggedValue> nameKey = globalConst->GetHandledNameString(); in HandleUncaughtException() local 824 JSHandle<EcmaString> name(JSObject::GetProperty(thread, exHandle, nameKey).GetValue()); in HandleUncaughtException()
|