/third_party/mesa3d/src/freedreno/decode/ |
D | crashdec-hfi.c | 56 uint32_t read_index; member 385 is_valid_decode_start(struct a6xx_hfi_state *hfi, unsigned qidx, int32_t read_index) in is_valid_decode_start() argument 393 if (read_index < 0) in is_valid_decode_start() 396 while (read_index != queue->write_index) { in is_valid_decode_start() 397 uint32_t hdr = dw[read_index]; in is_valid_decode_start() 409 int remaining = ((read_index + sz) + (queue->size - 1) - in is_valid_decode_start() 421 read_index = (read_index + sz) % queue->size; in is_valid_decode_start() 428 decode_hfi(struct a6xx_hfi_state *hfi, unsigned qidx, int32_t read_index) in decode_hfi() argument 435 while (read_index != queue->write_index) { in decode_hfi() 436 uint32_t hdr = dw[read_index]; in decode_hfi() [all …]
|
/third_party/pulseaudio/src/pulsecore/ |
D | memblockq.c | 52 int64_t read_index, write_index; member 82 bq->read_index = bq->write_index = idx; in pa_memblockq_new() 135 while (PA_UNLIKELY(bq->current_read->index > bq->read_index)) in fix_current_read() 143 … PA_UNLIKELY(bq->current_read->index + (int64_t) bq->current_read->chunk.length <= bq->read_index)) in fix_current_read() 217 boundary = bq->read_index - (int64_t) bq->maxrewind; in drop_backlog() 228 if (bq->read_index > bq->write_index) { in can_push() 229 int64_t d = bq->read_index - bq->write_index; in can_push() 241 if (bq->write_index + (int64_t) l - bq->read_index > (int64_t) bq->maxlength) in can_push() 269 delta = bq->read_index - old_read_index; in read_index_changed() 450 return bq->prebuf > 0 && bq->read_index >= bq->write_index; in pa_memblockq_prebuf_active() [all …]
|
D | protocol-native.c | 147 int64_t read_index, write_index; member 1423 s->read_index = pa_memblockq_get_read_index(s->memblockq); in sink_input_process_msg() 2925 pa_tagstruct_puts64(reply, s->read_index); in command_get_playback_latency()
|
/third_party/pulseaudio/src/modules/ |
D | module-esound-sink.c | 104 size_t read_length, read_index; member 464 u->read_index = 0; in handle_response() 494 u->read_index = u->read_length = 0; in handle_response() 518 pa_assert(u->read_index < u->read_length); in do_read() 520 … pa_iochannel_read(u->io, (uint8_t*) u->read_data + u->read_index, u->read_length - u->read_index)… in do_read() 525 u->read_index += (size_t) r; in do_read() 526 pa_assert(u->read_index <= u->read_length); in do_read() 528 if (u->read_index == u->read_length) in do_read() 634 u->read_index = u->write_index = u->read_length = u->write_length = 0; in pa__init()
|
D | module-tunnel.c | 924 int64_t write_index, read_index; in stream_get_latency_callback() local 949 pa_tagstruct_gets64(t, &read_index) < 0) { in stream_get_latency_callback() 998 if (write_index >= read_index) in stream_get_latency_callback() 999 delay += (int64_t) pa_bytes_to_usec((uint64_t) (write_index-read_index), ss); in stream_get_latency_callback() 1001 delay -= (int64_t) pa_bytes_to_usec((uint64_t) (read_index-write_index), ss); in stream_get_latency_callback()
|
/third_party/ffmpeg/libavformat/ |
D | ifv.c | 52 static int read_index(AVFormatContext *s, in read_index() function 168 ret = read_index(s, AVMEDIA_TYPE_VIDEO, 0); in ifv_read_header() 176 ret = read_index(s, AVMEDIA_TYPE_AUDIO, 0); in ifv_read_header() 232 ret = read_index(s, AVMEDIA_TYPE_VIDEO, ifv->next_video_index); in ifv_read_packet() 236 ret = read_index(s, AVMEDIA_TYPE_AUDIO, ifv->next_audio_index); in ifv_read_packet() 257 ret = read_index(s, AVMEDIA_TYPE_VIDEO, ifv->next_video_index); in ifv_read_packet()
|
D | mvdec.c | 269 static void read_index(AVIOContext *pb, AVStream *st) in read_index() function 422 read_index(pb, ast); in mv_read_header() 425 read_index(pb, vst); in mv_read_header()
|
/third_party/pulseaudio/src/pulse/ |
D | simple.c | 45 size_t read_index, read_length; member 341 p->read_index = 0; in pa_simple_read() 345 memcpy(data, (const uint8_t*) p->read_data+p->read_index, l); in pa_simple_read() 350 p->read_index += l; in pa_simple_read() 359 p->read_index = 0; in pa_simple_read() 479 … already_read = pa_bytes_to_usec(p->read_index, pa_stream_get_sample_spec(p->stream)); in pa_simple_get_latency()
|
D | def.h | 730 int64_t read_index; member
|
D | stream.c | 1690 s->timing_info.read_index += (int64_t) s->peek_memchunk.length; in pa_stream_drop() 1771 …usec = pa_bytes_to_usec(s->timing_info.read_index < 0 ? 0 : (uint64_t) s->timing_info.read_index, … in calc_time() 1856 pa_tagstruct_gets64(t, &i->read_index) < 0) { in stream_get_timing_info_callback() 1958 i->read_index -= (int64_t) pa_memblockq_get_length(o->stream->record_memblockq); in stream_get_timing_info_callback() 2574 cindex = s->timing_info.read_index; in pa_stream_get_latency()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_state_validate.c | 141 unsigned read_index = pixel_y % grid_height * hw_grid_width; in gm200_validate_sample_locations() local 143 read_index += pixel_x % grid_width; in gm200_validate_sample_locations() 144 read_index = read_index * ms + sample; in gm200_validate_sample_locations() 145 x = sample_locations[read_index][0]; in gm200_validate_sample_locations() 146 y = sample_locations[read_index][1]; in gm200_validate_sample_locations()
|
/third_party/node/deps/v8/tools/debug_helper/ |
D | get-object-properties.cc | 237 for (size_t read_index = 0; read_index < string_.size(); ++read_index) { in GetString() local 238 uint16_t character = string_[read_index]; in GetString()
|
/third_party/pulseaudio/src/modules/bluetooth/ |
D | module-bluez5-device.c | 143 uint64_t read_index; member 541 u->read_index += (uint64_t) memchunk.length; in bt_process_push() 544 pa_smoother_2_put(u->read_smoother, tstamp, u->read_index); in bt_process_push() 546 …pa_smoother_put(u->read_smoother, tstamp, pa_bytes_to_usec(u->read_index, &u->decoder_sample_spec)… in bt_process_push() 764 u->read_index = u->write_index = 0; in setup_stream() 845 …ad_info.fixed_latency - pa_smoother_2_get_delay(u->read_smoother, pa_rtclock_now(), u->read_index); in source_process_msg() 848 ri = pa_bytes_to_usec(u->read_index, &u->decoder_sample_spec); in source_process_msg() 1486 if (have_sink && u->write_index == 0 && u->read_index <= 0) in thread_func()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_find_array_copies.c | 421 unsigned write_index, unsigned read_index, in handle_write() argument 484 dst_node->first_src_read = MIN2(dst_node->first_src_read, read_index); in handle_write()
|
/third_party/gstreamer/gstplugins_good/ext/pulse/ |
D | pulsesink.c | 747 (int) gst_util_uint64_scale_ceil (info->read_index, 1, in gst_pulsering_stream_latency_cb() 757 info->write_index, info->read_index_corrupt, info->read_index, in gst_pulsering_stream_latency_cb() 1690 info->read_index, offset); in gst_pulseringbuffer_commit() 1694 if (info->read_index + bufsize <= offset) { in gst_pulseringbuffer_commit()
|
D | pulsesrc.c | 949 info->write_index, info->read_index_corrupt, info->read_index, in gst_pulsesrc_stream_latency_update_cb()
|
/third_party/node/deps/v8/src/api/ |
D | api.cc | 5574 int read_index = 0; in WriteUtf8Impl() local 5581 while (read_index < read_length) { in WriteUtf8Impl() 5590 up_to = std::min(up_to, read_index + writable_length); in WriteUtf8Impl() 5596 for (int i = read_index; i < up_to; i++) char_mask |= read_start[i]; in WriteUtf8Impl() 5598 int copy_length = up_to - read_index; in WriteUtf8Impl() 5599 memcpy(current_write, read_start + read_index, copy_length); in WriteUtf8Impl() 5601 read_index = up_to; in WriteUtf8Impl() 5603 for (; read_index < up_to; read_index++) { in WriteUtf8Impl() 5605 current_write, static_cast<uint8_t>(read_start[read_index])); in WriteUtf8Impl() 5611 for (; read_index < up_to; read_index++) { in WriteUtf8Impl() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
D | es31cArrayOfArraysTests.cpp | 3346 …for (size_t read_index = 0; read_index < sizeof(expressions) / sizeof(expressions[0]); read_index+… in test_shader_compilation() local 3353 shader_source += expressions[read_index]; in test_shader_compilation()
|
/third_party/pulseaudio/vala/ |
D | libpulse.vapi | 1201 int64 read_index;
|
/third_party/gstreamer/gstplugins_good/ |
D | ChangeLog | 120842 are writing too far away from the current read_index.
|