Home
last modified time | relevance | path

Searched refs:size_in_bytes (Results 1 – 25 of 33) sorted by relevance

12

/external/v8/src/heap/
Dspaces-inl.h314 HeapObject* PagedSpace::AllocateLinearly(int size_in_bytes) { in AllocateLinearly() argument
316 Address new_top = current_top + size_in_bytes; in AllocateLinearly()
325 int size_in_bytes, AllocationAlignment alignment) { in AllocateRawAligned() argument
329 Address new_top = current_top + filler_size + size_in_bytes; in AllocateRawAligned()
342 HeapObject* PagedSpace::AllocateLinearlyAligned(int* size_in_bytes, in AllocateLinearlyAligned() argument
347 Address new_top = current_top + filler_size + *size_in_bytes; in AllocateLinearlyAligned()
352 *size_in_bytes += filler_size; in AllocateLinearlyAligned()
362 AllocationResult PagedSpace::AllocateRawUnaligned(int size_in_bytes) { in AllocateRawUnaligned() argument
363 HeapObject* object = AllocateLinearly(size_in_bytes); in AllocateRawUnaligned()
366 object = free_list_.Allocate(size_in_bytes); in AllocateRawUnaligned()
[all …]
Dspaces.cc990 FreeSpace* PagedSpace::TryRemoveMemory(intptr_t size_in_bytes) { in AllocateChunk() argument
991 FreeSpace* free_space = free_list()->TryRemoveMemory(size_in_bytes); in AllocateChunk()
1544 void NewSpace::UpdateInlineAllocationLimit(int size_in_bytes) { in AllocateChunk() argument
1548 Address new_top = allocation_info_.top() + size_in_bytes; in AllocateChunk()
1557 Address new_top = allocation_info_.top() + size_in_bytes; in AllocateChunk()
1613 bool NewSpace::EnsureAllocation(int size_in_bytes, in AllocateChunk() argument
1618 int aligned_size_in_bytes = size_in_bytes + filler_size; in AllocateChunk()
1631 aligned_size_in_bytes = size_in_bytes + filler_size; in AllocateChunk()
1643 InlineAllocationStep(new_top, new_top, soon_object, size_in_bytes); in AllocateChunk()
2360 FreeSpace* FreeListCategory::PickNodeFromList(int size_in_bytes, in AllocateChunk() argument
[all …]
Dheap-inl.h194 AllocationResult Heap::AllocateRaw(int size_in_bytes, AllocationSpace space, in AllocateRaw() argument
208 bool large_object = size_in_bytes > Page::kMaxRegularHeapObjectSize; in AllocateRaw()
215 allocation = new_space_.AllocateRaw(size_in_bytes, alignment); in AllocateRaw()
217 OnAllocationEvent(object, size_in_bytes); in AllocateRaw()
226 allocation = lo_space_->AllocateRaw(size_in_bytes, NOT_EXECUTABLE); in AllocateRaw()
228 allocation = old_space_->AllocateRaw(size_in_bytes, alignment); in AllocateRaw()
231 if (size_in_bytes <= code_space()->AreaSize()) { in AllocateRaw()
232 allocation = code_space_->AllocateRawUnaligned(size_in_bytes); in AllocateRaw()
234 allocation = lo_space_->AllocateRaw(size_in_bytes, EXECUTABLE); in AllocateRaw()
238 allocation = lo_space_->AllocateRaw(size_in_bytes, NOT_EXECUTABLE); in AllocateRaw()
[all …]
Dspaces.h1567 void ExpandSpace(int size_in_bytes) { in ExpandSpace() argument
1568 capacity_ += size_in_bytes; in ExpandSpace()
1569 size_ += size_in_bytes; in ExpandSpace()
1579 void ShrinkSpace(int size_in_bytes) { in ShrinkSpace() argument
1580 capacity_ -= size_in_bytes; in ShrinkSpace()
1581 size_ -= size_in_bytes; in ShrinkSpace()
1586 void AllocateBytes(intptr_t size_in_bytes) { in AllocateBytes() argument
1587 size_ += size_in_bytes; in AllocateBytes()
1592 void DeallocateBytes(intptr_t size_in_bytes) { in DeallocateBytes() argument
1593 size_ -= size_in_bytes; in DeallocateBytes()
[all …]
Dmark-compact.cc1662 inline AllocationResult AllocateInNewSpace(int size_in_bytes, in AllocateInNewSpace() argument
1666 heap_->new_space()->AllocateRawSynchronized(size_in_bytes, alignment); in AllocateInNewSpace()
1671 allocation = heap_->new_space()->AllocateRawSynchronized(size_in_bytes, in AllocateInNewSpace()
1681 inline AllocationResult AllocateInOldSpace(int size_in_bytes, in AllocateInOldSpace() argument
1684 heap_->old_space()->AllocateRaw(size_in_bytes, alignment); in AllocateInOldSpace()
1692 inline AllocationResult AllocateInLab(int size_in_bytes, in AllocateInLab() argument
1701 allocation = buffer_.AllocateRawAligned(size_in_bytes, alignment); in AllocateInLab()
1707 allocation = buffer_.AllocateRawAligned(size_in_bytes, alignment); in AllocateInLab()
Dheap.h1029 inline void OnAllocationEvent(HeapObject* object, int size_in_bytes);
1033 int size_in_bytes);
2019 int size_in_bytes, AllocationSpace space,
/external/libhevc/decoder/
Dihevcd_debug.h131 #define DUMP_QP(pu1_qp, size_in_bytes) ihevcd_debug_dump_qp(pu1_qp, size_in_bytes) argument
132 …_QP_CONST_IN_CTB(pu1_qp_const_in_ctb, size_in_bytes) ihevcs_dump_qp_const_in_ctb(pu1_qp_const_in_c… argument
133 …OP_FILTER(pu1_pic_no_loop_filter, size_in_bytes) ihevcd_debug_dump_no_loop_filter(pu1_pic_no_loop_… argument
140 #define DUMP_QP(pu1_qp, size_in_bytes) argument
141 #define DUMP_QP_CONST_IN_CTB(pu1_qp_const_in_ctb, size_in_bytes) argument
142 #define DUMP_NO_LOOP_FILTER(pu1_pic_no_loop_filter, size_in_bytes) argument
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/glacier/
Dutils.py34 def minimum_part_size(size_in_bytes, default_part_size=DEFAULT_PART_SIZE): argument
60 if (default_part_size * MAXIMUM_NUMBER_OF_PARTS) < size_in_bytes:
61 if size_in_bytes > (4096 * _MEGABYTE * 10000):
62 raise ValueError("File size too large: %s" % size_in_bytes)
63 min_part_size = size_in_bytes / 10000
/external/webrtc/webrtc/modules/audio_device/
Dfine_audio_buffer.cc115 size_t size_in_bytes, in DeliverRecordedData() argument
121 if (record_write_pos_ + size_in_bytes > required_record_buffer_size_bytes_) { in DeliverRecordedData()
131 memcpy(record_cache_buffer_.get() + record_write_pos_, buffer, size_in_bytes); in DeliverRecordedData()
132 record_write_pos_ += size_in_bytes; in DeliverRecordedData()
133 record_cached_bytes_ += size_in_bytes; in DeliverRecordedData()
Dfine_audio_buffer.h67 size_t size_in_bytes,
/external/webrtc/webrtc/modules/desktop_capture/mac/
Dscoped_pixel_buffer_object.cc27 int size_in_bytes) { in Init() argument
33 glBufferDataARB(GL_PIXEL_PACK_BUFFER_ARB, size_in_bytes, NULL, in Init()
Dscoped_pixel_buffer_object.h27 bool Init(CGLContextObj cgl_context, int size_in_bytes);
/external/mesa3d/src/gallium/drivers/r300/
Dr300_texture_desc.c225 tex->tex.size_in_bytes = 0; in r300_setup_miptree()
260 tex->tex.offset_in_bytes[i] = tex->tex.size_in_bytes; in r300_setup_miptree()
261 tex->tex.size_in_bytes = tex->tex.offset_in_bytes[i] + size; in r300_setup_miptree()
269 u_minify(tex->tex.depth0, i), stride, tex->tex.size_in_bytes, in r300_setup_miptree()
473 tex->b.b.last_level, tex->tex.size_in_bytes, in r300_tex_print_info()
513 if (tex->buf && tex->tex.size_in_bytes > tex->buf->size) { in r300_texture_desc_init()
517 if (tex->tex.size_in_bytes > tex->buf->size) { in r300_texture_desc_init()
523 tex->buf->size, tex->tex.size_in_bytes); in r300_texture_desc_init()
Dr300_context.h362 unsigned size_in_bytes; member
Dr300_texture.c986 tex->buf = rws->buffer_create(rws, tex->tex.size_in_bytes, 2048, in r300_texture_create_object()
/external/libchrome/base/trace_event/
Dprocess_memory_maps_dump_provider_unittest.cc147 EXPECT_EQ(0x004be000UL - 0x00400000UL, regions_1[0].size_in_bytes); in TEST()
158 EXPECT_EQ(0xff800000UL - 0xff000000UL, regions_1[1].size_in_bytes); in TEST()
178 EXPECT_EQ(0x7fe7ce7a8000UL - 0x7fe7ce79c000UL, regions_2[0].size_in_bytes); in TEST()
Dprocess_memory_maps.cc21 size_in_bytes(0), in VMRegion()
46 value->SetString("sz", StringPrintf(kHexFmt, region.size_in_bytes)); in AsValueInto()
Dprocess_memory_maps_dump_provider.cc40 region->size_in_bytes = end_addr - region->start_address; in ParseSmapsHeader()
43 region->size_in_bytes = 0; in ParseSmapsHeader()
Dprocess_memory_maps.h32 uint64_t size_in_bytes; member
/external/v8/test/cctest/heap/
Dtest-lab.cc16 static Address AllocateLabBackingStore(Heap* heap, intptr_t size_in_bytes) { in AllocateLabBackingStore() argument
18 static_cast<int>(size_in_bytes), kDoubleAligned); in AllocateLabBackingStore()
43 intptr_t size_in_bytes, in AllocateFromLab() argument
47 lab->AllocateRawAligned(static_cast<int>(size_in_bytes), alignment); in AllocateFromLab()
49 heap->CreateFillerObjectAt(obj->address(), static_cast<int>(size_in_bytes)); in AllocateFromLab()
/external/v8/src/crankshaft/
Dhydrogen-escape-analysis.cc50 int size_in_bytes = allocate->size()->GetInteger32Constant(); in CollectCapturedValues() local
51 if (HasNoEscapingUses(instr, size_in_bytes)) { in CollectCapturedValues()
300 int size_in_bytes = allocate->size()->GetInteger32Constant(); in PerformScalarReplacement() local
301 number_of_values_ = size_in_bytes / kPointerSize; in PerformScalarReplacement()
/external/llvm/lib/Support/
DSmallVector.cpp21 size_t CurSizeBytes = size_in_bytes(); in grow_pod()
/external/parameter-framework/asio-1.10.6/include/asio/
Dbuffer.hpp644 inline mutable_buffers_1 buffer(void* data, std::size_t size_in_bytes) in buffer() argument
646 return mutable_buffers_1(mutable_buffer(data, size_in_bytes)); in buffer()
654 std::size_t size_in_bytes) in buffer() argument
656 return const_buffers_1(const_buffer(data, size_in_bytes)); in buffer()
/external/v8/src/snapshot/
Dserialize.cc1168 int size_in_bytes = source_.GetInt(); in ReadData() local
1170 source_.CopyRaw(raw_data_out, size_in_bytes); in ReadData()
1237 int size_in_bytes = (data - kFixedRawDataStart) << kPointerSizeLog2; in ReadData() local
1238 source_.CopyRaw(raw_data_out, size_in_bytes); in ReadData()
1239 current = reinterpret_cast<Object**>(raw_data_out + size_in_bytes); in ReadData()
/external/vixl/src/vixl/a64/
Dsimulator-a64.cc506 int size_in_bytes) { in PrintRegisterRawHelper() argument
512 unsigned padding_chars = (kXRegSizeInBytes - size_in_bytes) * 2; in PrintRegisterRawHelper()
516 switch (size_in_bytes) { in PrintRegisterRawHelper()
542 bits &= kXRegMask >> ((kXRegSizeInBytes - size_in_bytes) * 8); in PrintRegisterRawHelper()
545 int chars = size_in_bytes * 2; in PrintRegisterRawHelper()

12