Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/tests/
Ddump_test.cpp184 JSHandle<JSMap> jsMap = JSHandle<JSMap>::Cast(factory->NewJSObjectWithInit(mapClass)); in NewJSMap()
193 JSHandle<JSSet> jsSet = JSHandle<JSSet>::Cast(factory->NewJSObjectWithInit(setClass)); in NewJSSet()
204 …JSHandle<JSAPIHashMap> jsHashMap = JSHandle<JSAPIHashMap>::Cast(factory->NewJSObjectWithInit(mapCl… in NewJSAPIHashMap()
215 …JSHandle<JSAPIHashSet> jsHashSet = JSHandle<JSAPIHashSet>::Cast(factory->NewJSObjectWithInit(setCl… in NewJSAPIHashSet()
226 …JSHandle<JSAPITreeMap> jsTreeMap = JSHandle<JSAPITreeMap>::Cast(factory->NewJSObjectWithInit(mapCl… in NewJSAPITreeMap()
237 …JSHandle<JSAPITreeSet> jsTreeSet = JSHandle<JSAPITreeSet>::Cast(factory->NewJSObjectWithInit(setCl… in NewJSAPITreeSet()
248 …inArray> jSAPIPlainArray = JSHandle<JSAPIPlainArray>::Cast(factory->NewJSObjectWithInit(mapClass)); in NewJSAPIPlainArray()
264 …JSHandle<JSAPIList> jsAPIList = JSHandle<JSAPIList>::Cast(factory->NewJSObjectWithInit(listClass)); in NewJSAPIList()
275 …kedList> jsAPILinkedList = JSHandle<JSAPILinkedList>::Cast(factory->NewJSObjectWithInit(mapClass)); in NewJSAPILinkedList()
294 …PIArrayList> jsArrayList = JSHandle<JSAPIArrayList>::Cast(factory->NewJSObjectWithInit(arrayListCl… in NewJSAPIArrayList()
[all …]
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins.cpp607 JSHandle<JSObject> symbolFuncPrototype = factory_->NewJSObjectWithInit(objFuncClass); in InitializeSymbol()
712 JSHandle<JSObject> symbolFuncPrototype = factory_->NewJSObjectWithInit(objFuncInstanceHClass); in InitializeSymbolWithRealm()
867 JSHandle<JSObject> bigIntFuncPrototype = factory_->NewJSObjectWithInit(primRefObjHClass); in InitializeBigInt()
898 JSHandle<JSObject> dateFuncPrototype = factory_->NewJSObjectWithInit(objFuncClass); in InitializeDate()
1042 JSHandle<JSObject> asyncFuncPrototype = factory_->NewJSObjectWithInit(objFuncClass); in InitializeAsyncFunction()
1068 JSHandle<JSObject> errorFuncPrototype = factory_->NewJSObjectWithInit(objFuncClass); in InitializeAllTypeError()
1189 JSHandle<JSObject> nativeErrorFuncPrototype = factory_->NewJSObjectWithInit(objFuncClass); in InitializeError()
1306 JSHandle<JSObject> setFuncPrototype = factory_->NewJSObjectWithInit(objFuncClass); in InitializeSet()
1379 JSHandle<JSObject> mapFuncPrototype = factory_->NewJSObjectWithInit(objFuncClass); in InitializeMap()
1457 JSHandle<JSObject> weakMapFuncPrototype = factory_->NewJSObjectWithInit(objFuncClass); in InitializeWeakMap()
[all …]
/arkcompiler/ets_runtime/ecmascript/
Dobject_factory.h494 JSHandle<JSObject> NewJSObjectWithInit(const JSHandle<JSHClass> &jshclass);
Dobject_factory.cpp878 return NewJSObjectWithInit(jshclass); in NewJSObjectByConstructor()
902 return NewJSObjectWithInit(jshclass); in NewJSObjectByConstructor()
905 JSHandle<JSObject> ObjectFactory::NewJSObjectWithInit(const JSHandle<JSHClass> &jshclass) in NewJSObjectWithInit() function in panda::ecmascript::ObjectFactory
1765 JSHandle<JSAsyncGeneratorObject>::Cast(NewJSObjectWithInit(hclass)); in NewJSAsyncGeneratorObject()
1774 …SAsyncFuncObject> asyncFuncObject = JSHandle<JSAsyncFuncObject>::Cast(NewJSObjectWithInit(hclass)); in NewJSAsyncFuncObject()