/external/v8/src/heap/ |
D | heap-controller.cc | 129 Heap* heap, size_t current_size, size_t min_size, size_t max_size, in CalculateAllocationLimit() argument 153 CHECK_LT(0, current_size); in CalculateAllocationLimit() 155 Max(static_cast<uint64_t>(current_size * factor), in CalculateAllocationLimit() 156 static_cast<uint64_t>(current_size) + in CalculateAllocationLimit() 161 (static_cast<uint64_t>(current_size) + max_size) / 2; in CalculateAllocationLimit() 167 Trait::kName, current_size / KB, result / KB, factor); in CalculateAllocationLimit()
|
D | memory-measurement.cc | 142 size_t current_size = 0; in MeasurementComplete() local 146 current_size = context_and_size.second; in MeasurementComplete() 153 result_builder.AddCurrent(current_size, current_size, in MeasurementComplete() 154 current_size + shared_size); in MeasurementComplete()
|
D | heap-controller.h | 44 static size_t CalculateAllocationLimit(Heap* heap, size_t current_size,
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_scratch.cpp | 46 if (max_size_in_flight > space->current_size) { in swr_copy_to_scratch_space() 47 space->current_size = max_size_in_flight; in swr_copy_to_scratch_space() 59 space->base = (uint8_t *)AlignedMalloc(space->current_size, in swr_copy_to_scratch_space() 67 >= ((uint8_t *)space->base + space->current_size)) { in swr_copy_to_scratch_space()
|
D | swr_scratch.h | 29 unsigned int current_size; member
|
/external/webp/src/utils/ |
D | bit_writer_utils.c | 210 const size_t current_size = bw->cur_ - bw->buf_; in VP8LBitWriterResize() local 211 const uint64_t size_required_64b = (uint64_t)current_size + extra_size; in VP8LBitWriterResize() 227 if (current_size > 0) { in VP8LBitWriterResize() 228 memcpy(allocated_buf, bw->buf_, current_size); in VP8LBitWriterResize() 232 bw->cur_ = bw->buf_ + current_size; in VP8LBitWriterResize() 244 const size_t current_size = src->cur_ - src->buf_; in VP8LBitWriterClone() local 246 if (!VP8LBitWriterResize(dst, current_size)) return 0; in VP8LBitWriterClone() 247 memcpy(dst->buf_, src->buf_, current_size); in VP8LBitWriterClone() 251 dst->cur_ = dst->buf_ + current_size; in VP8LBitWriterClone()
|
/external/capstone/windows/ |
D | winkernel_mm.c | 72 size_t current_size = 0; in cs_winkernel_realloc() local 84 current_size = CONTAINING_RECORD(ptr, CS_WINKERNEL_MEMBLOCK, data)->size; in cs_winkernel_realloc() 85 smaller_size = (current_size < size) ? current_size : size; in cs_winkernel_realloc()
|
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/spectrum/ |
D | devlink_lib_spectrum.sh | 41 current_size=$(devlink_resource_size_get kvd "$i") 43 if [ "$size" -ne "$current_size" ]; then 52 current_size=$(devlink_resource_size_get kvd linear "$i") 54 if [ "$size" -ne "$current_size" ]; then
|
/external/pdfium/third_party/base/allocator/partition_allocator/ |
D | partition_alloc.cc | 246 size_t current_size = kGenericSmallestBucket; in Init() local 252 bucket->Init(current_size); in Init() 254 if (current_size % kGenericSmallestBucket) in Init() 256 current_size += current_increment; in Init() 261 DCHECK(current_size == 1 << kGenericMaxBucketedOrder); in Init() 306 size_t current_size = page->bucket->slot_size; in PartitionReallocDirectMappedInPlace() local 308 if (new_size == current_size) { in PartitionReallocDirectMappedInPlace() 310 } else if (new_size < current_size) { in PartitionReallocDirectMappedInPlace() 320 size_t decommit_size = current_size - new_size; in PartitionReallocDirectMappedInPlace() 327 size_t recommit_size = new_size - current_size; in PartitionReallocDirectMappedInPlace() [all …]
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | rtp_packet_history.cc | 102 size_t current_size = static_cast<uint16_t>(stored_packets_.size()); in PutRTPPacket() local 103 if (current_size < kMaxHistoryCapacity) { in PutRTPPacket() 104 size_t expanded_size = std::max(current_size * 3 / 2, current_size + 1); in PutRTPPacket() 109 prev_index_ = current_size; in PutRTPPacket()
|
/external/autotest/client/tests/wb_kupdate/ |
D | wb_kupdate.py | 149 current_size = self._get_disk_usage(self.sparse_file) 150 flushed_size = current_size 152 logging.debug('current_size: %s' % current_size) 156 while current_size == flushed_size:
|
/external/v8/src/wasm/ |
D | wasm-serialization.cc | 41 size_t current_size() const { return end_ - pos_; } in current_size() function in v8::internal::wasm::__anona53c846e0111::Writer 43 return {current_location(), current_size()}; in current_buffer() 48 DCHECK_GE(current_size(), sizeof(T)); in Write() 58 DCHECK_GE(current_size(), v.size()); in WriteVector() 84 size_t current_size() const { return end_ - pos_; } in current_size() function in v8::internal::wasm::__anona53c846e0111::Reader 86 return {current_location(), current_size()}; in current_buffer() 91 DCHECK_GE(current_size(), sizeof(T)); in Read() 104 DCHECK_GE(current_size(), size); in ReadVector() 500 return reader->current_size() == 0; in Read()
|
/external/python/cpython3/Modules/_io/ |
D | bufferedio.c | 1515 Py_ssize_t current_size; in _bufferedreader_read_all() local 1519 current_size = Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t); in _bufferedreader_read_all() 1520 if (current_size) { in _bufferedreader_read_all() 1522 self->buffer + self->pos, current_size); in _bufferedreader_read_all() 1525 self->pos += current_size; in _bufferedreader_read_all() 1548 if (current_size == 0) { in _bufferedreader_read_all() 1579 if (current_size == 0) { in _bufferedreader_read_all() 1589 current_size += PyBytes_GET_SIZE(data); in _bufferedreader_read_all() 1607 Py_ssize_t current_size; in _bufferedreader_read_fast() local 1609 current_size = Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t); in _bufferedreader_read_fast() [all …]
|
/external/python/cpython2/Modules/_io/ |
D | bufferedio.c | 1343 Py_ssize_t current_size; in _bufferedreader_read_all() local 1351 current_size = Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t); in _bufferedreader_read_all() 1352 if (current_size) { in _bufferedreader_read_all() 1354 self->buffer + self->pos, current_size); in _bufferedreader_read_all() 1359 self->pos += current_size; in _bufferedreader_read_all() 1394 if (current_size == 0) { in _bufferedreader_read_all() 1405 current_size += PyBytes_GET_SIZE(data); in _bufferedreader_read_all() 1416 Py_ssize_t current_size; in _bufferedreader_read_fast() local 1418 current_size = Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t); in _bufferedreader_read_fast() 1419 if (n <= current_size) { in _bufferedreader_read_fast() [all …]
|
/external/libtextclassifier/native/lang_id/common/flatbuffers/ |
D | embedding-network-params-from-flatbuffer.cc | 218 int current_size = input_size; in ValidityChecking() local 230 if (!GoodLayerGeometry(current_size, weights, bias)) { in ValidityChecking() 234 current_size = weights.cols; in ValidityChecking() 248 if (!GoodLayerGeometry(current_size, weights, bias)) { in ValidityChecking()
|
/external/sfntly/cpp/src/sample/subtly/ |
D | font_assembler.cc | 160 int32_t current_size = loca_table->header_length(); in AssembleGlyphAndLocaTables() local 161 if (previous_size != -1 && current_size != previous_size) { in AssembleGlyphAndLocaTables() 164 previous_size = current_size; in AssembleGlyphAndLocaTables()
|
/external/python/cpython3/Lib/test/ |
D | test_largefile.py | 27 current_size = os.fstat(f.fileno())[stat.ST_SIZE] 28 if current_size == size+1: 31 if current_size == 0:
|
/external/crosvm/qcow_utils/src/ |
D | qcow_utils.rs | 94 let current_size = match disk_image.seek(SeekFrom::End(0)) { in expand_disk_image() localVariable 98 if current_size >= virtual_size { in expand_disk_image()
|
/external/tensorflow/tensorflow/lite/micro/memory_planner/ |
D | greedy_memory_planner.cc | 255 const size_t current_size = entry->offset + requirements->size; in GetMaximumMemorySize() local 256 if (current_size > max_size) { in GetMaximumMemorySize() 257 max_size = current_size; in GetMaximumMemorySize()
|
/external/libchrome/base/metrics/ |
D | histogram_base.cc | 176 void HistogramBase::WriteAsciiBucketGraph(double current_size, in WriteAsciiBucketGraph() argument 180 int x_count = static_cast<int>(k_line_length * (current_size / max_size) in WriteAsciiBucketGraph()
|
/external/igt-gpu-tools/tools/ |
D | intel_vbt_decode.c | 103 uint32_t total, current_size; in find_section() local 121 current_size = _get_blocksize(base + index); in find_section() 124 if (index + current_size > total) in find_section() 129 block->size = current_size; in find_section() 134 index += current_size; in find_section() 1328 uint32_t current_size; in find_panel_sequence_block() local 1345 current_size = *((const uint32_t *)(data + index + 1)); in find_panel_sequence_block() 1347 current_size = *((const uint16_t *)(data + index + 1)); in find_panel_sequence_block() 1351 if (index + current_size > total) { in find_panel_sequence_block() 1357 *seq_size = current_size; in find_panel_sequence_block() [all …]
|
/external/libchrome/base/memory/ |
D | platform_shared_memory_region_posix.cc | 253 const size_t current_size = stat.st_size; in Create() 254 if (current_size != size) { in Create()
|
D | shared_memory_posix.cc | 176 const size_t current_size = stat.st_size; in Create() local 177 if (current_size != options.size) { in Create()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup.c | 1188 const unsigned current_size = MIN2(setup->constants[i].current.buffer_size, in try_update_scene_state() local 1204 if (current_data && current_size >= sizeof(float)) { in try_update_scene_state() 1209 if (setup->constants[i].stored_size != current_size || in try_update_scene_state() 1213 current_size) != 0) { in try_update_scene_state() 1216 stored = lp_scene_alloc(scene, current_size); in try_update_scene_state() 1224 current_size); in try_update_scene_state() 1225 setup->constants[i].stored_size = current_size; in try_update_scene_state()
|
/external/selinux/libselinux/src/ |
D | label_file.c | 418 size_t current_size; in rolling_append() local 423 current_size = strlen(current); in rolling_append() 426 size = current_size + suffix_size; in rolling_append() 427 if (size < current_size || size < suffix_size) in rolling_append() 440 char *to = current + current_size; in rolling_append()
|