Lines Matching defs:storage
81 // A ring buffer with externally provided storage that encodes its state in 8
82 // bytes. Has significant constraints on size and alignment of storage.
98 void Init(void *storage, uptr size) {
105 uptr st = (uptr)storage;
116 CompactRingBuffer(void *storage, uptr size) {
117 Init(storage, size);
121 CompactRingBuffer(const CompactRingBuffer &other, void *storage) {
123 internal_memcpy(storage, other.StartOfStorage(), size);
124 Init(storage, size);
126 SetNext((const T *)storage + Idx);