/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins.h | 46 …void Initialize(const JSHandle<GlobalEnv> &env, JSThread *thread, bool lazyInit = false, bool isRe… 54 …JSHandle<JSFunction> NewBuiltinConstructor(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject… 59 JSHandle<JSFunction> NewBuiltinCjsCtor(const JSHandle<GlobalEnv> &env, 63 …JSHandle<JSFunction> NewFunction(const JSHandle<GlobalEnv> &env, const JSHandle<JSTaggedValue> &ke… 71 void InitializeCtor(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &prototype, 74 …void InitializeGlobalObject(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &globalObject… 76 void InitializeFunctionHclassForOptimized(const JSHandle<GlobalEnv> &env) const; 78 …void InitializeFunction(const JSHandle<GlobalEnv> &env, const JSHandle<JSHClass> &emptyFuncClass) … 80 … void InitializeObject(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &objFuncPrototype, 83 void InitializeNumber(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &globalObject, [all …]
|
D | builtins.cpp | 188 void Builtins::Initialize(const JSHandle<GlobalEnv> &env, JSThread *thread, bool lazyInit, bool isR… in Initialize() 377 void Builtins::InitializeFunctionHclassForOptimized(const JSHandle<GlobalEnv> &env) const in InitializeFunctionHclassForOptimized() 422 void Builtins::InitializeGlobalObject(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &glo… in InitializeGlobalObject() 469 void Builtins::InitializeFunction(const JSHandle<GlobalEnv> &env, const JSHandle<JSHClass> &emptyFu… in InitializeFunction() 529 void Builtins::InitializeObject(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &objFuncPr… in InitializeObject() 602 void Builtins::InitializeSymbol(const JSHandle<GlobalEnv> &env, const JSHandle<JSHClass> &objFuncCl… in InitializeSymbol() 706 void Builtins::InitializeSymbolWithRealm(const JSHandle<GlobalEnv> &realm, in InitializeSymbolWithRealm() 710 JSHandle<GlobalEnv> env = vm_->GetGlobalEnv(); in InitializeSymbolWithRealm() 797 void Builtins::InitializeNumber(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &globalObj… in InitializeNumber() 851 void Builtins::InitializeBigIntWithRealm(const JSHandle<GlobalEnv> &realm) const in InitializeBigIntWithRealm() [all …]
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_lazy_test.cpp | 70 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() 83 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() 98 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() 109 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() 120 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() 133 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() 144 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() 157 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() 168 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() 181 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() [all …]
|
D | builtins_errors_test.cpp | 132 JSHandle<GlobalEnv> env = instance->GetGlobalEnv(); in HWTEST_F_L0() 166 JSHandle<GlobalEnv> env = instance->GetGlobalEnv(); in HWTEST_F_L0() 202 JSHandle<GlobalEnv> env = instance->GetGlobalEnv(); in HWTEST_F_L0() 227 JSHandle<GlobalEnv> env = instance->GetGlobalEnv(); in HWTEST_F_L0() 257 JSHandle<GlobalEnv> env = instance->GetGlobalEnv(); in HWTEST_F_L0() 290 JSHandle<GlobalEnv> env = instance->GetGlobalEnv(); in HWTEST_F_L0() 326 JSHandle<GlobalEnv> env = instance->GetGlobalEnv(); in HWTEST_F_L0() 353 JSHandle<GlobalEnv> env = instance->GetGlobalEnv(); in HWTEST_F_L0() 384 JSHandle<GlobalEnv> env = instance->GetGlobalEnv(); in HWTEST_F_L0() 417 JSHandle<GlobalEnv> env = instance->GetGlobalEnv(); in HWTEST_F_L0() [all …]
|
D | builtins_weak_ref_test.cpp | 71 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in CreateWeakRefConstructor() 89 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 112 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 132 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 161 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 195 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
|
D | builtins_boolean_test.cpp | 63 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 83 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 103 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 140 JSHandle<GlobalEnv> env = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() 176 JSHandle<GlobalEnv> env = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0()
|
D | builtins_number_format_test.cpp | 68 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 90 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in BuiltinsFormatTest() 134 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 155 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 186 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 211 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 236 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 256 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in NumberFormatCreateTest() 274 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 313 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
|
D | builtins_function_test.cpp | 88 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 122 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 166 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 212 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 268 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 324 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 359 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 397 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 431 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/containers/ |
D | containers_private.h | 64 static void SetFunctionAtSymbol(JSThread *thread, const JSHandle<GlobalEnv> &env, 67 static void SetStringTagSymbol(JSThread *thread, const JSHandle<GlobalEnv> &env, 73 static void InitializeArrayListIterator(JSThread *thread, const JSHandle<GlobalEnv> &env, 90 static void InitializeVectorIterator(JSThread *thread, const JSHandle<GlobalEnv> &env, 93 static void InitializeQueueIterator(JSThread *thread, const JSHandle<GlobalEnv> &env, 96 static void InitializeDequeIterator(JSThread *thread, const JSHandle<GlobalEnv> &env, 102 static void InitializeLinkedListIterator(JSThread *thread, const JSHandle<GlobalEnv> &env); 103 static void InitializeListIterator(JSThread *thread, const JSHandle<GlobalEnv> &env);
|
D | containers_private.cpp | 172 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in NewContainerConstructor() 229 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in CreateGetter() 249 void ContainersPrivate::SetFunctionAtSymbol(JSThread *thread, const JSHandle<GlobalEnv> &env, in SetFunctionAtSymbol() 263 void ContainersPrivate::SetStringTagSymbol(JSThread *thread, const JSHandle<GlobalEnv> &env, in SetStringTagSymbol() 318 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in InitializeArrayList() 333 void ContainersPrivate::InitializeArrayListIterator(JSThread *thread, const JSHandle<GlobalEnv> &en… in InitializeArrayListIterator() 398 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in InitializeLightWeightMap() 408 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in InitializeLightWeightMapIterator() 463 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in InitializeLightWeightSet() 473 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in InitializeLightWeightSetIterator() [all …]
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | builtins_test.cpp | 60 JSHandle<GlobalEnv> env = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() 69 JSHandle<GlobalEnv> env = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() 78 JSHandle<GlobalEnv> env = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() 87 JSHandle<GlobalEnv> env = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() 96 JSHandle<GlobalEnv> env = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() 105 JSHandle<GlobalEnv> env = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0()
|
D | js_function_test.cpp | 64 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() 71 JSHandle<GlobalEnv> env = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() 84 JSHandle<GlobalEnv> env = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() 119 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() 136 JSHandle<GlobalEnv> env = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() 161 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
|
D | js_promise_test.cpp | 61 JSHandle<GlobalEnv> env = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() 77 JSHandle<GlobalEnv> env = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() 98 JSHandle<GlobalEnv> env = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() 117 JSHandle<GlobalEnv> env = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0()
|
D | weak_vector_test.cpp | 80 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 105 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 145 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 181 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | global_env.cpp | 35 void GlobalEnv::Init(JSThread *thread) in Init() 45 JSHandle<JSTaggedValue> GlobalEnv::GetSymbol(JSThread *thread, const JSHandle<JSTaggedValue> &strin… in GetSymbol() 51 JSHandle<JSTaggedValue> GlobalEnv::GetStringPrototypeFunctionByName(JSThread *thread, const char *n… in GetStringPrototypeFunctionByName() 60 JSHandle<JSTaggedValue> GlobalEnv::GetStringFunctionByName(JSThread *thread, const char *name) in GetStringFunctionByName()
|
D | js_realm.h | 31 ACCESSORS(GlobalEnv, GLOBAL_ENV_OFFSET, SIZE)
|
/arkcompiler/ets_runtime/ecmascript/jobs/tests/ |
D | pending_job_test.cpp | 65 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 89 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 120 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 155 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 191 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 237 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 285 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/test/fuzztest/containersprivatecommon_fuzzer/ |
D | containersprivatecommon_fuzzer.h | 34 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() 61 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in ContainersPrivateCommonFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapforeach_fuzzer/ |
D | containerstreemapforeach_fuzzer.cpp | 36 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() 54 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in InitializeTreeMapConstructor() 116 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in ContainersTreeMapForEachFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containersqueueforeach_fuzzer/ |
D | containersqueueforeach_fuzzer.cpp | 36 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() 54 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in InitializeQueueConstructor() 117 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in ContainersQueueForEachFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetforeach_fuzzer/ |
D | containerstreesetforeach_fuzzer.cpp | 36 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() 54 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in InitializeTreeSetConstructor() 115 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in ContainersTreeSetForEachFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containersstackforeach_fuzzer/ |
D | containersstackforeach_fuzzer.cpp | 36 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() 54 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in InitializeStackConstructor() 117 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in ContainersStackForEachFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/ic/tests/ |
D | ic_runtime_test.cpp | 56 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 99 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 149 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 167 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 194 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
|
D | ic_runtime_stub_test.cpp | 66 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 97 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 129 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 158 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 182 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 207 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 243 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 273 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 320 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 377 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() [all …]
|
D | properties_cache_test.cpp | 60 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 97 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
|