Searched refs:rd_ptr (Results 1 – 4 of 4) sorted by relevance
98 const char* rd_ptr = buf() + consumed_size; in EndReceive() local99 memcpy(base::AssumeLittleEndian(&payload_size), rd_ptr, kHeaderSize); in EndReceive()106 rd_ptr += kHeaderSize; in EndReceive()121 DecodeFrame(rd_ptr, payload_size); in EndReceive()
242 uint8_t* rd_ptr = at(pos.read_pos); in BeginRead() local243 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()
223 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()
177 int rd_ptr; member