/external/dexmaker/src/dx/java/com/android/dx/io/instructions/ |
AddressMap.java | 23 * Map from addresses to addresses, where addresses are all 27 /** underlying map. TODO: This might be too inefficient. */ 28 private final HashMap<Integer,Integer> map; field in class:AddressMap 34 map = new HashMap<Integer,Integer>(); 42 Integer value = map.get(keyAddress); 50 map.put(keyAddress, valueAddress);
|
/frameworks/base/test-runner/src/android/test/ |
SimpleCache.java | 20 import java.util.Map; 23 private Map<K, V> map = new HashMap<K, V>(); field in class:SimpleCache 28 if (map.containsKey(key)) { 29 return map.get(key); 32 map.put(key, value);
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/asm/ |
mpspec_32.h | 28 #define physid_set(physid, map) set_bit(physid, (map).mask) 29 #define physid_clear(physid, map) clear_bit(physid, (map).mask) 30 #define physid_isset(physid, map) test_bit(physid, (map).mask) 31 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask) 35 #define physids_clear(map) bitmap_zero((map).mask, MAX_APICS [all...] |
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/asm/ |
mpspec_32.h | 28 #define physid_set(physid, map) set_bit(physid, (map).mask) 29 #define physid_clear(physid, map) clear_bit(physid, (map).mask) 30 #define physid_isset(physid, map) test_bit(physid, (map).mask) 31 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask) 35 #define physids_clear(map) bitmap_zero((map).mask, MAX_APICS [all...] |
/prebuilts/ndk/6/platforms/android-9/arch-x86/usr/include/asm/ |
mpspec_32.h | 28 #define physid_set(physid, map) set_bit(physid, (map).mask) 29 #define physid_clear(physid, map) clear_bit(physid, (map).mask) 30 #define physid_isset(physid, map) test_bit(physid, (map).mask) 31 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask) 35 #define physids_clear(map) bitmap_zero((map).mask, MAX_APICS [all...] |
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/asm/ |
mpspec_32.h | 28 #define physid_set(physid, map) set_bit(physid, (map).mask) 29 #define physid_clear(physid, map) clear_bit(physid, (map).mask) 30 #define physid_isset(physid, map) test_bit(physid, (map).mask) 31 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask) 35 #define physids_clear(map) bitmap_zero((map).mask, MAX_APICS [all...] |
/prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/asm/ |
mpspec_32.h | 28 #define physid_set(physid, map) set_bit(physid, (map).mask) 29 #define physid_clear(physid, map) clear_bit(physid, (map).mask) 30 #define physid_isset(physid, map) test_bit(physid, (map).mask) 31 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask) 35 #define physids_clear(map) bitmap_zero((map).mask, MAX_APICS [all...] |
/prebuilts/ndk/8/platforms/android-14/arch-x86/usr/include/asm/ |
mpspec_32.h | 32 #define physid_set(physid, map) set_bit(physid, (map).mask) 34 #define physid_clear(physid, map) clear_bit(physid, (map).mask) 35 #define physid_isset(physid, map) test_bit(physid, (map).mask) 36 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask) 40 #define physids_clear(map) bitmap_zero((map).mask, MAX_APICS [all...] |
/prebuilts/ndk/8/platforms/android-9/arch-x86/usr/include/asm/ |
mpspec_32.h | 32 #define physid_set(physid, map) set_bit(physid, (map).mask) 34 #define physid_clear(physid, map) clear_bit(physid, (map).mask) 35 #define physid_isset(physid, map) test_bit(physid, (map).mask) 36 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask) 40 #define physids_clear(map) bitmap_zero((map).mask, MAX_APICS [all...] |
/prebuilts/ndk/9/platforms/android-14/arch-x86/usr/include/asm/ |
mpspec_32.h | 32 #define physid_set(physid, map) set_bit(physid, (map).mask) 34 #define physid_clear(physid, map) clear_bit(physid, (map).mask) 35 #define physid_isset(physid, map) test_bit(physid, (map).mask) 36 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask) 40 #define physids_clear(map) bitmap_zero((map).mask, MAX_APICS [all...] |
/prebuilts/ndk/9/platforms/android-18/arch-x86/usr/include/asm/ |
mpspec_32.h | 32 #define physid_set(physid, map) set_bit(physid, (map).mask) 34 #define physid_clear(physid, map) clear_bit(physid, (map).mask) 35 #define physid_isset(physid, map) test_bit(physid, (map).mask) 36 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask) 40 #define physids_clear(map) bitmap_zero((map).mask, MAX_APICS [all...] |
/prebuilts/ndk/9/platforms/android-9/arch-x86/usr/include/asm/ |
mpspec_32.h | 32 #define physid_set(physid, map) set_bit(physid, (map).mask) 34 #define physid_clear(physid, map) clear_bit(physid, (map).mask) 35 #define physid_isset(physid, map) test_bit(physid, (map).mask) 36 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask) 40 #define physids_clear(map) bitmap_zero((map).mask, MAX_APICS [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
SortedMapTestBase.java | 29 import java.util.Map; 43 SortedMap<Integer, Integer> map; field in class:SortedMapTestBase 56 map.clear(); 57 assertTrue(map.isEmpty()); 63 assertEquals(ref.containsKey(key), map.containsKey(key)); 71 assertEquals(ref.containsValue(value), map.containsValue(value)); 77 Set<Map.Entry<Integer,Integer>> refSet = ref.entrySet(); 78 Set<Map.Entry<Integer,Integer>> mapSet = map.entrySet(); 79 for (Map.Entry<Integer,Integer> e : refSet) 263 TreeMap<String, String> map = new TreeMap<String, String>(); local [all...] |
/external/chromium_org/gpu/config/ |
dx_diag_node.h | 11 #include <map> 21 std::map<std::string, std::string> values; 22 std::map<std::string, DxDiagNode> children;
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
symbolize.h | 41 #include <map> 43 using std::map; 71 typedef map<const void*, const char*> SymbolMap; 76 // Map from addresses to symbol names.
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
symbolize.h | 41 #include <map> 43 using std::map; 71 typedef map<const void*, const char*> SymbolMap; 76 // Map from addresses to symbol names.
|
/external/qemu/android/utils/ |
intmap.h | 22 /* Create new integer map */ 25 /* Returns the number of keys stored in the map */ 26 int aintmap_getCount( AIntMap* map ); 28 /* Returns TRUE if the map has a value for the 'key'. Necessary because 29 * NULL is a valid value for the map. 31 int aintmap_has( AIntMap* map, int key ); 33 /* Get the value associated with a 'key', or NULL if not in map */ 34 void* aintMap_get( AIntMap* map, int key ); 36 /* Get the value associated with a 'key', or 'def' if not in map */ 37 void* aintMap_getWithDefault( AIntMap* map, int key, void* def ) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/map.access/ |
max_size.pass.cpp | 10 // <map> 12 // class map 16 #include <map> 24 typedef std::map<int, double> M; 30 typedef std::map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>> M;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/map.cons/ |
default.pass.cpp | 10 // <map> 12 // class map 14 // map(); 16 #include <map> 24 std::map<int, double> m; 30 std::map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>> m;
|
/system/core/include/cutils/ |
hashmap.h | 18 * Hash map. 31 /** A hash map. */ 35 * Creates a new hash map. Returns NULL if memory allocation fails. 45 * Frees the hash map. Does not free the keys or values themselves. 47 void hashmapFree(Hashmap* map); 56 * Puts value for the given key in the map. Returns pre-existing value if 59 * If memory allocation fails, this function returns NULL, the map's size 62 void* hashmapPut(Hashmap* map, void* key, void* value); 65 * Gets a value from the map. Returns NULL if no entry for the given key is 68 void* hashmapGet(Hashmap* map, void* key) [all...] |
/external/chromium/base/ |
file_descriptor_shuffle_unittest.cc | 73 InjectiveMultimap map; local 76 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); 81 InjectiveMultimap map; local 83 map.push_back(InjectionArc(0, 0, false)); 85 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); 90 InjectiveMultimap map; local 92 map.push_back(InjectionArc(0, 0, true)); 94 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); 99 InjectiveMultimap map; local 101 map.push_back(InjectionArc(0, 1, false)) 109 InjectiveMultimap map; local 121 InjectiveMultimap map; local 132 InjectiveMultimap map; local 144 InjectiveMultimap map; local 159 InjectiveMultimap map; local 174 InjectiveMultimap map; local 189 InjectiveMultimap map; local 204 InjectiveMultimap map; local 216 InjectiveMultimap map; local 229 InjectiveMultimap map; local 242 InjectiveMultimap map; local 269 InjectiveMultimap map; local 276 InjectiveMultimap map; local 284 InjectiveMultimap map; local [all...] |
/external/chromium_org/base/posix/ |
file_descriptor_shuffle_unittest.cc | 70 InjectiveMultimap map; local 73 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); 78 InjectiveMultimap map; local 80 map.push_back(InjectionArc(0, 0, false)); 82 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); 87 InjectiveMultimap map; local 89 map.push_back(InjectionArc(0, 0, true)); 91 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); 96 InjectiveMultimap map; local 98 map.push_back(InjectionArc(0, 1, false)) 106 InjectiveMultimap map; local 118 InjectiveMultimap map; local 129 InjectiveMultimap map; local 141 InjectiveMultimap map; local 156 InjectiveMultimap map; local 171 InjectiveMultimap map; local 186 InjectiveMultimap map; local 201 InjectiveMultimap map; local 213 InjectiveMultimap map; local 226 InjectiveMultimap map; local 239 InjectiveMultimap map; local 265 InjectiveMultimap map; local 272 InjectiveMultimap map; local 280 InjectiveMultimap map; local [all...] |
/system/extras/libpagemap/ |
pm_map.c | 22 int pm_map_pagemap(pm_map_t *map, uint64_t **pagemap_out, size_t *len) { 23 if (!map) 26 return pm_process_pagemap_range(map->proc, map->start, map->end, 30 int pm_map_usage_flags(pm_map_t *map, pm_memusage_t *usage_out, 38 if (!map || !usage_out) 41 error = pm_map_pagemap(map, &pagemap, &len); 47 usage.vss += map->proc->ker->pagesize; 55 error = pm_kernel_flags(map->proc->ker, PM_PAGEMAP_PFN(pagemap[i]) [all...] |
/system/core/liblog/ |
event_tag_map.c | 37 * Map. 50 static int processFile(EventTagMap* map); 51 static int countMapLines(const EventTagMap* map); 52 static int parseMapLines(EventTagMap* map); 54 static int sortTags(EventTagMap* map); 55 static void dumpTags(const EventTagMap* map); 59 * Open the map file and allocate a structure to manage it. 76 fprintf(stderr, "%s: unable to open map '%s': %s\n", 84 fprintf(stderr, "%s: unable to seek map '%s'\n", OUT_TAG, fileName); 110 * Close the map [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
MutableClassToInstanceMapTest.java | 30 import java.util.Map; 31 import java.util.Map.Entry; 59 public Map<Class, Number> create(Object... elements) { 60 MutableClassToInstanceMap<Number> map 64 map.putInstance(entry.getKey(), entry.getValue()); 66 return (Map) map; 82 private ClassToInstanceMap<Number> map; field in class:MutableClassToInstanceMapTest 85 map = MutableClassToInstanceMap.create(); 98 map.put(Integer.class, new Integer(5)) [all...] |