Home
last modified time | relevance | path

Searched refs:rd_ptr (Results 1 – 4 of 4) sorted by relevance

/external/perfetto/src/ipc/
Dbuffered_frame_deserializer.cc98 const char* rd_ptr = buf() + consumed_size; in EndReceive() local
99 memcpy(base::AssumeLittleEndian(&payload_size), rd_ptr, kHeaderSize); in EndReceive()
106 rd_ptr += kHeaderSize; in EndReceive()
121 DecodeFrame(rd_ptr, payload_size); in EndReceive()
/external/perfetto/src/profiling/memory/
Dshared_ring_buffer.cc242 uint8_t* rd_ptr = at(pos.read_pos); in BeginRead() local
243 PERFETTO_DCHECK(reinterpret_cast<uintptr_t>(rd_ptr) % kAlignment == 0); in BeginRead()
244 const size_t size = reinterpret_cast<std::atomic<uint32_t>*>(rd_ptr)->load( in BeginRead()
263 rd_ptr += kHeaderSize; in BeginRead()
264 PERFETTO_DCHECK(reinterpret_cast<uintptr_t>(rd_ptr) % kAlignment == 0); in BeginRead()
265 return Buffer(rd_ptr, size); in BeginRead()
/external/u-boot/drivers/serial/
Dserial-uclass.c223 return upriv->rd_ptr != upriv->wr_ptr ? 1 : 0; in _serial_tstc()
231 val = upriv->buf[upriv->rd_ptr++]; in _serial_getc()
232 upriv->rd_ptr %= CONFIG_SERIAL_RX_BUFFER_SIZE; in _serial_getc()
/external/u-boot/include/
Dserial.h177 int rd_ptr; member