Searched refs:numOfElements (Results 1 – 5 of 5) sorted by relevance
447 uint32_t numOfElements = obj->GetNumberOfElements(); in GetOwnEnumerableNamesInFastMode() local448 JSHandle<TaggedArray> elementArray = numOfElements > 0 ? JSObject::GetEnumElementKeys( in GetOwnEnumerableNamesInFastMode()449 thread, obj, 0, numOfElements, copyLengthOfElements) : factory->EmptyArray(); in GetOwnEnumerableNamesInFastMode()
186 uint32_t numOfElements = array->GetNumberOfElements(); in SetCapacity() local188 if (newLen < oldLen && numOfElements != 0U) { in SetCapacity()190 JSHandle<TaggedArray> newArr = factory->NewTaggedArray(numOfElements); in SetCapacity()192 for (uint32_t i = numOfElements - 1; i >= newLen; i--) { in SetCapacity()
526 uint32_t numOfElements, uint32_t *keys) in GetEnumElementKeys() argument529 JSHandle<TaggedArray> elementArray = factory->NewTaggedArray(numOfElements); in GetEnumElementKeys()615 uint32_t numOfElements = 0; in GetNumberOfElements() local617 numOfElements = JSPrimitiveRef::Cast(this)->GetStringLength(); in GetNumberOfElements()625 numOfElements++; in GetNumberOfElements()629 numOfElements += static_cast<uint32_t>(NumberDictionary::Cast(elements)->EntriesCount()); in GetNumberOfElements()632 return numOfElements; in GetNumberOfElements()1273 uint32_t numOfElements = obj->GetNumberOfElements(); in GetOwnPropertyKeys() local1274 uint32_t keyLen = numOfElements + obj->GetNumberOfKeys(); in GetOwnPropertyKeys()1278 if (numOfElements > 0) { in GetOwnPropertyKeys()[all …]
596 uint32_t numOfElements, uint32_t *keys);
504 uint32_t numOfElements = obj->GetNumberOfElements(); in SerializeJSONObject() local505 if (numOfElements > 0) { in SerializeJSONObject()