Searched refs:write_idx (Results 1 – 10 of 10) sorted by relevance
/external/adhd/cras/src/common/ |
D | byte_buffer.h | 14 unsigned int write_idx; member 52 if (buf->write_idx < buf->read_idx) in buf_writable() 53 return buf->read_idx - buf->write_idx; in buf_writable() 55 return buf->used_size - 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() 74 buf->write_idx = (buf->read_idx + buf->level) % buf->used_size; in buf_adjust_readable() 110 return &buf->bytes[buf->write_idx]; in buf_write_pointer() 122 buf->write_idx += inc; in buf_increment_write() 123 buf->write_idx %= buf->used_size; in buf_increment_write() [all …]
|
/external/mesa3d/src/util/ |
D | u_queue.c | 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() 573 } while (i != queue->write_idx); in util_queue_add_job() 580 queue->write_idx = num_jobs; in util_queue_add_job() 589 ptr = &queue->jobs[queue->write_idx]; in util_queue_add_job() 597 queue->write_idx = (queue->write_idx + 1) % queue->max_jobs; 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/e2fsprogs/lib/ext2fs/ |
D | closefs.c | 196 int check_idx, write_idx, size; in write_primary_superblock() local 214 write_idx = check_idx; in write_primary_superblock() 218 size = 2 * (check_idx - write_idx); in write_primary_superblock() 221 size, write_idx*2); in write_primary_superblock() 224 SUPERBLOCK_OFFSET + (2 * write_idx), size, in write_primary_superblock() 225 new_super + write_idx); in write_primary_superblock()
|
/external/adhd/cras/src/server/ |
D | float_buffer.h | 65 b->fp[i] = data + b->buf->write_idx; in float_buffer_write_pointer() 97 *readable = MIN(*readable, b->buf->write_idx - offset); in float_buffer_read_pointer()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | lookahead.c | 22 unsigned int write_idx; /* Write index */ member 101 buf = pop(ctx, &ctx->write_idx); in vp8_lookahead_push()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_lookahead.h | 39 int write_idx; /* Write index */ member
|
D | vp9_lookahead.c | 116 buf = pop(ctx, &ctx->write_idx); in vp9_lookahead_push()
|
/external/libaom/libaom/av1/encoder/ |
D | lookahead.h | 48 int write_idx; /* Write index */ member
|
D | lookahead.c | 106 buf = pop(ctx, &ctx->write_idx); in av1_lookahead_push()
|