/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/webrtc/sdk/objc/native/src/ |
D | objc_video_renderer.mm | 27 CGSize current_size = (videoFrame.rotation % 180 == 0) ? 31 if (!CGSizeEqualToSize(size_, current_size)) { 32 size_ = current_size;
|
/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/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/sdk/objc/api/ |
D | RTCVideoRendererAdapter.mm | 31 CGSize current_size = (videoFrame.rotation % 180 == 0) 35 if (!CGSizeEqualToSize(size_, current_size)) { 36 size_ = current_size;
|
/external/tensorflow/tensorflow/lite/delegates/nnapi/ |
D | nnapi_delegate_kernel.h | 64 const int64_t current_size = lite_tensor_to_ann_tensor_.size(); in add_new_ann_tensor_index() local 65 if (tflite_index >= current_size) { in add_new_ann_tensor_index() 86 const int64_t current_size = index_to_type_conversion_.size(); in add_type_conversion() local 87 if (tflite_index >= current_size) { in add_type_conversion()
|
/external/pigweed/pw_protobuf/ |
D | encoder.cc | 201 size_t current_size = *blob_stack_[depth_ - 1]; in IncreaseParentSize() local 207 if (size_bytes > max_size || current_size > max_size - size_bytes) { in IncreaseParentSize() 212 *blob_stack_[depth_ - 1] = current_size + size_bytes; in IncreaseParentSize()
|
/external/crosvm/qcow_utils/src/ |
D | qcow_utils.rs | 88 let current_size = match disk_image.get_len() { in expand_disk_image() localVariable 92 if current_size >= virtual_size { in expand_disk_image()
|
/external/python/cpython3/Modules/_io/ |
D | bufferedio.c | 1517 Py_ssize_t current_size; in _bufferedreader_read_all() local 1521 current_size = Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t); in _bufferedreader_read_all() 1522 if (current_size) { in _bufferedreader_read_all() 1524 self->buffer + self->pos, current_size); in _bufferedreader_read_all() 1527 self->pos += current_size; in _bufferedreader_read_all() 1550 if (current_size == 0) { in _bufferedreader_read_all() 1581 if (current_size == 0) { in _bufferedreader_read_all() 1591 current_size += PyBytes_GET_SIZE(data); in _bufferedreader_read_all() 1609 Py_ssize_t current_size; in _bufferedreader_read_fast() local 1611 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/tensorflow/tensorflow/core/lib/io/ |
D | random_inputstream.cc | 58 int64 current_size = result->size(); in ReadNBytes() local 61 pos_ += result->size() - current_size; in ReadNBytes()
|
/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/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/tensorflow/tensorflow/lite/micro/memory_planner/ |
D | greedy_memory_planner.cc | 302 const size_t current_size = entry->offset + requirements->size; in GetMaximumMemorySize() local 303 if (current_size > max_size) { in GetMaximumMemorySize() 304 max_size = current_size; in GetMaximumMemorySize()
|
/external/python/cpython3/Lib/test/ |
D | test_largefile.py | 31 current_size = os.fstat(f.fileno())[stat.ST_SIZE] 32 if current_size == size+1: 35 if current_size == 0:
|
/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 | 174 const size_t current_size = stat.st_size; in Create() local 175 if (current_size != options.size) { in Create()
|
/external/llvm-project/openmp/runtime/src/ |
D | kmp_dispatch_hier.h | 73 int current_size = size; in append() local 74 KMP_DEBUG_ASSERT(current_size < kmp_hier_layer_e::LAYER_LAST); in append() 75 scheds[current_size] = sched; in append() 76 layers[current_size] = layer; in append() 77 small_chunks[current_size] = chunk; in append() 78 large_chunks[current_size] = (kmp_int64)chunk; in append()
|
/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()
|