HomeSort by relevance Sort by last modified time
    Searched refs:map (Results 101 - 125 of 13177) sorted by null

1 2 3 45 6 7 8 91011>>

  /packages/apps/Launcher3/tests/src/com/android/launcher3/util/
FocusLogicTest.java 57 int[][] map = transpose(new int[][] { local
64 int i = FocusLogic.handleKeyEvent(KeyEvent.KEYCODE_DPAD_RIGHT, map, 100, 1, 2, false);
70 int[][] map = transpose(new int[][] { local
77 int i = FocusLogic.handleKeyEvent(KeyEvent.KEYCODE_DPAD_RIGHT, map, 100, 1, 2, false);
84 int[][] map = transpose(new int[][] { local
91 int i = FocusLogic.handleKeyEvent(KeyEvent.KEYCODE_DPAD_DOWN, map, 0, 1, 1, true);
95 map = transpose(new int[][] {
102 i = FocusLogic.handleKeyEvent(KeyEvent.KEYCODE_DPAD_DOWN, map, 0, 1, 1, true);
110 int[][] map = transpose(new int[][] { local
118 int i = FocusLogic.handleKeyEvent(KeyEvent.KEYCODE_DPAD_DOWN, map, 0, 1, 1, true)
192 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...]
  /frameworks/support/app-toolkit/common/src/test/java/androidx/collection/
SafeIterableMapTest.java 31 import java.util.Map.Entry;
38 SafeIterableMap<Integer, String> map = from(1, 2, 3, 4).to("a", "b", "c", "d"); local
39 assertThat(map.toString(), is("[1=a, 2=b, 3=c, 4=d]"));
44 SafeIterableMap<Integer, Boolean> map = mapOf(); local
45 assertThat(map.toString(), is("[]"));
50 SafeIterableMap<Integer, Boolean> map = mapOf(1); local
51 assertThat(map.toString(), is("[1=true]"));
64 SafeIterableMap<Integer, Boolean> map = mapOf(1, 2, 3, 4); local
66 assertThat(map.equals(null), is(false));
71 SafeIterableMap<Integer, Boolean> map = mapOf(1, 2, 3, 4) local
78 SafeIterableMap<Integer, Boolean> map = mapOf(1, 2, 3, 4); local
120 SafeIterableMap<Integer, Integer> map = from(1, 2, 3, 4).to(10, 20, 30, 40); local
127 SafeIterableMap<Integer, Integer> map = from(1, 2, 3, 4).to(10, 20, 261, 40); local
134 SafeIterableMap<Integer, Integer> map = from(1, 2, 3, 4).to(10, 20, 30, 40); local
141 SafeIterableMap<Integer, Boolean> map = mapOf(1, 2, 3, 4); local
148 SafeIterableMap<Integer, Integer> map = from(1, 2, 3, 4).to(10, 20, 30, 40); local
156 SafeIterableMap<Integer, Boolean> map = mapOf(1, 2, 3, 4); local
163 SafeIterableMap<Integer, Integer> map = from(1).to(261); local
170 SafeIterableMap<Integer, Integer> map = from(1, 2, 3, 4).to(10, 20, 30, 40); local
184 SafeIterableMap<Integer, Integer> map = from(1, 2).to(10, 20); local
193 SafeIterableMap<Integer, Integer> map = from(1, 2, 3, 4).to(10, 20, 30, 40); local
206 SafeIterableMap<Integer, Boolean> map = mapOf(1, 2); local
220 SafeIterableMap<Integer, Boolean> map = mapOf(1, 2, 3, 4); local
233 SafeIterableMap<Integer, Boolean> map = mapOf(1, 2, 3, 4); local
247 SafeIterableMap<Integer, Boolean> map = mapOf(1, 2, 3, 4); local
268 SafeIterableMap<Integer, Boolean> map = mapOf(1, 2, 3, 4); local
284 SafeIterableMap<Integer, Boolean> map = mapOf(1); local
302 SafeIterableMap<Integer, Boolean> map = mapOf(1, 2, 3); local
317 SafeIterableMap<Integer, Boolean> map = mapOf(); local
337 SafeIterableMap<Integer, Boolean> map = mapOf(1, 2); local
353 SafeIterableMap<Integer, Boolean> map = mapOf(1, 2, 3, 4); local
364 SafeIterableMap<Integer, Boolean> map = mapOf(1, 2, 3, 4); local
379 SafeIterableMap<Integer, Boolean> map = mapOf(1, 2, 3, 4); local
394 SafeIterableMap<Integer, Boolean> map = mapOf(1, 2, 3, 4); local
410 SafeIterableMap<Integer, Boolean> map = mapOf(1, 2, 3, 4); local
425 SafeIterableMap<Integer, Boolean> map = mapOf(); local
432 SafeIterableMap<Integer, Boolean> map = mapOf(); local
439 SafeIterableMap<Integer, Boolean> map = mapOf(); local
446 SafeIterableMap<Integer, Boolean> map = mapOf(); local
460 SafeIterableMap<Integer, Boolean> map = mapOf(); local
476 SafeIterableMap<K, Boolean> map = new SafeIterableMap<>(); local
498 SafeIterableMap<K, V> map = new SafeIterableMap<>(); local
    [all...]
  /external/clang/test/OpenMP/
target_parallel_map_messages.cpp 67 #pragma omp target parallel map // expected-error {{expected '(' after 'map'}}
69 #pragma omp target parallel map( // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{expected expression}}
71 #pragma omp target parallel map() // expected-error {{expected expression}}
73 #pragma omp target parallel map(alloc) // expected-error {{use of undeclared identifier 'alloc'}}
75 #pragma omp target parallel map(to argc // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{expected ',' or ')' in 'map' clause}}
77 #pragma omp target parallel map(to:) // expected-error {{expected expression}}
79 #pragma omp target parallel map(from: argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
81 #pragma omp target parallel map(x: y) // expected-error {{incorrect map type, expected one of 'to', 'from', 'tofrom', 'alloc', 're (…)
    [all...]
target_map_messages.cpp 9 #pragma omp target map(marr[2][0:2][0:2]) // expected-error {{array section does not specify contiguous storage}}
11 #pragma omp target map(marr[:][0:][:])
13 #pragma omp target map(marr[:][1:][:]) // expected-error {{array section does not specify contiguous storage}}
15 #pragma omp target map(marr[:][n:][:])
30 #pragma omp target map(arg,a,d)
32 #pragma omp target map(arg[2:2],a,d) // expected-error {{subscripted value is not an array or pointer}}
34 #pragma omp target map(arg,a*2) // expected-error {{expected expression containing only member accesses and/or array sections based on named variables}}
36 #pragma omp target map(arg,(c+1)[2]) // expected-error {{expected expression containing only member accesses and/or array sections based on named variables}}
38 #pragma omp target map(arg,a[:2],d) // expected-error {{subscripted value is not an array or pointer}}
40 #pragma omp target map(arg,a,d[:2]) // expected-error {{subscripted value is not an array or pointer}
    [all...]
  /art/tools/ahat/src/test/com/android/ahat/
ProguardMapTest.java 42 + " 52:55:void methodWithClearObjArg(class.not.in.Map) -> m\n"
43 + " 57:58:void methodWithClearObjArrArg(class.not.in.Map[]) -> m\n"
52 ProguardMap map = new ProguardMap(); local
54 // An empty proguard map should not deobfuscate anything.
55 assertEquals("foo.bar.Sludge", map.getClassName("foo.bar.Sludge"));
56 assertEquals("fooBarSludge", map.getClassName("fooBarSludge"));
57 assertEquals("myfield", map.getFieldName("foo.bar.Sludge", "myfield"));
58 assertEquals("myfield", map.getFieldName("fooBarSludge", "myfield"));
59 ProguardMap.Frame frame = map.getFrame(
66 // Read in the proguard map
    [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...]
  /hardware/google/av/media/sfplugin/
Codec2Mapper.h 27 * Utility class to map Codec 2.0 values to android values.
42 static bool map(C2Config::bitrate_mode_t, int32_t*);
43 static bool map(int32_t, C2Config::bitrate_mode_t*);
46 static bool map(C2Config::pcm_encoding_t, int32_t*);
47 static bool map(int32_t, C2Config::pcm_encoding_t*);
50 static bool map(C2Config::picture_type_t, int32_t*);
51 static bool map(int32_t, C2Config::picture_type_t*);
  /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...]
  /external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/utils/
VisitorMapTest.java 10 import java.util.Map;
22 Map<CompilationUnit, Integer> map = new HashMap<>(); local
23 map.put(x1, 1);
24 map.put(x2, 2);
25 assertEquals(1, map.size());
33 Map<CompilationUnit, Integer> map = new VisitorMap<>(new ObjectIdentityHashCodeVisitor(), new ObjectIdentityEqualsVisitor()); local
34 map.put(x1, 1);
35 map.put(x2, 2)
43 Map<CompilationUnit, Integer> map = new VisitorMap<>(new ObjectIdentityHashCodeVisitor(), new ObjectIdentityEqualsVisitor()); local
52 Map<CompilationUnit, Integer> map = new VisitorMap<>(new ObjectIdentityHashCodeVisitor(), new ObjectIdentityEqualsVisitor()); local
61 Map<CompilationUnit, Integer> map = new HashMap<>(); local
72 VisitorMap<CompilationUnit, Integer> map = new VisitorMap<>(new ObjectIdentityHashCodeVisitor(), new ObjectIdentityEqualsVisitor()); local
    [all...]
  /art/compiler/debug/
debug_info.h 20 #include <map>
36 std::map<uint32_t, const DexFile*> dex_files; // Offset in section -> dex file content.
  /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/map/
PR28469_undefined_behavior_segfault.sh.cpp 13 // <map>
19 #include <map>
24 std::map<int, std::function<void()> > m;
  /external/libcxx/test/std/containers/associative/map/map.cons/
compare_copy_constructible.fail.cpp 10 // <map>
12 // Check that std::map fails to instantiate if the comparison predicate is
15 #include <map>
28 std::map<int, int, Comp<int> > m;
  /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;

Completed in 762 milliseconds

1 2 3 45 6 7 8 91011>>