Searched refs:SizeFor (Results 1 - 25 of 52) sorted by relevance

123

/external/v8/src/
H A Ddata-flow.h90 data_length_(SizeFor(length)),
98 data_length_(SizeFor(length_)),
103 static int SizeFor(int length) { function in class:v8::internal::BitVector
H A Dspaces-inl.h325 ASSERT(string->address() + StringType::SizeFor(string->length()) ==
329 string->address() + StringType::SizeFor(length);
H A Djson-parser.h539 int string_size = StringType::SizeFor(count);
540 int allocated_string_size = StringType::SizeFor(length);
H A Dheap-inl.h114 int size = SeqAsciiString::SizeFor(str.length());
148 int size = SeqTwoByteString::SizeFor(str.length());
H A Dobjects-visiting.h298 return FixedDoubleArray::SizeFor(length);
H A Dheap.cc1710 int object_size = FixedDoubleArray::SizeFor(length);
3296 int size = ByteArray::SizeFor(length);
3315 int size = ByteArray::SizeFor(length);
3378 int obj_size = Code::SizeFor(body_size);
3468 int new_obj_size = Code::SizeFor(new_body_size);
4301 size = SeqAsciiString::SizeFor(chars);
4307 size = SeqTwoByteString::SizeFor(chars);
4346 int size = SeqAsciiString::SizeFor(length);
4383 int size = SeqTwoByteString::SizeFor(length);
4434 int size = FixedArray::SizeFor(
[all...]
H A Dobjects.h2279 static int SizeFor(int length) { return kHeaderSize + length * kPointerSize; } function in class:v8::internal::FixedArray
2282 static int OffsetOfElementAt(int index) { return SizeFor(index); }
2320 return SizeFor(reinterpret_cast<FixedArray*>(object)->length());
2360 inline static int SizeFor(int length) { function in class:v8::internal::FixedDoubleArray
2365 static int OffsetOfElementAt(int index) { return SizeFor(index); }
3557 static int SizeFor(int length) { function in class:v8::internal::ByteArray
3581 return SizeFor(this->length());
4395 static int SizeFor(int body_size) { function in class:v8::internal::Code
4417 int CodeSize() { return SizeFor(body_size()); }
7184 static int SizeFor(in
[all...]
H A Dobjects-inl.h2333 return SizeFor(length());
2338 return SizeFor(length());
2754 return SeqAsciiString::SizeFor(
2764 return SeqTwoByteString::SizeFor(
2768 return FixedDoubleArray::SizeFor(
/external/v8/test/cctest/
H A Dtest-alloc.cc44 static const int kNewSpaceFillerSize = ByteArray::SizeFor(0);
69 static const int kOldDataSpaceFillerSize = ByteArray::SizeFor(0);
78 static const int kOldPointerSpaceFillerSize = FixedArray::SizeFor(
89 static const int kLargeObjectSpaceFillerSize = FixedArray::SizeFor(
H A Dtest-heap.cc1206 int filler_size = static_cast<int>(FixedArray::SizeFor(8192));
1267 intptr_t number_of_fillers = (available / FixedArray::SizeFor(1000)) - 10;
/external/chromium_org/v8/src/
H A Ddata-flow.h90 data_length_(SizeFor(length)),
98 data_length_(SizeFor(length_)),
103 static int SizeFor(int length) { function in class:v8::internal::BitVector
H A Dheap.cc1788 context, FixedArray::SizeFor(index));
1798 return FixedArray::SizeFor(Context::NEXT_CONTEXT_LINK);
2327 int object_size = FixedDoubleArray::SizeFor(length);
4167 int size = ByteArray::SizeFor(length);
4230 int obj_size = Code::SizeFor(body_size);
4345 int new_obj_size = Code::SizeFor(new_body_size);
5173 size = SeqOneByteString::SizeFor(chars);
5179 size = SeqTwoByteString::SizeFor(chars);
5222 int size = SeqOneByteString::SizeFor(length);
5246 int size = SeqTwoByteString::SizeFor(lengt
[all...]
H A Dobjects-visiting.h322 return FixedDoubleArray::SizeFor(length);
H A Dheap-inl.h142 int size = SeqOneByteString::SizeFor(str.length());
175 int size = SeqTwoByteString::SizeFor(str.length());
H A Dobjects.h2955 static int SizeFor(int length) { return kHeaderSize + length * kPointerSize; } function in class:v8::internal::FixedArray
2958 static int OffsetOfElementAt(int index) { return SizeFor(index); }
2991 return SizeFor(reinterpret_cast<FixedArray*>(object)->length());
3033 inline static int SizeFor(int length) { function in class:v8::internal::FixedDoubleArray
3041 static int OffsetOfElementAt(int index) { return SizeFor(index); }
3106 inline static int SizeFor(int number_of_int64_entries, function in class:v8::internal::ConstantPoolArray
4466 static int SizeFor(int length) { function in class:v8::internal::ByteArray
4490 return SizeFor(this->length());
5326 static int SizeFor(int body_size) { function in class:v8::internal::Code
5348 int CodeSize() { return SizeFor(body_siz
8897 static int SizeFor(int length) { function in class:v8::SeqOneByteString
8939 static int SizeFor(int length) { function in class:v8::SeqTwoByteString
[all...]
H A Dobjects-inl.h2971 return SizeFor(length());
2976 return SizeFor(length());
3521 return SeqOneByteString::SizeFor(
3532 return SeqTwoByteString::SizeFor(
3536 return FixedDoubleArray::SizeFor(
3540 return ConstantPoolArray::SizeFor(
4398 return FixedArray::SizeFor(transitions()->length() +
H A Dspaces.h189 static int SizeFor(int cells_count) { function in class:v8::internal::Bitmap
/external/chromium_org/v8/test/cctest/
H A Dtest-alloc.cc66 static const int kLargeObjectSpaceFillerSize = FixedArray::SizeFor(
H A Dtest-heap.cc1594 int filler_size = static_cast<int>(FixedArray::SizeFor(8192));
1662 intptr_t number_of_fillers = (available / FixedArray::SizeFor(32)) - 1;
2785 CHECK_LE(hashtable->SizeFor(hashtable->length()), 13 * kPointerSize);
/external/v8/src/ia32/
H A Dstub-cache-ia32.cc3869 int size = FixedArray::SizeFor(JSArray::kPreallocatedArrayElements);
3884 __ mov(FieldOperand(edi, FixedArray::SizeFor(i)), ebx);
3888 __ mov(FieldOperand(edi, FixedArray::SizeFor(0)), eax);
4005 int size = FixedDoubleArray::SizeFor(JSArray::kPreallocatedArrayElements);
H A Dbuiltins-ia32.cc908 size += FixedArray::SizeFor(initial_capacity);
/external/v8/src/x64/
H A Dstub-cache-x64.cc3623 int size = FixedArray::SizeFor(JSArray::kPreallocatedArrayElements);
3637 __ movq(FieldOperand(rdi, FixedArray::SizeFor(i)), rbx);
3641 __ movq(FieldOperand(rdi, FixedArray::SizeFor(0)), rax);
3756 int size = FixedDoubleArray::SizeFor(JSArray::kPreallocatedArrayElements);
/external/v8/src/arm/
H A Dstub-cache-arm.cc4268 int size = FixedArray::SizeFor(JSArray::kPreallocatedArrayElements);
4278 __ str(scratch, FieldMemOperand(elements_reg, FixedArray::SizeFor(i)));
4282 __ str(value_reg, FieldMemOperand(elements_reg, FixedArray::SizeFor(0)));
4416 int size = FixedDoubleArray::SizeFor(JSArray::kPreallocatedArrayElements);
H A Dbuiltins-arm.cc123 size += FixedArray::SizeFor(initial_capacity);
/external/v8/src/mips/
H A Dstub-cache-mips.cc4322 int size = FixedArray::SizeFor(JSArray::kPreallocatedArrayElements);
4332 __ sw(scratch, FieldMemOperand(elements_reg, FixedArray::SizeFor(i)));
4336 __ sw(value_reg, FieldMemOperand(elements_reg, FixedArray::SizeFor(0)));
4473 int size = FixedDoubleArray::SizeFor(JSArray::kPreallocatedArrayElements);

Completed in 1788 milliseconds

123