Searched refs:mStorage (Results 1 – 14 of 14) sorted by relevance
24 while (mStorage.size() + 1 > mBufferSize) { in emplace()25 if (mStorage.empty()) { in emplace()28 mStorage.pop(); in emplace()30 mStorage.emplace(std::forward<StatsData>(data)); in emplace()34 return mStorage; in dump()
34 BumpPool(size_t startingBytes = 4096) : mStorage(startingBytes / sizeof(uint64_t)) { }45 if (mAllocPos + wantedSizeRoundedUp > mStorage.size() * sizeof(uint64_t)) { in alloc()51 size_t avail = mStorage.size() * sizeof(uint64_t) - mAllocPos; in alloc()52 void* allocPtr = (void*)(((unsigned char*)mStorage.data()) + mAllocPos); in alloc()60 mStorage.resize((mTotalWantedThisGeneration * 2) / sizeof(uint64_t)); in freeAll()70 AlignedBuf<uint64_t, 8> mStorage;
128 StoreT mStorage = {}; variable461 reinterpret_cast<const char*>(&this->mStorage)); in get()
136 Result(detail::Ok<U>&& ok) : mStorage(std::move(ok)) {}137 Result(detail::Err<E>&& err) : mStorage(std::move(err)) {}140 : mStorage(std::move(other.mStorage)), mValid(other.mValid) {151 return mStorage.ok;157 return mStorage.ok;164 return mStorage.isOk();173 return mStorage.err;177 return mStorage.err;185 return std::move(*(mStorage.ok.ptr()));192 return std::move(*(mStorage.err.ptr()));[all …]
34 BumpPool(size_t startingBytes = 4096) : mStorage(startingBytes / sizeof(uint64_t)) { }47 if (mAllocPos + wantedSizeRoundedUp > mStorage.size() * sizeof(uint64_t)) { in alloc()53 void* allocPtr = (void*)(((unsigned char*)mStorage.data()) + mAllocPos); in alloc()61 mStorage.resize((mTotalWantedThisGeneration * 2) / sizeof(uint64_t)); in freeAll()71 AlignedBuf<uint64_t, 8> mStorage;
132 StoreT mStorage = {}; variable465 reinterpret_cast<const char*>(&this->mStorage)); in get()
33 mStorage = std::vector<uint8_t>((numBits + 7) / 8, 0); in resize()39 const uint8_t byte = mStorage[byteIndex]; in set()41 mStorage[byteIndex] = newValue; in set()47 const uint8_t byte = mStorage[byteIndex]; in get()52 return mStorage; in getBitmask()
169 reinterpret_cast<T*>(&mStorage)->~T(); in clear()182 mutable StorageT mStorage; member203 new (&mStorage) T(); in ptrInternal()206 return reinterpret_cast<T*>(&mStorage); in ptrInternal()
158 new (&mStorage) T(std::move(*other.asT())); in OnDemand()236 T* asT() const { return reinterpret_cast<T*>(&mStorage); } in asT()248 new (&mStorage) T(std::move(std::get<S>(std::move(args)))...); in constructImpl()256 mutable StorageT mStorage; variable
44 mStorage = std::vector<uint8_t>((numBits + 7) / 8, 0); in resize()53 const uint8_t byte = mStorage[byteIndex]; in set()55 mStorage[byteIndex] = newValue; in set()65 const uint8_t byte = mStorage[byteIndex]; in get()70 return mStorage; in getBitmask()
33 if (!mStorage.get_const(index)) { in add()34 mStorage.add(index, initialIsTrue ? kAll : kNone); in add()49 if (!mStorage.get_const(index)) return; in set()51 uint64_t* current = mStorage.get(index); in set()65 const uint64_t* current = mStorage.get_const(index); in get()75 Storage mStorage; variable
66 size_t count() { return mStorage.size(); } in count()74 std::queue<StatsData> mStorage; variable
70 std::vector<uint8_t> mStorage;
85 std::vector<uint8_t> mStorage;