/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/node/deps/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 149 CHECK_LT(0, current_size); in CalculateAllocationLimit() 151 std::max(static_cast<uint64_t>(current_size * factor), in CalculateAllocationLimit() 152 static_cast<uint64_t>(current_size) + in CalculateAllocationLimit() 157 (static_cast<uint64_t>(current_size) + max_size) / 2; in CalculateAllocationLimit() 163 Trait::kName, current_size / KB, result / KB, factor); in CalculateAllocationLimit()
|
D | memory-measurement.cc | 141 size_t current_size = 0; in MeasurementComplete() local 145 current_size = context_and_size.second; in MeasurementComplete() 152 result_builder.AddCurrent(current_size, current_size, in MeasurementComplete() 153 current_size + shared_size); in MeasurementComplete()
|
D | heap-controller.h | 44 static size_t CalculateAllocationLimit(Heap* heap, size_t current_size,
|
/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/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/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/gstreamer/gstplugins_bad/gst/mpegtsdemux/ |
D | tsdemux.c | 191 guint current_size; member 1300 stream->current_size - frame_unit.sc_offset); in scan_keyframe_h264() 1309 stream->current_size = gst_byte_writer_get_size (h264infos->sps); in scan_keyframe_h264() 1324 stream->current_size - frame_unit.sc_offset); in scan_keyframe_h264() 1325 h264infos->framedata.size = stream->current_size - frame_unit.sc_offset; in scan_keyframe_h264() 2677 stream->current_size = 0; in gst_ts_demux_stream_flush() 3215 stream->current_size = length; in gst_ts_demux_parse_pes_header() 3310 if (G_UNLIKELY (stream->current_size + size > stream->allocated_size)) { in gst_ts_demux_queue_data() 3314 } while (stream->current_size + size > stream->allocated_size); in gst_ts_demux_queue_data() 3317 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/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/node/deps/v8/src/wasm/ |
D | wasm-serialization.cc | 46 size_t current_size() const { return end_ - pos_; } in current_size() function in v8::internal::wasm::__anon21673fe50111::Writer 48 return {current_location(), current_size()}; in current_buffer() 53 DCHECK_GE(current_size(), sizeof(T)); in Write() 63 DCHECK_GE(current_size(), v.size()); in WriteVector() 89 size_t current_size() const { return end_ - pos_; } in current_size() function in v8::internal::wasm::__anon21673fe50111::Reader 91 return {current_location(), current_size()}; in current_buffer() 96 DCHECK_GE(current_size(), sizeof(T)); in Read() 109 DCHECK_GE(current_size(), size); in ReadVector() 699 return reader->current_size() == 0; in Read()
|
/third_party/jerryscript/jerry-core/ecma/base/ |
D | ecma-helpers-string.c | 2561 header_p->current_size = initial_size; in ecma_stringbuilder_create() 2582 header_p->current_size = initial_size; in ecma_stringbuilder_create_from() 2608 header_p->current_size = initial_size; in ecma_stringbuilder_create_raw() 2631 const lit_utf8_size_t new_size = header_p->current_size + required_size; in ecma_stringbuilder_grow() 2632 header_p = jmem_heap_realloc_block (header_p, header_p->current_size, new_size); in ecma_stringbuilder_grow() 2633 header_p->current_size = new_size; in ecma_stringbuilder_grow() 2640 return ((lit_utf8_byte_t *) header_p) + header_p->current_size - required_size; in ecma_stringbuilder_grow() 2682 JERRY_ASSERT (new_size <= header_p->current_size); in ecma_stringbuilder_revert() 2685 jmem_stats_free_string_bytes (header_p->current_size - new_size); in ecma_stringbuilder_revert() 2688 header_p = jmem_heap_realloc_block (header_p, header_p->current_size, new_size); in ecma_stringbuilder_revert() [all …]
|
D | ecma-globals.h | 1636 lit_utf8_size_t current_size; /**< size of the data in the buffer */ member 1649 ((lit_utf8_size_t) (header_p->current_size - sizeof (ecma_ascii_string_t)))
|
/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/gstreamer/gstplugins_bad/ext/dash/ |
D | gstdashdemux.h | 89 guint64 current_size; member
|
D | gstdashdemux.c | 1488 dashstream->isobmff_parser.current_size = 0; in gst_dash_demux_stream_seek() 2083 dashstream->isobmff_parser.current_size = 0; in gst_dash_demux_stream_advance_fragment() 2270 dashstream->isobmff_parser.current_size = 0; in gst_dash_demux_stream_select_bitrate() 2833 g_assert (dash_stream->isobmff_parser.current_size == 0); in gst_dash_demux_parse_isobmff() 2843 dash_stream->isobmff_parser.current_size = 0; in gst_dash_demux_parse_isobmff() 2856 dash_stream->isobmff_parser.current_size = -1; in gst_dash_demux_parse_isobmff() 2860 dash_stream->isobmff_parser.current_size = size; in gst_dash_demux_parse_isobmff() 2987 dash_stream->isobmff_parser.current_size = 0; in gst_dash_demux_parse_isobmff() 3000 dash_stream->isobmff_parser.current_size); in gst_dash_demux_parse_isobmff() 3008 dash_stream->isobmff_parser.current_size = 0; in gst_dash_demux_parse_isobmff() [all …]
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup.c | 1242 const unsigned current_size = MIN2(setup->constants[i].current.buffer_size, in try_update_scene_state() local 1257 if (current_data && current_size >= sizeof(float)) { in try_update_scene_state() 1262 if (setup->constants[i].stored_size != current_size || in try_update_scene_state() 1266 current_size) != 0) { in try_update_scene_state() 1268 void *stored = lp_scene_alloc(scene, current_size); in try_update_scene_state() 1276 current_size); in try_update_scene_state() 1277 setup->constants[i].stored_size = current_size; in try_update_scene_state()
|
/third_party/selinux/libselinux/src/ |
D | label_file.c | 421 size_t current_size; in rolling_append() local 426 current_size = strlen(current); in rolling_append() 429 size = current_size + suffix_size; in rolling_append() 430 if (size < current_size || size < suffix_size) in rolling_append() 443 char *to = current + current_size; in rolling_append()
|
/third_party/skia/third_party/externals/libwebp/src/dec/ |
D | idec_dec.c | 183 const size_t current_size = MemDataSize(mem) + new_mem_start; in AppendToMemBuffer() local 184 const uint64_t new_size = (uint64_t)current_size + data_size; in AppendToMemBuffer() 189 if (old_base != NULL) memcpy(new_buf, old_base, current_size); in AppendToMemBuffer() 194 mem->end_ = current_size; in AppendToMemBuffer()
|
/third_party/ltp/testcases/kernel/device-drivers/agp/kernel_space/ |
D | str_agp.h | 132 void *current_size; member
|
/third_party/python/Parser/ |
D | tokenizer.c | 329 Py_ssize_t current_size = tok->interactive_src_end - tok->interactive_src_start; in tok_concatenate_interactive_new_line() local 333 new_str = PyMem_Realloc(new_str, current_size + line_size + 1); in tok_concatenate_interactive_new_line() 343 strcpy(new_str + current_size, line); in tok_concatenate_interactive_new_line() 346 tok->interactive_src_end = new_str + current_size + line_size; in tok_concatenate_interactive_new_line()
|