Home
last modified time | relevance | path

Searched refs:mEntries (Results 1 – 8 of 8) sorted by relevance

/hardware/google/aemu/base/include/aemu/base/containers/
DEntityManager.h101 mEntries(initialItems), in EntityManager()
119 reserve(mEntries.size()); in clear()
142 size_t currentCapacity = mEntries.size(); in add()
151 if (neededCapacity > mEntries.size()) { in add()
152 mEntries.resize(nextCapacity); in add()
154 mEntries[i].handle = makeHandle(i, 0, type); in add()
155 mEntries[i].nextFreeIndex = i + 1; in add()
161 mEntries[newIndex].handle = in add()
162 makeHandle(newIndex, mEntries[newIndex].liveGeneration, type); in add()
163 mEntries[newIndex].item = item; in add()
[all …]
/hardware/google/gfxstream/guest/android-emu/aemu/base/containers/
DEntityManager.h118 mEntries(initialItems),
134 reserve(mEntries.size());
157 uint64_t currentCapacity = mEntries.size();
166 if (neededCapacity > mEntries.size()) {
167 mEntries.resize((size_t)nextCapacity);
169 mEntries[i].handle = makeHandle(i, 0, type);
170 mEntries[i].nextFreeIndex = i + 1;
176 mEntries[newIndex].handle =
177 makeHandle(newIndex, mEntries[newIndex].liveGeneration, type);
178 mEntries[newIndex].item = item;
[all …]
/hardware/google/pixel/powerstats/dataproviders/
DPixelStateResidencyDataProvider.cpp35 mEntries.emplace_back(name, states); in addEntity()
77 size_t numResults = mEntries.size(); in getStateResidencies()
78 for (auto &entry : mEntries) { in getStateResidencies()
103 for (const auto &entry : mEntries) { in getInfo()
127 std::find_if(mEntries.begin(), mEntries.end(), in registerCallbackByStates()
130 if (toRegister == mEntries.end()) { in registerCallbackByStates()
160 auto toRemove = std::find_if(mEntries.begin(), mEntries.end(), [&in_cb](const auto &it) { in unregisterCallback()
167 if (toRemove == mEntries.end()) { in unregisterCallback()
/hardware/google/aemu/base/include/aemu/base/testing/
DTestNetworkInterfaceNameResolver.h40 for (const auto& item : mEntries) { in queryInterfaceName()
49 mEntries.emplace_back(std::make_pair(std::string(name), index)); in addEntry()
54 std::vector<std::pair<std::string, int>> mEntries; variable
/hardware/google/aemu/host-common/testing/
DHostAddressSpace.cpp49 for (auto it : mEntries) { in clear()
64 auto& entry = mEntries[handle]; in open()
78 auto& entry = mEntries[handle]; in close()
80 mEntries.erase(handle); in close()
99 auto& entry = mEntries[handle]; in setHostAddr()
109 for (auto &it : mEntries) { in setHostAddrByPhysAddr()
129 for (auto &it : mEntries) { in unsetHostAddrByPhysAddr()
155 for (const auto &it : mEntries) { in getHostAddr()
159 for (const auto &it : mEntries) { in getHostAddr()
192 auto& entry = mEntries[handle]; in ping()
[all …]
/hardware/google/aemu/host-common/
DHostmemIdMapping.cpp57 mEntries.set(wantedId, hostmem_entry); in add()
62 mEntries.erase(id); in remove()
71 mEntries.set(id, hostmem_entry); in addMapping()
107 auto entry = mEntries.get(id); in get()
115 mEntries.clear(); in clear()
/hardware/google/aemu/host-common/include/host-common/
DHostmemIdMapping.h100 base::StaticMap<Id, Entry> mEntries; variable
/hardware/google/pixel/powerstats/include/dataproviders/
DPixelStateResidencyDataProvider.h103 std::vector<Entry> mEntries; variable