/external/adhd/cras/src/common/ |
D | byte_buffer.h | 15 unsigned int read_idx; member 52 if (buf->write_idx < buf->read_idx) in buf_writable() 53 return buf->read_idx - buf->write_idx; in buf_writable() 63 if (buf->read_idx < buf->write_idx) in buf_readable() 64 return buf->write_idx - buf->read_idx; in buf_readable() 66 return buf->used_size - buf->read_idx; in buf_readable() 74 buf->write_idx = (buf->read_idx + buf->level) % buf->used_size; in buf_adjust_readable() 90 return &buf->bytes[buf->read_idx]; in buf_read_pointer() 103 buf->read_idx += inc; in buf_increment_read() 104 buf->read_idx %= buf->used_size; in buf_increment_read() [all …]
|
/external/libvpx/libvpx/vp8/encoder/ |
D | lookahead.c | 21 unsigned int read_idx; /* Read index */ member 153 buf = pop(ctx, &ctx->read_idx); in vp8_lookahead_pop() 166 index += ctx->read_idx; in vp8_lookahead_peek() 173 if (ctx->read_idx == 0) { in vp8_lookahead_peek() 176 index = ctx->read_idx - index; in vp8_lookahead_peek()
|
/external/mesa3d/src/util/ |
D | u_queue.c | 297 job = queue->jobs[queue->read_idx]; in util_queue_thread_func() 298 memset(&queue->jobs[queue->read_idx], 0, sizeof(struct util_queue_job)); in util_queue_thread_func() 299 queue->read_idx = (queue->read_idx + 1) % queue->max_jobs; in util_queue_thread_func() 318 for (unsigned i = queue->read_idx; i != queue->write_idx; in util_queue_thread_func() 325 queue->read_idx = queue->write_idx; in util_queue_thread_func() 568 unsigned i = queue->read_idx; in util_queue_add_job() 579 queue->read_idx = 0; in util_queue_add_job() 624 for (unsigned i = queue->read_idx; i != queue->write_idx; in util_queue_drop_job()
|
D | u_queue.h | 215 int write_idx, read_idx; /* ring buffer pointers */ member
|
/external/adhd/cras/src/server/ |
D | float_buffer.h | 96 offset = offset + b->buf->read_idx - b->buf->max_size; in float_buffer_read_pointer() 100 offset += b->buf->read_idx; in float_buffer_read_pointer()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_lookahead.c | 206 buf = pop(ctx, &ctx->read_idx); in vp9_lookahead_pop() 219 index += ctx->read_idx; in vp9_lookahead_peek() 226 index += ctx->read_idx; in vp9_lookahead_peek()
|
D | vp9_lookahead.h | 38 int read_idx; /* Read index */ member
|
/external/crosvm/devices/src/virtio/input/ |
D | event_source.rs | 80 read_idx: usize, field 145 .read(&mut self.read_buffer.buffer[self.read_idx..]) in receive_events() 147 let buff_size = read + self.read_idx; in receive_events() 184 self.read_idx = remainder; in receive_events() 202 read_idx: 0, in new()
|
/external/libaom/libaom/av1/encoder/ |
D | lookahead.c | 152 buf = pop(ctx, &read_ctx->read_idx); in av1_lookahead_pop() 172 index += read_ctx->read_idx; in av1_lookahead_peek() 179 index += (int)(read_ctx->read_idx); in av1_lookahead_peek()
|
D | lookahead.h | 41 int read_idx; /* Read index */ member
|
/external/u-boot/drivers/crypto/fsl/ |
D | jr.h | 74 int read_idx; member
|
D | jr.c | 143 jr->read_idx = 0; in jr_sw_cleanup() 330 jr->read_idx = (jr->read_idx + 1) & (jr->size - 1); in jr_dequeue()
|
/external/adhd/cras/src/libcras/ |
D | cras_client.c | 3155 int cras_client_read_atlog(struct cras_client *client, uint64_t *read_idx, in cras_client_read_atlog() argument 3170 if (sync_write_pos <= *read_idx) in cras_client_read_atlog() 3174 for (i = sync_write_pos - 1; i >= *read_idx; --i) { in cras_client_read_atlog() 3181 if (*read_idx) in cras_client_read_atlog() 3182 *missing = i - *read_idx + 1; in cras_client_read_atlog() 3183 *read_idx = i + 1; in cras_client_read_atlog() 3193 if ((sync_write_pos - 1) % log.len < *read_idx % log.len) { in cras_client_read_atlog() 3194 len = log.len - *read_idx % log.len; in cras_client_read_atlog() 3195 memcpy(buf->log, &log.log[*read_idx % log.len], in cras_client_read_atlog() 3200 len = sync_write_pos - *read_idx; in cras_client_read_atlog() [all …]
|
D | cras_client.h | 513 int cras_client_read_atlog(struct cras_client *client, uint64_t *read_idx,
|
/external/igt-gpu-tools/include/drm-uapi/ |
D | etnaviv_drm.h | 170 __u32 read_idx; /* in, index of read_bo buffer */ member
|
/external/mesa3d/include/drm-uapi/ |
D | etnaviv_drm.h | 176 __u32 read_idx; /* in, index of read_bo buffer */ member
|
/external/kernel-headers/original/uapi/drm/ |
D | etnaviv_drm.h | 176 __u32 read_idx; /* in, index of read_bo buffer */ member
|
/external/libdrm/etnaviv/ |
D | etnaviv_drm.h | 170 __u32 read_idx; /* in, index of read_bo buffer */ member
|
D | etnaviv_cmd_stream.c | 276 pmr->read_idx = bo2idx(stream, p->bo, ETNA_SUBMIT_BO_READ | ETNA_SUBMIT_BO_WRITE); in etna_cmd_stream_perf()
|
/external/mesa3d/src/etnaviv/drm/ |
D | etnaviv_cmd_stream.c | 308 pmr->read_idx = bo2idx(stream, p->bo, ETNA_SUBMIT_BO_READ | ETNA_SUBMIT_BO_WRITE); in etna_cmd_stream_perf()
|