Home
last modified time | relevance | path

Searched refs:NewJSObjectWithInit (Results 1 – 9 of 9) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
Ddump_test.cpp185 JSHandle<JSMap> jsMap = JSHandle<JSMap>::Cast(factory->NewJSObjectWithInit(mapClass)); in NewJSMap()
194 JSHandle<JSSet> jsSet = JSHandle<JSSet>::Cast(factory->NewJSObjectWithInit(setClass)); in NewJSSet()
205 …JSHandle<JSAPIHashMap> jsHashMap = JSHandle<JSAPIHashMap>::Cast(factory->NewJSObjectWithInit(mapCl… in NewJSAPIHashMap()
216 …JSHandle<JSAPIHashSet> jsHashSet = JSHandle<JSAPIHashSet>::Cast(factory->NewJSObjectWithInit(setCl… in NewJSAPIHashSet()
227 …JSHandle<JSAPITreeMap> jsTreeMap = JSHandle<JSAPITreeMap>::Cast(factory->NewJSObjectWithInit(mapCl… in NewJSAPITreeMap()
238 …JSHandle<JSAPITreeSet> jsTreeSet = JSHandle<JSAPITreeSet>::Cast(factory->NewJSObjectWithInit(setCl… in NewJSAPITreeSet()
249 …inArray> jSAPIPlainArray = JSHandle<JSAPIPlainArray>::Cast(factory->NewJSObjectWithInit(mapClass)); in NewJSAPIPlainArray()
265 …JSHandle<JSAPIList> jsAPIList = JSHandle<JSAPIList>::Cast(factory->NewJSObjectWithInit(listClass)); in NewJSAPIList()
276 …kedList> jsAPILinkedList = JSHandle<JSAPILinkedList>::Cast(factory->NewJSObjectWithInit(mapClass)); in NewJSAPILinkedList()
295 …PIArrayList> jsArrayList = JSHandle<JSAPIArrayList>::Cast(factory->NewJSObjectWithInit(arrayListCl… in NewJSAPIArrayList()
[all …]
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefiscontainer_fuzzer/
Djsvaluerefiscontainer_fuzzer.cpp49 …JSHandle<JSAPIVector> jsVector = JSHandle<JSAPIVector>::Cast(factory->NewJSObjectWithInit(vectorCl… in JSValueRefIsVectorFuzzTest()
134 …JSHandle<JSAPITreeMap> jsTreeMap = JSHandle<JSAPITreeMap>::Cast(factory->NewJSObjectWithInit(mapCl… in JSValueRefIsTreeMapFuzzTest()
156 …JSHandle<JSAPITreeSet> jsTreeSet = JSHandle<JSAPITreeSet>::Cast(factory->NewJSObjectWithInit(setCl… in JSValueRefIsTreeSetFuzzTest()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins.cpp205 factory_->NewJSObjectWithInit(sobjPrototypeHClass); in InitializeSObjectAndSFunction()
682 JSHandle<JSObject> symbolFuncPrototype = factory_->NewJSObjectWithInit(objFuncClass); in InitializeSymbol()
802 JSHandle<JSObject> symbolFuncPrototype = factory_->NewJSObjectWithInit(objFuncInstanceHClass); in InitializeSymbolWithRealm()
925 JSHandle<JSObject> bigIntFuncPrototype = factory_->NewJSObjectWithInit(primRefObjHClass); in InitializeBigInt()
959 JSHandle<JSObject> dateFuncPrototype = factory_->NewJSObjectWithInit(dateFuncPrototypeHClass); in InitializeDate()
1067 JSHandle<JSObject> asyncFuncPrototype = factory_->NewJSObjectWithInit(objFuncClass); in InitializeAsyncFunction()
1093 JSHandle<JSObject> errorFuncPrototype = factory_->NewJSObjectWithInit(objFuncClass); in InitializeAllTypeError()
1225 JSHandle<JSObject> nativeErrorFuncPrototype = factory_->NewJSObjectWithInit(objFuncClass); in InitializeError()
1351 JSHandle<JSObject> setFuncPrototype = factory_->NewJSObjectWithInit(setFuncPrototypeHClass); in InitializeSet()
1426 JSHandle<JSObject> mapFuncPrototype = factory_->NewJSObjectWithInit(mapFuncPrototypeHClass); in InitializeMap()
[all …]
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_second_tests.cpp619 …JSHandle<JSAPITreeMap> jsTreeMap = JSHandle<JSAPITreeMap>::Cast(factory->NewJSObjectWithInit(mapCl… in HWTEST_F_L0()
642 …JSHandle<JSAPITreeSet> jsTreeSet = JSHandle<JSAPITreeSet>::Cast(factory->NewJSObjectWithInit(setCl… in HWTEST_F_L0()
665 …JSHandle<JSAPIVector> jsVector = JSHandle<JSAPIVector>::Cast(factory->NewJSObjectWithInit(vectorCl… in HWTEST_F_L0()
Dffi_workload.cpp701 …PIArrayList> jsArrayList = JSHandle<JSAPIArrayList>::Cast(factory->NewJSObjectWithInit(arrayListCl… in HWTEST_F_L0()
994 …JSHandle<JSAPIQueue> jsQueue = JSHandle<JSAPIQueue>::Cast(factory->NewJSObjectWithInit(queueClass)… in HWTEST_F_L0()
5658 JSHandle<JSSet> jsSet = JSHandle<JSSet>::Cast(factory->NewJSObjectWithInit(setClass)); in HWTEST_F_L0()
5932 …JSHandle<JSAPIQueue> jsQueue = JSHandle<JSAPIQueue>::Cast(factory->NewJSObjectWithInit(queueClass)… in HWTEST_F_L0()
5968 …JSHandle<JSAPIStack> jsStack = JSHandle<JSAPIStack>::Cast(factory->NewJSObjectWithInit(stackClass)… in HWTEST_F_L0()
6001 …JSHandle<JSAPITreeMap> jsTreeMap = JSHandle<JSAPITreeMap>::Cast(factory->NewJSObjectWithInit(mapCl… in HWTEST_F_L0()
6035 …JSHandle<JSAPITreeSet> jsTreeSet = JSHandle<JSAPITreeSet>::Cast(factory->NewJSObjectWithInit(setCl… in HWTEST_F_L0()
6068 …JSHandle<JSAPIVector> jsVector = JSHandle<JSAPIVector>::Cast(factory->NewJSObjectWithInit(vectorCl… in HWTEST_F_L0()
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefismodulenamespace_fuzzer/
Djsvaluerefismodulenamespace_fuzzer.cpp199 …JSHandle<JSAPIQueue> jsQueue = JSHandle<JSAPIQueue>::Cast(factory->NewJSObjectWithInit(queueClass)… in IsDequeFuzztest()
/arkcompiler/ets_runtime/ecmascript/napi/
DJSNapi接口说明.md2725 JSHandle<JSAPITreeMap> jsTreeMap = JSHandle<JSAPITreeMap>::Cast(factory->NewJSObjectWithInit(mapCla…
2753 JSHandle<JSAPITreeSet> jsTreeSet = JSHandle<JSAPITreeSet>::Cast(factory->NewJSObjectWithInit(setCla…
2781 JSHandle<JSAPIVector> jsVector = JSHandle<JSAPIVector>::Cast(factory->NewJSObjectWithInit(vectorCla…
3182 JSHandle<JSSet> jsSet = JSHandle<JSSet>::Cast(factory->NewJSObjectWithInit(setClass));
/arkcompiler/ets_runtime/ecmascript/
Dobject_factory.cpp956 JSHandle<JSObject> obj = NewJSObjectWithInit(jshclass); in NewJSObjectByConstructor()
988 JSHandle<JSObject> obj = NewJSObjectWithInit(jshclass); in NewJSObjectByConstructor()
1000 JSHandle<JSObject> ObjectFactory::NewJSObjectWithInit(const JSHandle<JSHClass> &jshclass) in NewJSObjectWithInit() function in panda::ecmascript::ObjectFactory
1941 …SGeneratorObject> generatorObject = JSHandle<JSGeneratorObject>::Cast(NewJSObjectWithInit(hclass)); in NewJSGeneratorObject()
1958 JSHandle<JSAsyncGeneratorObject>::Cast(NewJSObjectWithInit(hclass)); in NewJSAsyncGeneratorObject()
1967 …SAsyncFuncObject> asyncFuncObject = JSHandle<JSAsyncFuncObject>::Cast(NewJSObjectWithInit(hclass)); in NewJSAsyncFuncObject()
Dobject_factory.h536 JSHandle<JSObject> NewJSObjectWithInit(const JSHandle<JSHClass> &jshclass);