/third_party/jerryscript/jerry-ext/handler/ |
D | handler-assert.c | 63 jerry_length_t current_size = 0; in jerryx_handler_assert_fatal() local 75 current_size, in jerryx_handler_assert_fatal() 76 current_size + copy_size, in jerryx_handler_assert_fatal() 82 current_size += copied_bytes; in jerryx_handler_assert_fatal() 84 while (total_size != current_size); in jerryx_handler_assert_fatal()
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/ |
D | tanh_int8.cc | 46 int current_size = element_size_ - task_id * thread_stride_; in DoActivation() local 47 current_size = MSMIN(thread_stride_, current_size); in DoActivation() 48 if (current_size <= 0) { in DoActivation() 55 TanhInt8(cur_input, cur_output, current_size, &tanh_quant_); in DoActivation()
|
/third_party/ffmpeg/libavformat/ |
D | cdxl.c | 121 uint32_t current_size, video_size, image_size; in cdxl_read_packet() local 141 current_size = AV_RB32(&cdxl->header[2]); in cdxl_read_packet() 163 if (current_size < (uint64_t)audio_size + video_size + CDXL_HEADER_SIZE) in cdxl_read_packet() 187 if (current_size && cdxl->filesize > 0 && audio_size > 0) in cdxl_read_packet() 188 st->duration = (cdxl->filesize / current_size) * audio_size / channels; in cdxl_read_packet() 210 if (current_size && cdxl->filesize > 0) in cdxl_read_packet() 211 st->nb_frames = cdxl->filesize / current_size; in cdxl_read_packet() 233 avio_skip(pb, current_size - audio_size - video_size - CDXL_HEADER_SIZE); in cdxl_read_packet()
|
D | aadec.c | 78 int64_t largest_size = -1, current_size = -1, chapter_pos; in aa_read_header() local 209 current_size = TOC[i].size; in aa_read_header() 210 if (current_size > largest_size) { in aa_read_header() 212 largest_size = current_size; in aa_read_header()
|
/third_party/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
|
/third_party/skia/third_party/externals/libwebp/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()
|
/third_party/flutter/skia/third_party/externals/libwebp/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()
|
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/meta/ |
D | shard_shuffle.cc | 98 uint32_t current_size = 0; in ShuffleFiles() local 101 current_size = shard_sample_cout[shuffle_files[i]]; in ShuffleFiles() 104 current_size = shard_sample_cout[shuffle_files[i]] - start_index; in ShuffleFiles() 106 …ginal_permutation.begin() + start_index, original_permutation.begin() + start_index + current_size, in ShuffleFiles() 108 whole_index += current_size; in ShuffleFiles() 141 auto current_size = shard_sample_cout[i] - start_index; in ShuffleInfile() local 142 …(tasks.permutation_.begin() + start_index, tasks.permutation_.begin() + start_index + current_size, in ShuffleInfile()
|
/third_party/gstreamer/gstplugins_bad/gst/pnm/ |
D | gstpnmdec.c | 112 s->current_size = 0; in gst_pnmdec_flush() 252 target = s->size - s->current_size; in gst_pnmdec_parse_ascii() 261 outdata = map.data + s->current_size; in gst_pnmdec_parse_ascii() 349 s->current_size += i; in gst_pnmdec_parse_ascii() 351 i, s->current_size, s->size); in gst_pnmdec_parse_ascii() 469 s->current_size = 0; in gst_pnmdec_handle_frame() 540 s->current_size += (size * 8); in gst_pnmdec_parse() 542 s->current_size += size; in gst_pnmdec_parse() 546 if (s->size <= s->current_size) { in gst_pnmdec_parse() 579 if (s->size && s->size <= s->current_size) { in gst_pnmdec_finish()
|
D | gstpnmdec.h | 45 guint size, last_val, current_size ; member
|
/third_party/glib/gio/ |
D | gio-tool-move.c | 55 char *current_size, *total_size, *rate; in show_progress() local 62 current_size = g_format_size (current_num_bytes); in show_progress() 68 current_size, total_size, rate); in show_progress() 72 g_free (current_size); in show_progress()
|
D | gio-tool-copy.c | 62 char *current_size, *total_size, *rate; in show_progress() local 69 current_size = g_format_size (current_num_bytes); in show_progress() 74 g_print (_("Transferred %s out of %s (%s/s)"), current_size, total_size, rate); in show_progress() 78 g_free (current_size); in show_progress()
|
/third_party/flutter/engine/flutter/lib/ui/painting/ |
D | image_decoder.cc | 32 static SkISize GetResizedDimensions(SkISize current_size, in GetResizedDimensions() argument 35 if (current_size.isEmpty()) { in GetResizedDimensions() 44 static_cast<double>(current_size.width()) / current_size.height(); in GetResizedDimensions() 56 return current_size; in GetResizedDimensions()
|
/third_party/gstreamer/gstplugins_bad/gst/mpegtsdemux/ |
D | tsdemux.c | 186 guint current_size; member 854 stream->current_size - frame_unit.sc_offset); in scan_keyframe_h264() 863 stream->current_size = gst_byte_writer_get_size (h264infos->sps); in scan_keyframe_h264() 878 stream->current_size - frame_unit.sc_offset); in scan_keyframe_h264() 879 h264infos->framedata.size = stream->current_size - frame_unit.sc_offset; in scan_keyframe_h264() 2149 stream->current_size = 0; in gst_ts_demux_stream_flush() 2675 stream->current_size = length; in gst_ts_demux_parse_pes_header() 2770 if (G_UNLIKELY (stream->current_size + size > stream->allocated_size)) { in gst_ts_demux_queue_data() 2774 } while (stream->current_size + size > stream->allocated_size); in gst_ts_demux_queue_data() 2777 memcpy (stream->data + stream->current_size, data, size); in gst_ts_demux_queue_data() [all …]
|
/third_party/python/Modules/_io/ |
D | bufferedio.c | 1528 Py_ssize_t current_size; in _bufferedreader_read_all() local 1532 current_size = Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t); in _bufferedreader_read_all() 1533 if (current_size) { in _bufferedreader_read_all() 1535 self->buffer + self->pos, current_size); in _bufferedreader_read_all() 1538 self->pos += current_size; in _bufferedreader_read_all() 1561 if (current_size == 0) { in _bufferedreader_read_all() 1592 if (current_size == 0) { in _bufferedreader_read_all() 1602 current_size += PyBytes_GET_SIZE(data); in _bufferedreader_read_all() 1620 Py_ssize_t current_size; in _bufferedreader_read_fast() local 1622 current_size = Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t); in _bufferedreader_read_fast() [all …]
|
/third_party/ffmpeg/libavutil/ |
D | audio_fifo.c | 118 int current_size = av_audio_fifo_size(af); in av_audio_fifo_write() local 120 if (INT_MAX / 2 - current_size < nb_samples) in av_audio_fifo_write() 123 if ((ret = av_audio_fifo_realloc(af, 2 * (current_size + nb_samples))) < 0) in av_audio_fifo_write()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/ |
D | unique_cpu_kernel.h | 336 IndexType current_size = 0; in MergeBuckets() local 341 bucket_offsets[i] = current_size; in MergeBuckets() 342 …auto ret_code = memcpy_s(result->output_ + current_size, (result->input_size_ - current_size) * si… in MergeBuckets() 347 current_size += bucket->output_size_; in MergeBuckets() 349 result->output_size_ = current_size; in MergeBuckets()
|
/third_party/flutter/skia/third_party/externals/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()
|
/third_party/skia/third_party/externals/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()
|
/third_party/weston/clients/ |
D | fullscreen.c | 255 static int current_size = 0; in key_handler() local 286 current_size = (current_size + 1) % 4; in key_handler() 287 fullscreen->width = widths[current_size]; in key_handler() 288 fullscreen->height = heights[current_size]; in key_handler()
|
/third_party/jerryscript/jerry-core/ecma/base/ |
D | ecma-helpers-string.c | 2434 header_p->current_size = initial_size; in ecma_stringbuilder_create() 2455 header_p->current_size = initial_size; in ecma_stringbuilder_create_from() 2481 header_p->current_size = initial_size; in ecma_stringbuilder_create_raw() 2504 const lit_utf8_size_t new_size = header_p->current_size + required_size; in ecma_stringbuilder_grow() 2505 header_p = jmem_heap_realloc_block (header_p, header_p->current_size, new_size); in ecma_stringbuilder_grow() 2506 header_p->current_size = new_size; in ecma_stringbuilder_grow() 2513 return ((lit_utf8_byte_t *) header_p) + header_p->current_size - required_size; in ecma_stringbuilder_grow() 2555 JERRY_ASSERT (new_size <= header_p->current_size); in ecma_stringbuilder_revert() 2558 jmem_stats_free_string_bytes (header_p->current_size - new_size); in ecma_stringbuilder_revert() 2561 header_p = jmem_heap_realloc_block (header_p, header_p->current_size, new_size); in ecma_stringbuilder_revert() [all …]
|
/third_party/python/Lib/test/ |
D | test_largefile.py | 32 current_size = os.fstat(f.fileno())[stat.ST_SIZE] 33 if current_size == size+1: 36 if current_size == 0:
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-glyf-table.hh | 400 glyph (glyph_), current (nullptr), current_size (0) in composite_iter_t() 405 composite_iter_t () : glyph (hb_bytes_t ()), current (nullptr), current_size (0) {} in composite_iter_t() 413 set_next (&StructAtOffset<CompositeGlyphChain> (current, current_size)); in __next__() 424 current_size = 0; in set_next() 431 current_size = 0; in set_next() 436 current_size = size; in set_next() 442 unsigned current_size; member
|
/third_party/flutter/engine/flutter/shell/gpu/ |
D | gpu_surface_gl.cc | 317 auto current_size = in PresentSurface() local 324 current_size, // root surface size in PresentSurface()
|