/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_lazy_test.cpp | 70 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 …]
|
D | builtins_proxy_test.cpp | 63 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/ |
D | ic_invoke_test.cpp | 52 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/ |
D | array_helper_test.cpp | 61 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/ |
D | dump_test.cpp | 201 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 …]
|
D | js_function_test.cpp | 64 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()
|
D | huge_object_test.cpp | 62 auto globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectTestCreate() local 63 JSHandle<JSTaggedValue> jsFunc = globalEnv->GetObjectFunction(); in JSObjectTestCreate()
|
D | accessor_data_test.cpp | 120 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/ |
D | snapshot_env.cpp | 46 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/ |
D | containers_test_helper.h | 38 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectTestCreate() local 39 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectTestCreate()
|
/arkcompiler/ets_runtime/test/fuzztest/containersprivatecommon_fuzzer/ |
D | containersprivatecommon_fuzzer.h | 34 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local 35 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|
/arkcompiler/ets_runtime/ecmascript/jobs/tests/ |
D | micro_job_queue_test.cpp | 101 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/ |
D | containerslightweightsetentries_fuzzer.cpp | 36 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local 37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|
/arkcompiler/ets_runtime/test/fuzztest/containershashsetconstructor_fuzzer/ |
D | containershashsetconstructor_fuzzer.cpp | 37 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local 38 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|
/arkcompiler/ets_runtime/test/fuzztest/containersstackpush_fuzzer/ |
D | containersstackpush_fuzzer.cpp | 36 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local 37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetconstructor_fuzzer/ |
D | containerstreesetconstructor_fuzzer.cpp | 35 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local 36 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsethashash_fuzzer/ |
D | containerslightweightsethashash_fuzzer.cpp | 36 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local 37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightmapentries_fuzzer/ |
D | containerslightweightmapentries_fuzzer.cpp | 36 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local 37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetgetiteratorobj_fuzzer/ |
D | containerslightweightsetgetiteratorobj_fuzzer.cpp | 36 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local 37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetequal_fuzzer/ |
D | containerslightweightsetequal_fuzzer.cpp | 36 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local 37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|
/arkcompiler/ets_runtime/test/fuzztest/containersstack_fuzzer/ |
D | containersstack_fuzzer.cpp | 36 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local 37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapisempty_fuzzer/ |
D | containerstreemapisempty_fuzzer.cpp | 35 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local 36 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|
/arkcompiler/ets_runtime/test/fuzztest/containershashsetadd_fuzzer/ |
D | containershashsetadd_fuzzer.cpp | 37 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local 38 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetvalues_fuzzer/ |
D | containerslightweightsetvalues_fuzzer.cpp | 36 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local 37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetremove_fuzzer/ |
D | containerslightweightsetremove_fuzzer.cpp | 36 JSHandle<GlobalEnv> globalEnv = ecmaVM->GetGlobalEnv(); in JSObjectCreate() local 37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|