/external/v8/src/ |
D | bit-vector.h | 67 data_length_(SizeFor(length)), in BitVector() 75 data_length_(SizeFor(length_)), in BitVector() 80 static int SizeFor(int length) { in SizeFor() function
|
D | objects.h | 2629 static int SizeFor(int length) { return kHeaderSize + length * kPointerSize; } in SizeFor() function 2632 static int OffsetOfElementAt(int index) { return SizeFor(index); } in OffsetOfElementAt() 2694 inline static int SizeFor(int length) { in SizeFor() function 2704 static int OffsetOfElementAt(int index) { return SizeFor(index); } in OffsetOfElementAt() 4316 static int SizeFor(int length) { in SizeFor() function 4358 static int SizeFor(int length) { in SizeFor() function 4672 return SizeFor(index + kFirstLiteralIndex); in OffsetOfLiteralAt() 5089 static int SizeFor(int body_size) { in SizeFor() function 9000 static int SizeFor(int length) { in SizeFor() function 9039 static int SizeFor(int length) { in SizeFor() function
|
D | objects-inl.h | 3762 return SizeFor(length()); in SeqTwoByteStringSize() 3767 return SizeFor(length()); in SeqOneByteStringSize() 4003 int ByteArray::ByteArraySize() { return SizeFor(this->length()); } in ByteArraySize() 4064 int BytecodeArray::BytecodeArraySize() { return SizeFor(this->length()); } in BytecodeArraySize() 4371 return FixedArray::SizeFor( in SizeFromMap() 4378 return SeqOneByteString::SizeFor( in SizeFromMap() 4394 return SeqTwoByteString::SizeFor( in SizeFromMap() 4398 return FixedDoubleArray::SizeFor( in SizeFromMap() 6458 int Code::CodeSize() { return SizeFor(body_size()); } in CodeSize()
|
D | factory.cc | 1426 int obj_size = Code::SizeFor(body_size); in NewCode()
|
D | objects.cc | 12087 old_size = SeqOneByteString::SizeFor(old_length); in Truncate() 12088 new_size = SeqOneByteString::SizeFor(new_length); in Truncate() 12091 old_size = SeqTwoByteString::SizeFor(old_length); in Truncate() 12092 new_size = SeqTwoByteString::SizeFor(new_length); in Truncate()
|
/external/v8/src/heap/ |
D | objects-visiting.cc | 289 return FixedArray::SizeFor(Context::NEXT_CONTEXT_LINK); in WeakNextOffset() 326 HeapObject::RawField(context, FixedArray::SizeFor(index)); in DoWeakList()
|
D | scavenger.cc | 253 int object_size = FixedArray::SizeFor(length); in EvacuateFixedArray() 262 int object_size = FixedDoubleArray::SizeFor(length); in EvacuateFixedDoubleArray()
|
D | heap.cc | 3021 int size = ByteArray::SizeFor(length); in AllocateByteArray() 3046 int size = BytecodeArray::SizeFor(length); in AllocateBytecodeArray() 3192 int new_size = ByteArray::SizeFor(len - elements_to_trim); in RightTrimFixedArray() 3193 bytes_to_trim = ByteArray::SizeFor(len) - new_size; in RightTrimFixedArray() 3382 int new_obj_size = Code::SizeFor(new_body_size); in CopyCode() 3661 size = SeqOneByteString::SizeFor(chars); in AllocateInternalizedStringImpl() 3664 size = SeqTwoByteString::SizeFor(chars); in AllocateInternalizedStringImpl() 3706 int size = SeqOneByteString::SizeFor(length); in AllocateRawOneByteString() 3730 int size = SeqTwoByteString::SizeFor(length); in AllocateRawTwoByteString() 3750 int size = FixedArray::SizeFor(0); in AllocateEmptyFixedArray() [all …]
|
D | heap-inl.h | 127 int size = SeqOneByteString::SizeFor(str.length()); in AllocateOneByteInternalizedString() 158 int size = SeqTwoByteString::SizeFor(str.length()); in AllocateTwoByteInternalizedString()
|
D | objects-visiting.h | 271 return FixedDoubleArray::SizeFor(length); in INLINE()
|
D | spaces.h | 164 static int SizeFor(int cells_count) { in SizeFor() function
|
/external/v8/test/cctest/heap/ |
D | test-alloc.cc | 64 static const int kLargeObjectSpaceFillerSize = FixedArray::SizeFor( in AllocateAfterFailures()
|
D | test-heap.cc | 1948 int filler_size = static_cast<int>(FixedArray::SizeFor(8192)); in HEAP_TEST() 2280 intptr_t number_of_fillers = (available / FixedArray::SizeFor(32)) - 1; in FillUpNewSpace()
|
/external/v8/src/runtime/ |
D | runtime-regexp.cc | 628 int string_size = ResultSeqString::SizeFor(position); in StringReplaceGlobalRegExpWithEmptyString() 629 int allocated_string_size = ResultSeqString::SizeFor(new_length); in StringReplaceGlobalRegExpWithEmptyString()
|
/external/v8/test/unittests/compiler/ |
D | js-typed-lowering-unittest.cc | 1126 IsFinishRegion(IsAllocate(IsNumberConstant(Context::SizeFor( in TEST_F() 1164 IsFinishRegion(IsAllocate(IsNumberConstant(Context::SizeFor( in TEST_F() 1187 IsFinishRegion(IsAllocate(IsNumberConstant(Context::SizeFor( in TEST_F()
|
/external/v8/src/snapshot/ |
D | serialize.cc | 1870 allocation_size = SeqOneByteString::SizeFor(length); in SerializeExternalString() 1877 allocation_size = SeqTwoByteString::SizeFor(length); in SerializeExternalString()
|
/external/v8/src/compiler/ |
D | js-typed-lowering.cc | 62 ? FixedArray::SizeFor(length) in AllocateArray() 63 : FixedDoubleArray::SizeFor(length); in AllocateArray()
|
/external/v8/src/x87/ |
D | macro-assembler-x87.cc | 1573 Allocate(SeqOneByteString::SizeFor(length), result, scratch1, scratch2, in AllocateOneByteString()
|
/external/v8/src/ia32/ |
D | macro-assembler-ia32.cc | 1607 Allocate(SeqOneByteString::SizeFor(length), result, scratch1, scratch2, in AllocateOneByteString()
|
/external/v8/test/cctest/ |
D | test-heap-profiler.cc | 2328 CHECK_EQ(v8::internal::FixedArray::SizeFor(3), in TEST()
|
/external/v8/src/crankshaft/ |
D | hydrogen.cc | 2733 ? FixedDoubleArray::SizeFor(capacity) in EstablishElementsAllocationSize() 2734 : FixedArray::SizeFor(capacity); in EstablishElementsAllocationSize()
|
/external/v8/src/crankshaft/x64/ |
D | lithium-codegen-x64.cc | 5563 FieldOperand(result, FixedArray::SizeFor(instr->idx()))); in DoForInCacheArray()
|
/external/v8/src/crankshaft/ia32/ |
D | lithium-codegen-ia32.cc | 5371 FieldOperand(result, FixedArray::SizeFor(instr->idx()))); in DoForInCacheArray()
|
/external/v8/src/crankshaft/arm/ |
D | lithium-codegen-arm.cc | 5496 FieldMemOperand(result, FixedArray::SizeFor(instr->idx()))); in DoForInCacheArray()
|
/external/v8/src/crankshaft/mips/ |
D | lithium-codegen-mips.cc | 5529 FieldMemOperand(result, FixedArray::SizeFor(instr->idx()))); in DoForInCacheArray()
|