Home
last modified time | relevance | path

Searched defs:map (Results 1 – 25 of 80) 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/bpfprogs/test/
Dmock_bpf.cpp42 std::map<uint32_t, byteArrayMap> map; member
83 mock_bpf_map* map = new mock_bpf_map(); in mock_bpf_map_create() local
90 static byteArrayMap& getCurrentMap(mock_bpf_map* map) { in getCurrentMap()
99 mock_bpf_map* map = (mock_bpf_map*)mock_map; in mock_bpf_lookup_elem() local
110 mock_bpf_map* map = (mock_bpf_map*)mock_map; in mock_bpf_update_elem() local
131 mock_bpf_map* map = (mock_bpf_map*)mock_map; in mock_bpf_delete_elem() local
/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.h129 ConstMapValueIterable<K, V> iterateValues(const std::map<K, V> &map) { in iterateValues()
133 ConstMultiMapValueIterable<K, V> iterateValues(const std::multimap<K, V> &map) { in iterateValues()
137 MapValueIterable<K, V> iterateValues(std::map<K, V>& map) { in iterateValues()
141 MultiMapValueIterable<K, V> iterateValues(std::multimap<K, V>& map) { in iterateValues()
147 const std::multimap<K, V>& map, const K& key) { in iterateValues()
/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/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/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
Dread_dex_file.cpp84 std::unique_ptr<android::base::MappedFile> map; in ReadSymbolsFromDexFile() local
Dthread_tree.cpp252 std::map<uint64_t, const MapEntry*>& map = maps.maps; in InsertMap() local
311 const Symbol* ThreadTree::FindSymbol(const MapEntry* map, uint64_t ip, uint64_t* pvaddr_in_file, in FindSymbol()
352 const MapEntry* map = FindMap(nullptr, ip, true); in FindKernelSymbol() local
DMapRecordReader.cpp64 for (const auto& map : thread_mmaps) { in ReadProcessMaps() 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/bpf/loader/
DBpfLoadTest.cpp104 BpfMap<uint32_t, uint32_t>& map) { in checkMapNonZero() argument
/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/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/unwinding/libunwindstack/
DDexFile.cpp48 std::shared_ptr<DexFile> DexFile::CreateFromDisk(uint64_t addr, uint64_t size, MapInfo* map) { in CreateFromDisk()
/system/memory/libmeminfo/
Dlibmeminfo_test.cpp81 for (auto& map : maps) { in TEST() local
99 for (auto& map : maps) { in TEST() local
117 for (auto& map : maps) { in TEST() local
144 for (auto& map : maps) { in TEST() local
159 for (auto& map : maps) { in TEST() local
/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/
DChreCrossValidatorSensor.java391 Map<Integer, CrossValidatorSensorConfig> map = in makeSensorTypeToInfoMap() local
410 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/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

1234