Home
last modified time | relevance | path

Searched defs:map (Results 1 – 25 of 87) sorted by relevance

1234

/system/incremental_delivery/incfs/tests/util/
Dmap_ptr_test.cpp77 auto map = std::make_unique<IncFsFileMap>(); in GetFileMap() local
92 auto map = GetFileMap(fd.get(), 0U /* offset */, FILE_SIZE); in TEST_F() local
107 auto map = GetFileMap(fd.get(), 0U /* offset */, FILE_SIZE); in TEST_F() local
124 auto map = GetFileMap(fd.get(), sizeof(uint32_t) * 4U /* offset */, FILE_SIZE); in TEST_F() local
139 auto map = GetFileMap(fd.get(), 0U /* offset */, FILE_SIZE); in TEST_F() local
156 auto map = GetFileMap(fd.get(), 0U /* offset */, FILE_SIZE); in TEST_F() local
178 auto map = GetFileMap(fd.get(), 0U /* offset */, FILE_SIZE); in TEST_F() local
193 auto map = GetFileMap(fd.get(), 0U /* offset */, FILE_SIZE); in TEST_F() local
204 auto map = GetFileMap(fd.get(), 0U /* offset */, FILE_SIZE); in TEST_F() local
215 auto map = GetFileMap(fd.get(), 0U /* offset */, FILE_SIZE); in TEST_F() local
[all …]
/system/core/libcutils/
Dhashmap.cpp48 Hashmap* map = static_cast<Hashmap*>(malloc(sizeof(Hashmap))); in hashmapCreate() local
83 static inline int hashKey(Hashmap* map, void* key) { in hashKey()
100 static void expandIfNecessary(Hashmap* map) { in expandIfNecessary()
131 void hashmapLock(Hashmap* map) { in hashmapLock()
135 void hashmapUnlock(Hashmap* map) { in hashmapUnlock()
139 void hashmapFree(Hashmap* map) { in hashmapFree()
192 void* hashmapPut(Hashmap* map, void* key, void* value) { in hashmapPut()
224 void* hashmapGet(Hashmap* map, void* key) { in hashmapGet()
239 void* hashmapRemove(Hashmap* map, void* key) { in hashmapRemove()
261 void hashmapForEach(Hashmap* map, bool (*callback)(void* key, void* value, void* context), in hashmapForEach()
/system/libhidl/transport/
DStatic.cpp39 static BnConstructorMap& map = *new BnConstructorMap(); in getBnConstructorMap() local
44 static BsConstructorMap& map = *new BsConstructorMap(); in getBsConstructorMap() local
DHidlTransportSupport.cpp50 static void pruneMapLocked(ConcurrentMap<wp<IBase>, V>& map) { in pruneMapLocked()
/system/libvintf/include/vintf/
DMapValueIterator.h124 ConstMapValueIterable<K, V> iterateValues(const std::map<K, V> &map) { in iterateValues()
128 ConstMultiMapValueIterable<K, V> iterateValues(const std::multimap<K, V> &map) { in iterateValues()
132 MapValueIterable<K, V> iterateValues(std::map<K, V>& map) { in iterateValues()
136 MultiMapValueIterable<K, V> iterateValues(std::multimap<K, V>& map) { in iterateValues()
142 const std::multimap<K, V>& map, const K& key) { in iterateValues()
/system/logging/liblog/
Devent_tag_map.cpp142 static int scanTagLine(EventTagMap* map, const char*& pData, int line_num) { in scanTagLine()
222 static int parseMapLines(EventTagMap* map, size_t which) { in parseMapLines()
363 void android_closeEventTagMap(EventTagMap* map) { in android_closeEventTagMap()
368 const char* android_lookupEventTag_len(const EventTagMap* map, size_t* len, unsigned int tag) { in android_lookupEventTag_len()
377 const char* android_lookupEventFormat_len(const EventTagMap* map, size_t* len, unsigned int tag) { in android_lookupEventFormat_len()
/system/tools/aidl/tests/java/src/android/aidl/tests/
DJavaOnlyImmutableAnnotationTests.java46 Map<String, Bar> map = new HashMap<String, Bar>(); in testReadWriteJavaOnlyImmutableParcelable() local
111 Map<String, Bar> map = new HashMap<String, Bar>(); in testBuilder() local
/system/extras/simpleperf/
Dthread_tree_test.cpp72 auto map = thread_tree_.FindMap(thread, ip, in_kernel); in FindSymbol() local
115 const MapEntry* map = thread_tree_.FindMap(thread, 0); in TEST_F() local
Dkallsyms.cpp190 KernelMmap map; in GetLoadedModules() local
198 for (const auto& map : result) { in GetLoadedModules() local
Dthread_tree.cpp261 std::map<uint64_t, const MapEntry*>& map = maps.maps; in InsertMap() local
320 const Symbol* ThreadTree::FindSymbol(const MapEntry* map, uint64_t ip, uint64_t* pvaddr_in_file, in FindSymbol()
361 const MapEntry* map = FindMap(nullptr, ip, true); in FindKernelSymbol() local
Dread_dex_file.cpp84 std::unique_ptr<android::base::MappedFile> map; in ReadSymbolsFromDexFile() local
/system/sepolicy/tools/sepolicy-analyze/
Dutils.c29 void *map = MAP_FAILED; in load_policy() local
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DZoneTabFileTest.java116 private void addIds(Map<String, List<String>> map, String iso, String... ids) { in addIds()
/system/update_engine/payload_generator/
Dsquashfs_filesystem.cc71 bool GetFileMapContent(const string& sqfs_path, string* map) { in GetFileMapContent()
94 bool SquashfsFilesystem::Init(const string& map, in Init()
/system/incremental_delivery/incfs/tests/
Dhardening_benchmark.cpp75 android::incfs::IncFsFileMap map; in TestMapPtrRaw() local
89 android::incfs::IncFsFileMap map; in TestMapPtr() local
/system/bpf/loader/
DBpfLoadTest.cpp102 BpfMap<uint32_t, uint32_t>& map) { in checkMapNonZero() argument
/system/security/identity/
DCredentialData.cpp79 cppbor::Map map; in saveToDisk() local
271 const cppbor::Map* map = item->asMap(); in loadFromDisk() local
324 const cppbor::Map* map = valueItem->asMap(); in loadFromDisk() local
/system/memory/libmeminfo/
Dlibmeminfo_test.cpp80 for (auto& map : maps) { in TEST() local
98 for (auto& map : maps) { in TEST() local
116 for (auto& map : maps) { in TEST() local
143 for (auto& map : maps) { in TEST() local
158 for (auto& map : maps) { in TEST() local
Dsysmeminfo.cpp383 auto map = bpf::BpfMapRO<uint64_t, uint64_t>(kBpfGpuMemTotalMap); in ReadPerProcessGpuMem() local
437 auto map = bpf::BpfMapRO<uint64_t, uint64_t>(kBpfGpuMemTotalMap); in ReadProcessGpuUsageKb() local
/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/
DChreCrossValidatorSensor.java445 Map<Integer, CrossValidatorSensorConfig> map = in makeSensorTypeToInfoMap() local
464 BiMap<Integer, Integer> map = HashBiMap.create(4); in makeApToChreSensorTypeMap() local
/system/keymaster/legacy_support/
Dkeymaster1_legacy_support.cpp60 Keymaster1LegacySupport::DigestMap* map, bool* supports_all) { in add_digests()
80 Keymaster1LegacySupport::DigestMap* map, bool* supports_all) { in map_digests()
/system/unwinding/libunwindstack/
DDexFile.cpp48 std::shared_ptr<DexFile> DexFile::CreateFromDisk(uint64_t addr, uint64_t size, MapInfo* map) { in CreateFromDisk()
/system/linkerconfig/contents/tests/configuration/include/
Dmodules.h56 bool MapContainsKey(const std::map<K, V>& map, K key) { in MapContainsKey()
/system/memory/libmemunreachable/
DAllocator.h201 using map = std::map<Key, T, Compare, Allocator<std::pair<const Key, T>>>; variable
/system/core/libstats/pull_rust/
Dstats_pull.rs121 let map = COOKIES.lock().unwrap(); in callback_wrapper() localVariable

1234