Home
last modified time | relevance | path

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

123

/external/v8/src/heap/
Dspaces-inl.h267 int size_in_bytes, AllocationAlignment alignment) { in AllocateRawAligned() argument
271 Address new_top = current_top + filler_size + size_in_bytes; in AllocateRawAligned()
283 bool PagedSpace::EnsureLinearAllocationArea(int size_in_bytes) { in EnsureLinearAllocationArea() argument
284 if (allocation_info_.top() + size_in_bytes <= allocation_info_.limit()) { in EnsureLinearAllocationArea()
287 return SlowRefillLinearAllocationArea(size_in_bytes); in EnsureLinearAllocationArea()
290 HeapObject* PagedSpace::AllocateLinearly(int size_in_bytes) { in AllocateLinearly() argument
292 Address new_top = current_top + size_in_bytes; in AllocateLinearly()
299 int* size_in_bytes, AllocationAlignment alignment) { in TryAllocateLinearlyAligned() argument
303 Address new_top = current_top + filler_size + *size_in_bytes; in TryAllocateLinearlyAligned()
308 *size_in_bytes += filler_size; in TryAllocateLinearlyAligned()
[all …]
Dheap-inl.h118 AllocationResult Heap::AllocateRaw(int size_in_bytes, AllocationSpace space, in AllocateRaw() argument
135 bool large_object = size_in_bytes > kMaxRegularHeapObjectSize; in AllocateRaw()
137 size_in_bytes > kMaxNewSpaceHeapObjectSize; in AllocateRaw()
145 allocation = new_lo_space_->AllocateRaw(size_in_bytes); in AllocateRaw()
147 allocation = new_space_->AllocateRaw(size_in_bytes, alignment); in AllocateRaw()
150 OnAllocationEvent(object, size_in_bytes); in AllocateRaw()
159 allocation = lo_space_->AllocateRaw(size_in_bytes, NOT_EXECUTABLE); in AllocateRaw()
161 allocation = old_space_->AllocateRaw(size_in_bytes, alignment); in AllocateRaw()
164 if (size_in_bytes <= code_space()->AreaSize()) { in AllocateRaw()
165 allocation = code_space_->AllocateRawUnaligned(size_in_bytes); in AllocateRaw()
[all …]
Dspaces.h187 void Free(Address address, size_t size_in_bytes, FreeMode mode);
1821 static FreeListCategoryType SelectFreeListCategoryType(size_t size_in_bytes) { in SelectFreeListCategoryType() argument
1822 if (size_in_bytes <= kTiniestListMax) { in SelectFreeListCategoryType()
1824 } else if (size_in_bytes <= kTinyListMax) { in SelectFreeListCategoryType()
1826 } else if (size_in_bytes <= kSmallListMax) { in SelectFreeListCategoryType()
1828 } else if (size_in_bytes <= kMediumListMax) { in SelectFreeListCategoryType()
1830 } else if (size_in_bytes <= kLargeListMax) { in SelectFreeListCategoryType()
1844 size_t Free(Address start, size_t size_in_bytes, FreeMode mode);
1850 V8_WARN_UNUSED_RESULT FreeSpace* Allocate(size_t size_in_bytes,
1966 size_t size_in_bytes) { in SelectFastAllocationFreeListCategoryType() argument
[all …]
Dspaces.cc1650 Page* PagedSpace::RemovePageSafe(int size_in_bytes) { in AllocateChunk() argument
1655 static_cast<int>(FreeList::SelectFreeListCategoryType(size_in_bytes)); in AllocateChunk()
1912 bool PagedSpace::RefillLinearAllocationAreaFromFreeList(size_t size_in_bytes) { in AllocateChunk() argument
1913 DCHECK(IsAligned(size_in_bytes, kPointerSize)); in AllocateChunk()
1921 DCHECK_LT(static_cast<size_t>(limit() - top()), size_in_bytes); in AllocateChunk()
1935 FreeSpace* new_node = free_list_.Allocate(size_in_bytes, &new_node_size); in AllocateChunk()
1938 DCHECK_GE(new_node_size, size_in_bytes); in AllocateChunk()
1952 Address limit = ComputeLimit(start, end, size_in_bytes); in AllocateChunk()
1954 DCHECK_LE(size_in_bytes, limit - start); in AllocateChunk()
2360 bool NewSpace::EnsureAllocation(int size_in_bytes, in AllocateChunk() argument
[all …]
/external/stressapptest/src/
Dadler32memcpy.cc86 bool CalculateAdlerChecksum(uint64 *data64, unsigned int size_in_bytes, in CalculateAdlerChecksum() argument
90 unsigned int count = size_in_bytes / sizeof(data); in CalculateAdlerChecksum()
125 unsigned int size_in_bytes, AdlerChecksum *checksum) { in AdlerMemcpyC() argument
128 unsigned int count = size_in_bytes / sizeof(data); in AdlerMemcpyC()
166 unsigned int size_in_bytes, AdlerChecksum *checksum) { in AdlerMemcpyWarmC() argument
169 unsigned int count = size_in_bytes / sizeof(data); in AdlerMemcpyWarmC()
227 unsigned int size_in_bytes, AdlerChecksum *checksum) { in AdlerMemcpyAsm() argument
264 if ((size_in_bytes >> 19) > 0) { in AdlerMemcpyAsm()
270 uint32 remaining_words = (size_in_bytes % 48) / 4; in AdlerMemcpyAsm()
274 uint32 num_of_48_byte_units = size_in_bytes / 48; in AdlerMemcpyAsm()
[all …]
Dadler32memcpy.h42 bool CalculateAdlerChecksum(uint64 *data64, unsigned int size_in_bytes,
47 unsigned int size_in_bytes, AdlerChecksum *checksum);
52 unsigned int size_in_bytes, AdlerChecksum *checksum);
56 unsigned int size_in_bytes, AdlerChecksum *checksum);
Dworker.h344 unsigned int size_in_bytes,
350 unsigned int size_in_bytes,
355 unsigned int size_in_bytes,
360 unsigned int size_in_bytes);
Dos.cc257 unsigned int size_in_bytes, in AdlerMemcpyWarm() argument
260 return AdlerMemcpyAsm(dstmem, srcmem, size_in_bytes, checksum); in AdlerMemcpyWarm()
262 return AdlerMemcpyWarmC(dstmem, srcmem, size_in_bytes, checksum); in AdlerMemcpyWarm()
Dworker.cc1012 unsigned int size_in_bytes, in AdlerAddrMemcpyC() argument
1018 unsigned int count = size_in_bytes / sizeof(data); in AdlerAddrMemcpyC()
1083 unsigned int size_in_bytes, in AdlerAddrMemcpyWarm() argument
1088 os_->AdlerMemcpyWarm(dstmem64, srcmem64, size_in_bytes, &ignored_checksum); in AdlerAddrMemcpyWarm()
1093 int length = size_in_bytes / kCacheLineSize; in AdlerAddrMemcpyWarm()
1103 AdlerAddrCrcC(srcmem64, size_in_bytes, checksum, pe); in AdlerAddrMemcpyWarm()
1105 TagAddrC(dstmem64, size_in_bytes); in AdlerAddrMemcpyWarm()
1111 unsigned int size_in_bytes) { in TagAddrC() argument
1116 int length = size_in_bytes / wordsize_; in TagAddrC()
1127 unsigned int size_in_bytes, in AdlerAddrCrcC() argument
[all …]
/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/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/tensorflow/tensorflow/stream_executor/rocm/
Drocm_fft.cc221 size_t size_in_bytes; in Initialize() local
226 &size_in_bytes); in Initialize()
236 &size_in_bytes); in Initialize()
246 ROCMFftType(type), &size_in_bytes); in Initialize()
262 if (size_in_bytes != 0) { in Initialize()
264 scratch_allocator->AllocateBytes(stream, size_in_bytes); in Initialize()
307 size_t size_in_bytes; in Initialize() local
312 output_distance, ROCMFftType(type), batch_count, &size_in_bytes); in Initialize()
318 if (size_in_bytes != 0) { in Initialize()
320 scratch_allocator->AllocateBytes(stream, size_in_bytes); in Initialize()
/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.c221 tex->tex.size_in_bytes = 0; in r300_setup_miptree()
256 tex->tex.offset_in_bytes[i] = tex->tex.size_in_bytes; in r300_setup_miptree()
257 tex->tex.size_in_bytes = tex->tex.offset_in_bytes[i] + size; in r300_setup_miptree()
265 u_minify(tex->tex.depth0, i), stride, tex->tex.size_in_bytes, in r300_setup_miptree()
535 tex->b.b.last_level, tex->tex.size_in_bytes, in r300_tex_print_info()
609 if (tex->buf && tex->tex.size_in_bytes > tex->buf->size) { in r300_texture_desc_init()
613 if (tex->tex.size_in_bytes > tex->buf->size) { in r300_texture_desc_init()
619 tex->buf->size, tex->tex.size_in_bytes); in r300_texture_desc_init()
/external/v8/src/snapshot/
Ddeserializer.cc603 int size_in_bytes = source_.GetInt(); in ReadData() local
605 source_.CopyRaw(raw_data_out, size_in_bytes); in ReadData()
607 reinterpret_cast<intptr_t>(current) + size_in_bytes); in ReadData()
614 int size_in_bytes = source_.GetInt(); in ReadData() local
617 size_in_bytes); in ReadData()
730 int size_in_bytes = (data - kFixedRawDataStart) << kPointerSizeLog2; in ReadData() local
731 source_.CopyRaw(raw_data_out, size_in_bytes); in ReadData()
732 current = reinterpret_cast<MaybeObject**>(raw_data_out + size_in_bytes); in ReadData()
/external/u-boot/drivers/mtd/
Dst_smi.c30 unsigned long size_in_bytes; member
40 .size_in_bytes = size \
152 info->size = flash_devices[i].size_in_bytes; in flash_get_size()
/external/compiler-rt/lib/asan/
Dasan_malloc_linux.cc38 static void *AllocateFromLocalPool(uptr size_in_bytes) { in AllocateFromLocalPool() argument
39 uptr size_in_words = RoundUpTo(size_in_bytes, kWordSize) / kWordSize; in AllocateFromLocalPool()
/external/v8/src/objects/
Dfixed-array.h494 static int LengthFor(int size_in_bytes) { in LengthFor() argument
495 DCHECK(IsAligned(size_in_bytes, kPointerSize)); in LengthFor()
496 DCHECK_GE(size_in_bytes, kHeaderSize); in LengthFor()
497 return size_in_bytes - kHeaderSize; in LengthFor()
/external/swiftshader/third_party/LLVM/lib/Support/
DSmallVector.cpp20 size_t CurSizeBytes = size_in_bytes(); in grow_pod()
/external/tensorflow/tensorflow/core/kernels/
Dcudnn_rnn_ops.cc876 int64 size_in_bytes = params[i].size; in RestoreParams() local
877 int64 size = size_in_bytes / sizeof(T); in RestoreParams()
883 SliceDeviceMemory(*data_dst, params[i].offset, size_in_bytes); in RestoreParams()
884 stream->ThenMemcpy(&data_dst_ptr, data_src_ptr, size_in_bytes); in RestoreParams()
1125 int64 size_in_bytes = rnn_desc->ParamsWeightRegions()[i].size; in Compute() local
1126 int64 size = size_in_bytes / sizeof(T); in Compute()
1160 input_ptr, rnn_desc->ParamsWeightRegions()[i].offset, size_in_bytes); in Compute()
1162 stream->ThenMemcpy(&data_dst_ptr, data_src_ptr, size_in_bytes); in Compute()
1170 int64 size_in_bytes = rnn_desc->ParamsBiasRegions()[i].size; in Compute() local
1171 int64 size = size_in_bytes / sizeof(T); in Compute()
[all …]
/external/llvm/lib/Support/
DSmallVector.cpp21 size_t CurSizeBytes = size_in_bytes(); in grow_pod()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DSmallVector.cpp21 size_t CurSizeBytes = size_in_bytes(); in grow_pod()
/external/tensorflow/tensorflow/lite/kernels/
Dsubgraph_test_util.cc359 size_t size_in_bytes = sizeof(int32_t) * num_elements; in CreateConstantInt32Tensor() local
361 int32_t* buffer = reinterpret_cast<int32_t*>(malloc(size_in_bytes)); in CreateConstantInt32Tensor()
368 reinterpret_cast<const char*>(buffer), size_in_bytes), in CreateConstantInt32Tensor()

123