/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | gc_third_test.cpp | 41 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); 49 Heap *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 55 [[maybe_unused]] JSHandle<TaggedArray> obj = thread->GetEcmaVM()->GetFactory()-> in HWTEST_F_L0() 98 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); 107 [[maybe_unused]] JSHandle<TaggedArray> array = thread->GetEcmaVM()->GetFactory()->NewTaggedArray( 128 [[maybe_unused]] JSHandle<TaggedArray> array = thread->GetEcmaVM()->GetFactory()->NewTaggedArray( 163 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 169 [[maybe_unused]] JSHandle<TaggedArray> array = thread->GetEcmaVM()->GetFactory()->NewTaggedArray( in HWTEST_F_L0() 180 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 186 [[maybe_unused]] JSHandle<TaggedArray> array = thread->GetEcmaVM() in HWTEST_F_L0() [all...] |
H A D | gc_second_test.cpp | 42 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); 50 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 55 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0() 62 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 67 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0() 74 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 75 size_t originalHeapSize = thread->GetEcmaVM()->GetHeap()->GetCommittedSize(); in HWTEST_F_L0() 81 [[maybe_unused]] JSHandle<TaggedArray> obj = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(1024 * 1024); in HWTEST_F_L0() 83 newSize = thread->GetEcmaVM()->GetHeap()->GetCommittedSize(); in HWTEST_F_L0() 91 ASSERT_TRUE(thread->GetEcmaVM() in HWTEST_F_L0() [all...] |
H A D | js_function_test.cpp | 39 EcmaVM *ecmaVM = thread->GetEcmaVM(); in JSObjectCreate() 46 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0() 48 JSHandle<JSFunction> funHandle = thread->GetEcmaVM()->GetFactory()->NewJSFunction(env); in HWTEST_F_L0() 52 JSHandle<LexicalEnv> lexicalEnv = thread->GetEcmaVM()->GetFactory()->NewLexicalEnv(0); in HWTEST_F_L0() 59 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0() 61 JSHandle<JSFunction> func = thread->GetEcmaVM()->GetFactory()->NewJSFunction(env, static_cast<void *>(nullptr), in HWTEST_F_L0() 74 thread->GetEcmaVM()->GetFactory()->NewFromASCII("constructor")); in HWTEST_F_L0() 76 JSHandle<JSTaggedValue> protoKey(thread->GetEcmaVM()->GetFactory()->NewFromASCII("prototype")); in HWTEST_F_L0() 90 thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun); in HWTEST_F_L0() 94 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0() [all...] |
H A D | idle_gc_trigger_test.cpp | 42 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); 50 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 58 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 70 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 78 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 90 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 100 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 110 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 120 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 129 auto heap = const_cast<Heap *>(thread->GetEcmaVM() in HWTEST_F_L0() [all...] |
H A D | ecma_string_table_test.cpp | 33 EcmaStringTable *table = thread->GetEcmaVM()->GetEcmaStringTable(); in HWTEST_F_L0() 35 JSHandle<EcmaString> emptyEcmaStrHandle(thread, EcmaStringAccessor::CreateEmptyString(thread->GetEcmaVM())); in HWTEST_F_L0() 51 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() 52 EcmaStringTable *table = thread->GetEcmaVM()->GetEcmaStringTable(); in HWTEST_F_L0() 72 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() 73 EcmaStringTable *table = thread->GetEcmaVM()->GetEcmaStringTable(); in HWTEST_F_L0() 94 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() 96 EcmaStringTable *table = thread->GetEcmaVM()->GetEcmaStringTable(); in HWTEST_F_L0() 115 EXPECT_TRUE(thread->GetEcmaVM()->GetEcmaStringTable()->CheckStringTableValidity(thread)); in HWTEST_F_L0()
|
H A D | js_handle_test.cpp | 31 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 40 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 51 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in GlobalHandleCommon() 65 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 69 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 79 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 100 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 115 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 136 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 146 thread->GetEcmaVM() in HWTEST_F_L0() [all...] |
H A D | js_arguments_test.cpp | 31 EcmaVM *ecmaVM = thread->GetEcmaVM(); in JSObjectTestCreate() 40 thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(argFunc), argFunc); in HWTEST_F_L0() 41 JSHandle<JSArguments> arg = thread->GetEcmaVM()->GetFactory()->NewJSArguments(); in HWTEST_F_L0() 44 JSHandle<JSTaggedValue> key(thread->GetEcmaVM()->GetFactory()->NewFromASCII(array)); in HWTEST_F_L0() 63 thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(argFunc), argFunc); in HWTEST_F_L0() 64 JSHandle<JSArguments> arg = thread->GetEcmaVM()->GetFactory()->NewJSArguments(); in HWTEST_F_L0() 67 JSHandle<JSTaggedValue> key(thread->GetEcmaVM()->GetFactory()->NewFromASCII(array)); in HWTEST_F_L0() 85 thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(argFunc), argFunc); in HWTEST_F_L0() 86 JSHandle<JSArguments> arg = thread->GetEcmaVM()->GetFactory()->NewJSArguments(); in HWTEST_F_L0() 89 JSHandle<JSTaggedValue> key(thread->GetEcmaVM() in HWTEST_F_L0() [all...] |
H A D | throw_oom_error_test.cpp | 32 thread->GetEcmaVM()->SetEnableForceGC(false); 33 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->SetMarkType(MarkType::MARK_FULL); 44 thread->GetEcmaVM()->GetFactory()->NewTaggedArray(SIZE, JSTaggedValue::Hole(), MemSpaceType::NON_MOVABLE); in HWTEST_F_L0() 55 auto ecmaVm = thread->GetEcmaVM(); in HWTEST_F_L0() 65 thread->GetEcmaVM()->GetFactory()->NewTaggedArray(SIZE, JSTaggedValue::Hole(), MemSpaceType::OLD_SPACE); in HWTEST_F_L0() 72 thread->GetEcmaVM()->GetFactory()->NewTaggedArray(SIZE, JSTaggedValue::Hole(), MemSpaceType::SEMI_SPACE); in HWTEST_F_L0()
|
H A D | object_factory_test.cpp | 40 return thread->GetEcmaVM()->GetGlobalEnv(); in GetGlobal() 45 thread->GetEcmaVM()->SetEnableForceGC(false); in HWTEST_F_L0() 46 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 69 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 71 if (thread->GetEcmaVM()->GetJSOptions().EnableSnapshotDeserialize()) { in HWTEST_F_L0() 76 thread->GetEcmaVM()->SetEnableForceGC(true); in HWTEST_F_L0() 81 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 82 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 110 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 127 ObjectFactory *factory = thread->GetEcmaVM() in HWTEST_F_L0() [all...] |
H A D | machine_code_test.cpp | 43 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); 51 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 52 JSHandle<JSFunction> func(thread->GetEcmaVM()->GetGlobalEnv()->GetArrayFunction()); in HWTEST_F_L0() 65 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 66 JSHandle<JSFunction> func(thread->GetEcmaVM()->GetGlobalEnv()->GetArrayFunction()); in HWTEST_F_L0() 85 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 86 JSHandle<JSFunction> func(thread->GetEcmaVM()->GetGlobalEnv()->GetArrayFunction()); in HWTEST_F_L0() 113 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 114 JSHandle<JSFunction> func(thread->GetEcmaVM()->GetGlobalEnv()->GetArrayFunction()); in HWTEST_F_L0()
|
H A D | builtins_test.cpp | 36 auto ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0() 45 auto ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0() 58 auto ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0() 67 auto ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0() 76 auto ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0() 85 auto ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0() 88 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
|
H A D | weak_vector_test.cpp | 55 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 56 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 79 thread->GetEcmaVM()->SetEnableForceGC(false); // turn off gc in HWTEST_F_L0() 80 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 81 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 106 thread->GetEcmaVM()->SetEnableForceGC(true); // turn on gc in HWTEST_F_L0() 120 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 121 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 156 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 157 JSHandle<GlobalEnv> env = thread->GetEcmaVM() in HWTEST_F_L0() [all...] |
H A D | read_only_space_test.cpp | 40 factory = thread->GetEcmaVM()->GetFactory(); 41 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->SetMarkType(MarkType::MARK_FULL); 87 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 106 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 115 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 132 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 144 auto vm = thread->GetEcmaVM(); in HWTEST_F_L0() 145 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
|
H A D | ecma_container_common.h | 61 EcmaVM *ecmaVM = thread->GetEcmaVM(); in JSObjectTestCreate() 71 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in CreateArrayList() 83 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in CreatePlainArray() 97 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in CreateJSApiDeque() 108 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in CreateHashMap() 120 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in CreateHashSet() 132 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in CreateLightWeightMap() 149 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in CreateLightWeightSet() 164 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in CreateLinkedList() 177 ObjectFactory *factory = thread->GetEcmaVM() in CreateList() [all...] |
H A D | huge_object_test.cpp | 32 thread->GetEcmaVM()->SetEnableForceGC(false); 33 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->SetMarkType(MarkType::MARK_FULL); 41 JSHandle<TaggedArray> array = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(SIZE); in LargeArrayTestCreate() 52 auto ecmaVm = thread->GetEcmaVM(); in HWTEST_F_L0() 62 auto ecmaVm = thread->GetEcmaVM(); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_regexp_test.cpp | 42 JSHandle<EcmaString> pattern = thread->GetEcmaVM()->GetFactory()->NewFromASCII("\\w+"); in HWTEST_F_L0() 43 JSHandle<EcmaString> flags = thread->GetEcmaVM()->GetFactory()->NewFromASCII("i"); in HWTEST_F_L0() 61 JSHandle<EcmaString> pattern = thread->GetEcmaVM()->GetFactory()->NewFromASCII("\\w+"); in HWTEST_F_L0() 62 JSHandle<EcmaString> flags = thread->GetEcmaVM()->GetFactory()->NewFromASCII("i"); in HWTEST_F_L0() 66 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 96 JSHandle<EcmaString> pattern1 = thread->GetEcmaVM()->GetFactory()->NewFromASCII("\\w+"); in HWTEST_F_L0() 97 JSHandle<EcmaString> flags1 = thread->GetEcmaVM()->GetFactory()->NewFromASCII("i"); in HWTEST_F_L0() 101 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 104 JSHandle<EcmaString> flags2 = thread->GetEcmaVM()->GetFactory()->NewFromASCII("gi"); in HWTEST_F_L0() 131 JSHandle<EcmaString> pattern1 = thread->GetEcmaVM() in HWTEST_F_L0() [all...] |
H A D | builtins_finalization_registry_test.cpp | 54 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in CreateFinalizationRegistryConstructor() 55 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in CreateFinalizationRegistryConstructor() 75 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 76 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 93 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in KeyValueCommon() 129 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 130 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 148 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 149 JSHandle<JSTaggedValue> objectFunc = thread->GetEcmaVM()->GetGlobalEnv()->GetObjectFunction(); in HWTEST_F_L0() 161 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() [all...] |
H A D | builtins_number_test.cpp | 46 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 97 JSHandle<EcmaString> test = thread->GetEcmaVM()->GetFactory()->NewFromASCII("helloworld"); in HWTEST_F_L0() 195 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 196 auto ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0() 202 JSHandle<JSPrimitiveRef> number = thread->GetEcmaVM()->GetFactory()->NewJSPrimitiveRef(numberObject, value); in HWTEST_F_L0() 261 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 294 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 295 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 318 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 319 JSHandle<GlobalEnv> env = thread->GetEcmaVM() in HWTEST_F_L0() [all...] |
H A D | builtins_lazy_test.cpp | 33 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0() 46 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0() 61 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0() 72 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0() 83 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0() 96 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0() 107 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0() 120 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0() 131 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0() 144 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0() [all...] |
H A D | builtins_shared_typedarray_test.cpp | 51 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 53 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 75 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 77 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 100 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 102 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 123 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 125 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 146 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 148 ObjectFactory *factory = thread->GetEcmaVM() in HWTEST_F_L0() [all...] |
H A D | builtins_boolean_test.cpp | 39 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 59 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 79 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 83 JSHandle<EcmaString> str = thread->GetEcmaVM()->GetFactory()->NewFromASCII("helloworld"); in HWTEST_F_L0() 108 auto ruler = thread->GetEcmaVM()->GetFactory()->NewFromASCII("false"); in HWTEST_F_L0() 115 auto ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0() 120 JSHandle<JSPrimitiveRef> boolean = thread->GetEcmaVM()->GetFactory()->NewJSPrimitiveRef(booleanObject, value); in HWTEST_F_L0() 130 auto ruler = thread->GetEcmaVM()->GetFactory()->NewFromASCII("true"); in HWTEST_F_L0() 151 auto ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0() 156 JSHandle<JSPrimitiveRef> boolean = thread->GetEcmaVM() in HWTEST_F_L0() [all...] |
H A D | builtins_string_test.cpp | 42 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in CreateBuiltinsStringRegExpObjByPatternAndFlags() 146 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 148 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 171 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 189 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 206 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 221 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 236 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 251 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 263 ObjectFactory *factory = thread->GetEcmaVM() in HWTEST_F_L0() [all...] |
H A D | builtins_number_format_test.cpp | 33 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 34 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 55 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in BuiltinsFormatTest() 91 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 92 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 112 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 113 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 143 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 144 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 168 ObjectFactory *factory = thread->GetEcmaVM() in HWTEST_F_L0() [all...] |
H A D | builtins_weak_ref_test.cpp | 47 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in CreateWeakRefConstructor() 65 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 66 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 88 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 89 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 108 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 109 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 136 EcmaVM *vm = thread->GetEcmaVM(); in HWTEST_F_L0() 137 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0() 138 ObjectFactory *factory = thread->GetEcmaVM() in HWTEST_F_L0() [all...] |
/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | partial_gc.cpp | 30 GCStats *gcStats = heap_->GetEcmaVM()->GetEcmaGCStats(); in RunPhases() 41 MEM_ALLOCATE_AND_GC_TRACE(heap_->GetEcmaVM(), PartialGC_RunPhases); in RunPhases() 73 TRACE_GC(GCStats::Scope::ScopeId::Initialize, heap_->GetEcmaVM()->GetEcmaGCStats()); in Initialize() 99 TRACE_GC(GCStats::Scope::ScopeId::Finish, heap_->GetEcmaVM()->GetEcmaGCStats()); in Finish() 118 TRACE_GC(GCStats::Scope::ScopeId::Mark, heap_->GetEcmaVM()->GetEcmaGCStats()); in Mark() 156 TRACE_GC(GCStats::Scope::ScopeId::Sweep, heap_->GetEcmaVM()->GetEcmaGCStats()); in Sweep() 164 TRACE_GC(GCStats::Scope::ScopeId::ClearNativeObject, heap_->GetEcmaVM()->GetEcmaGCStats()); in ProcessNativeDelete() 179 heap_->GetEcmaVM()->ProcessNativeDelete(gcUpdateWeak); in ProcessNativeDelete() 185 TRACE_GC(GCStats::Scope::ScopeId::Evacuate, heap_->GetEcmaVM()->GetEcmaGCStats()); in Evacuate() 191 TRACE_GC(GCStats::Scope::ScopeId::ProcessSharedGCRSetWorkList, heap_->GetEcmaVM() in ProcessSharedGCRSetWorkList() [all...] |