/arkcompiler/ets_runtime/ecmascript/ |
H A D | global_env_constants.cpp | 283 factory->NewEcmaHClass(hClass, JSAPILinkedListIterator::SIZE, JSType::JS_API_LINKED_LIST_ITERATOR)); in InitRootsClassesPartOne() 285 factory->NewEcmaHClass(hClass, JSAPIListIterator::SIZE, JSType::JS_API_LIST_ITERATOR)); in InitRootsClassesPartOne() 287 factory->NewEcmaHClass(hClass, JSAPIPlainArrayIterator::SIZE, JSType::JS_API_PLAIN_ARRAY_ITERATOR)); in InitRootsClassesPartOne() 289 factory->NewEcmaHClass(hClass, JSAPIQueueIterator::SIZE, JSType::JS_API_QUEUE_ITERATOR)); in InitRootsClassesPartOne() 291 factory->NewEcmaHClass(hClass, JSAPIStackIterator::SIZE, JSType::JS_API_STACK_ITERATOR)); in InitRootsClassesPartOne() 293 factory->NewEcmaHClass(hClass, JSAPIVectorIterator::SIZE, JSType::JS_API_VECTOR_ITERATOR)); in InitRootsClassesPartOne() 295 factory->NewEcmaHClass(hClass, JSAPIHashMapIterator::SIZE, JSType::JS_API_HASHMAP_ITERATOR)); in InitRootsClassesPartOne() 297 factory->NewEcmaHClass(hClass, JSAPIHashSetIterator::SIZE, JSType::JS_API_HASHSET_ITERATOR)); in InitRootsClassesPartOne() 299 factory->NewEcmaHClass(hClass, JSAPITreeMapIterator::SIZE, JSType::JS_API_TREEMAP_ITERATOR)); in InitRootsClassesPartOne() 301 factory->NewEcmaHClass(hClas in InitRootsClassesPartOne() [all...] |
H A D | object_factory.cpp | 154 JSHandle<JSHClass> ObjectFactory::NewEcmaHClass(JSHClass *hclass, uint32_t size, JSType type, uint32_t inlinedProps) in NewEcmaHClass() function in panda::ecmascript::ObjectFactory 165 JSHandle<JSHClass> ObjectFactory::NewEcmaHClass(uint32_t size, uint32_t inlinedProps, JSType type, in NewEcmaHClass() function in panda::ecmascript::ObjectFactory 195 JSHandle<JSHClass> ObjectFactory::NewEcmaHClass(uint32_t size, JSType type, uint32_t inlinedProps) in NewEcmaHClass() function in panda::ecmascript::ObjectFactory 197 return NewEcmaHClass(JSHClass::Cast(thread_->GlobalConstants()->GetHClassClass().GetTaggedObject()), in NewEcmaHClass() 462 JSHandle<JSHClass> ObjectFactory::NewEcmaHClass(uint32_t size, JSType type, const JSHandle<JSTaggedValue> &prototype) in NewEcmaHClass() function in panda::ecmascript::ObjectFactory 465 return NewEcmaHClass(size, inlinedProps, type, prototype); in NewEcmaHClass() 468 JSHandle<JSHClass> ObjectFactory::NewEcmaHClass(uint32_t size, uint32_t inlinedProps, JSType type, in NewEcmaHClass() function in panda::ecmascript::ObjectFactory 853 JSHandle<JSHClass> regexpClass = NewEcmaHClass(JSRegExp::SIZE, JSType::JS_REG_EXP, proto); in CreateJSRegExpInstanceClass() 876 JSHandle<JSHClass> arrayClass = NewEcmaHClass(JSArray::SIZE, inlinedProps, JSType::JS_ARRAY, proto); in CreateJSArrayInstanceClass() 904 JSHandle<JSHClass> argumentsClass = NewEcmaHClass(JSArgument in CreateJSArguments() [all...] |
H A D | object_factory.h | 623 JSHandle<JSHClass> NewEcmaHClass(uint32_t size, JSType type, const JSHandle<JSTaggedValue> &prototype); 624 JSHandle<JSHClass> NewEcmaHClass(uint32_t size, uint32_t inlinedProps, JSType type, 628 JSHandle<JSHClass> PUBLIC_API NewEcmaHClass(uint32_t size, JSType type, 631 JSHandle<JSHClass> PUBLIC_API NewEcmaHClass(uint32_t size, uint32_t inlinedProps, JSType type, 722 JSHandle<JSHClass> NewEcmaHClass(JSHClass *hclass, uint32_t size, JSType type,
|
H A D | js_hclass.cpp | 221 newJsHClass = thread->GetEcmaVM()->GetFactory()->NewEcmaHClass(size, type, numInlinedProps); in Clone() 1272 JSHandle<JSHClass> hclass = factory->NewEcmaHClass(size, type, maxNum); in CreateRootHClassFromPGO()
|
H A D | ecma_context.cpp | 79 JSHandle<JSHClass> globalEnvClass = factory_->NewEcmaHClass( in Initialize()
|
H A D | js_function.cpp | 149 JSHandle<JSHClass> hclass = factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_OBJECT, proto); in GetOrCreateInitialJSHClass()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | accessor_data_test.cpp | 40 factory->NewEcmaHClass(JSObject::SIZE, JSType::ACCESSOR_DATA, nullHandle); in HWTEST_F_L0() 49 factory->NewEcmaHClass(JSObject::SIZE, JSType::INTERNAL_ACCESSOR, nullHandle); in HWTEST_F_L0() 76 JSHandle<JSHClass> accClass = factory->NewEcmaHClass(JSObject::SIZE, JSType::ACCESSOR_DATA, nullHandle); in HWTEST_F_L0() 84 factory->NewEcmaHClass(JSObject::SIZE, JSType::INTERNAL_ACCESSOR, nullHandle); in HWTEST_F_L0() 125 JSHandle<JSHClass> accClass = factory->NewEcmaHClass(JSObject::SIZE, JSType::ACCESSOR_DATA, nullHandle); in HWTEST_F_L0() 136 factory->NewEcmaHClass(JSObject::SIZE, JSType::INTERNAL_ACCESSOR, nullHandle); in HWTEST_F_L0() 166 factory->NewEcmaHClass(JSObject::SIZE, JSType::INTERNAL_ACCESSOR, nullPrototypeHandle); in HWTEST_F_L0() 197 factory->NewEcmaHClass(JSObject::SIZE, JSType::COMPLETION_RECORD, nullHandle); in HWTEST_F_L0()
|
H A D | js_hclass_test.cpp | 37 // Call NewEcmaHClass function set object properties in HWTEST_F_L0() 39 factory->NewEcmaHClass(TaggedArray::SIZE, JSType::TAGGED_ARRAY, nullHandle); in HWTEST_F_L0() 58 JSHandle<JSHClass> objectClass = factory->NewEcmaHClass(TaggedArray::SIZE, JSType::TAGGED_ARRAY, nullHandle); in HWTEST_F_L0() 72 objectClass = factory->NewEcmaHClass(MachineCode::SIZE, JSType::MACHINE_CODE_OBJECT, nullHandle); in HWTEST_F_L0() 80 objectClass = factory->NewEcmaHClass(JSObject::SIZE - 1, JSType::JS_OBJECT, nullHandle); in HWTEST_F_L0() 84 objectClass = factory->NewEcmaHClass(JSObject::SIZE + 1, JSType::JS_OBJECT, nullHandle); in HWTEST_F_L0() 88 objectClass = factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_OBJECT, nullHandle); in HWTEST_F_L0() 99 JSHandle<JSHClass> obj1Class = factory->NewEcmaHClass(TaggedArray::SIZE, JSType::LINE_STRING, nullHandle); in HWTEST_F_L0() 100 JSHandle<JSHClass> obj2Class = factory->NewEcmaHClass(TaggedArray::SIZE, JSType::TREE_STRING, nullHandle); in HWTEST_F_L0() 102 factory->NewEcmaHClass(TaggedArra in HWTEST_F_L0() [all...] |
H A D | dump_test.cpp | 223 JSHandle<JSHClass> mapClass = factory->NewEcmaHClass(JSMap::SIZE, JSType::JS_MAP, proto); in NewJSMap() 247 JSHandle<JSHClass> setClass = factory->NewEcmaHClass(JSSet::SIZE, JSType::JS_SET, proto); in NewJSSet() 273 JSHandle<JSHClass> mapClass = factory->NewEcmaHClass(JSAPIHashMap::SIZE, JSType::JS_API_HASH_MAP, proto); in NewJSAPIHashMap() 284 JSHandle<JSHClass> setClass = factory->NewEcmaHClass(JSAPIHashSet::SIZE, JSType::JS_API_HASH_SET, proto); in NewJSAPIHashSet() 295 JSHandle<JSHClass> mapClass = factory->NewEcmaHClass(JSAPITreeMap::SIZE, JSType::JS_API_TREE_MAP, proto); in NewJSAPITreeMap() 306 JSHandle<JSHClass> setClass = factory->NewEcmaHClass(JSAPITreeSet::SIZE, JSType::JS_API_TREE_SET, proto); in NewJSAPITreeSet() 317 JSHandle<JSHClass> mapClass = factory->NewEcmaHClass(JSAPIPlainArray::SIZE, JSType::JS_API_PLAIN_ARRAY, proto); in NewJSAPIPlainArray() 333 JSHandle<JSHClass> listClass = factory->NewEcmaHClass(JSAPIList::SIZE, JSType::JS_API_LIST, proto); in NewJSAPIList() 344 JSHandle<JSHClass> mapClass = factory->NewEcmaHClass(JSAPILinkedList::SIZE, JSType::JS_API_LINKED_LIST, proto); in NewJSAPILinkedList() 363 factory->NewEcmaHClass(JSAPIArrayLis in NewJSAPIArrayList() [all...] |
H A D | transitions_dictionary_test.cpp | 111 JSHandle<JSTaggedValue> value(factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_OBJECT)); in HWTEST_F_L0() 142 JSHandle<JSTaggedValue> value(factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_OBJECT)); in TestCommon() 207 JSHandle<JSTaggedValue> value(factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_OBJECT)); in HWTEST_F_L0()
|
H A D | js_generator_object_test.cpp | 62 factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_GENERATOR_OBJECT, env->GetGeneratorFunctionPrototype()); in HWTEST_F_L0()
|
H A D | tagged_value_test.cpp | 915 JSHandle<JSHClass> hclass = factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_OBJECT, objectFuncPrototype); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/test/fuzztest/publicapilocalregexpref_fuzzer/ |
H A D | publicapilocalregexpref_fuzzer.cpp | 42 JSHandle<JSHClass> jSRegExpClass = factory->NewEcmaHClass(JSRegExp::SIZE, JSType::JS_REG_EXP, proto); in LocalRegExpGetOriginalSourceFuzzTest() 71 JSHandle<JSHClass> jSRegExpClass = factory->NewEcmaHClass(JSRegExp::SIZE, JSType::JS_REG_EXP, proto); in LocalRegExpRefGetOriginalFlagsFuzzTest() 122 JSHandle<JSHClass> jSRegExpClass = factory->NewEcmaHClass(JSRegExp::SIZE, JSType::JS_REG_EXP, proto); in LocalRegExpIsIgnoreCaseFuzzTest() 146 JSHandle<JSHClass> jSRegExpClass = factory->NewEcmaHClass(JSRegExp::SIZE, JSType::JS_REG_EXP, proto); in LocalRegExpIsMultilineFuzzTest() 170 JSHandle<JSHClass> jSRegExpClass = factory->NewEcmaHClass(JSRegExp::SIZE, JSType::JS_REG_EXP, proto); in LocalRegExpIsDotAllFuzzTest() 194 JSHandle<JSHClass> jSRegExpClass = factory->NewEcmaHClass(JSRegExp::SIZE, JSType::JS_REG_EXP, proto); in LocalRegExpIsUtf16FuzzTest() 218 JSHandle<JSHClass> jSRegExpClass = factory->NewEcmaHClass(JSRegExp::SIZE, JSType::JS_REG_EXP, proto); in LocalRegExpIsSticklFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefiscontainer_fuzzer/ |
H A D | jsvaluerefiscontainer_fuzzer.cpp | 50 JSHandle<JSHClass> vectorClass = factory->NewEcmaHClass(JSAPIVector::SIZE, JSType::JS_API_VECTOR, proto); in JSValueRefIsVectorFuzzTest() 89 JSHandle<JSHClass> jSRegExpClass = factory->NewEcmaHClass(JSRegExp::SIZE, JSType::JS_REG_EXP, proto); in JSValueRefIsRegExpFuzzTest() 144 JSHandle<JSHClass> mapClass = factory->NewEcmaHClass(JSAPITreeMap::SIZE, JSType::JS_API_TREE_MAP, proto); in JSValueRefIsTreeMapFuzzTest() 169 JSHandle<JSHClass> setClass = factory->NewEcmaHClass(JSAPITreeSet::SIZE, JSType::JS_API_TREE_SET, proto); in JSValueRefIsTreeSetFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins.cpp | 198 JSHandle<JSHClass> objPrototypeHClass = factory_->NewEcmaHClass(JSObject::SIZE, JSType::JS_OBJECT, nullHandle); in Initialize() 206 factory_->NewEcmaHClass(JSObject::SIZE, JSType::JS_OBJECT, objFuncPrototypeVal); in Initialize() 211 factory_->NewEcmaHClass(JSObject::SIZE, JSType::JS_GLOBAL_OBJECT, 0); in Initialize() 217 factory_->NewEcmaHClass(JSPrimitiveRef::SIZE, JSType::JS_PRIMITIVE_REF, objFuncPrototypeVal); in Initialize() 244 factory_->NewEcmaHClass(JSAsyncGeneratorResNextRetProRstFtn::SIZE, in Initialize() 251 JSHandle<JSHClass> proxyRevocFuncClass = factory_->NewEcmaHClass( in Initialize() 520 factory_->NewEcmaHClass(JSFunction::SIZE, length, JSType::JS_FUNCTION, ObjPrototypeVal, in CreateFunctionPrototypeHClass() 545 factory_->NewEcmaHClass(JSFunction::SIZE, length, JSType::JS_FUNCTION, in CreateFunctionHClass() 660 factory_->NewEcmaHClass(JSFunction::SIZE, JSType::JS_FUNCTION, funcFuncPrototypeValue); in InitializeFunction() 684 factory_->NewEcmaHClass(JSFunctio in InitializeFunction() [all...] |
/arkcompiler/ets_runtime/test/fuzztest/primitiverefgetvalue_fuzzer/ |
H A D | primitiverefgetvalue_fuzzer.cpp | 45 factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_PRIMITIVE_REF, nullHandle); in PrimitiveRefGetValueFuzztest()
|
/arkcompiler/ets_runtime/ecmascript/containers/ |
H A D | containers_private.cpp | 275 factory->NewEcmaHClass(JSAPIArrayList::SIZE, JSType::JS_API_ARRAY_LIST, arrayListFuncPrototypeValue); in InitializeArrayList() 333 factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_ITERATOR, env->GetIteratorPrototype()); in InitializeArrayListIterator() 350 factory->NewEcmaHClass(JSAPILightWeightMap::SIZE, JSType::JS_API_LIGHT_WEIGHT_MAP, mapFuncPrototypeValue); in InitializeLightWeightMap() 405 JSHandle<JSHClass> iteratorClass = factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_ITERATOR, in InitializeLightWeightMapIterator() 425 factory->NewEcmaHClass(JSAPILightWeightSet::SIZE, JSType::JS_API_LIGHT_WEIGHT_SET, funcPrototypeValue); in InitializeLightWeightSet() 491 factory->NewEcmaHClass(JSAPITreeMap::SIZE, JSType::JS_API_TREE_MAP, mapFuncPrototypeValue); in InitializeTreeMap() 548 factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_ITERATOR, env->GetIteratorPrototype()); in InitializeTreeMapIterator() 568 factory->NewEcmaHClass(JSAPITreeSet::SIZE, JSType::JS_API_TREE_SET, setFuncPrototypeValue); in InitializeTreeSet() 622 factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_ITERATOR, env->GetIteratorPrototype()); in InitializeTreeSetIterator() 642 factory->NewEcmaHClass(JSAPIPlainArra in InitializePlainArray() [all...] |
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefismodulenamespace_fuzzer/ |
H A D | jsvaluerefismodulenamespace_fuzzer.cpp | 191 JSHandle<JSHClass> jsClassHandle = factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_PRIMITIVE_REF, nullHandle); in IsJSPrimitiveRefFuzztest() 214 JSHandle<JSHClass> queueClass = factory->NewEcmaHClass(JSAPIQueue::SIZE, JSType::JS_API_QUEUE, proto); in IsDequeFuzztest() 233 JSHandle<JSHClass> jsClassHandle = factory->NewEcmaHClass(JSObject::SIZE, type, nullHandle); in CreateJSValueRef()
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
H A D | jsnapi_second_tests.cpp | 639 JSHandle<JSHClass> mapClass = factory->NewEcmaHClass(JSAPITreeMap::SIZE, JSType::JS_API_TREE_MAP, proto); in HWTEST_F_L0() 662 JSHandle<JSHClass> setClass = factory->NewEcmaHClass(JSAPITreeSet::SIZE, JSType::JS_API_TREE_SET, proto); in HWTEST_F_L0() 685 JSHandle<JSHClass> vectorClass = factory->NewEcmaHClass(JSAPIVector::SIZE, JSType::JS_API_VECTOR, proto); in HWTEST_F_L0() 944 JSHandle<JSHClass> jSRegExpClass = factory->NewEcmaHClass(JSRegExp::SIZE, JSType::JS_REG_EXP, proto); in HWTEST_F_L0()
|
H A D | ffi_workload.cpp | 700 JSHandle<JSHClass> arrayListClass = factory->NewEcmaHClass(JSAPIArrayList::SIZE, JSType::JS_API_ARRAY_LIST, proto); in HWTEST_F_L0() 993 JSHandle<JSHClass> queueClass = factory->NewEcmaHClass(JSAPIDeque::SIZE, JSType::JS_API_DEQUE, proto); in HWTEST_F_L0() 1434 JSHandle<JSHClass> jsClassHandle = factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_PRIMITIVE_REF, nullHandle); in HWTEST_F_L0() 1458 JSHandle<JSHClass> jsClassHandle = factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_DATE_TIME_FORMAT, nullHandle); in HWTEST_F_L0() 1481 factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_RELATIVE_TIME_FORMAT, nullHandle); in HWTEST_F_L0() 1504 JSHandle<JSHClass> jsClassHandle = factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_INTL, nullHandle); in HWTEST_F_L0() 1526 JSHandle<JSHClass> jsClassHandle = factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_NUMBER_FORMAT, nullHandle); in HWTEST_F_L0() 1987 JSHandle<JSHClass> jSRegExpClass = factory->NewEcmaHClass(JSRegExp::SIZE, JSType::JS_REG_EXP, proto); in HWTEST_F_L0() 2012 JSHandle<JSHClass> jSRegExpClass = factory->NewEcmaHClass(JSRegExp::SIZE, JSType::JS_REG_EXP, proto); in HWTEST_F_L0() 2055 JSHandle<JSHClass> jSRegExpClass = factory->NewEcmaHClass(JSRegEx in HWTEST_F_L0() [all...] |
H A D | jsnapi_first_tests.cpp | 1316 factory->NewEcmaHClass(JSFunction::SIZE, JSType::JS_FUNCTION, funcFuncPrototypeValue); in HWTEST_F_L0() 1332 factory->NewEcmaHClass(JSFunction::SIZE, JSType::JS_FUNCTION, funcFuncNoProtoPrototypeValue); in HWTEST_F_L0() 1526 JSHandle<JSHClass> jsClassHandle = factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_PRIMITIVE_REF, nullHandle); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
H A D | class_info_extractor.cpp | 224 hclass = factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_OBJECT, length); in CreatePrototypeHClass() 230 hclass = factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_OBJECT, 0); // without in-obj in CreatePrototypeHClass() 293 hclass = factory->NewEcmaHClass(JSFunction::SIZE, JSType::JS_FUNCTION, length); in CreateConstructorHClass() 299 hclass = factory->NewEcmaHClass(JSFunction::SIZE, JSType::JS_FUNCTION, 0); // without in-obj in CreateConstructorHClass()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
H A D | runtime_stub_list.h | 236 V(NewEcmaHClass) \
|
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/ |
H A D | heap_dump_test.cpp | 193 JSHandle<JSHClass> hclass = factory->NewEcmaHClass(size, type, proto); in NewObject() 768 factory->NewEcmaHClass(JSHClass::SIZE, JSType::HCLASS, proto);
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
H A D | pgo_profiler.cpp | 174 JSHandle<JSHClass> ihc = factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_OBJECT, oldPrototype); in ProfileProtoTransitionPrototype()
|