/external/v8/test/cctest/ |
D | test-alloc.cc | 44 static const int kNewSpaceFillerSize = ByteArray::SizeFor(0); in AllocateAfterFailures() 69 static const int kOldDataSpaceFillerSize = ByteArray::SizeFor(0); in AllocateAfterFailures() 78 static const int kOldPointerSpaceFillerSize = FixedArray::SizeFor( in AllocateAfterFailures() 89 static const int kLargeObjectSpaceFillerSize = FixedArray::SizeFor( in AllocateAfterFailures()
|
D | test-heap.cc | 1206 int filler_size = static_cast<int>(FixedArray::SizeFor(8192)); in TEST() 1267 intptr_t number_of_fillers = (available / FixedArray::SizeFor(1000)) - 10; in FillUpNewSpace()
|
/external/v8/src/ |
D | data-flow.h | 90 data_length_(SizeFor(length)), in BitVector() 98 data_length_(SizeFor(length_)), in BitVector() 103 static int SizeFor(int length) { in SizeFor() function
|
D | spaces-inl.h | 325 ASSERT(string->address() + StringType::SizeFor(string->length()) == in ShrinkStringAtAllocationBoundary() 329 string->address() + StringType::SizeFor(length); in ShrinkStringAtAllocationBoundary()
|
D | json-parser.h | 539 int string_size = StringType::SizeFor(count); in SlowScanJsonString() 540 int allocated_string_size = StringType::SizeFor(length); in SlowScanJsonString()
|
D | heap-inl.h | 114 int size = SeqAsciiString::SizeFor(str.length()); in AllocateAsciiSymbol() 148 int size = SeqTwoByteString::SizeFor(str.length()); in AllocateTwoByteSymbol()
|
D | objects-visiting.h | 298 return FixedDoubleArray::SizeFor(length); in VisitFixedDoubleArray()
|
D | heap.cc | 1710 int object_size = FixedDoubleArray::SizeFor(length); in EvacuateFixedDoubleArray() 3296 int size = ByteArray::SizeFor(length); in AllocateByteArray() 3315 int size = ByteArray::SizeFor(length); in AllocateByteArray() 3378 int obj_size = Code::SizeFor(body_size); in CreateCode() 3468 int new_obj_size = Code::SizeFor(new_body_size); in CopyCode() 4301 size = SeqAsciiString::SizeFor(chars); in AllocateInternalSymbol() 4307 size = SeqTwoByteString::SizeFor(chars); in AllocateInternalSymbol() 4346 int size = SeqAsciiString::SizeFor(length); in AllocateRawAsciiString() 4383 int size = SeqTwoByteString::SizeFor(length); in AllocateRawTwoByteString() 4434 int size = FixedArray::SizeFor(0); in AllocateEmptyFixedArray() [all …]
|
D | objects.h | 2279 static int SizeFor(int length) { return kHeaderSize + length * kPointerSize; } in SizeFor() function 2282 static int OffsetOfElementAt(int index) { return SizeFor(index); } in OffsetOfElementAt() 2320 return SizeFor(reinterpret_cast<FixedArray*>(object)->length()); in SizeOf() 2360 inline static int SizeFor(int length) { in SizeFor() function 2365 static int OffsetOfElementAt(int index) { return SizeFor(index); } in OffsetOfElementAt() 3557 static int SizeFor(int length) { in SizeFor() function 3581 return SizeFor(this->length()); in ByteArraySize() 4395 static int SizeFor(int body_size) { in SizeFor() function 4417 int CodeSize() { return SizeFor(body_size()); } in CodeSize() 7184 static int SizeFor(int length) { in SizeFor() function [all …]
|
D | objects-inl.h | 2333 return SizeFor(length()); in SeqTwoByteStringSize() 2338 return SizeFor(length()); in SeqAsciiStringSize() 2754 return SeqAsciiString::SizeFor( in SizeFromMap() 2764 return SeqTwoByteString::SizeFor( in SizeFromMap() 2768 return FixedDoubleArray::SizeFor( in SizeFromMap()
|
D | spaces.h | 190 static int SizeFor(int cells_count) { in SizeFor() function
|
/external/chromium_org/v8/src/ |
D | data-flow.h | 90 data_length_(SizeFor(length)), in BitVector() 98 data_length_(SizeFor(length_)), in BitVector() 103 static int SizeFor(int length) { in SizeFor() function
|
D | heap.cc | 1788 context, FixedArray::SizeFor(index)); in DoWeakList() 1798 return FixedArray::SizeFor(Context::NEXT_CONTEXT_LINK); in WeakNextOffset() 2327 int object_size = FixedDoubleArray::SizeFor(length); in EvacuateFixedDoubleArray() 4167 int size = ByteArray::SizeFor(length); in AllocateByteArray() 4230 int obj_size = Code::SizeFor(body_size); in CreateCode() 4345 int new_obj_size = Code::SizeFor(new_body_size); in CopyCode() 5173 size = SeqOneByteString::SizeFor(chars); in AllocateInternalizedStringImpl() 5179 size = SeqTwoByteString::SizeFor(chars); in AllocateInternalizedStringImpl() 5222 int size = SeqOneByteString::SizeFor(length); in AllocateRawOneByteString() 5246 int size = SeqTwoByteString::SizeFor(length); in AllocateRawTwoByteString() [all …]
|
D | heap-inl.h | 142 int size = SeqOneByteString::SizeFor(str.length()); in AllocateOneByteInternalizedString() 175 int size = SeqTwoByteString::SizeFor(str.length()); in AllocateTwoByteInternalizedString()
|
D | objects-visiting.h | 322 return FixedDoubleArray::SizeFor(length); in INLINE()
|
D | objects.h | 2955 static int SizeFor(int length) { return kHeaderSize + length * kPointerSize; } in SizeFor() function 2958 static int OffsetOfElementAt(int index) { return SizeFor(index); } in OffsetOfElementAt() 2991 return SizeFor(reinterpret_cast<FixedArray*>(object)->length()); in SizeOf() 3033 inline static int SizeFor(int length) { in SizeFor() function 3041 static int OffsetOfElementAt(int index) { return SizeFor(index); } in OffsetOfElementAt() 3106 inline static int SizeFor(int number_of_int64_entries, in SizeFor() function 4466 static int SizeFor(int length) { in SizeFor() function 4490 return SizeFor(this->length()); in ByteArraySize() 5326 static int SizeFor(int body_size) { in SizeFor() function 5348 int CodeSize() { return SizeFor(body_size()); } in CodeSize() [all …]
|
D | objects-inl.h | 2971 return SizeFor(length()); in SeqTwoByteStringSize() 2976 return SizeFor(length()); in SeqOneByteStringSize() 3521 return SeqOneByteString::SizeFor( in SizeFromMap() 3532 return SeqTwoByteString::SizeFor( in SizeFromMap() 3536 return FixedDoubleArray::SizeFor( in SizeFromMap() 3540 return ConstantPoolArray::SizeFor( in SizeFromMap() 4398 return FixedArray::SizeFor(transitions()->length() + in CanHaveMoreTransitions()
|
/external/chromium_org/v8/test/cctest/ |
D | test-alloc.cc | 66 static const int kLargeObjectSpaceFillerSize = FixedArray::SizeFor( in AllocateAfterFailures()
|
D | test-heap.cc | 1594 int filler_size = static_cast<int>(FixedArray::SizeFor(8192)); in TEST() 1662 intptr_t number_of_fillers = (available / FixedArray::SizeFor(32)) - 1; in FillUpNewSpace() 2785 CHECK_LE(hashtable->SizeFor(hashtable->length()), 13 * kPointerSize); in TEST()
|
/external/v8/src/x64/ |
D | stub-cache-x64.cc | 3623 int size = FixedArray::SizeFor(JSArray::kPreallocatedArrayElements); in GenerateStoreFastElement() 3637 __ movq(FieldOperand(rdi, FixedArray::SizeFor(i)), rbx); in GenerateStoreFastElement() 3641 __ movq(FieldOperand(rdi, FixedArray::SizeFor(0)), rax); in GenerateStoreFastElement() 3756 int size = FixedDoubleArray::SizeFor(JSArray::kPreallocatedArrayElements); in GenerateStoreFastDoubleElement()
|
D | builtins-x64.cc | 986 size += FixedArray::SizeFor(initial_capacity); in AllocateEmptyJSArray()
|
/external/v8/src/ia32/ |
D | stub-cache-ia32.cc | 3869 int size = FixedArray::SizeFor(JSArray::kPreallocatedArrayElements); in GenerateStoreFastElement() 3884 __ mov(FieldOperand(edi, FixedArray::SizeFor(i)), ebx); in GenerateStoreFastElement() 3888 __ mov(FieldOperand(edi, FixedArray::SizeFor(0)), eax); in GenerateStoreFastElement() 4005 int size = FixedDoubleArray::SizeFor(JSArray::kPreallocatedArrayElements); in GenerateStoreFastDoubleElement()
|
D | builtins-ia32.cc | 908 size += FixedArray::SizeFor(initial_capacity); in AllocateEmptyJSArray()
|
/external/v8/src/mips/ |
D | stub-cache-mips.cc | 4322 int size = FixedArray::SizeFor(JSArray::kPreallocatedArrayElements); in GenerateStoreFastElement() 4332 __ sw(scratch, FieldMemOperand(elements_reg, FixedArray::SizeFor(i))); in GenerateStoreFastElement() 4336 __ sw(value_reg, FieldMemOperand(elements_reg, FixedArray::SizeFor(0))); in GenerateStoreFastElement() 4473 int size = FixedDoubleArray::SizeFor(JSArray::kPreallocatedArrayElements); in GenerateStoreFastDoubleElement()
|
/external/v8/src/arm/ |
D | stub-cache-arm.cc | 4268 int size = FixedArray::SizeFor(JSArray::kPreallocatedArrayElements); in GenerateStoreFastElement() 4278 __ str(scratch, FieldMemOperand(elements_reg, FixedArray::SizeFor(i))); in GenerateStoreFastElement() 4282 __ str(value_reg, FieldMemOperand(elements_reg, FixedArray::SizeFor(0))); in GenerateStoreFastElement() 4416 int size = FixedDoubleArray::SizeFor(JSArray::kPreallocatedArrayElements); in GenerateStoreFastDoubleElement()
|