Home
last modified time | relevance | path

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

/external/v8/src/
Ddata-flow.h92 data_length_(SizeFor(length)), in BitVector()
100 data_length_(SizeFor(length_)), in BitVector()
105 static int SizeFor(int length) { in SizeFor() function
Dspaces-inl.h513 ASSERT(string->address() + StringType::SizeFor(string->length()) == in ShrinkStringAtAllocationBoundary()
516 string->address() + StringType::SizeFor(length); in ShrinkStringAtAllocationBoundary()
Dheap-inl.h81 int size = SeqAsciiString::SizeFor(str.length()); in AllocateAsciiSymbol()
114 int size = SeqTwoByteString::SizeFor(str.length()); in AllocateTwoByteSymbol()
Dheap.cc2688 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 …]
Dobjects.h1970 static int SizeFor(int length) { return kHeaderSize + length * kPointerSize; } in SizeFor() function
1973 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() function
2806 return SizeFor(this->length()); in ByteArraySize()
3457 static int SizeFor(int body_size) { in SizeFor() function
3479 int CodeSize() { return SizeFor(body_size()); } in CodeSize()
5646 static int SizeFor(int length) { in SizeFor() function
5700 static int SizeFor(int length) { in SizeFor() function
Dobjects-inl.h2061 return SizeFor(length()); in SeqTwoByteStringSize()
2066 return SizeFor(length()); in SeqAsciiStringSize()
2355 return SeqAsciiString::SizeFor( in SizeFromMap()
2362 return SeqTwoByteString::SizeFor( in SizeFromMap()
Druntime.cc2799 int string_size = ResultSeqString::SizeFor(position); in StringReplaceRegExpWithEmptyString()
2800 int allocated_string_size = ResultSeqString::SizeFor(new_length); in StringReplaceRegExpWithEmptyString()
/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()
Dtest-heap.cc865 CHECK_EQ(bytes_to_allocate, FixedArray::SizeFor(n_elements)); in TEST()
/external/v8/src/x64/
Dbuiltins-x64.cc924 size += FixedArray::SizeFor(initial_capacity); in AllocateEmptyJSArray()
1026 int size = JSArray::kSize + FixedArray::SizeFor(kPreallocatedArrayElements); in AllocateJSArray()
Dcode-stubs-x64.cc167 int elements_size = (length_ > 0) ? FixedArray::SizeFor(length_) : 0; in Generate()
/external/v8/src/arm/
Dbuiltins-arm.cc113 int size = JSArray::kSize + FixedArray::SizeFor(initial_capacity); in AllocateEmptyJSArray()
198 FixedArray::SizeFor(JSArray::kPreallocatedArrayElements); in AllocateJSArray()
Dcode-stubs-arm.cc142 __ AllocateInNewSpace(FixedArray::SizeFor(length), in Generate()
194 int elements_size = (length_ > 0) ? FixedArray::SizeFor(length_) : 0; in Generate()
/external/v8/src/ia32/
Dbuiltins-ia32.cc860 size += FixedArray::SizeFor(initial_capacity); in AllocateEmptyJSArray()
Dmacro-assembler-ia32.cc958 AllocateInNewSpace(SeqAsciiString::SizeFor(length), in AllocateAsciiString()
Dcode-stubs-ia32.cc174 int elements_size = (length_ > 0) ? FixedArray::SizeFor(length_) : 0; in Generate()