Home
last modified time | relevance | path

Searched refs:current_size (Results 1 – 25 of 40) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/swr/
Dswr_scratch.cpp46 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()
Dswr_scratch.h29 unsigned int current_size; member
/external/webp/src/utils/
Dbit_writer_utils.c210 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/
Dwinkernel_mm.c72 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/
Ddevlink_lib_spectrum.sh41 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/
Dobjc_video_renderer.mm27 CGSize current_size = (videoFrame.rotation % 180 == 0) ?
31 if (!CGSizeEqualToSize(size_, current_size)) {
32 size_ = current_size;
/external/autotest/client/tests/wb_kupdate/
Dwb_kupdate.py149 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/
Dpartition_alloc.cc246 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/
DRTCVideoRendererAdapter.mm31 CGSize current_size = (videoFrame.rotation % 180 == 0)
35 if (!CGSizeEqualToSize(size_, current_size)) {
36 size_ = current_size;
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate_kernel.h64 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/
Dencoder.cc201 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/
Dqcow_utils.rs88 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/
Dbufferedio.c1517 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/
Dbufferedio.c1343 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/
Drandom_inputstream.cc58 int64 current_size = result->size(); in ReadNBytes() local
61 pos_ += result->size() - current_size; in ReadNBytes()
/external/libtextclassifier/native/lang_id/common/flatbuffers/
Dembedding-network-params-from-flatbuffer.cc218 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/
Dfont_assembler.cc160 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/
Dhistogram_base.cc176 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/
Dgreedy_memory_planner.cc302 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/
Dtest_largefile.py31 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/
Dintel_vbt_decode.c103 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/
Dplatform_shared_memory_region_posix.cc253 const size_t current_size = stat.st_size; in Create()
254 if (current_size != size) { in Create()
Dshared_memory_posix.cc174 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/
Dkmp_dispatch_hier.h73 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/
Dlp_setup.c1188 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()

12