Home
last modified time | relevance | path

Searched refs:NewJSObject (Results 1 – 25 of 36) sorted by relevance

12

/arkcompiler/ets_runtime/test/fuzztest/publicapilocalregexpref_fuzzer/
Dpublicapilocalregexpref_fuzzer.cpp41 JSHandle<JSRegExp> jSRegExp = JSHandle<JSRegExp>::Cast(factory->NewJSObject(jSRegExpClass)); in LocalRegExpGetOriginalSourceFuzzTest()
67 JSHandle<JSRegExp> jSRegExp = JSHandle<JSRegExp>::Cast(factory->NewJSObject(jSRegExpClass)); in LocalRegExpRefGetOriginalFlagsFuzzTest()
112 JSHandle<JSRegExp> jSRegExp = JSHandle<JSRegExp>::Cast(factory->NewJSObject(jSRegExpClass)); in LocalRegExpIsIgnoreCaseFuzzTest()
133 JSHandle<JSRegExp> jSRegExp = JSHandle<JSRegExp>::Cast(factory->NewJSObject(jSRegExpClass)); in LocalRegExpIsMultilineFuzzTest()
154 JSHandle<JSRegExp> jSRegExp = JSHandle<JSRegExp>::Cast(factory->NewJSObject(jSRegExpClass)); in LocalRegExpIsDotAllFuzzTest()
175 JSHandle<JSRegExp> jSRegExp = JSHandle<JSRegExp>::Cast(factory->NewJSObject(jSRegExpClass)); in LocalRegExpIsUtf16FuzzTest()
196 JSHandle<JSRegExp> jSRegExp = JSHandle<JSRegExp>::Cast(factory->NewJSObject(jSRegExpClass)); in LocalRegExpIsSticklFuzzTest()
/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/
Dpgo_type_parser.cpp95 JSHandle<JSObject> prototype = thread->GetEcmaVM()->GetFactory()->NewJSObject(phclass); in GenerateHClass()
179 JSHandle<JSObject> prototype = thread->GetEcmaVM()->GetFactory()->NewJSObject(phclass); in GenerateHClass()
215 JSHandle<JSObject> prototype = thread->GetEcmaVM()->GetFactory()->NewJSObject(phclass); in CreatePGOType()
226 … JSHandle<JSObject> prototype = thread->GetEcmaVM()->GetFactory()->NewJSObject(phclass); in CreatePGOType()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_hclass_test.cpp231 JSHandle<JSObject> childObj = factory->NewJSObject(childClass); in HWTEST_F_L0()
246 JSHandle<JSObject> Obj1 = factory->NewJSObject(objClass); in HWTEST_F_L0()
247 JSHandle<JSObject> Obj2 = factory->NewJSObject(objClass); in HWTEST_F_L0()
277 JSHandle<JSObject> Obj = factory->NewJSObject(objClass1); in HWTEST_F_L0()
310 JSHandle<JSObject> Obj1 = factory->NewJSObject(obj1Class); in HWTEST_F_L0()
311 JSHandle<JSObject> Obj2 = factory->NewJSObject(obj2Class); in HWTEST_F_L0()
344 JSHandle<JSObject> Obj = factory->NewJSObject(objClass); in HWTEST_F_L0()
370 JSHandle<JSObject> Obj0 = factory->NewJSObject(objClass); in HWTEST_F_L0()
415 JSHandle<JSObject> Obj = factory->NewJSObject(objClass); in HWTEST_F_L0()
Ddump_test.cpp282 static JSHandle<JSObject> NewJSObject(JSThread *thread, ObjectFactory *factory, JSHandle<GlobalEnv>… in NewJSObject() function
312 JSHandle<JSRegExp> jSRegExp = JSHandle<JSRegExp>::Cast(factory->NewJSObject(jSRegExpClass)); in NewJSRegExp()
439 JSHandle<JSObject> jsObj = NewJSObject(thread, factory, globalEnv); in HWTEST_F_L0()
805 …JSHandle<JSTaggedValue> emptyObj(thread, NewJSObject(thread, factory, globalEnv).GetTaggedValue()); in HWTEST_F_L0()
982 …JSHandle<JSTaggedValue> emptyObj(thread, NewJSObject(thread, factory, globalEnv).GetTaggedValue()); in HWTEST_F_L0()
983 …JSHandle<JSTaggedValue> emptyMethod(thread, NewJSObject(thread, factory, globalEnv).GetTaggedValue… in HWTEST_F_L0()
1006 …JSHandle<JSTaggedValue> emptyObj(thread, NewJSObject(thread, factory, globalEnv).GetTaggedValue()); in HWTEST_F_L0()
Djs_object_test.cpp1323 …[[maybe_unused]] JSHandle<JSObject> obj0 = factory->NewJSObject(hc0); // need it to ensure hc0 no… in HWTEST_F_L0()
1324 JSHandle<JSObject> obj1 = factory->NewJSObject(hc0); in HWTEST_F_L0()
1325 JSHandle<JSObject> obj2 = factory->NewJSObject(hc0); in HWTEST_F_L0()
1359 JSHandle<JSObject> obj3 = factory->NewJSObject(hc0); in HWTEST_F_L0()
1360 JSHandle<JSObject> obj4 = factory->NewJSObject(hc0); in HWTEST_F_L0()
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefisgenerator_fuzzer/
Djsvaluerefisgenerator_fuzzer.cpp47 JSHandle<JSFunction> generatorFunc = JSHandle<JSFunction>::Cast(factory->NewJSObject(hclass)); in IsGeneratorObjectFuzzTest()
/arkcompiler/ets_runtime/ecmascript/
Dobject_factory.cpp421 JSHandle<JSObject> ObjectFactory::NewJSObject(const JSHandle<JSHClass> &jshclass) in NewJSObject() function in panda::ecmascript::ObjectFactory
455 JSHandle<JSObject> cloneObject = NewJSObject(klass); in CloneObjectLiteral()
477 JSHandle<JSArray> cloneObject(NewJSObject(klass)); in CloneArrayLiteral()
573 JSHandle<JSObject> cloneObject = NewJSObject(klass); in CloneObjectLiteral()
679 JSHandle<JSPrimitiveRef> obj = JSHandle<JSPrimitiveRef>::Cast(NewJSObject(hclass)); in NewJSPrimitiveRef()
693 JSHandle<JSObject> obj = NewJSObject(hclass); in NewJSArray()
724 JSHandle<JSForInIterator> it = JSHandle<JSForInIterator>::Cast(NewJSObject(hclass)); in NewJSForinIterator()
846 JSHandle<JSArguments> obj = JSHandle<JSArguments>::Cast(NewJSObject(hclass)); in NewJSArguments()
1002 JSHandle<JSObject> obj = NewJSObject(jshclass); in NewJSObjectWithInit()
1517 JSHandle<JSObject> newObj = NewJSObject(newClass); in OrdinaryNewJSObjectCreate()
[all …]
Djs_iterator.cpp309 JSHandle<JSObject> obj = factory->NewJSObject(klass); in CreateIterResultObject()
/arkcompiler/ets_runtime/test/fuzztest/publicapigeneratorobjectref_fuzzer/
Dpublicapigeneratorobjectref_fuzzer.cpp43 JSHandle<JSFunction> generatorFunc = JSHandle<JSFunction>::Cast(factory->NewJSObject(hclass)); in GetGeneratorReceiverFuzzTest()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dnew_object_stub_builder.h47 void NewJSObject(Variable *result, Label *exit, GateRef hclass);
48 GateRef NewJSObject(GateRef glue, GateRef hclass);
Dnew_object_stub_builder.cpp75 GateRef result = NewJSObject(glue_, hclass); in NewJSArrayWithSize()
85 void NewObjectStubBuilder::NewJSObject(Variable *result, Label *exit, GateRef hclass) in NewJSObject() function in panda::ecmascript::kungfu::NewObjectStubBuilder
131 GateRef NewObjectStubBuilder::NewJSObject(GateRef glue, GateRef hclass) in NewJSObject() function in panda::ecmascript::kungfu::NewObjectStubBuilder
140 NewJSObject(&result, &exit, hclass); in NewJSObject()
405 GateRef iter = NewJSObject(glue, hclass); in NewJSForinIterator()
524 result = NewJSObject(glue, hclass); in NewJSFunction()
744 NewJSObject(result, &afterNewObject, argumentsClass); in NewArgumentsObj()
1021 NewJSObject(&thisObj, &exit, protoOrHclass); in FastNewThisObject()
1074 NewJSObject(&thisObj, &exit, *protoOrHclass); in FastSuperAllocateThis()
1244 return NewJSObject(glue, hclass); in CreateEmptyObject()
[all …]
Dcommon_stubs.h85 V(NewJSObject) \
Dcall_signature.h384 V(NewJSObject) \
Dts_hclass_generator.cpp82 JSHandle<JSObject> prototype = thread->GetEcmaVM()->GetFactory()->NewJSObject(phclass); in Generate()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_private.cpp341 JSHandle<JSObject> arrayListIteratorPrototype(factory->NewJSObject(iteratorFuncHClass)); in InitializeArrayListIterator()
412 JSHandle<JSObject> lightWeightMapIteratorPrototype(factory->NewJSObject(iteratorClass)); in InitializeLightWeightMapIterator()
478 JSHandle<JSObject> lightWeightSetIteratorPrototype(factory->NewJSObject(iteratorClass)); in InitializeLightWeightSetIterator()
555 JSHandle<JSObject> mapIteratorPrototype(factory->NewJSObject(iteratorClass)); in InitializeTreeMapIterator()
629 JSHandle<JSObject> setIteratorPrototype(factory->NewJSObject(iteratorClass)); in InitializeTreeSetIterator()
704 JSHandle<JSObject> plainarrayIteratorPrototype(factory->NewJSObject(iteratorClass)); in InitializePlainArrayIterator()
764 JSHandle<JSObject> stackIteratorPrototype(factory->NewJSObject(iteratorFuncHClass)); in InitializeStackIterator()
845 JSHandle<JSObject> vectorIteratorPrototype(factory->NewJSObject(iteratorFuncHClass)); in InitializeVectorIterator()
900 JSHandle<JSObject> queueIteratorPrototype(factory->NewJSObject(iteratorFuncHClass)); in InitializeQueueIterator()
958 JSHandle<JSObject> dequeIteratorPrototype(factory->NewJSObject(iteratorFuncHClass)); in InitializeDequeIterator()
[all …]
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_global_test.cpp58 …static JSHandle<JSObject> NewJSObject(JSThread *thread, ObjectFactory *factory, JSHandle<GlobalEnv… in NewJSObject() function in panda::test::BuiltinsGlobalTest
109 JSHandle<JSTaggedValue> emptyObj(thread, NewJSObject(thread, factory, env).GetTaggedValue()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/test/fuzztest/generatorfunctionref_fuzzer/
Dgeneratorfunctionref_fuzzer.cpp41 JSHandle<JSFunction> generatorFunc = JSHandle<JSFunction>::Cast(factory->NewJSObject(hclass)); in CreateGeneratorObj()
/arkcompiler/ets_runtime/ecmascript/ic/
Dinvoke_cache.cpp107 JSHandle<JSObject> obj = factory->NewJSObject(instanceHClass); in Construct()
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefiscontainer_fuzzer/
Djsvaluerefiscontainer_fuzzer.cpp85 JSHandle<JSRegExp> jSRegExp = JSHandle<JSRegExp>::Cast(factory->NewJSObject(jSRegExpClass)); in JSValueRefIsRegExpFuzzTest()
/arkcompiler/ets_runtime/ecmascript/ic/tests/
Dic_runtime_stub_test.cpp214 …JSHandle<JSObject> handleNewObj = factory->NewJSObject(JSHandle<JSHClass>(thread, handleNewObjClas… in HWTEST_F_L0()
251 …JSHandle<JSObject> handleNewObj = factory->NewJSObject(JSHandle<JSHClass>(thread, handleNewObjClas… in HWTEST_F_L0()
282 …JSHandle<JSObject> handleNewObj = factory->NewJSObject(JSHandle<JSHClass>(thread, handleNewObjClas… in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_stubs.cpp348 newBuilder.NewJSObject(&res, &afterNew, intialHClass); in DECLARE_BUILTINS()
432 newBuilder.NewJSObject(&res, &afterNew, intialHClass); in DECLARE_BUILTINS()
533 newBuilder.NewJSObject(&res, &afterNew, intialHClass); in DECLARE_BUILTINS()
Dbuiltins_object_stub_builder.cpp160 result = newBuilder.NewJSObject(glue, intialHClass); in CreateArrayFromList()
272 GateRef newObj = newBuilder.NewJSObject(glue_, newClass); in OrdinaryNewJSObjectCreate()
/arkcompiler/ets_runtime/ecmascript/base/
Djson_parser.h141 … parseValue = JSHandle<JSTaggedValue>(factory_->NewJSObject(initialJSObjectClass_)); in ParseJSONText()
285 JSHandle<JSObject> obj = factory_->NewJSObject(initialJSObjectClass_); in CreateJsonObject()
/arkcompiler/ets_runtime/ecmascript/napi/test/
Dffi_workload.cpp493 JSHandle<JSFunction> generatorFunc = JSHandle<JSFunction>::Cast(factory->NewJSObject(hclass)); in HWTEST_F_L0()
1987 JSHandle<JSRegExp> jSRegExp = JSHandle<JSRegExp>::Cast(factory->NewJSObject(jSRegExpClass)); in HWTEST_F_L0()
2012 JSHandle<JSRegExp> jSRegExp = JSHandle<JSRegExp>::Cast(factory->NewJSObject(jSRegExpClass)); in HWTEST_F_L0()
2055 JSHandle<JSRegExp> jSRegExp = JSHandle<JSRegExp>::Cast(factory->NewJSObject(jSRegExpClass)); in HWTEST_F_L0()
2075 JSHandle<JSRegExp> jSRegExp = JSHandle<JSRegExp>::Cast(factory->NewJSObject(jSRegExpClass)); in HWTEST_F_L0()
2095 JSHandle<JSRegExp> jSRegExp = JSHandle<JSRegExp>::Cast(factory->NewJSObject(jSRegExpClass)); in HWTEST_F_L0()
2115 JSHandle<JSRegExp> jSRegExp = JSHandle<JSRegExp>::Cast(factory->NewJSObject(jSRegExpClass)); in HWTEST_F_L0()
2135 JSHandle<JSRegExp> jSRegExp = JSHandle<JSRegExp>::Cast(factory->NewJSObject(jSRegExpClass)); in HWTEST_F_L0()
4612 JSHandle<JSFunction> generatorFunc = JSHandle<JSFunction>::Cast(factory->NewJSObject(hclass)); in HWTEST_F_L0()
4638 JSHandle<JSFunction> generatorFunc = JSHandle<JSFunction>::Cast(factory->NewJSObject(hclass)); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins.cpp324 JSHandle<JSObject> objFuncPrototype = factory_->NewJSObject(objPrototypeHClass); in Initialize()
1586 JSHandle<JSObject> atomicsObject = factory_->NewJSObject(atomicsHClass); in InitializeAtomics()
1606 JSHandle<JSObject> weakRefFuncPrototype = factory_->NewJSObject(objFuncClass); in InitializeWeakRef()
1645 JSHandle<JSObject> finalizationRegistryFuncPrototype = factory_->NewJSObject(objFuncClass); in InitializeFinalizationRegistry()
1957 JSHandle<JSObject> regExpIteratorPrototype(factory_->NewJSObject(iteratorFuncClass)); in InitializeRegexpIterator()
3727 JSHandle<JSObject> obj = factory_->NewJSObject(hclass); in InitializeDefaultExportOfScript()

12