Searched refs:propertyCount (Results 1 – 4 of 4) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ |
D | object_factory.cpp | 4689 JSHandle<JSTaggedValue> ObjectFactory::CreateJSObjectWithProperties(size_t propertyCount, in CreateJSObjectWithProperties() argument 4693 if (propertyCount > MAX_LITERAL_HCLASS_CACHE_SIZE) { in CreateJSObjectWithProperties() 4694 return CreateLargeJSObjectWithProperties(propertyCount, keys, descs); in CreateJSObjectWithProperties() 4698 …int inlineProps = std::max(static_cast<int>(propertyCount), JSHClass::DEFAULT_CAPACITY_OF_IN_OBJEC… in CreateJSObjectWithProperties() 4700 for (size_t i = 0; i < propertyCount; ++i) { in CreateJSObjectWithProperties() 4715 for (size_t i = 0; i < propertyCount; ++i) { in CreateJSObjectWithProperties() 4721 JSHandle<JSTaggedValue> ObjectFactory::CreateLargeJSObjectWithProperties(size_t propertyCount, in CreateLargeJSObjectWithProperties() argument 4725 ASSERT(propertyCount > MAX_LITERAL_HCLASS_CACHE_SIZE); in CreateLargeJSObjectWithProperties() 4726 if (UNLIKELY(propertyCount > PropertyAttributes::MAX_FAST_PROPS_CAPACITY)) { in CreateLargeJSObjectWithProperties() 4727 return CreateDictionaryJSObjectWithProperties(propertyCount, keys, descs); in CreateLargeJSObjectWithProperties() [all …]
|
D | object_factory.h | 681 …JSHandle<JSTaggedValue> CreateJSObjectWithProperties(size_t propertyCount, const Local<JSValueRef>… 683 … JSHandle<JSTaggedValue> CreateJSObjectWithNamedProperties(size_t propertyCount, const char **keys, 766 JSHandle<JSTaggedValue> CreateLargeJSObjectWithProperties(size_t propertyCount, 769 …JSHandle<JSTaggedValue> CreateLargeJSObjectWithNamedProperties(size_t propertyCount, const char **… 772 JSHandle<JSTaggedValue> CreateDictionaryJSObjectWithProperties(size_t propertyCount, 775 …JSHandle<JSTaggedValue> CreateDictionaryJSObjectWithNamedProperties(size_t propertyCount, const ch…
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi_expo.cpp | 1550 Local<ObjectRef> ObjectRef::NewWithProperties(const EcmaVM *vm, size_t propertyCount, in NewWithProperties() argument 1557 …auto CreateObjImpl = [vm, propertyCount, keys, attributes] (uintptr_t head) -> JSHandle<JSTaggedVa… in NewWithProperties() 1560 for (size_t i = 0; i < propertyCount; ++i) { in NewWithProperties() 1569 return factory->CreateJSObjectWithProperties(propertyCount, keys, desc); in NewWithProperties() 1571 if (propertyCount <= MAX_PROPERTIES_ON_STACK) { in NewWithProperties() 1575 void *desc = malloc(sizeof(PropertyDescriptor) * propertyCount); in NewWithProperties() 1583 Local<ObjectRef> ObjectRef::NewWithNamedProperties(const EcmaVM *vm, size_t propertyCount, in NewWithNamedProperties() argument 1589 …JSHandle<JSTaggedValue> obj = factory->CreateJSObjectWithNamedProperties(propertyCount, keys, valu… in NewWithNamedProperties()
|
/arkcompiler/ets_runtime/ecmascript/napi/include/ |
D | jsnapi_expo.h | 636 …static Local<ObjectRef> NewWithProperties(const EcmaVM *vm, size_t propertyCount, const Local<JSVa… 638 …static Local<ObjectRef> NewWithNamedProperties(const EcmaVM *vm, size_t propertyCount, const char …
|