/prebuilts/ndk/current/platforms/android-19/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/current/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...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/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/guava/guava/src/com/google/common/base/ |
Defaults.java | 23 import java.util.Map; 36 private static final Map<Class<?>, Object> DEFAULTS; 39 // Only add to this map via put(Map, Class<T>, T) 40 Map<Class<?>, Object> map = new HashMap<Class<?>, Object>(); typedefs 41 put(map, boolean.class, false); 42 put(map, char.class, '\0'); 43 put(map, byte.class, (byte) 0); 44 put(map, short.class, (short) 0) [all...] |
/external/libcxx/test/std/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;
|
/external/libvpx/libvpx/test/ |
active_map_test.cc | 41 vpx_active_map_t map = vpx_active_map_t(); local 53 map.cols = (kWidth + 15) / 16; 54 map.rows = (kHeight + 15) / 16; 55 ASSERT_EQ(map.cols, 13u); 56 ASSERT_EQ(map.rows, 9u); 57 map.active_map = active_map; 58 encoder->Control(VP8E_SET_ACTIVEMAP, &map); 60 vpx_active_map_t map = vpx_active_map_t(); local 61 map.cols = (kWidth + 15) / 16; 62 map.rows = (kHeight + 15) / 16 [all...] |
/external/llvm/include/llvm/AsmParser/ |
SlotMapping.h | 19 #include <map> 35 std::map<unsigned, TrackingMDNodeRef> MetadataNodes; 37 std::map<unsigned, Type *> Types;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
active_map_test.cc | 41 vpx_active_map_t map = {0}; local 53 map.cols = (kWidth + 15) / 16; 54 map.rows = (kHeight + 15) / 16; 55 ASSERT_EQ(map.cols, 13u); 56 ASSERT_EQ(map.rows, 9u); 57 map.active_map = active_map; 58 encoder->Control(VP8E_SET_ACTIVEMAP, &map); 60 vpx_active_map_t map = {0}; local 61 map.cols = (kWidth + 15) / 16; 62 map.rows = (kHeight + 15) / 16 [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
HashMapTest.java | 74 HashMap<String, String> map = new HashMap<>(); local 75 map.put("one", "1"); 76 map.put("two", "2"); 77 map.put("three", "3"); 79 map.replaceAll((k, v) -> k + v); 80 assertEquals("one1", map.get("one")); 81 assertEquals("two2", map.get("two")); 82 assertEquals("three3", map.get("three")); 83 assertEquals(3, map.size()); 86 map.replaceAll(new java.util.function.BiFunction<String, String, String>() [all...] |
TreeMapTest.java | 26 import java.util.Map; 27 import java.util.Map.Entry; 44 TreeMap<String, String> map = new TreeMap<String, String>(); local 45 map.put("A", "a"); 46 map.put("B", "b"); 47 map.put("C", "c"); 49 Iterator<Entry<String, String>> iterator = map.entrySet().iterator(); 53 assertEquals("x", map.get("A")); 59 assertEquals("y", map.get("B")); 61 assertEquals("z", map.get("C")) 69 TreeMap<String, String> map = new TreeMap<String, String>(); local 98 TreeMap<String, String> map = new TreeMap<String, String>(); local 110 TreeMap<String, String> map = new TreeMap<String, String>(); local 145 Map<String, String> map = new TreeMap<String, String>(); local 162 Map<String, String> map = new TreeMap<String, String>(); local 179 Map<String,String> map = new TreeMap<String, String>(String.CASE_INSENSITIVE_ORDER); local 201 TreeMap<String,String> map = new TreeMap<String, String>(); local 222 Map<Object, Object> map = new TreeMap<Object, Object>(); local 242 Map<Object, Object> map = new TreeMap<Object, Object>().subMap("a", "z"); local 261 TreeMap<String, String> map = new TreeMap<String, String>() { local 280 TreeMap<String, String> map = new TreeMap<String, String>(); local 290 TreeMap<String, String> map = new TreeMap<String, String>( local 316 TreeMap<String, String> map = new TreeMap<String, String>( local 349 TreeMap<String, String> map = new TreeMap<String, String>( local 384 TreeMap<String, String> map = new TreeMap<String, String>( local 402 TreeMap<String, String> map = new TreeMap<String, String>( local 428 TreeMap<String, String> map = new TreeMap<String, String>(String.CASE_INSENSITIVE_ORDER); local 572 TreeMap<String, String> map = new TreeMap<>(); local [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;
|
/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...] |
/system/extras/simpleperf/ |
test_util.h | 17 #include <map> 27 void ParseSymbol(const ElfFileSymbol& symbol, std::map<std::string, ElfFileSymbol>* symbols); 28 void CheckElfFileSymbols(const std::map<std::string, ElfFileSymbol>& symbols);
|
/external/libchrome/base/posix/ |
file_descriptor_shuffle_unittest.cc | 68 InjectiveMultimap map; local 71 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); 76 InjectiveMultimap map; local 78 map.push_back(InjectionArc(0, 0, false)); 80 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); 85 InjectiveMultimap map; local 87 map.push_back(InjectionArc(0, 0, true)); 89 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); 94 InjectiveMultimap map; local 96 map.push_back(InjectionArc(0, 1, false)) 104 InjectiveMultimap map; local 116 InjectiveMultimap map; local 127 InjectiveMultimap map; local 139 InjectiveMultimap map; local 154 InjectiveMultimap map; local 169 InjectiveMultimap map; local 184 InjectiveMultimap map; local 199 InjectiveMultimap map; local 211 InjectiveMultimap map; local 224 InjectiveMultimap map; local 237 InjectiveMultimap map; local 259 InjectiveMultimap map; local 266 InjectiveMultimap map; local 274 InjectiveMultimap map; local [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
Chapter2_4Test.java | 23 import java.util.Map; 45 Map<String, Object> map = (Map<String, Object>) document.getNativeData(); local 46 assertEquals(5, map.size()); 47 assertEquals("Expect 12345 to be an Integer.", Integer.class, map.get("canonical") 49 assertEquals(new Integer(12345), map.get("canonical")); 50 assertEquals(new Integer(12345), map.get("decimal")); 51 assertEquals(new Integer(3 * 3600 + 25 * 60 + 45), map.get("sexagesimal")); 52 assertEquals(new Integer(014), map.get("octal")) 59 Map<String, Object> map = (Map<String, Object>) document.getNativeData(); local 74 Map<String, Object> map = (Map<String, Object>) document.getNativeData(); local 85 Map<String, Object> map = (Map<String, Object>) document.getNativeData(); local 111 Map<String, Object> map = (Map<String, Object>) document.getNativeData(); local 122 Map<String, Object> map = (Map<String, Object>) document.getNativeData(); local 148 Map<String, Object> map = (Map<String, Object>) document.getNativeData(); local 168 Map<String, String> map = (Map<String, String>) document.getNativeData(); local [all...] |
EnumBean.java | 23 private LinkedHashMap<Suit, Integer> map = new LinkedHashMap<Suit, Integer>(); field in class:EnumBean 26 return map; 29 public void setMap(LinkedHashMap<Suit, Integer> map) { 30 this.map = map;
|
/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); 48 usage.vss += map->proc->ker->pagesize; 57 error = pm_kernel_flags(map->proc->ker, PM_PAGEMAP_PFN(pagemap[i]) [all...] |
/external/libbrillo/brillo/ |
map_utils.h | 8 #include <map> 15 // Given an STL map, returns a set containing all keys from the map. 17 inline std::set<typename T::key_type> GetMapKeys(const T& map) { 19 for (const auto& pair : map) 20 keys.insert(keys.end(), pair.first); // Map keys are already sorted. 24 // Given an STL map, returns a vector containing all keys from the map. 27 inline std::vector<typename T::key_type> GetMapKeysAsVector(const T& map) { 29 keys.reserve(map.size()) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
MutableClassToInstanceMapTest.java | 31 import java.util.Map; 32 import java.util.Map.Entry; 60 public Map<Class, Number> create(Object... elements) { 61 MutableClassToInstanceMap<Number> map 65 map.putInstance(entry.getKey(), entry.getValue()); 67 return (Map) map; 84 private ClassToInstanceMap<Number> map; field in class:MutableClassToInstanceMapTest 87 map = MutableClassToInstanceMap.create(); 100 map.put(Integer.class, new Integer(5)) [all...] |
/external/autotest/client/tests/aio_dio_bugs/src/ |
aio-free-ring-with-bogus-nr-pages.c | 43 void* map; local 46 map = mmap(NULL, 100, PROT_READ, MAP_ANONYMOUS|MAP_PRIVATE, 48 if (map == MAP_FAILED) 50 map = mmap(NULL, 100, PROT_WRITE, MAP_ANONYMOUS|MAP_PRIVATE, 52 if (map == MAP_FAILED)
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/pooling/arrays/ |
Vec2Array.java | 37 private final HashMap<Integer, Vec2[]> map = new HashMap<Integer, Vec2[]>(); field in class:Vec2Array 42 if(!map.containsKey(argLength)){ 43 map.put(argLength, getInitializedArray(argLength)); 46 assert(map.get(argLength).length == argLength) : "Array not built of correct length"; 47 return map.get(argLength);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue102/ |
DataBean.java | 19 import java.util.Map; 24 private Map<String, Integer> map; field in class:DataBean 42 public Map<String, Integer> getMap() { 43 return map; 46 public void setMap(Map<String, Integer> map) { 47 this.map = map;
|
/external/v8/src/heap/ |
array-buffer-tracker.h | 8 #include <map> 59 std::map<void*, size_t> live_array_buffers_; 60 std::map<void*, size_t> not_yet_discovered_array_buffers_; 68 std::map<void*, size_t> live_array_buffers_for_scavenge_; 69 std::map<void*, size_t> not_yet_discovered_array_buffers_for_scavenge_;
|
/external/clang/test/OpenMP/ |
target_ast_print.cpp | 20 #pragma omp target map(i) 22 #pragma omp target map(a[0:10], i) 24 #pragma omp target map(to: i) map(from: j) 26 #pragma omp target map(always,alloc: i) 39 // CHECK-NEXT: #pragma omp target map(tofrom: i) 41 // CHECK-NEXT: #pragma omp target map(tofrom: a[0:10],i) 43 // CHECK-NEXT: #pragma omp target map(to: i) map(from: j) 45 // CHECK-NEXT: #pragma omp target map(always,alloc: i [all...] |
/external/valgrind/memcheck/tests/ |
pointer-trace.c | 22 char *map; local 54 map = mmap(0, stepsize * 2, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0); 55 if (map == (char *)-1) 59 map = mmap(0, stepsize * 2, PROT_WRITE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0); 60 if (map == (char *)-1) 66 map = mmap(0, stepsize * 2, PROT_WRITE|PROT_READ, MAP_PRIVATE, fd, 0); 67 if (map == (char *)-1) 69 //printf("trap 3 = %p-%p\n", map, map+stepsize*2); 72 map = mmap(0, 256*1024, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0) [all...] |