/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_regexp_test.cpp | 87 JSHandle<EcmaString> pattern = thread->GetEcmaVM()->GetFactory()->NewFromASCII("\\w+"); in HWTEST_F_L0() 88 JSHandle<EcmaString> flags = thread->GetEcmaVM()->GetFactory()->NewFromASCII("i"); in HWTEST_F_L0() 106 JSHandle<EcmaString> pattern = thread->GetEcmaVM()->GetFactory()->NewFromASCII("\\w+"); in HWTEST_F_L0() 107 JSHandle<EcmaString> flags = thread->GetEcmaVM()->GetFactory()->NewFromASCII("i"); in HWTEST_F_L0() 141 JSHandle<EcmaString> pattern1 = thread->GetEcmaVM()->GetFactory()->NewFromASCII("\\w+"); in HWTEST_F_L0() 142 JSHandle<EcmaString> flags1 = thread->GetEcmaVM()->GetFactory()->NewFromASCII("i"); in HWTEST_F_L0() 149 JSHandle<EcmaString> flags2 = thread->GetEcmaVM()->GetFactory()->NewFromASCII("gi"); in HWTEST_F_L0() 176 JSHandle<EcmaString> pattern1 = thread->GetEcmaVM()->GetFactory()->NewFromASCII(""); in HWTEST_F_L0() 177 JSHandle<EcmaString> flags1 = thread->GetEcmaVM()->GetFactory()->NewFromASCII("i"); in HWTEST_F_L0() 183 thread, thread->GetEcmaVM()->GetFactory()->NewFromASCII("source").GetTaggedValue()); in HWTEST_F_L0() [all …]
|
D | builtins_number_test.cpp | 121 JSHandle<EcmaString> test = thread->GetEcmaVM()->GetFactory()->NewFromASCII("helloworld"); in HWTEST_F_L0() 220 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 226 …JSHandle<JSPrimitiveRef> number = thread->GetEcmaVM()->GetFactory()->NewJSPrimitiveRef(numberObjec… in HWTEST_F_L0() 245 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 270 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 295 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 319 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 345 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 370 JSHandle<EcmaString> param = thread->GetEcmaVM()->GetFactory()->NewFromASCII("0x123"); in HWTEST_F_L0() 385 JSHandle<EcmaString> param = thread->GetEcmaVM()->GetFactory()->NewFromASCII("0x123xx"); in HWTEST_F_L0() [all …]
|
D | builtins_lazy_test.cpp | 71 ObjectFactory *factory = ecmaVM->GetFactory(); in HWTEST_F_L0() 84 ObjectFactory *factory = ecmaVM->GetFactory(); in HWTEST_F_L0() 101 ObjectFactory *factory = ecmaVM->GetFactory(); in HWTEST_F_L0() 110 ObjectFactory *factory = ecmaVM->GetFactory(); in HWTEST_F_L0() 123 ObjectFactory *factory = ecmaVM->GetFactory(); in HWTEST_F_L0() 134 ObjectFactory *factory = ecmaVM->GetFactory(); in HWTEST_F_L0() 147 ObjectFactory *factory = ecmaVM->GetFactory(); in HWTEST_F_L0() 158 ObjectFactory *factory = ecmaVM->GetFactory(); in HWTEST_F_L0() 171 ObjectFactory *factory = ecmaVM->GetFactory(); in HWTEST_F_L0() 182 ObjectFactory *factory = ecmaVM->GetFactory(); in HWTEST_F_L0() [all …]
|
D | builtins_symbol_test.cpp | 72 JSHandle<JSSymbol> symbol = ecmaVM->GetFactory()->NewJSSymbol(); in HWTEST_F_L0() 84 auto symbolValue = ecmaVM->GetFactory()->NewFromASCII("Symbol()"); in HWTEST_F_L0() 100 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 119 JSHandle<JSSymbol> symbol = ecmaVM->GetFactory()->NewPublicSymbolWithChar("aaa"); in HWTEST_F_L0() 130 auto symbolValue = ecmaVM->GetFactory()->NewFromASCII("Symbol(aaa)"); in HWTEST_F_L0() 140 JSHandle<JSSymbol> symbol = ecmaVM->GetFactory()->NewJSSymbol(); in HWTEST_F_L0() 154 …JSHandle<JSPrimitiveRef> symbolRef = ecmaVM->GetFactory()->NewJSPrimitiveRef(symbolObject, symbolV… in HWTEST_F_L0() 179 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 199 JSHandle<JSSymbol> symbol = ecmaVM->GetFactory()->NewPublicSymbolWithChar("bbb"); in HWTEST_F_L0() 213 …JSHandle<JSPrimitiveRef> symbolRef = ecmaVM->GetFactory()->NewJSPrimitiveRef(symbolObject, symbolV… in HWTEST_F_L0() [all …]
|
D | builtins_object_test.cpp | 67 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in CreateBuiltinJSObject() 85 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in TestNewJSObject() 117 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>::Cast(function), … in HWTEST_F_L0() 136 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>::Cast(function), … in HWTEST_F_L0() 161 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(function), functi… in HWTEST_F_L0() 163 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(function), functi… in HWTEST_F_L0() 165 JSHandle<JSTaggedValue> key1(thread->GetEcmaVM()->GetFactory()->NewFromASCII("x")); in HWTEST_F_L0() 170 JSHandle<JSTaggedValue> key2(thread->GetEcmaVM()->GetFactory()->NewFromASCII("y")); in HWTEST_F_L0() 214 JSHandle<JSTaggedValue> key(thread->GetEcmaVM()->GetFactory()->NewFromASCII("prop")); in HWTEST_F_L0() 216 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>::Cast(function), … in HWTEST_F_L0() [all …]
|
D | builtins_string_test.cpp | 96 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 119 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 143 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 166 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 185 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 204 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 223 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 240 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 258 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 275 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/ |
D | heap_tracker_test.cpp | 119 instance->GetFactory()->NewJSAsyncFuncObject(); in HWTEST_F_L0() 124 instance->GetFactory()->NewJSSymbol(); in HWTEST_F_L0() 130 JSHandle<EcmaString> string = instance->GetFactory()->NewFromASCII("Hello World"); in HWTEST_F_L0() 131 instance->GetFactory()->NewJSString(JSHandle<JSTaggedValue>(string), undefined); in HWTEST_F_L0() 173 instance->GetFactory()->NewJSAsyncFuncObject(); in HWTEST_F_L0() 178 instance->GetFactory()->NewJSSymbol(); in HWTEST_F_L0() 184 JSHandle<EcmaString> string = instance->GetFactory()->NewFromASCII("Hello World"); in HWTEST_F_L0() 185 instance->GetFactory()->NewJSString(JSHandle<JSTaggedValue>(string), undefined); in HWTEST_F_L0() 228 instance->GetFactory()->NewJSAsyncFuncObject(); in HWTEST_F_L0() 233 instance->GetFactory()->NewJSSymbol(); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_arguments_test.cpp | 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() 86 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(argFunc), argFunc… in HWTEST_F_L0() 87 JSHandle<JSArguments> arg = thread->GetEcmaVM()->GetFactory()->NewJSArguments(); in HWTEST_F_L0() 90 JSHandle<JSTaggedValue> key(thread->GetEcmaVM()->GetFactory()->NewFromASCII(array)); in HWTEST_F_L0() 108 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(argFunc), argFunc… in HWTEST_F_L0() 109 JSHandle<JSArguments> arg = thread->GetEcmaVM()->GetFactory()->NewJSArguments(); in HWTEST_F_L0() 112 JSHandle<JSTaggedValue> key(thread->GetEcmaVM()->GetFactory()->NewFromASCII(array)); in HWTEST_F_L0() 128 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(argFunc), argFunc… in HWTEST_F_L0() [all …]
|
D | js_function_test.cpp | 72 JSHandle<JSFunction> funHandle = thread->GetEcmaVM()->GetFactory()->NewJSFunction(env); in HWTEST_F_L0() 76 JSHandle<LexicalEnv> lexicalEnv = thread->GetEcmaVM()->GetFactory()->NewLexicalEnv(0); in HWTEST_F_L0() 85 …JSHandle<JSFunction> func = thread->GetEcmaVM()->GetFactory()->NewJSFunction(env, static_cast<void… in HWTEST_F_L0() 98 thread->GetEcmaVM()->GetFactory()->NewFromASCII("constructor")); in HWTEST_F_L0() 100 JSHandle<JSTaggedValue> protoKey(thread->GetEcmaVM()->GetFactory()->NewFromASCII("prototype")); in HWTEST_F_L0() 114 … thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun); in HWTEST_F_L0() 139 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>::Cast(hclass), hc… in HWTEST_F_L0() 143 … JSHandle<JSTaggedValue> calleeKey(thread->GetEcmaVM()->GetFactory()->NewFromASCII(&keyArray[0])); in HWTEST_F_L0() 145 …thread->GetEcmaVM()->GetFactory()->NewJSFunction(env, reinterpret_cast<void *>(TestInvokeInternal)… in HWTEST_F_L0() 160 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
|
D | js_object_test.cpp | 76 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc… in HWTEST_F_L0() 84 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc… in HWTEST_F_L0() 88 JSHandle<JSTaggedValue> key(thread->GetEcmaVM()->GetFactory()->NewFromASCII(array)); in HWTEST_F_L0() 103 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc… in HWTEST_F_L0() 107 JSHandle<JSTaggedValue> key(thread->GetEcmaVM()->GetFactory()->NewFromASCII(array)); in HWTEST_F_L0() 120 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc… in HWTEST_F_L0() 124 JSHandle<JSTaggedValue> key(thread->GetEcmaVM()->GetFactory()->NewFromASCII(array)); in HWTEST_F_L0() 133 JSHandle<JSTaggedValue> key2(thread->GetEcmaVM()->GetFactory()->NewFromASCII("print_test")); in HWTEST_F_L0() 147 JSHandle<JSTaggedValue> printKey(thread->GetEcmaVM()->GetFactory()->NewFromASCII("print")); in HWTEST_F_L0() 148 …JSHandle<JSTaggedValue> printTestKey(thread->GetEcmaVM()->GetFactory()->NewFromASCII("print_test")… in HWTEST_F_L0() [all …]
|
D | tagged_value_test.cpp | 194 EXPECT_FALSE(thread->GetEcmaVM()->GetFactory()->GetEmptyString().GetTaggedValue().ToBoolean()); in HWTEST_F_L0() 195 … EXPECT_TRUE(thread->GetEcmaVM()->GetFactory()->NewFromASCII("test").GetTaggedValue().ToBoolean()); in HWTEST_F_L0() 230 JSHandle<JSTaggedValue> stringV0(thread->GetEcmaVM()->GetFactory()->NewFromASCII(" 1234 ")); in HWTEST_F_L0() 234 JSHandle<JSTaggedValue> stringV1(thread->GetEcmaVM()->GetFactory()->NewFromASCII(" 0b1010 ")); in HWTEST_F_L0() 238 JSHandle<JSTaggedValue> stringV2(thread->GetEcmaVM()->GetFactory()->NewFromASCII(" 0O11 ")); in HWTEST_F_L0() 242 JSHandle<JSTaggedValue> stringV3(thread->GetEcmaVM()->GetFactory()->NewFromASCII(" 0x2d ")); in HWTEST_F_L0() 246 JSHandle<JSTaggedValue> stringV4(thread->GetEcmaVM()->GetFactory()->NewFromASCII(" 0.000001 ")); in HWTEST_F_L0() 250 JSHandle<JSTaggedValue> stringV5(thread->GetEcmaVM()->GetFactory()->NewFromASCII(" 1.23 ")); in HWTEST_F_L0() 254 JSHandle<JSTaggedValue> stringV6(thread->GetEcmaVM()->GetFactory()->NewFromASCII(" -1.23e2 ")); in HWTEST_F_L0() 258 JSHandle<JSTaggedValue> stringV7(thread->GetEcmaVM()->GetFactory()->NewFromASCII(" -123e-2")); in HWTEST_F_L0() [all …]
|
D | js_primitive_ref_test.cpp | 60 JSHandle<JSTaggedValue> hello(thread->GetEcmaVM()->GetFactory()->NewFromASCII("hello")); in HWTEST_F_L0() 63 JSHandle<JSTaggedValue> idx(thread->GetEcmaVM()->GetFactory()->NewFromASCII("0")); in HWTEST_F_L0() 70 JSHandle<EcmaString> h = thread->GetEcmaVM()->GetFactory()->NewFromASCII("h"); in HWTEST_F_L0()
|
D | object_factory_test.cpp | 70 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 105 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 134 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 151 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 168 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 179 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 192 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
|
D | js_forin_iterator_test.cpp | 62 JSHandle<JSTaggedValue> key1(thread->GetEcmaVM()->GetFactory()->NewFromASCII("key1")); in HWTEST_F_L0() 63 JSHandle<JSTaggedValue> key2(thread->GetEcmaVM()->GetFactory()->NewFromASCII("key2")); in HWTEST_F_L0() 64 JSHandle<JSTaggedValue> key3(thread->GetEcmaVM()->GetFactory()->NewFromASCII("key3")); in HWTEST_F_L0() 76 …JSHandle<JSForInIterator> it = thread->GetEcmaVM()->GetFactory()->NewJSForinIterator(JSHandle<JSTa… in HWTEST_F_L0()
|
D | js_iterator_test.cpp | 63 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 76 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 90 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 106 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 121 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
|
D | tagged_array_test.cpp | 57 ecmaVM->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(jsFunc), jsFunc); in JSArrayTestCreate() 63 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 76 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 98 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 122 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 146 ObjectFactory *factory = ecmaVM->GetFactory(); in HWTEST_F_L0() 175 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 203 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 229 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 253 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
|
D | weak_ref_old_gc_test.cpp | 61 ecmaVM->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(jsFunc1), jsFunc1); in JSObjectTestCreate() 69 JSHandle<TaggedArray> array = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(2); in ArrayTestCreate() 76 auto array = vm->GetFactory()->NewTaggedArray(2, JSTaggedValue::Undefined(), true); in HWTEST_F_L0() 94 JSHandle<TaggedArray> array = ecmaVM->GetFactory()->NewTaggedArray(2); in HWTEST_F_L0() 113 JSHandle<TaggedArray> array = ecmaVM->GetFactory()->NewTaggedArray(2); in HWTEST_F_L0()
|
D | symbol_table_test.cpp | 86 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 111 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 137 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 177 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 213 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 241 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
|
D | js_handle_test.cpp | 55 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 75 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 112 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 130 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 166 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 195 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/ |
D | pgo_profiler_test.cpp | 128 JSHandle<ConstantPool> constPool = vm_->GetFactory()->NewConstantPool(4); in HWTEST_F_L0() 134 JSHandle<Method> method = vm_->GetFactory()->NewMethod(methodLiterals[0]); in HWTEST_F_L0() 136 JSHandle<JSFunction> func = vm_->GetFactory()->NewJSFunction(vm_->GetGlobalEnv(), method); in HWTEST_F_L0() 137 JSHandle<JSTaggedValue> recordName(vm_->GetFactory()->NewFromStdString("test")); in HWTEST_F_L0() 176 JSHandle<ConstantPool> constPool = vm_->GetFactory()->NewConstantPool(4); in HWTEST_F_L0() 182 JSHandle<Method> method = vm_->GetFactory()->NewMethod(methodLiterals[0]); in HWTEST_F_L0() 183 JSHandle<Method> method1 = vm_->GetFactory()->NewMethod(methodLiterals[1]); in HWTEST_F_L0() 184 JSHandle<Method> method2 = vm_->GetFactory()->NewMethod(methodLiterals[2]); in HWTEST_F_L0() 189 JSHandle<JSFunction> func = vm_->GetFactory()->NewJSFunction(vm_->GetGlobalEnv(), method); in HWTEST_F_L0() 190 JSHandle<JSFunction> func1 = vm_->GetFactory()->NewJSFunction(vm_->GetGlobalEnv(), method1); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_lazy_callback.cpp | 29 ObjectFactory *factory = vm->GetFactory(); in Date() 43 ObjectFactory *factory = vm->GetFactory(); in Set() 57 ObjectFactory *factory = vm->GetFactory(); in Map() 71 ObjectFactory *factory = vm->GetFactory(); in WeakMap() 85 ObjectFactory *factory = vm->GetFactory(); in WeakSet() 99 ObjectFactory *factory = vm->GetFactory(); in WeakRef() 113 ObjectFactory *factory = vm->GetFactory(); in FinalizationRegistry() 127 ObjectFactory *factory = vm->GetFactory(); in TypedArray() 161 ObjectFactory *factory = vm->GetFactory(); in ITERATE_TYPED_ARRAY() 175 ObjectFactory *factory = vm->GetFactory(); in DataView() [all …]
|
D | builtins_async_generator.cpp | 43 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in AsyncGeneratorPrototypeNext() 60 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in AsyncGeneratorPrototypeReturn() 77 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in AsyncGeneratorPrototypeThrow()
|
/arkcompiler/ets_runtime/ecmascript/ic/tests/ |
D | proto_change_details_test.cpp | 60 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 78 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 96 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 118 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 136 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 167 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 200 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0() 254 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/module/ |
D | module_data_extractor.cpp | 47 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in ParseModule() 66 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in ExtractModuleDatas() 90 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in ParseCjsModule() 110 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in ParseJsonModule() 133 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in ParseNativeModule() 166 JSHandle<JSTaggedValue> arg0(thread->GetEcmaVM()->GetFactory()->NewFromASCII(value)); in JsonParse()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | ecma_string-inl.h | 30 auto string = vm->GetFactory()->AllocNonMovableLineStringObject(EcmaString::SIZE); in CreateEmptyString() 42 return vm->GetFactory()->GetEmptyString().GetObject<EcmaString>(); in CreateFromUtf8() 75 return vm->GetFactory()->GetEmptyString().GetObject<EcmaString>(); in CreateFromUtf16() 98 auto string = vm->GetFactory()->AllocLineStringObject(size); in CreateLineString() 125 string = vm->GetFactory()->AllocLineStringObject(size); in CreateLineStringWithSpaceType() 128 string = vm->GetFactory()->AllocOldSpaceLineStringObject(size); in CreateLineStringWithSpaceType() 131 string = vm->GetFactory()->AllocNonMovableLineStringObject(size); in CreateLineStringWithSpaceType() 145 auto string = ConstantString::Cast(vm->GetFactory()->AllocConstantStringObject(type)); in CreateConstantString() 159 auto string = TreeEcmaString::Cast(vm->GetFactory()->AllocTreeStringObject()); in CreateTreeString()
|