Home
last modified time | relevance | path

Searched refs:globalEnv (Results 1 – 25 of 179) sorted by relevance

12345678

/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_lazy_test.cpp70 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() local
73 auto globalObj = JSHandle<JSObject>(thread, globalEnv->GetGlobalObject()); in HWTEST_F_L0()
83 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() local
86 auto globalObj = JSHandle<JSTaggedValue>(thread, globalEnv->GetGlobalObject()); in HWTEST_F_L0()
98 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() local
99 JSHandle<JSTaggedValue> dateFunction = globalEnv->GetDateFunction(); in HWTEST_F_L0()
109 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() local
112 auto globalObj = globalEnv->GetGlobalObject(); in HWTEST_F_L0()
120 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() local
121 JSHandle<JSTaggedValue> setFunction = globalEnv->GetBuiltinsSetFunction(); in HWTEST_F_L0()
[all …]
Dbuiltins_proxy_test.cpp63 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in BuiltinsTestProxyCreate() local
64 JSHandle<JSTaggedValue> objFun(globalEnv->GetObjectFunction()); in BuiltinsTestProxyCreate()
97 JSHandle<GlobalEnv> globalEnv = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() local
98 JSHandle<JSFunction> proxyFun(globalEnv->GetProxyFunction()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/ic/tests/
Dic_invoke_test.cpp52 auto globalEnv = ecmaVm->GetGlobalEnv(); in HWTEST_F_L0() local
54 JSHandle<JSFunction> func = factory->NewJSFunction(globalEnv); in HWTEST_F_L0()
68 auto globalEnv = ecmaVm->GetGlobalEnv(); in HWTEST_F_L0() local
73 JSHandle<JSFunction> func0 = factory->NewJSFunction(globalEnv); in HWTEST_F_L0()
77 JSHandle<JSFunction> func1 = factory->NewJSFunction(globalEnv); in HWTEST_F_L0()
81 JSHandle<JSFunction> func2 = factory->NewJSFunction(globalEnv); in HWTEST_F_L0()
105 auto globalEnv = ecmaVm->GetGlobalEnv(); in HWTEST_F_L0() local
109 JSHandle<JSFunction> func0 = factory->NewJSFunction(globalEnv); in HWTEST_F_L0()
110 JSHandle<JSFunction> func1 = factory->NewJSFunction(globalEnv); in HWTEST_F_L0()
111 JSHandle<JSFunction> func2 = factory->NewJSFunction(globalEnv); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/base/tests/
Darray_helper_test.cpp61 JSHandle<GlobalEnv> globalEnv = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() local
64 globalEnv->SetIsConcatSpreadableSymbol(thread, icConcatSpreadableSymbol); in HWTEST_F_L0()
65 JSHandle<JSTaggedValue> objFunc(globalEnv->GetArrayFunction()); in HWTEST_F_L0()
119 JSHandle<GlobalEnv> globalEnv = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() local
128 JSHandle<JSTaggedValue> HandleInt8ArrayFunc(globalEnv->GetInt8ArrayFunction()); in HWTEST_F_L0()
135 JSHandle<JSTaggedValue> objFunc(globalEnv->GetArrayFunction()); in HWTEST_F_L0()
153 JSHandle<GlobalEnv> globalEnv = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() local
162 JSHandle<JSTaggedValue> objFunc(globalEnv->GetArrayFunction()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/tests/
Ddump_test.cpp201 auto globalEnv = thread->GetEcmaVM()->GetGlobalEnv(); in NewJSAPIHashMap() local
202 JSHandle<JSTaggedValue> proto = globalEnv->GetObjectFunctionPrototype(); in NewJSAPIHashMap()
212 auto globalEnv = thread->GetEcmaVM()->GetGlobalEnv(); in NewJSAPIHashSet() local
213 JSHandle<JSTaggedValue> proto = globalEnv->GetObjectFunctionPrototype(); in NewJSAPIHashSet()
223 auto globalEnv = thread->GetEcmaVM()->GetGlobalEnv(); in NewJSAPITreeMap() local
224 JSHandle<JSTaggedValue> proto = globalEnv->GetObjectFunctionPrototype(); in NewJSAPITreeMap()
234 auto globalEnv = thread->GetEcmaVM()->GetGlobalEnv(); in NewJSAPITreeSet() local
235 JSHandle<JSTaggedValue> proto = globalEnv->GetObjectFunctionPrototype(); in NewJSAPITreeSet()
245 auto globalEnv = thread->GetEcmaVM()->GetGlobalEnv(); in NewJSAPIPlainArray() local
246 JSHandle<JSTaggedValue> proto = globalEnv->GetObjectFunctionPrototype(); in NewJSAPIPlainArray()
[all …]
Djs_function_test.cpp64 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local
65 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
119 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in HWTEST_F_L0() local
120 JSHandle<JSTaggedValue> constructor = globalEnv->GetObjectFunction(); in HWTEST_F_L0()
Dhuge_object_test.cpp62 auto globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectTestCreate() local
63 JSHandle<JSTaggedValue> jsFunc = globalEnv->GetObjectFunction(); in JSObjectTestCreate()
Daccessor_data_test.cpp120 JSHandle<GlobalEnv> globalEnv = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() local
122 JSHandle<JSTaggedValue> normalFunction = globalEnv->GetNormalFunctionClass(); in HWTEST_F_L0()
175 JSHandle<GlobalEnv> globalEnv = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() local
178 JSFunction *func1 = globalEnv->GetObjectFunction().GetObject<JSFunction>(); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_env.cpp46 auto globalEnv = vm_->GetGlobalEnv(); in InitGlobalEnv() local
49 objectQueue.emplace(*globalEnv); in InitGlobalEnv()
50 objectSet.emplace(*globalEnv); in InitGlobalEnv()
/arkcompiler/ets_runtime/ecmascript/containers/tests/
Dcontainers_test_helper.h38 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectTestCreate() local
39 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectTestCreate()
/arkcompiler/ets_runtime/test/fuzztest/containersprivatecommon_fuzzer/
Dcontainersprivatecommon_fuzzer.h34 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local
35 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
/arkcompiler/ets_runtime/ecmascript/jobs/tests/
Dmicro_job_queue_test.cpp101 JSHandle<GlobalEnv> globalEnv = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() local
109 JSHandle<JSFunction> promiseReactionsJob(globalEnv->GetPromiseReactionJob()); in HWTEST_F_L0()
137 JSHandle<GlobalEnv> globalEnv = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() local
143 JSHandle<JSFunction> promiseReactionsJob(globalEnv->GetPromiseReactionJob()); in HWTEST_F_L0()
148 JSHandle<JSFunction> promiseResolveThenableJob(globalEnv->GetPromiseResolveThenableJob()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetentries_fuzzer/
Dcontainerslightweightsetentries_fuzzer.cpp36 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local
37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
/arkcompiler/ets_runtime/test/fuzztest/containershashsetconstructor_fuzzer/
Dcontainershashsetconstructor_fuzzer.cpp37 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local
38 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
/arkcompiler/ets_runtime/test/fuzztest/containersstackpush_fuzzer/
Dcontainersstackpush_fuzzer.cpp36 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local
37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetconstructor_fuzzer/
Dcontainerstreesetconstructor_fuzzer.cpp35 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local
36 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsethashash_fuzzer/
Dcontainerslightweightsethashash_fuzzer.cpp36 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local
37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightmapentries_fuzzer/
Dcontainerslightweightmapentries_fuzzer.cpp36 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local
37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetgetiteratorobj_fuzzer/
Dcontainerslightweightsetgetiteratorobj_fuzzer.cpp36 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local
37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetequal_fuzzer/
Dcontainerslightweightsetequal_fuzzer.cpp36 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local
37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
/arkcompiler/ets_runtime/test/fuzztest/containersstack_fuzzer/
Dcontainersstack_fuzzer.cpp36 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local
37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapisempty_fuzzer/
Dcontainerstreemapisempty_fuzzer.cpp35 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local
36 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
/arkcompiler/ets_runtime/test/fuzztest/containershashsetadd_fuzzer/
Dcontainershashsetadd_fuzzer.cpp37 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local
38 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetvalues_fuzzer/
Dcontainerslightweightsetvalues_fuzzer.cpp36 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local
37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetremove_fuzzer/
Dcontainerslightweightsetremove_fuzzer.cpp36 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local
37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()

12345678