Home
last modified time | relevance | path

Searched refs:SizeFor (Results 1 – 25 of 53) sorted by relevance

123

/external/v8/test/cctest/
Dtest-alloc.cc44 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()
Dtest-heap.cc1206 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/
Ddata-flow.h90 data_length_(SizeFor(length)), in BitVector()
98 data_length_(SizeFor(length_)), in BitVector()
103 static int SizeFor(int length) { in SizeFor() function
Dspaces-inl.h325 ASSERT(string->address() + StringType::SizeFor(string->length()) == in ShrinkStringAtAllocationBoundary()
329 string->address() + StringType::SizeFor(length); in ShrinkStringAtAllocationBoundary()
Djson-parser.h539 int string_size = StringType::SizeFor(count); in SlowScanJsonString()
540 int allocated_string_size = StringType::SizeFor(length); in SlowScanJsonString()
Dheap-inl.h114 int size = SeqAsciiString::SizeFor(str.length()); in AllocateAsciiSymbol()
148 int size = SeqTwoByteString::SizeFor(str.length()); in AllocateTwoByteSymbol()
Dobjects-visiting.h298 return FixedDoubleArray::SizeFor(length); in VisitFixedDoubleArray()
Dheap.cc1710 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 …]
Dobjects.h2279 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 …]
Dobjects-inl.h2333 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()
Dspaces.h190 static int SizeFor(int cells_count) { in SizeFor() function
/external/chromium_org/v8/src/
Ddata-flow.h90 data_length_(SizeFor(length)), in BitVector()
98 data_length_(SizeFor(length_)), in BitVector()
103 static int SizeFor(int length) { in SizeFor() function
Dheap.cc1788 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 …]
Dheap-inl.h142 int size = SeqOneByteString::SizeFor(str.length()); in AllocateOneByteInternalizedString()
175 int size = SeqTwoByteString::SizeFor(str.length()); in AllocateTwoByteInternalizedString()
Dobjects-visiting.h322 return FixedDoubleArray::SizeFor(length); in INLINE()
Dobjects.h2955 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 …]
Dobjects-inl.h2971 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/
Dtest-alloc.cc66 static const int kLargeObjectSpaceFillerSize = FixedArray::SizeFor( in AllocateAfterFailures()
Dtest-heap.cc1594 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/
Dstub-cache-x64.cc3623 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()
Dbuiltins-x64.cc986 size += FixedArray::SizeFor(initial_capacity); in AllocateEmptyJSArray()
/external/v8/src/ia32/
Dstub-cache-ia32.cc3869 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()
Dbuiltins-ia32.cc908 size += FixedArray::SizeFor(initial_capacity); in AllocateEmptyJSArray()
/external/v8/src/mips/
Dstub-cache-mips.cc4322 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/
Dstub-cache-arm.cc4268 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()

123