Lines Matching refs:factory

71         ObjectFactory *factory = thread->GetEcmaVM()->GetFactory();
75 factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), constructor));
76 JSHandle<TaggedArray> taggedArray = factory->NewTaggedArray(JSAPIArrayList::DEFAULT_CAPACITY_LENGTH);
83 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory();
87 factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), constructor));
88 JSHandle<JSTaggedValue> keyArray = JSHandle<JSTaggedValue>(factory->NewTaggedArray(g_defaultSize));
89 JSHandle<JSTaggedValue> valueArray = JSHandle<JSTaggedValue>(factory->NewTaggedArray(g_defaultSize));
97 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory();
100 JSHandle<JSAPIDeque> deque(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), constructor));
101 JSHandle<TaggedArray> newElements = factory->NewTaggedArray(JSAPIDeque::DEFAULT_CAPACITY_LENGTH);
108 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory();
111 JSHandle<JSAPIHashMap> map(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), constructor));
120 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory();
123 JSHandle<JSAPIHashSet> set(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), constructor));
132 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory();
136 factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), constructor));
137 JSHandle<JSTaggedValue> hashArray = JSHandle<JSTaggedValue>(factory->NewTaggedArray(g_defaultSize));
138 JSHandle<JSTaggedValue> keyArray = JSHandle<JSTaggedValue>(factory->NewTaggedArray(g_defaultSize));
139 JSHandle<JSTaggedValue> valueArray = JSHandle<JSTaggedValue>(factory->NewTaggedArray(g_defaultSize));
149 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory();
153 factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), constructor));
154 JSHandle<JSTaggedValue> hashArray = JSHandle<JSTaggedValue>(factory->NewTaggedArray(g_defaultSize));
155 JSHandle<JSTaggedValue> valueArray = JSHandle<JSTaggedValue>(factory->NewTaggedArray(g_defaultSize));
164 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory();
169 factory->NewJSObjectByConstructor(JSHandle<JSFunction>(contianer), contianer));
177 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory();
180 JSHandle<JSAPIList> list(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), constructor));
188 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory();
191 JSHandle<JSAPIQueue> jsQueue(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), constructor));
192 JSHandle<TaggedArray> newElements = factory->NewTaggedArray(capacaty);
202 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory();
206 JSHandle<JSAPIStack> jsStack(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), constructor));
213 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory();
218 factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), constructor));