Searched refs:propertyCount (Results 1 - 4 of 4) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ |
H A D | object_factory.cpp | 5020 JSHandle<JSTaggedValue> ObjectFactory::CreateJSObjectWithProperties(size_t propertyCount, in CreateJSObjectWithProperties() argument 5024 if (!CanObjectLiteralHClassCache(propertyCount)) { in CreateJSObjectWithProperties() 5025 return CreateLargeJSObjectWithProperties(propertyCount, keys, descs); in CreateJSObjectWithProperties() 5029 int inlineProps = std::max(static_cast<int>(propertyCount), JSHClass::DEFAULT_CAPACITY_OF_IN_OBJECTS); in CreateJSObjectWithProperties() 5031 for (size_t i = 0; i < propertyCount; ++i) { in CreateJSObjectWithProperties() 5053 for (size_t i = 0; i < propertyCount; ++i) { in CreateJSObjectWithProperties() 5059 JSHandle<JSTaggedValue> ObjectFactory::CreateLargeJSObjectWithProperties(size_t propertyCount, in CreateLargeJSObjectWithProperties() argument 5063 ASSERT(!CanObjectLiteralHClassCache(propertyCount)); in CreateLargeJSObjectWithProperties() 5064 if (UNLIKELY(propertyCount > PropertyAttributes::MAX_FAST_PROPS_CAPACITY)) { in CreateLargeJSObjectWithProperties() 5065 return CreateDictionaryJSObjectWithProperties(propertyCount, key in CreateLargeJSObjectWithProperties() 5098 CreateDictionaryJSObjectWithProperties(size_t propertyCount, const Local<JSValueRef> *keys, const PropertyDescriptor *descs) CreateDictionaryJSObjectWithProperties() argument 5133 CreateJSObjectWithNamedProperties(size_t propertyCount, const char **keys, const Local<JSValueRef> *values) CreateJSObjectWithNamedProperties() argument 5167 CreateLargeJSObjectWithNamedProperties(size_t propertyCount, const char **keys, const Local<JSValueRef> *values) CreateLargeJSObjectWithNamedProperties() argument 5201 CreateDictionaryJSObjectWithNamedProperties(size_t propertyCount, const char **keys, const Local<JSValueRef> *values) CreateDictionaryJSObjectWithNamedProperties() argument [all...] |
H A D | object_factory.h | 726 JSHandle<JSTaggedValue> CreateJSObjectWithProperties(size_t propertyCount, const Local<JSValueRef> *keys, 728 JSHandle<JSTaggedValue> CreateJSObjectWithNamedProperties(size_t propertyCount, const char **keys, 980 JSHandle<JSTaggedValue> CreateLargeJSObjectWithProperties(size_t propertyCount, 983 JSHandle<JSTaggedValue> CreateLargeJSObjectWithNamedProperties(size_t propertyCount, const char **keys, 986 JSHandle<JSTaggedValue> CreateDictionaryJSObjectWithProperties(size_t propertyCount, 989 JSHandle<JSTaggedValue> CreateDictionaryJSObjectWithNamedProperties(size_t propertyCount, const char **keys,
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
H A D | jsnapi_expo.cpp | 2473 Local<ObjectRef> ObjectRef::NewWithProperties(const EcmaVM *vm, size_t propertyCount, in NewWithProperties() argument 2481 auto CreateObjImpl = [vm, propertyCount, keys, attributes] (uintptr_t head) -> JSHandle<JSTaggedValue> { in NewWithProperties() 2484 for (size_t i = 0; i < propertyCount; ++i) { in NewWithProperties() 2493 return factory->CreateJSObjectWithProperties(propertyCount, keys, desc); in NewWithProperties() 2495 if (propertyCount <= MAX_PROPERTIES_ON_STACK) { in NewWithProperties() 2499 void *desc = malloc(sizeof(PropertyDescriptor) * propertyCount); in NewWithProperties() 2520 Local<ObjectRef> ObjectRef::NewWithNamedProperties(const EcmaVM *vm, size_t propertyCount, in NewWithNamedProperties() argument 2527 JSHandle<JSTaggedValue> obj = factory->CreateJSObjectWithNamedProperties(propertyCount, keys, values); in NewWithNamedProperties()
|
/arkcompiler/ets_runtime/ecmascript/napi/include/ |
H A D | jsnapi_expo.h | 786 static Local<ObjectRef> NewWithProperties(const EcmaVM *vm, size_t propertyCount, const Local<JSValueRef> *keys, 789 static Local<ObjectRef> NewWithNamedProperties(const EcmaVM *vm, size_t propertyCount, const char **keys,
|
Completed in 28 milliseconds