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

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/go/darwin-x86/test/
bigmap.go 7 // Internally a map holds elements in up to 255 bytes of key+value.
30 m := make(map[int][1000]byte)
43 m := make(map[T]V)
48 panic("bad map")
54 m := make(map[T]V)
59 panic("bad map")
65 m := make(map[T]V)
70 panic("bad map")
76 m := make(map[T]V)
81 panic("bad map")
    [all...]
  /prebuilts/go/linux-x86/test/
bigmap.go 7 // Internally a map holds elements in up to 255 bytes of key+value.
30 m := make(map[int][1000]byte)
43 m := make(map[T]V)
48 panic("bad map")
54 m := make(map[T]V)
59 panic("bad map")
65 m := make(map[T]V)
70 panic("bad map")
76 m := make(map[T]V)
81 panic("bad map")
    [all...]
  /external/mockito/src/main/java/org/mockito/internal/util/concurrent/
DetachedThreadLocal.java 16 final WeakConcurrentMap<Thread, T> map; field in class:DetachedThreadLocal
22 map = new WeakConcurrentMap<Thread, T>(cleaner == Cleaner.THREAD) {
30 map = new WeakConcurrentMap.WithInlinedExpunction<Thread, T>() {
43 return map.get(Thread.currentThread());
47 map.put(Thread.currentThread(), value);
51 map.remove(Thread.currentThread());
58 map.clear();
68 map.put(thread, inheritValue(value));
78 T value = map.get(thread);
90 return map.get(thread)
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue139/
MergeValueTest.java 18 import java.util.Map;
31 Map<String, Integer> map = (Map<String, Integer>) yaml.load(simple); local
32 assertEquals(1, map.size());
33 assertEquals(new Integer(2), map.get("key"));
46 Map<String, Object> map = (Map<String, Object>) yaml.load(input); local
47 assertEquals(2, map.size())
63 Map<String, Object> map = (Map<String, Object>) yaml.load(input); local
    [all...]
  /frameworks/av/drm/libdrmframework/plugins/common/util/include/
SessionMap.h 42 * Adds a new value in the session map table. It expects memory to be allocated already
53 map.add(key, value);
72 * returns the number of objects in the session map table
78 return map.size();
82 * returns the session object by the index in the session map table
92 if (map.size() > index) {
93 value = map.valueAt(index);
99 * deletes the object from session map. It also frees up memory for the session object.
107 map.removeItem(key);
126 map = objectCopy.map
131 KeyedVector<int, TValue> map; member in class:android::SessionMap
    [all...]
  /libcore/jsr166-tests/src/test/java/jsr166/
ConcurrentSkipListMapTest.java 14 import java.util.Map;
37 * Returns a new map from Integers 1-5 to Strings "A"-"E".
40 ConcurrentSkipListMap map = new ConcurrentSkipListMap(); local
41 assertTrue(map.isEmpty());
42 map.put(one, "A");
43 map.put(five, "E");
44 map.put(three, "C");
45 map.put(two, "B");
46 map.put(four, "D");
47 assertFalse(map.isEmpty())
56 ConcurrentSkipListMap map = map5(); local
65 ConcurrentSkipListMap map = map5(); local
87 ConcurrentSkipListMap map = map5(); local
96 ConcurrentSkipListMap map = map5(); local
106 ConcurrentSkipListMap map = map5(); local
117 ConcurrentSkipListMap map = map5(); local
126 ConcurrentSkipListMap map = map5(); local
134 ConcurrentSkipListMap map = map5(); local
142 ConcurrentSkipListMap map = map5(); local
155 ConcurrentSkipListMap map = map5(); local
168 ConcurrentSkipListMap map = map5(); local
182 ConcurrentSkipListMap map = map5(); local
220 ConcurrentSkipListMap map = map5(); local
239 ConcurrentSkipListMap map = map5(); local
    [all...]
ConcurrentSkipListSubMapTest.java 13 import java.util.Map;
35 * Returns a new map from Integers 1-5 to Strings "A"-"E".
38 ConcurrentSkipListMap map = new ConcurrentSkipListMap(); local
39 assertTrue(map.isEmpty());
40 map.put(zero, "Z");
41 map.put(one, "A");
42 map.put(five, "E");
43 map.put(three, "C");
44 map.put(two, "B");
45 map.put(four, "D")
56 ConcurrentSkipListMap map = new ConcurrentSkipListMap(); local
69 ConcurrentSkipListMap map = new ConcurrentSkipListMap(); local
75 ConcurrentSkipListMap map = new ConcurrentSkipListMap(); local
84 ConcurrentNavigableMap map = map5(); local
106 ConcurrentNavigableMap map = map5(); local
115 ConcurrentNavigableMap map = map5(); local
125 ConcurrentNavigableMap map = map5(); local
136 ConcurrentNavigableMap map = map5(); local
145 ConcurrentNavigableMap map = map5(); local
153 ConcurrentNavigableMap map = map5(); local
161 ConcurrentNavigableMap map = map5(); local
175 ConcurrentNavigableMap map = map5(); local
    [all...]
ConcurrentHashMapTest.java 17 import java.util.Map;
37 * Returns a new map from Integers 1-5 to Strings "A"-"E".
40 ConcurrentHashMap map = new ConcurrentHashMap<Integer, String>(5); local
41 assertTrue(map.isEmpty());
42 map.put(one, "A");
43 map.put(two, "B");
44 map.put(three, "C");
45 map.put(four, "D");
46 map.put(five, "E");
47 assertFalse(map.isEmpty())
184 ConcurrentHashMap<Object, Object> map = local
217 ConcurrentHashMap map = map5(); local
239 ConcurrentHashMap<Integer,String> map = map5(); local
250 ConcurrentHashMap map = map5(); local
259 ConcurrentHashMap map = map5(); local
268 ConcurrentHashMap map = map5(); local
278 ConcurrentHashMap map = map5(); local
293 ConcurrentHashMap map = map5(); local
305 ConcurrentHashMap map = map5(); local
314 ConcurrentHashMap map = map5(); local
328 ConcurrentHashMap map = map5(); local
342 ConcurrentHashMap map = map5(); local
355 ConcurrentHashMap map = map5(); local
371 ConcurrentHashMap map = map5(); local
385 ConcurrentHashMap map = map5(); local
399 ConcurrentHashMap map = map5(); local
419 ConcurrentHashMap map = map5(); local
433 ConcurrentHashMap map = map5(); local
442 ConcurrentHashMap map = map5(); local
450 ConcurrentHashMap map = map5(); local
459 ConcurrentHashMap map = map5(); local
468 ConcurrentHashMap map = map5(); local
478 ConcurrentHashMap map = map5(); local
488 ConcurrentHashMap map = map5(); local
498 ConcurrentHashMap map = map5(); local
511 ConcurrentHashMap map = map5(); local
521 ConcurrentHashMap map = map5(); local
794 ConcurrentHashMap map = new ConcurrentHashMap(2, 5.0f, 1); local
    [all...]
  /bionic/tests/
sys_mman_test.cpp 27 void* map = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); local
28 ASSERT_NE(MAP_FAILED, map);
29 ASSERT_EQ(0, munmap(map, 4096));
33 void* map = mmap64(NULL, 4096, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); local
34 ASSERT_NE(MAP_FAILED, map);
35 ASSERT_EQ(0, munmap(map, 4096));
41 void* map = mmap(NULL, 100, PROT_READ, MAP_SHARED, tf.fd, 1); local
42 ASSERT_EQ(MAP_FAILED, map);
48 void* map = mmap64(NULL, 100, PROT_READ, MAP_SHARED, tf.fd, 1); local
49 ASSERT_EQ(MAP_FAILED, map);
62 void* map = mmap(NULL, sizeof(STRING_MSG), PROT_READ, MAP_SHARED, tf.fd, 0); local
77 void* map = mmap(NULL, sizeof(STRING_MSG), PROT_WRITE, MAP_SHARED, tf.fd, 0); local
113 void* map = mmap(NULL, pagesize, PROT_READ, MAP_SHARED, tf.fd, pagesize); local
149 void* map = mmap(NULL, pagesize, PROT_WRITE, MAP_SHARED, tf.fd, pagesize); local
184 void* map = mmap(NULL, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, tempfile.fd, 0); local
202 void* map = mmap(NULL, pagesize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); local
231 void* map = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); local
    [all...]
  /external/clang/test/OpenMP/
target_parallel_for_map_messages.cpp 67 #pragma omp target parallel for map // expected-error {{expected '(' after 'map'}}
69 #pragma omp target parallel for map( // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{expected expression}}
71 #pragma omp target parallel for map() // expected-error {{expected expression}}
73 #pragma omp target parallel for map(alloc) // expected-error {{use of undeclared identifier 'alloc'}}
75 #pragma omp target parallel for map(to argc // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{expected ',' or ')' in 'map' clause}}
77 #pragma omp target parallel for map(to:) // expected-error {{expected expression}}
79 #pragma omp target parallel for map(from: argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
81 #pragma omp target parallel for map(x: y) // expected-error {{incorrect map type, expected one of 'to', 'from', 'tofrom', 'alloc', 're (…)
    [all...]
target_parallel_for_simd_map_messages.cpp 67 #pragma omp target parallel for simd map // expected-error {{expected '(' after 'map'}}
69 #pragma omp target parallel for simd map( // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{expected expression}}
71 #pragma omp target parallel for simd map() // expected-error {{expected expression}}
73 #pragma omp target parallel for simd map(alloc) // expected-error {{use of undeclared identifier 'alloc'}}
75 #pragma omp target parallel for simd map(to argc // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{expected ',' or ')' in 'map' clause}}
77 #pragma omp target parallel for simd map(to:) // expected-error {{expected expression}}
79 #pragma omp target parallel for simd map(from: argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
81 #pragma omp target parallel for simd map(x: y) // expected-error {{incorrect map type, expected one of 'to', 'from', 'tofrom', 'alloc', 're (…)
    [all...]
target_data_messages.c 7 #pragma omp target data // expected-error {{expected at least one map clause for '#pragma omp target data'}}
11 #pragma omp target data map(a)
17 #pragma omp target data map(a)
21 #pragma omp target data map(a)(i) // expected-warning {{extra tokens at the end of '#pragma omp target data' are ignored}}
  /external/pcre/pcrecpp/
pcre_stringpiece_unittest.cc 9 #include <map>
38 typedef std::map<StringPiece, int> TestMap;
39 TestMap map; local
41 map.insert(std::make_pair(p1, 0));
42 map.insert(std::make_pair(p2, 1));
43 map.insert(std::make_pair(p3, 2));
45 CHECK(map.size() == 3);
47 TestMap::const_iterator iter = map.begin();
54 CHECK(iter == map.end());
56 TestMap::iterator new_iter = map.find("zot")
    [all...]
  /external/eigen/demos/mix_eigen_and_c/
example.c 44 struct C_Map_MatrixXd *map; local
53 map = Map_MatrixXd_new(array, 5, 1);
54 Map_MatrixXd_add(map, map, map);
55 Map_MatrixXd_delete(map);
  /external/guava/guava/src/com/google/common/escape/
ArrayBasedEscaperMap.java 26 import java.util.Map;
37 * has a replacement. For example a replacement map containing the single
52 * @param replacements a map of characters to their escaped representations
55 Map<Character, String> replacements) {
72 // Creates a replacement array from the given map. The returned array is a
76 static char[][] createReplacementArray(Map<Character, String> map) {
77 checkNotNull(map); // GWT specific check (do not optimize)
78 if (map.isEmpty()) {
81 char max = Collections.max(map.keySet())
    [all...]
  /external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/
IsMapContainingTest.java 6 import java.util.Map;
21 Map<String,Integer> map = new TreeMap<String,Integer>(); local
22 map.put("a", 1);
23 map.put("b", 2);
25 assertMatches("matcherA", hasEntry(equalTo("a"), equalTo(1)), map);
26 assertMatches("matcherB", hasEntry(equalTo("b"), equalTo(2)), map);
27 assertMismatchDescription("map was [<a=1>, <b=2>]", hasEntry(equalTo("c"), equalTo(3)), map);
32 // Map map = new HashMap()
    [all...]
  /external/libcxx/test/std/containers/associative/map/
compare.pass.cpp 10 // <map>
14 // class map
19 #include <map>
30 typedef std::map<Key, int> MapT;
44 MapT map; local
45 IterBool result = map.insert(std::make_pair(Key(0), 42));
48 IterBool result2 = map.insert(std::make_pair(Key(0), 43));
50 assert(map[Key(0)] == 42);
  /external/libcxx/test/std/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;
37 std::map<int, double, std::less<int>, A> m;
43 std::map<int, double, std::less<int>, A> m(a);
49 std::map<int, double> m = {};
  /prebuilts/misc/common/swig/include/2.0.11/std/
std_map.i 2 // std::map
8 %define %std_map_methods_common(map...)
9 %std_container_methods(map);
25 %define %std_map_methods(map...)
26 %std_map_methods_common(map);
35 // std::map
40 // -- f(std::map<T>), f(const std::map<T>&):
42 // previously wrapped std::map<T> can be passed.
43 // -- f(std::map<T>&), f(std::map<T>*)
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/associative/map/
compare.pass.cpp 10 // <map>
14 // class map
19 #include <map>
30 typedef std::map<Key, int> MapT;
44 MapT map; local
45 IterBool result = map.insert(std::make_pair(Key(0), 42));
48 IterBool result2 = map.insert(std::make_pair(Key(0), 43));
50 assert(map[Key(0)] == 42);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/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;
37 std::map<int, double, std::less<int>, A> m;
43 std::map<int, double, std::less<int>, A> m(a);
49 std::map<int, double> m = {};
  /toolchain/binutils/binutils-2.27/gold/testsuite/
icf_safe_so_test.sh 75 /^Memory map/ { discard = 0; }
97 arch_specific_safe_fold icf_safe_so_test_2.stdout icf_safe_so_test_1.stdout icf_safe_so_test.map "foo_prot" "foo_hidden"
98 arch_specific_safe_fold icf_safe_so_test_2.stdout icf_safe_so_test_1.stdout icf_safe_so_test.map "foo_prot" "foo_internal"
99 arch_specific_safe_fold icf_safe_so_test_2.stdout icf_safe_so_test_1.stdout icf_safe_so_test.map "foo_prot" "foo_static"
100 arch_specific_safe_fold icf_safe_so_test_2.stdout icf_safe_so_test_1.stdout icf_safe_so_test.map "foo_hidden" "foo_internal"
101 arch_specific_safe_fold icf_safe_so_test_2.stdout icf_safe_so_test_1.stdout icf_safe_so_test.map "foo_hidden" "foo_static"
102 arch_specific_safe_fold icf_safe_so_test_2.stdout icf_safe_so_test_1.stdout icf_safe_so_test.map "foo_internal" "foo_static"
  /external/protobuf/java/core/src/test/java/com/google/protobuf/
SmallSortedMapTest.java 40 import java.util.Map;
50 private static class SimpleEntry<K, V> implements Map.Entry<K, V> {
82 if (!(o instanceof Map.Entry))
84 Map.Entry e = (Map.Entry) o;
137 for (SmallSortedMap<Integer, Integer> map : allMaps) {
138 assertEquals(numElements, map.size());
140 assertEquals(new Integer(i + 1), map.get(i));
150 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); local
152 assertNull(map.put(i, i + 1))
161 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); local
202 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); local
213 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); local
235 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); local
249 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); local
266 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); local
284 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); local
296 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); local
311 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); local
326 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); local
341 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); local
    [all...]
  /cts/tests/tests/content/src/android/content/cts/
MockReceiverAbort.java 36 Bundle map = getResultExtras(false); local
37 map.putString(RESULT_EXTRAS_ABORT_KEY, RESULT_EXTRAS_ABORT_VALUE);
38 setResult(RESULT_CODE, RESULT_DATA, map);
MockReceiverFirst.java 36 Bundle map = getResultExtras(false); local
37 map.putString(RESULT_EXTRAS_FIRST_KEY, RESULT_EXTRAS_FIRST_VALUE);
38 setResult(RESULT_CODE, RESULT_DATA, map);

Completed in 1221 milliseconds

1 2 3 4 5 6 7 8 91011>>