/arkcompiler/ets_runtime/test/fuzztest/globalclass_fuzzer/ |
H A D | globalclass_fuzzer.cpp | 32 Global<JSValueRef> param; in GlobalFuzzerTest() 37 [[maybe_unused]]Global<JSValueRef> global(param); in GlobalFuzzerTest() 49 Global<JSValueRef> param; in GlobalOperatorEqualFuzzerTest() 50 Global<JSValueRef> global; in GlobalOperatorEqualFuzzerTest() 67 Global<JSValueRef> param; in GlobalMoveFuzzerTest() 72 [[maybe_unused]]Global<JSValueRef> global(std::move(param)); in GlobalMoveFuzzerTest() 84 Global<JSValueRef> param; in GlobalOperatorEqualMoveFuzzerTest() 85 Global<JSValueRef> global; in GlobalOperatorEqualMoveFuzzerTest() 107 Global<JSValueRef> global(vm, current); in GlobalVMLocalFuzzerTest()
|
/arkcompiler/ets_runtime/test/fuzztest/templateclassglobal_fuzzer/ |
H A D | templateclassglobal_fuzzer.cpp | 35 [[maybe_unused]]Global<JSValueRef> global(vm, current); in TemplateGlobalFuzzerTest() 48 Global<BooleanRef> global(vm, BooleanRef::New(vm, true)); in TemplateToLocalFuzzerTest() 62 Global<BooleanRef> global(vm, BooleanRef::New(vm, true)); in TemplateToLocalFromVMFuzzerTest() 76 Global<BooleanRef> global(vm, BooleanRef::New(vm, true)); in TemplateEmptyFuzzerTest() 90 Global<BooleanRef> global(vm, BooleanRef::New(vm, true)); in TemplateFreeGlobalHandleAddrFuzzerTest() 104 Global<BooleanRef> global(vm, BooleanRef::New(vm, true)); in GlobalOperatorStarFuzzerTest() 118 Global<BooleanRef> global(vm, BooleanRef::New(vm, true)); in GlobalOperatorPointToFuzzerTest() 132 Global<JSValueRef> global; in GlobalIsEmptyFuzzerTest() 146 Global<JSValueRef> global(vm, BooleanRef::New(vm, true)); in GlobalSetWeakFuzzerTest() 166 Global<JSValueRe in GlobalClearWeakFuzzerTest() [all...] |
/arkcompiler/ets_runtime/ecmascript/debugger/ |
H A D | debugger_api.h | 169 ArkInternalValueType type, Global<MapRef> internalObjects); 171 Global<MapRef> internalObjects); 173 Global<MapRef> internalObjects); 175 Global<MapRef> internalObjects); 177 Global<MapRef> internalObjects); 179 Global<MapRef> internalObjects); 181 Global<MapRef> internalObjects); 183 Global<MapRef> internalObjects); 185 Global<MapRef> internalObjects); 187 Global<MapRe [all...] |
H A D | js_debugger.h | 30 const Global<FunctionRef> &condFuncRef) : sourceFile_(sourceFile), ptMethod_(ptMethod), in JSBreakpoint() 69 const Global<FunctionRef> &GetConditionFunction() in GetConditionFunction() 81 Global<FunctionRef> condFuncRef_;
|
H A D | debugger_api.cpp | 954 ArkInternalValueType type, Global<MapRef> internalObjects) in AddInternalProperties() 963 Global<MapRef> internalObjects) in GetArrayListValue() 980 Global<MapRef> internalObjects) in GetDequeValue() 997 Global<MapRef> internalObjects) in GetHashMapValue() 1031 Global<MapRef> internalObjects) in GetHashSetValue() 1065 Global<MapRef> internalObjects) in GetLightWeightMapValue() 1092 Global<MapRef> internalObjects) in GetLightWeightSetValue() 1117 Global<MapRef> internalObjects) in GetLinkedListValue() 1137 Global<MapRef> internalObjects) in GetListValue() 1157 Global<MapRe in GetPlainArrayValue() [all...] |
H A D | js_debugger.cpp | 38 location.GetBytecodeOffset(), Global<FunctionRef>(ecmaVm_, condFuncRef)); in SetBreakpoint() 62 location.GetBytecodeOffset(), Global<FunctionRef>(ecmaVm_, FunctionRef::Undefined(ecmaVm_))); in SetSmartBreakpoint()
|
/arkcompiler/ets_runtime/ecmascript/napi/include/ |
H A D | jsnapi.h | 48 class Global; 459 Global<T>::Global(const EcmaVM *vm, const Local<S> ¤t) : vm_(vm) in Global() function in panda::Global 468 Global<T>::Global(const EcmaVM *vm, const Global<S> ¤t) : vm_(vm) in Global() function in panda::Global 560 void Global<T>::Update(const Global &that) in Update() 570 void Global<T>::FreeGlobalHandleAddr() in FreeGlobalHandleAddr() 580 void Global< [all...] |
H A D | jsnapi_expo.h | 49 class Global; 223 Local(const EcmaVM *vm, const Global<T> ¤t); 380 class ECMA_PUBLIC_API Global { // NOLINTNEXTLINE(cppcoreguidelines-special-member-functions class 382 inline Global() = default; 384 inline Global(const Global &that) in Global() function in panda::Global 389 inline Global &operator=(const Global &that) in operator =() 395 inline Global(Global function in panda::Global [all...] |
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_regexp_iterator.h | 44 FIRST_BIT_FIELD(BitField, Global, bool, REGEXP_GLOBAL_BITS) 45 NEXT_BIT_FIELD(BitField, Unicode, bool, REGEXP_UNICODE_BITS, Global)
|
H A D | runtime_call_id.h | 482 V(Global, IsFinite) \ 483 V(Global, NotSupportEval) \ 484 V(Global, Encode) \ 485 V(Global, IsNaN) \ 486 V(Global, PrintEntryPoint) \ 487 V(Global, NewobjRange) \ 488 V(Global, Decode) \ 489 V(Global, PrintString) \ 490 V(Global, StartRuntimeStat) \ 491 V(Global, StopRuntimeSta [all...] |
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_global.cpp | 73 BUILTINS_API_TRACE(thread, Global, NotSupportEval); in NotSupportEval() 83 BUILTINS_API_TRACE(thread, Global, IsFinite); in IsFinite() 102 BUILTINS_API_TRACE(thread, Global, IsNaN); in IsNaN() 165 BUILTINS_API_TRACE(thread, Global, DecodeURI); in DecodeURI() 181 BUILTINS_API_TRACE(thread, Global, EncodeURI); in EncodeURI() 198 BUILTINS_API_TRACE(thread, Global, DecodeURIComponent); in DecodeURIComponent() 214 BUILTINS_API_TRACE(thread, Global, EncodeURIComponent); in EncodeURIComponent() 229 BUILTINS_API_TRACE(thread, Global, Encode); in Encode() 454 BUILTINS_API_TRACE(thread, Global, Decode); in Decode() 665 BUILTINS_API_TRACE(thread, Global, PrintStrin in PrintString() [all...] |
H A D | builtins.cpp | 140 using Global = builtins::BuiltinsGlobal; 443 // Global object test in InitializeGlobalObject() 444 SetFunction(env, globalObject, "print", Global::PrintEntrypoint, 0); in InitializeGlobalObject() 445 SetFunction(env, globalObject, "markModuleCollectable", Global::MarkModuleCollectable, 0); in InitializeGlobalObject() 446 SetFunction(env, globalObject, "isSendable", Global::IsSendable, 0); in InitializeGlobalObject() 447 SetFunction(env, globalObject, "loadNativeModule", Global::LoadNativeModule, 0); in InitializeGlobalObject() 449 SetFunction(env, globalObject, "startRuntimeStat", Global::StartRuntimeStat, 0); in InitializeGlobalObject() 450 SetFunction(env, globalObject, "stopRuntimeStat", Global::StopRuntimeStat, 0); in InitializeGlobalObject() 454 SetFunction(env, globalObject, "printOptStat", Global::PrintOptStat, 0); in InitializeGlobalObject() 458 SetFunction(env, globalObject, "printFunctionCallStat", Global in InitializeGlobalObject() [all...] |
/arkcompiler/ets_runtime/ecmascript/intl/ |
H A D | global_intl_helper.h | 48 using GlobalCollator = OHOS::Global::I18n::Collator; 49 using GlobalNumberFormat = OHOS::Global::I18n::NumberFormat; 50 using GlobalDateFormatter = OHOS::Global::I18n::DateTimeFormat; 51 using GlobalCompareResult = OHOS::Global::I18n::CompareResult;
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | handle_leak_test.cpp | 76 std::vector<Global<ArrayRef>> result; in HWTEST_F_L0() 78 result.emplace_back(Global<ArrayRef>(instance, ArrayRef::New(instance, 100))); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/test/fuzztest/copyableglobalsetandclearweak_fuzzer/ |
H A D | copyableglobalsetandclearweak_fuzzer.cpp | 40 Global<ObjectRef> globalObject(vm, object); in CopyableGlobalSetandClearWeakFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/copyableglobalisempty_fuzzer/ |
H A D | copyableglobalisempty_fuzzer.cpp | 40 Global<ObjectRef> globalObject(vm, stringUtf8); in CopyableGlobalIsEmptyFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
H A D | jsnapi_helper.h | 176 NativeReferenceHelper(EcmaVM *vm, Global<ObjectRef> obj, NativeFinalize callback) in NativeReferenceHelper() 204 Global<ObjectRef> obj_;
|
/arkcompiler/ets_frontend/es2panda/ir/ts/ |
H A D | tsModuleDeclaration.h | 74 bool Global() const in Global() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TSModuleDeclaration
|
/arkcompiler/toolchain/tooling/agent/ |
H A D | runtime_impl.h | 180 std::unordered_map<RemoteObjectId, Global<JSValueRef>> properties_ {}; 181 Global<MapRef> internalObjects_;
|
H A D | runtime_impl.cpp | 147 internalObjects_ = Global<MapRef>(vm_, MapRef::New(vm_)); in Enable() 306 properties_[curObjectId_++] = Global<JSValueRef>(vm_, jsProperty.GetGetter(vm_)); in GetProperties() 310 properties_[curObjectId_++] = Global<JSValueRef>(vm_, jsProperty.GetSetter(vm_)); in GetProperties() 316 properties_[curObjectId_++] = Global<JSValueRef>(vm_, vValue); in GetProperties() 321 properties_[curObjectId_++] = Global<JSValueRef>(vm_, name); in GetProperties() 392 properties_[curObjectId_++] = Global<JSValueRef>(vm_, jsValueRefTypedArray); in AddTypedArrayRef() 407 properties_[curObjectId_++] = Global<JSValueRef>(vm_, valRef); in CacheObjectIfNeeded() 467 properties_[curObjectId_++] = Global<JSValueRef>(vm_, localValRefElement); in GetAdditionalProperties() 489 properties_[curObjectId_++] = Global<JSValueRef>(vm_, jsValueRef); in SetKeyValue()
|
H A D | debugger_impl.cpp | 1771 runtime_->properties_[runtime_->curObjectId_++] = Global<JSValueRef>(vm_, localObj); in GetLocalScopeChain() 1885 runtime_->properties_[runtime_->curObjectId_++] = Global<JSValueRef>(vm_, closureScopeObj); in GetClosureScopeChains() 1909 runtime_->properties_[runtime_->curObjectId_++] = Global<JSValueRef>(vm_, moduleObj); in GetModuleScopeChain() 1978 .SetClassName(ObjectClassName::Global) in GetGlobalScopeChain() 1980 globalScope->SetType(Scope::Type::Global()).SetObject(std::move(global)); in GetGlobalScopeChain() 1984 scopeObjects_[sp][Scope::Type::Global()].push_back(runtime_->curObjectId_); in GetGlobalScopeChain() 1985 runtime_->properties_[runtime_->curObjectId_++] = Global<JSValueRef>(vm_, globalObj); in GetGlobalScopeChain()
|
/arkcompiler/ets_frontend/ets2panda/ir/ts/ |
H A D | tsModuleDeclaration.h | 82 bool Global() const in Global() function in ark::es2panda::ir::TSModuleDeclaration
|
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
H A D | snapshot_processor.cpp | 117 using Global = builtins::BuiltinsGlobal; 529 reinterpret_cast<uintptr_t>(Global::PrintEntrypoint), 530 reinterpret_cast<uintptr_t>(Global::NotSupportEval), 531 reinterpret_cast<uintptr_t>(Global::IsFinite), 532 reinterpret_cast<uintptr_t>(Global::IsNaN), 533 reinterpret_cast<uintptr_t>(Global::DecodeURI), 534 reinterpret_cast<uintptr_t>(Global::DecodeURIComponent), 535 reinterpret_cast<uintptr_t>(Global::EncodeURI), 536 reinterpret_cast<uintptr_t>(Global::EncodeURIComponent),
|
/arkcompiler/toolchain/tooling/backend/ |
H A D | debugger_executor.cpp | 202 vm->GetJsDebuggerManager()->NotifyScopeUpdated(varName, value, Scope::Type::Global()); in SetGlobalValue()
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
H A D | ffi_workload.cpp | 2613 Global<JSValueRef> param; in HWTEST_F_L0() 2616 Global<JSValueRef> global(param); in HWTEST_F_L0() 2627 Global<JSValueRef> param; in HWTEST_F_L0() 2628 Global<JSValueRef> global; in HWTEST_F_L0() 2641 Global<JSValueRef> param; in HWTEST_F_L0() 2644 Global<JSValueRef> global(std::move(param)); in HWTEST_F_L0() 2655 Global<JSValueRef> param; in HWTEST_F_L0() 2656 Global<JSValueRef> global; in HWTEST_F_L0() 2672 Global<JSValueRef> global(vm_, current); in HWTEST_F_L0() 2683 Global<BooleanRe in HWTEST_F_L0() [all...] |