Searched refs:PointerPositions (Results 1 – 2 of 2) sorted by relevance
135 struct PointerPositions { struct150 bool IsCorrupt(const PointerPositions& pos); argument152 inline base::Optional<PointerPositions> GetPointerPositions( in GetPointerPositions()156 PointerPositions pos; in GetPointerPositions()160 base::Optional<PointerPositions> result; in GetPointerPositions()167 inline size_t read_avail(const PointerPositions& pos) { in read_avail()174 inline size_t write_avail(const PointerPositions& pos) { in write_avail()
177 base::Optional<PointerPositions> opt_pos = GetPointerPositions(spinlock); in BeginWrite()226 base::Optional<PointerPositions> opt_pos = GetPointerPositions(spinlock); in BeginRead()277 bool SharedRingBuffer::IsCorrupt(const PointerPositions& pos) { in IsCorrupt()