Searched refs:SizeFor (Results 1 – 16 of 16) sorted by relevance
92 data_length_(SizeFor(length)), in BitVector()100 data_length_(SizeFor(length_)), in BitVector()105 static int SizeFor(int length) { in SizeFor() function
513 ASSERT(string->address() + StringType::SizeFor(string->length()) == in ShrinkStringAtAllocationBoundary()516 string->address() + StringType::SizeFor(length); in ShrinkStringAtAllocationBoundary()
81 int size = SeqAsciiString::SizeFor(str.length()); in AllocateAsciiSymbol()114 int size = SeqTwoByteString::SizeFor(str.length()); in AllocateTwoByteSymbol()
2688 int size = ByteArray::SizeFor(length); in AllocateByteArray()2706 int size = ByteArray::SizeFor(length); in AllocateByteArray()2769 int obj_size = Code::SizeFor(body_size); in CreateCode()2853 int new_obj_size = Code::SizeFor(new_body_size); in CopyCode()3500 size = SeqAsciiString::SizeFor(chars); in AllocateInternalSymbol()3506 size = SeqTwoByteString::SizeFor(chars); in AllocateInternalSymbol()3538 int size = SeqAsciiString::SizeFor(length); in AllocateRawAsciiString()3574 int size = SeqTwoByteString::SizeFor(length); in AllocateRawTwoByteString()3605 int size = FixedArray::SizeFor(0); in AllocateEmptyFixedArray()3626 int size = FixedArray::SizeFor(length); in AllocateRawFixedArray()[all …]
1970 static int SizeFor(int length) { return kHeaderSize + length * kPointerSize; } in SizeFor() function1973 static int OffsetOfElementAt(int index) { return SizeFor(index); } in OffsetOfElementAt()2016 return SizeFor(reinterpret_cast<FixedArray*>(object)->length()); in SizeOf()2782 static int SizeFor(int length) { in SizeFor() function2806 return SizeFor(this->length()); in ByteArraySize()3457 static int SizeFor(int body_size) { in SizeFor() function3479 int CodeSize() { return SizeFor(body_size()); } in CodeSize()5646 static int SizeFor(int length) { in SizeFor() function5700 static int SizeFor(int length) { in SizeFor() function
2061 return SizeFor(length()); in SeqTwoByteStringSize()2066 return SizeFor(length()); in SeqAsciiStringSize()2355 return SeqAsciiString::SizeFor( in SizeFromMap()2362 return SeqTwoByteString::SizeFor( in SizeFromMap()
2799 int string_size = ResultSeqString::SizeFor(position); in StringReplaceRegExpWithEmptyString()2800 int allocated_string_size = ResultSeqString::SizeFor(new_length); in StringReplaceRegExpWithEmptyString()
44 static const int kNewSpaceFillerSize = ByteArray::SizeFor(0); in AllocateAfterFailures()69 static const int kOldDataSpaceFillerSize = ByteArray::SizeFor(0); in AllocateAfterFailures()
865 CHECK_EQ(bytes_to_allocate, FixedArray::SizeFor(n_elements)); in TEST()
924 size += FixedArray::SizeFor(initial_capacity); in AllocateEmptyJSArray()1026 int size = JSArray::kSize + FixedArray::SizeFor(kPreallocatedArrayElements); in AllocateJSArray()
167 int elements_size = (length_ > 0) ? FixedArray::SizeFor(length_) : 0; in Generate()
113 int size = JSArray::kSize + FixedArray::SizeFor(initial_capacity); in AllocateEmptyJSArray()198 FixedArray::SizeFor(JSArray::kPreallocatedArrayElements); in AllocateJSArray()
142 __ AllocateInNewSpace(FixedArray::SizeFor(length), in Generate()194 int elements_size = (length_ > 0) ? FixedArray::SizeFor(length_) : 0; in Generate()
860 size += FixedArray::SizeFor(initial_capacity); in AllocateEmptyJSArray()
958 AllocateInNewSpace(SeqAsciiString::SizeFor(length), in AllocateAsciiString()
174 int elements_size = (length_ > 0) ? FixedArray::SizeFor(length_) : 0; in Generate()