Home
last modified time | relevance | path

Searched refs:mStorage (Results 1 – 14 of 14) sorted by relevance

/hardware/google/pixel/perfstatsd/
Dperfstats_buffer.cpp24 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()
/hardware/google/gfxstream/guest/android-emu/aemu/base/
DBumpPool.h34 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;
DOptional.h128 StoreT mStorage = {}; variable
461 reinterpret_cast<const char*>(&this->mStorage)); in get()
/hardware/google/aemu/base/include/aemu/base/
DResult.h136 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 …]
DBumpPool.h34 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;
DOptional.h132 StoreT mStorage = {}; variable
465 reinterpret_cast<const char*>(&this->mStorage)); in get()
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DObd2SensorStore.cpp33 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()
/hardware/google/aemu/base/include/aemu/base/memory/
DLazyInstance.h169 reinterpret_cast<T*>(&mStorage)->~T(); in clear()
182 mutable StorageT mStorage; member
203 new (&mStorage) T(); in ptrInternal()
206 return reinterpret_cast<T*>(&mStorage); in ptrInternal()
DOnDemand.h158 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
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/obd2frame/src/
DObd2SensorStore.cpp44 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()
/hardware/google/gfxstream/guest/OpenglCodecCommon/
DStateTrackingSupport.h33 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
/hardware/google/pixel/perfstatsd/include/
Dperfstats_buffer.h66 size_t count() { return mStorage.size(); } in count()
74 std::queue<StatsData> mStorage; variable
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DObd2SensorStore.h70 std::vector<uint8_t> mStorage;
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/obd2frame/include/
DObd2SensorStore.h85 std::vector<uint8_t> mStorage;