Home
last modified time | relevance | path

Searched refs:read_idx (Results 1 – 18 of 18) sorted by relevance

/external/zucchini/
Dimposed_ensemble_matcher.cc81 for (size_t read_idx = 0; read_idx < matches_.size(); ++read_idx) { in Parse() local
83 old_image[matches_[read_idx].old_element.region()]); in Parse()
85 new_image[matches_[read_idx].new_element.region()]); in Parse()
96 bad_matches_.push_back(matches_[read_idx]); in Parse()
104 matches_[read_idx].old_element.exe_type = old_element->exe_type; in Parse()
105 matches_[read_idx].new_element.exe_type = new_element->exe_type; in Parse()
106 if (write_idx < read_idx) in Parse()
107 matches_[write_idx] = matches_[read_idx]; in Parse()
/external/webrtc/test/fuzzers/
Dresidual_echo_detector_fuzzer.cc38 size_t read_idx = 0; in FuzzOneInput() local
41 memcpy(&call_order_int, &data[read_idx], 2); in FuzzOneInput()
42 read_idx += 2; in FuzzOneInput()
51 RTC_DCHECK_LE(read_idx + sizeof(float), size); in FuzzOneInput()
52 memcpy(input.data(), &data[read_idx], sizeof(float)); in FuzzOneInput()
53 read_idx += sizeof(float); in FuzzOneInput()
/external/cronet/net/third_party/quiche/src/quiche/balsa/
Dsimple_buffer_test.cc35 static int read_idx(SimpleBuffer& buffer) { return buffer.read_idx_; } in read_idx() function in quiche::test::SimpleBufferTest
95 EXPECT_EQ(0, read_idx(buffer)); in TEST_F()
119 EXPECT_EQ(0, read_idx(buffer)); in TEST_F()
142 EXPECT_EQ(0, read_idx(buffer)); in TEST_F()
163 EXPECT_EQ(0, read_idx(buffer)); in TEST_F()
172 EXPECT_EQ(6, read_idx(buffer)); in TEST_F()
181 EXPECT_EQ(0, read_idx(buffer)); in TEST_F()
223 EXPECT_EQ(0, read_idx(buffer)); in TEST_F()
227 EXPECT_EQ(0, read_idx(buffer)); in TEST_F()
235 EXPECT_EQ(0, read_idx(buffer)); in TEST_F()
[all …]
/external/libvpx/vp8/encoder/
Dlookahead.c21 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/
Du_queue.c297 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()
Du_queue.h215 int write_idx, read_idx; /* ring buffer pointers */ member
/external/crosvm/devices/src/virtio/input/
Devent_source.rs55 read_idx: usize, field
72 .read(&mut self.read_buffer[self.read_idx..]) in receive_events()
74 let buff_size = read + self.read_idx; in receive_events()
92 self.read_idx = remainder; in receive_events()
133 read_idx: 0, in new()
/external/pigweed/pw_ring_buffer/
Dprefixed_entry_ring_buffer.cc375 size_t read_idx = GetSlowestReader().read_idx_; in RawAvailableBytes() local
377 if (read_idx < write_idx_) { in RawAvailableBytes()
378 return buffer_bytes_ - (write_idx_ - read_idx); in RawAvailableBytes()
381 if (read_idx > write_idx_) { in RawAvailableBytes()
382 return read_idx - write_idx_; in RawAvailableBytes()
386 if (reader.read_idx_ == read_idx && reader.entry_count_ != 0) { in RawAvailableBytes()
/external/libvpx/vp9/encoder/
Dvp9_lookahead.c206 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()
Dvp9_lookahead.h38 int read_idx; /* Read index */ member
/external/libaom/av1/encoder/
Dlookahead.c172 buf = pop(ctx, &read_ctx->read_idx); in av1_lookahead_pop()
191 index += read_ctx->read_idx; in av1_lookahead_peek()
198 index += (int)(read_ctx->read_idx); in av1_lookahead_peek()
Dlookahead.h48 int read_idx; /* Read index */ member
/external/pigweed/pw_ring_buffer/public/pw_ring_buffer/
Dprefixed_entry_ring_buffer.h167 size_t read_idx, in Reader() argument
169 : buffer_(buffer), read_idx_(read_idx), entry_count_(entry_count) {} in Reader()
/external/igt-gpu-tools/include/drm-uapi/
Detnaviv_drm.h170 __u32 read_idx; /* in, index of read_bo buffer */ member
/external/mesa3d/include/drm-uapi/
Detnaviv_drm.h176 __u32 read_idx; /* in, index of read_bo buffer */ member
/external/kernel-headers/original/uapi/drm/
Detnaviv_drm.h179 __u32 read_idx; /* in, index of read_bo buffer */ member
/external/libdrm/etnaviv/
Detnaviv_cmd_stream.c276 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/
Detnaviv_cmd_stream.c308 pmr->read_idx = bo2idx(stream, p->bo, ETNA_SUBMIT_BO_READ | ETNA_SUBMIT_BO_WRITE); in etna_cmd_stream_perf()