Home
last modified time | relevance | path

Searched refs:GetFactory (Results 1 – 25 of 191) sorted by relevance

12345678

/ark/js_runtime/ecmascript/builtins/tests/
Dbuiltins_regexp_test.cpp88 …JSHandle<EcmaString> pattern = thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("\\w+… in HWTEST_F_L0()
89 JSHandle<EcmaString> flags = thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("i"); in HWTEST_F_L0()
107 …JSHandle<EcmaString> pattern = thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("\\w+… in HWTEST_F_L0()
108 JSHandle<EcmaString> flags = thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("i"); in HWTEST_F_L0()
141 …JSHandle<EcmaString> pattern1 = thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("\\w… in HWTEST_F_L0()
142 … JSHandle<EcmaString> flags1 = thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("i"); in HWTEST_F_L0()
149 … JSHandle<EcmaString> flags2 = thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("gi"); in HWTEST_F_L0()
176 … JSHandle<EcmaString> pattern1 = thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString(""); in HWTEST_F_L0()
177 … JSHandle<EcmaString> flags1 = thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("i"); in HWTEST_F_L0()
183 … thread, thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("source").GetTaggedValue()); in HWTEST_F_L0()
[all …]
Dbuiltins_number_test.cpp117 …JSHandle<EcmaString> test = thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("hellowo… in HWTEST_F_L0()
209 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
215 …JSHandle<JSPrimitiveRef> number = thread->GetEcmaVM()->GetFactory()->NewJSPrimitiveRef(numberObjec… in HWTEST_F_L0()
235 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
261 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
285 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
308 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
336 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
360 …JSHandle<EcmaString> param = thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("0x123"… in HWTEST_F_L0()
374 …JSHandle<EcmaString> param = thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("0x123x… in HWTEST_F_L0()
[all …]
Dbuiltins_object_test.cpp68 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in CreateBuiltinJSObject()
86 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in TestNewJSObject()
118 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>::Cast(function), … in HWTEST_F_L0()
137 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>::Cast(function), … in HWTEST_F_L0()
162 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(function), functi… in HWTEST_F_L0()
164 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(function), functi… in HWTEST_F_L0()
166 … JSHandle<JSTaggedValue> key1(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("x")); in HWTEST_F_L0()
171 … JSHandle<JSTaggedValue> key2(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("y")); in HWTEST_F_L0()
215 …JSHandle<JSTaggedValue> key(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("prop")); in HWTEST_F_L0()
217 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>::Cast(function), … in HWTEST_F_L0()
[all …]
Dbuiltins_symbol_test.cpp72 JSHandle<JSSymbol> symbol = ecmaVM->GetFactory()->NewJSSymbol(); in HWTEST_F_L0()
92 JSHandle<JSSymbol> symbol = ecmaVM->GetFactory()->NewPublicSymbolWithChar("aaa"); in HWTEST_F_L0()
113 JSHandle<JSSymbol> symbol = ecmaVM->GetFactory()->NewJSSymbol(); in HWTEST_F_L0()
127 …JSHandle<JSPrimitiveRef> symbolRef = ecmaVM->GetFactory()->NewJSPrimitiveRef(symbolObject, symbolV… in HWTEST_F_L0()
146 JSHandle<JSSymbol> symbol = ecmaVM->GetFactory()->NewPublicSymbolWithChar("bbb"); in HWTEST_F_L0()
160 …JSHandle<JSPrimitiveRef> symbolRef = ecmaVM->GetFactory()->NewJSPrimitiveRef(symbolObject, symbolV… in HWTEST_F_L0()
181 JSHandle<EcmaString> string = ecmaVM->GetFactory()->NewFromCanBeCompressString("ccc"); in HWTEST_F_L0()
186 JSHandle<JSSymbol> symbol = ecmaVM->GetFactory()->NewSymbolWithTableWithChar("ccc"); in HWTEST_F_L0()
208 JSHandle<JSSymbol> symbol = ecmaVM->GetFactory()->NewPublicSymbolWithChar("bbb"); in HWTEST_F_L0()
220 JSHandle<EcmaString> string = ecmaVM->GetFactory()->NewFromCanBeCompressString("ccc"); in HWTEST_F_L0()
[all …]
Dbuiltins_string_test.cpp85 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
109 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
135 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
158 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
177 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
196 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
215 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
232 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
250 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
267 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
[all …]
Dbuiltins_errors_test.cpp83 ObjectFactory *factory = EcmaVM::Cast(instance)->GetFactory(); in HWTEST_F_L0()
113 ObjectFactory *factory = EcmaVM::Cast(instance)->GetFactory(); in HWTEST_F_L0()
139 ObjectFactory *factory = EcmaVM::Cast(instance)->GetFactory(); in HWTEST_F_L0()
177 ObjectFactory *factory = EcmaVM::Cast(instance)->GetFactory(); in HWTEST_F_L0()
217 ObjectFactory *factory = EcmaVM::Cast(instance)->GetFactory(); in HWTEST_F_L0()
245 ObjectFactory *factory = EcmaVM::Cast(instance)->GetFactory(); in HWTEST_F_L0()
278 ObjectFactory *factory = EcmaVM::Cast(instance)->GetFactory(); in HWTEST_F_L0()
315 ObjectFactory *factory = EcmaVM::Cast(instance)->GetFactory(); in HWTEST_F_L0()
355 ObjectFactory *factory = EcmaVM::Cast(instance)->GetFactory(); in HWTEST_F_L0()
384 ObjectFactory *factory = EcmaVM::Cast(instance)->GetFactory(); in HWTEST_F_L0()
[all …]
Dbuiltins_json_test.cpp122 ObjectFactory *factory = ecmaVM->GetFactory(); in CreateBuiltinJSObject1()
148 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
167 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
188 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
212 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
239 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
255 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
276 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
295 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
315 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
[all …]
/ark/js_runtime/ecmascript/tests/
Djs_arguments_test.cpp63 …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()->NewFromCanBeCompressString(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()->NewFromCanBeCompressString(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()->NewFromCanBeCompressString(array)); in HWTEST_F_L0()
128 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(argFunc), argFunc… in HWTEST_F_L0()
[all …]
Djs_object_test.cpp77 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc… in HWTEST_F_L0()
85 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc… in HWTEST_F_L0()
89 … JSHandle<JSTaggedValue> key(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString(array)); in HWTEST_F_L0()
104 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc… in HWTEST_F_L0()
108 … JSHandle<JSTaggedValue> key(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString(array)); in HWTEST_F_L0()
121 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc… in HWTEST_F_L0()
125 … JSHandle<JSTaggedValue> key(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString(array)); in HWTEST_F_L0()
134 …JSHandle<JSTaggedValue> key2(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("print_… in HWTEST_F_L0()
148 …JSHandle<JSTaggedValue> printKey(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("pr… in HWTEST_F_L0()
149 …JSHandle<JSTaggedValue> printTestKey(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString… in HWTEST_F_L0()
[all …]
Djs_function_test.cpp72 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()->NewFromCanBeCompressString("constructor")); in HWTEST_F_L0()
100 …JSHandle<JSTaggedValue> protoKey(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("pr… 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(dynclass), … in HWTEST_F_L0()
143 …JSHandle<JSTaggedValue> calleeKey(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString(&k… 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()
Dtagged_value_test.cpp194 EXPECT_FALSE(thread->GetEcmaVM()->GetFactory()->GetEmptyString().GetTaggedValue().ToBoolean()); in HWTEST_F_L0()
195 …EXPECT_TRUE(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("test").GetTaggedValue()… in HWTEST_F_L0()
230 …JSHandle<JSTaggedValue> stringV0(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString(" 1… in HWTEST_F_L0()
234 …JSHandle<JSTaggedValue> stringV1(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString(" 0… in HWTEST_F_L0()
238 …JSHandle<JSTaggedValue> stringV2(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString(" 0… in HWTEST_F_L0()
242 …JSHandle<JSTaggedValue> stringV3(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString(" 0… in HWTEST_F_L0()
246 …JSHandle<JSTaggedValue> stringV4(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString(" 0… in HWTEST_F_L0()
250 …JSHandle<JSTaggedValue> stringV5(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString(" 1… in HWTEST_F_L0()
254 …JSHandle<JSTaggedValue> stringV6(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString(" -… in HWTEST_F_L0()
258 …JSHandle<JSTaggedValue> stringV7(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString(" -… in HWTEST_F_L0()
[all …]
Dname_dictionary_test.cpp86 … thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun); in HWTEST_F_L0()
90 …JSHandle<EcmaString> stringKey1 = thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString(ke… in HWTEST_F_L0()
94 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun)); in HWTEST_F_L0()
98 …JSHandle<EcmaString> stringKey2 = thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString(ke… in HWTEST_F_L0()
102 …thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun)); in HWTEST_F_L0()
131 … thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun); in HWTEST_F_L0()
139 …JSHandle<EcmaString> stringKey = thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString(key… in HWTEST_F_L0()
161 … thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun); in HWTEST_F_L0()
Djs_primitive_ref_test.cpp59 …JSHandle<JSTaggedValue> hello(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("hello… in HWTEST_F_L0()
62 JSHandle<JSTaggedValue> idx(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("0")); in HWTEST_F_L0()
69 JSHandle<EcmaString> h = thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("h"); in HWTEST_F_L0()
Dobject_factory_test.cpp70 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
101 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
130 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
147 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
164 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
175 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
Djs_iterator_test.cpp63 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()
Djs_forin_iterator_test.cpp62 …JSHandle<JSTaggedValue> key1(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("key1")… in HWTEST_F_L0()
63 …JSHandle<JSTaggedValue> key2(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("key2")… in HWTEST_F_L0()
64 …JSHandle<JSTaggedValue> key3(thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("key3")… in HWTEST_F_L0()
76 …JSHandle<JSForInIterator> it = thread->GetEcmaVM()->GetFactory()->NewJSForinIterator(JSHandle<JSTa… in HWTEST_F_L0()
Djs_handle_test.cpp55 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
73 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
107 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
133 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
168 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
195 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
Dweak_ref_old_gc_test.cpp61 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()
Dsymbol_table_test.cpp86 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
111 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
141 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
184 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
220 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
248 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
Decma_module_test.cpp53 ObjectFactory *objectFactory = thread->GetEcmaVM()->GetFactory(); in EcmaModuleCreate()
74 thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString(cStrItemName)); in HWTEST_F_L0()
96 thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString(cStrItemName)); in HWTEST_F_L0()
115 ObjectFactory* objFactory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
141 ObjectFactory* objFactory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
175 ObjectFactory* objFactory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
187 thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString(cStrItemName1)); in HWTEST_F_L0()
189 thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString(cStrItemName2)); in HWTEST_F_L0()
230 ObjectFactory* objFactory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
356 ObjectFactory *objFactory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
[all …]
Dweak_ref_semi_gc_test.cpp60 ecmaVM->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(jsFunc), jsFunc); in JSObjectTestCreate()
68 JSHandle<TaggedArray> array = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(2); in ArrayTestCreate()
75 JSHandle<TaggedArray> array = ecmaVM->GetFactory()->NewTaggedArray(2); in HWTEST_F_L0()
94 JSHandle<TaggedArray> array = ecmaVM->GetFactory()->NewTaggedArray(2); in HWTEST_F_L0()
/ark/js_runtime/ecmascript/hprof/tests/
Dheap_tracker_test.cpp67 thread->GetEcmaVM()->GetFactory()->NewJSAsyncFuncObject(); in HWTEST_F_L0()
72 thread->GetEcmaVM()->GetFactory()->NewJSSymbol(); in HWTEST_F_L0()
77 …JSHandle<EcmaString> string = thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("Hello… in HWTEST_F_L0()
78 thread->GetEcmaVM()->GetFactory()->NewJSString(JSHandle<JSTaggedValue>(string)); in HWTEST_F_L0()
/ark/js_runtime/ecmascript/
Decma_string-inl.h43 auto string = vm->GetFactory()->AllocNonMovableStringObject(EcmaString::SIZE); in CreateEmptyString()
54 return vm->GetFactory()->GetEmptyString().GetObject<EcmaString>(); in CreateFromUtf8()
83 return vm->GetFactory()->GetEmptyString().GetObject<EcmaString>(); in CreateFromUtf16()
123 auto string = reinterpret_cast<EcmaString *>(vm->GetFactory()->AllocStringObject(size)); in AllocStringObject()
171 return *vm->GetFactory()->GetEmptyString(); in FastSubUtf8String()
188 return *vm->GetFactory()->GetEmptyString(); in FastSubUtf16String()
/ark/js_runtime/ecmascript/containers/
Dcontainers_private.cpp83 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in InitializeContainer()
99 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in NewContainerConstructor()
121 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in SetFrozenFunction()
132 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in SetFrozenConstructor()
141 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in NewFunction()
154 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in CreateGetter()
166 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in SetGetter()
177 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in SetFunctionAtSymbol()
191 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in SetStringTagSymbol()
201 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in InitializeArrayList()
[all …]
/ark/js_runtime/ecmascript/regexp/tests/
Dregexp_test.cpp609 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
631 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
662 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
686 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
708 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
730 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
761 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
783 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
805 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
827 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
[all …]

12345678