/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… 68 void InitializePropertyDetector(const JSHandle<GlobalEnv> &env, bool lazyInit) const; 73 void InitializeCtor(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &prototype, 76 …void InitializeGlobalObject(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &globalObject… 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 | 195 void Builtins::InitializeSObjectAndSFunction(const JSHandle<GlobalEnv> &env) in InitializeSObjectAndSFunction() 220 void Builtins::InitializeSObject(const JSHandle<GlobalEnv> &env, const JSHandle<JSHClass> &sObjIHCl… in InitializeSObject() 252 void Builtins::InitializeSFunciton(const JSHandle<GlobalEnv> &env, in InitializeSFunciton() 312 void Builtins::Initialize(const JSHandle<GlobalEnv> &env, JSThread *thread, bool lazyInit, bool isR… in Initialize() 511 void Builtins::InitializePropertyDetector(const JSHandle<GlobalEnv> &env, bool lazyInit) const in InitializePropertyDetector() 545 void Builtins::InitializeGlobalObject(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &glo… in InitializeGlobalObject() 594 void Builtins::InitializeFunction(const JSHandle<GlobalEnv> &env, const JSHandle<JSHClass> &emptyFu… in InitializeFunction() 655 void Builtins::InitializeObject(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &objFuncPr… in InitializeObject() 677 void Builtins::InitializeSymbol(const JSHandle<GlobalEnv> &env, const JSHandle<JSHClass> &objFuncCl… in InitializeSymbol() 796 void Builtins::InitializeSymbolWithRealm(const JSHandle<GlobalEnv> &realm, in InitializeSymbolWithRealm() [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_sharedobject_test.cpp | 55 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 99 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 123 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() 47 JSHandle<JSTaggedValue> GlobalEnv::GetSymbol(JSThread *thread, const JSHandle<JSTaggedValue> &strin… in GetSymbol() 53 JSHandle<JSTaggedValue> GlobalEnv::GetStringPrototypeFunctionByName(JSThread *thread, const char *n… in GetStringPrototypeFunctionByName() 62 JSHandle<JSTaggedValue> GlobalEnv::GetStringFunctionByName(JSThread *thread, const char *name) in GetStringFunctionByName()
|
D | property_detector.h | 25 class GlobalEnv; variable 39 static inline bool Is##name##Valid(JSHandle<GlobalEnv> env); \ 40 static inline void Invalidate##name(JSHandle<GlobalEnv> env);
|
D | property_detector-inl.h | 26 inline void PropertyDetector::Invalidate##name(JSHandle<GlobalEnv> env) \ 34 inline bool PropertyDetector::Is##name##Valid(JSHandle<GlobalEnv> env) \
|
D | global_env.h | 28 class GlobalEnv : public TaggedObject { 79 static GlobalEnv *Cast(TaggedObject *object) in Cast() 82 return reinterpret_cast<GlobalEnv *>(object); in Cast() 101 static inline uintptr_t GetFirstDetectorSymbolAddr(const GlobalEnv *env) in GetFirstDetectorSymbolAddr() 108 static uintptr_t GetLastDetectorSymbolAddr(const GlobalEnv *env) in GetLastDetectorSymbolAddr()
|
/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/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/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/weaksetref_fuzzer/ |
D | weaksetref_fuzzer.cpp | 41 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in WeakSetRefGetSizeFuzzTest() 66 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in WeakSetRefGetTotalElementsFuzzTest() 91 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in WeakSetRefGetValueFuzzTest()
|
/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()
|