/system/core/libbacktrace/ |
BacktraceMap.cpp | 37 void BacktraceMap::FillIn(uintptr_t addr, backtrace_map_t* map) { 41 *map = *it; 45 *map = {}; 48 bool BacktraceMap::ParseLine(const char* line, backtrace_map_t* map) { 72 map->start = start; 73 map->end = end; 74 map->flags = PROT_NONE; 76 map->flags |= PROT_READ; 79 map->flags |= PROT_WRITE; 82 map->flags |= PROT_EXEC 118 backtrace_map_t map; local 136 BacktraceMap* map = new BacktraceMap(pid); local [all...] |
UnwindMap.cpp | 34 // of maps using the same map cursor. 55 backtrace_map_t map; local 57 map.start = unw_map.start; 58 map.end = unw_map.end; 59 map.offset = unw_map.offset; 60 map.load_base = unw_map.load_base; 61 map.flags = unw_map.flags; 62 map.name = unw_map.path; 65 maps_.push_front(map); 91 // It's possible for the map to be regenerated while this loop is occurring 104 backtrace_map_t map; local 154 BacktraceMap* map; local [all...] |
/external/v8/test/mjsunit/es6/ |
map-minus-zero.js | 7 var map = new Map(); 19 assertEquals(map.size, 0); 21 map.set(objectKey, 'aaa'); 22 map.set(stringKey, 'bbb'); 23 map.set(numberKey, 'ccc'); 24 map.set(booleanKey, 'ddd'); 25 map.set(undefinedKey, 'eee'); 26 map.set(nullKey, 'fff'); 27 map.set(nanKey, 'ggg') [all...] |
/system/core/libcutils/ |
hashmap.c | 48 Hashmap* map = malloc(sizeof(Hashmap)); local 49 if (map == NULL) { 55 map->bucketCount = 1; 56 while (map->bucketCount <= minimumBucketCount) { 58 map->bucketCount <<= 1; 61 map->buckets = calloc(map->bucketCount, sizeof(Entry*)); 62 if (map->buckets == NULL) { 63 free(map); 67 map->size = 0 [all...] |
/external/google-breakpad/src/common/ |
simple_string_dictionary_unittest.cc | 37 TestMap map; local 39 const TestMap::Entry* entry = TestMap::Iterator(map).Next(); 43 map.SetKeyValue("key1", "value1"); 44 entry = TestMap::Iterator(map).Next(); 50 map.SetKeyValue("key1", "value3"); 57 map.RemoveKey("key1"); 93 NonAllocatingMap<10, 10, 10> map; local 94 map.SetKeyValue("one", "a"); 95 map.SetKeyValue("two", "b"); 96 map.SetKeyValue("three", "c") 229 NonAllocatingMap<5, 7, 6> map; local 255 TestMap map; local 283 NonAllocatingMap<3, 2, 2> map; local 294 NonAllocatingMap<4, 6, 6> map; local [all...] |
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
FocusLogicTest.java | 63 int[][] map = transpose(new int[][] { local 70 int i = FocusLogic.handleKeyEvent(KeyEvent.KEYCODE_DPAD_RIGHT, map, 100, 1, 2, false); 75 int[][] map = transpose(new int[][] { local 82 int i = FocusLogic.handleKeyEvent(KeyEvent.KEYCODE_DPAD_RIGHT, map, 100, 1, 2, false); 88 int[][] map = transpose(new int[][] { local 95 int i = FocusLogic.handleKeyEvent(KeyEvent.KEYCODE_DPAD_DOWN, map, 0, 1, 1, true); 99 map = transpose(new int[][] { 106 i = FocusLogic.handleKeyEvent(KeyEvent.KEYCODE_DPAD_DOWN, map, 0, 1, 1, true); 113 int[][] map = transpose(new int[][] { local 121 int i = FocusLogic.handleKeyEvent(KeyEvent.KEYCODE_DPAD_DOWN, map, 0, 1, 1, true) 194 int[][] map = transpose(new int[][] { local [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_keymap.c | 67 default_delete_func(const struct keymap *map, 103 * Create a new map. 113 struct keymap *map = MALLOC_STRUCT(keymap); local 114 if (!map) 117 map->cso = cso_hash_create(); 118 if (!map->cso) { 119 FREE(map); 123 map->max_entries = maxEntries; 124 map->num_entries = 0; 125 map->key_size = keySize [all...] |
/system/core/debuggerd/test/ |
tombstone_test.cpp | 98 backtrace_map_t map; local 100 map.start = 0x123456789abcd000UL; 101 map.end = 0x123456789abdf000UL; 103 map.start = 0x1234000; 104 map.end = 0x1235000; 106 map_mock_->AddMap(map); 114 "\nmemory map:\n" 130 backtrace_map_t map; local 132 map.start = 0x123456789abcd000UL; 133 map.end = 0x123456789abdf000UL 167 backtrace_map_t map; local 206 backtrace_map_t map; local 270 backtrace_map_t map; local 326 backtrace_map_t map; local 382 backtrace_map_t map; local 436 backtrace_map_t map; local 496 backtrace_map_t map; local 530 backtrace_map_t map; local [all...] |
/dalvik/libdex/ |
DexDataMap.h | 18 * Verification-time map of data section items 27 u4 count; /* number of items currently in the map */ 41 void dexDataMapFree(DexDataMap* map); 44 * Add a new element to the map. The offset must be greater than the 47 void dexDataMapAdd(DexDataMap* map, u4 offset, u2 type); 53 int dexDataMapGet(DexDataMap* map, u4 offset); 56 * Verify that there is an entry in the map, mapping the given offset to 60 bool dexDataMapVerify(DexDataMap* map, u4 offset, u2 type); 65 DEX_INLINE bool dexDataMapVerify0Ok(DexDataMap* map, u4 offset, u2 type) { 70 return dexDataMapVerify(map, offset, type) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
DictionaryExtensions.cs | 45 public static bool containsKey(IDictionary map, object key) { 46 return map.Contains(key); 50 public static object get(IDictionary map, object key) { 51 return map[key]; 55 public static TValue get<TKey, TValue>(IDictionary<TKey, TValue> map, TKey key) { 57 if (map.TryGetValue(key, out value)) 67 public static TValue get<TKey, TValue>(Dictionary<TKey, TValue> map, TKey key) { 69 if (map.TryGetValue(key, out value)) 78 public static TValue get<TKey, TValue>(SortedList<TKey, TValue> map, TKey key) { 80 if (map.TryGetValue(key, out value) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
DictionaryExtensions.cs | 44 public static bool containsKey( this IDictionary map, object key ) 46 return map.Contains( key ); 50 public static object get( this IDictionary map, object key ) 52 return map[key]; 55 public static TValue get<TKey, TValue>( this IDictionary<TKey, TValue> map, TKey key ) 58 if ( map.TryGetValue( key, out value ) ) 68 public static TValue get<TKey, TValue>( this Dictionary<TKey, TValue> map, TKey key ) 71 if ( map.TryGetValue( key, out value ) ) 80 public static TValue get<TKey, TValue>( this SortedList<TKey, TValue> map, TKey key ) 83 if ( map.TryGetValue( key, out value ) [all...] |
/external/autotest/client/profilers/readprofile/ |
avgprofile | 8 $map{$2} += $1; 12 foreach $key (keys %map) { 13 $value = int $map{$key}/5;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/json/ |
JsonTest.java | 22 import java.util.Map; 30 Map<String, Integer> map = (Map<String, Integer>) loader.load("{a: 1}"); local 31 assertEquals(new Integer(1), map.get("a")); 35 Map<String, Integer> map = (Map<String, Integer>) loader.load("{\"a\": 1}"); local 36 assertEquals(new Integer(1), map.get("a")); 49 Map<String, Integer> map = (Map<String, Integer>) loader.load("{\"a\":1}") local 54 Map<String, Integer> map = (Map<String, Integer>) loader.load("{\\"a\\":\\"1\\"}"); local 59 Map<String, Integer> map = (Map<String, Integer>) loader.load("{'a':1}"); local 64 Map<String, Object> map = (Map<String, Object>) loader.load("{\\"a\\":1,\\"b\\":true,\\"c\\":\\"foo\\"}"); local 72 Map<String, Object> map = (Map<String, Object>) loader.load("{a: null}"); local 78 Map<String, Object> map = (Map<String, Object>) loader.load("{a: }"); local 84 Map<String, Object> map = (Map<String, Object>) loader.load("{a: true}"); local [all...] |
/external/libunwind/src/ |
Los-common.c | 29 /* Global to hold the map for all local unwinds. */ 59 the current map. As we progress, simply start from the last element 76 after advancing to the next map element. */ 85 we gather a map of the process before starting. If the cache is missing 86 a map, or a map exists but doesn't have the "expected_flags" set, then 93 struct map_info *map; local 99 map = map_find_from_addr (new_list, addr); 100 if (map && (map->end - addr >= bytes) && (expected_flags == 0 || (map->flags & expected_flags)) 132 struct map_info *map; local 179 struct map_info *map; local 230 struct map_info *map; local [all...] |
os-common.c | 39 struct map_info *map; local 44 map = map_find_from_addr (as->map_list, ip); 45 if (!map) 48 if (!elf_map_cached_image (as, as_arg, map, ip, false)) 51 *ei = map->ei; 52 *segbase = map->start; 54 *mapoff = map->offset; 56 /* Always use zero as the map offset for in memory maps. The 66 *path = strdup (map->path);
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/ |
H2MapTest.java | 17 H2Map map; field in class:H2MapTest 21 map = new H2Map(); 26 assertThat(map.getDriverClassName(), equalTo("org.h2.Driver")); 31 assertThat(map.getConnectionString(), equalTo("jdbc:h2:mem:")); 36 assertThat(map.getScrubSQL("autoincrement"), equalTo("auto_increment")); 41 assertThat(map.getScrubSQL("integer"), equalTo("bigint(19)")); 46 map.getScrubSQL("INTEGER PRIMARY KEY AUTOINCREMENT"); 51 map.getScrubSQL("INT PRIMARY KEY AUTOINCREMENT"); 56 map.getScrubSQL("CHAR PRIMARY KEY AUTOINCREMENT"); 61 assertThat(map.getSelectLastInsertIdentity(), equalTo("SELECT IDENTITY();")) [all...] |
/external/guava/guava/src/com/google/common/collect/ |
ImmutableMapKeySet.java | 23 import java.util.Map.Entry; 35 private final ImmutableMap<K, V> map; field in class:ImmutableMapKeySet 37 ImmutableMapKeySet(ImmutableMap<K, V> map) { 38 this.map = map; 43 return map.size(); 53 return map.containsKey(object); 58 final ImmutableList<Entry<K, V>> entryList = map.entrySet().asList(); 81 return new KeySetSerializedForm<K>(map); 86 final ImmutableMap<K, ?> map; [all...] |
ImmutableMapValues.java | 23 import java.util.Map.Entry; 35 private final ImmutableMap<K, V> map; field in class:ImmutableMapValues 37 ImmutableMapValues(ImmutableMap<K, V> map) { 38 this.map = map; 43 return map.size(); 48 return Maps.valueIterator(map.entrySet().iterator()); 63 final ImmutableList<Entry<K, V>> entryList = map.entrySet().asList(); 79 return new SerializedForm<V>(map); 84 final ImmutableMap<?, V> map; [all...] |
/art/test/ImageLayoutB/ |
ImageLayoutB.java | 21 public static HashMap<String, String> map = new HashMap<String, String>(); field in class:MyClass 23 map.put("KEY_FOR_HASH_MAP", "VALUE_FOR_HASH_MAP");
|
/external/ImageMagick/tests/ |
validate-formats-map.tap | 23 ${VALIDATE} -validate formats-map && echo "ok" || echo "not ok"
|
/external/apache-http/src/org/apache/http/protocol/ |
BasicHttpContext.java | 35 import java.util.Map; 54 private Map map = null; field in class:BasicHttpContext 70 if (this.map != null) { 71 obj = this.map.get(id); 83 if (this.map == null) { 84 this.map = new HashMap(); 86 this.map.put(id, obj); 93 if (this.map != null) { 94 return this.map.remove(id) [all...] |
/external/libcxx/test/std/containers/associative/multimap/ |
scary.pass.cpp | 10 // <map> 12 // class map class multimap 14 // Extension: SCARY/N2913 iterator compatibility between map and multimap 16 #include <map> 20 typedef std::map<int, int> M1;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
Chapter2_3Test.java | 19 import java.util.Map; 62 Map<String, String> map = (Map<String, String>) document.getNativeData(); local 63 assertEquals(map.toString(), 3, map.size()); 64 assertEquals("Mark McGwire", map.get("name")); 66 map.get("accomplishment")); 67 assertEquals("65 Home Runs\n0.278 Batting Average\n", map.get("stats")); 74 Map<String, String> map = (Map<String, String>) document.getNativeData() local 87 Map<String, String> map = (Map<String, String>) document.getNativeData(); local 94 Map<String, String> map = (Map<String, String>) document.getNativeData(); local 101 Map<String, String> map = (Map<String, String>) document.getNativeData(); local 108 Map<String, String> map = (Map<String, String>) document.getNativeData(); local 115 Map<String, String> map = (Map<String, String>) document.getNativeData(); local 122 Map<String, String> map = (Map<String, String>) document.getNativeData(); local 129 Map<String, String> map = (Map<String, String>) document.getNativeData(); local [all...] |
/external/v8/src/ |
contexts-inl.h | 87 Map* map = this->map(); local 88 return map == map->GetHeap()->native_context_map(); 93 Map* map = this->map(); local 94 return map == map->GetHeap()->function_context_map() 99 Map* map = this->map(); local 105 Map* map = this->map(); local 110 Map* map = this->map(); local 115 Map* map = this->map(); local 121 Map* map = this->map(); local 127 Map* map = this->map(); local [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
OldLinkedHashMapTest.java | 29 LinkedHashMap map = new LinkedHashMap<String, String>(10, 0.75f, true); local 31 map.put("key1", "value1"); 32 map.put("key2", "value2"); 33 map.put("key3", "value3"); 35 Iterator iterator = map.keySet().iterator(); 37 map.get(id); 49 LinkedHashMap mapClone = (LinkedHashMap) map.clone(); 51 iterator = map.keySet().iterator();
|