Lines Matching refs:propertyCount
5020 JSHandle<JSTaggedValue> ObjectFactory::CreateJSObjectWithProperties(size_t propertyCount,
5024 if (!CanObjectLiteralHClassCache(propertyCount)) {
5025 return CreateLargeJSObjectWithProperties(propertyCount, keys, descs);
5029 int inlineProps = std::max(static_cast<int>(propertyCount), JSHClass::DEFAULT_CAPACITY_OF_IN_OBJECTS);
5031 for (size_t i = 0; i < propertyCount; ++i) {
5053 for (size_t i = 0; i < propertyCount; ++i) {
5059 JSHandle<JSTaggedValue> ObjectFactory::CreateLargeJSObjectWithProperties(size_t propertyCount,
5063 ASSERT(!CanObjectLiteralHClassCache(propertyCount));
5064 if (UNLIKELY(propertyCount > PropertyAttributes::MAX_FAST_PROPS_CAPACITY)) {
5065 return CreateDictionaryJSObjectWithProperties(propertyCount, keys, descs);
5070 JSHandle<JSHClass> hClassHandle = NewEcmaHClass(JSObject::SIZE, propertyCount, JSType::JS_OBJECT, objFuncProto);
5071 JSHandle<LayoutInfo> layoutHandle = CreateLayoutInfo(propertyCount);
5074 for (size_t i = 0; i < propertyCount; ++i) {
5093 hClassHandle->SetNumberOfProps(propertyCount);
5098 JSHandle<JSTaggedValue> ObjectFactory::CreateDictionaryJSObjectWithProperties(size_t propertyCount,
5102 ASSERT(propertyCount > PropertyAttributes::MAX_FAST_PROPS_CAPACITY);
5111 thread_, NameDictionary::Create(thread_, NameDictionary::ComputeHashTableSize(propertyCount)));
5112 for (size_t i = 0; i < propertyCount; ++i) {
5126 if (UNLIKELY(dict->EntriesCount() != static_cast<int>(propertyCount))) {
5133 JSHandle<JSTaggedValue> ObjectFactory::CreateJSObjectWithNamedProperties(size_t propertyCount, const char **keys,
5136 if (!CanObjectLiteralHClassCache(propertyCount)) {
5137 return CreateLargeJSObjectWithNamedProperties(propertyCount, keys, values);
5141 int inlineProps = std::max(static_cast<int>(propertyCount), JSHClass::DEFAULT_CAPACITY_OF_IN_OBJECTS);
5143 for (size_t i = 0; i < propertyCount; ++i) {
5161 for (size_t i = 0; i < propertyCount; ++i) {
5167 JSHandle<JSTaggedValue> ObjectFactory::CreateLargeJSObjectWithNamedProperties(size_t propertyCount, const char **keys,
5170 ASSERT(!CanObjectLiteralHClassCache(propertyCount));
5171 if (UNLIKELY(propertyCount > PropertyAttributes::MAX_FAST_PROPS_CAPACITY)) {
5172 return CreateDictionaryJSObjectWithNamedProperties(propertyCount, keys, values);
5177 JSHandle<JSHClass> hClassHandle = NewEcmaHClass(JSObject::SIZE, propertyCount, JSType::JS_OBJECT, objFuncProto);
5178 JSHandle<LayoutInfo> layoutHandle = CreateLayoutInfo(propertyCount);
5181 for (size_t i = 0; i < propertyCount; ++i) {
5196 hClassHandle->SetNumberOfProps(propertyCount);
5201 JSHandle<JSTaggedValue> ObjectFactory::CreateDictionaryJSObjectWithNamedProperties(size_t propertyCount,
5205 ASSERT(propertyCount > PropertyAttributes::MAX_FAST_PROPS_CAPACITY);
5214 thread_, NameDictionary::Create(thread_, NameDictionary::ComputeHashTableSize(propertyCount)));
5215 for (size_t i = 0; i < propertyCount; ++i) {
5225 if (UNLIKELY(dict->EntriesCount() != static_cast<int>(propertyCount))) {