Home
last modified time | relevance | path

Searched refs:map_type (Results 1 – 25 of 89) sorted by relevance

1234

/external/llvm-project/libcxx/test/std/containers/unord/unord.map/
Dequal_range_const.transparent.pass.cpp31 using map_type = const unord_map_type<std::unordered_map, transparent_hash, in main() typedef
33 test_transparent_equal_range<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
38 using map_type = const unord_map_type<std::unordered_map, transparent_hash_final, in main() typedef
40 test_transparent_equal_range<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
45 using map_type = const unord_map_type<std::unordered_map, non_transparent_hash, in main() typedef
47 test_non_transparent_equal_range<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
52 using map_type = const unord_map_type<std::unordered_map, transparent_hash, in main() typedef
54 test_non_transparent_equal_range<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
59 using map_type = const unord_map_type<std::unordered_map, non_transparent_hash, in main() typedef
61 test_non_transparent_equal_range<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
Dfind_const.transparent.pass.cpp31 using map_type = const unord_map_type<std::unordered_map, transparent_hash, in main() typedef
33 test_transparent_find<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
38 using map_type = const unord_map_type<std::unordered_map, transparent_hash_final, in main() typedef
40 test_transparent_find<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
45 using map_type = const unord_map_type<std::unordered_map, non_transparent_hash, in main() typedef
47 test_non_transparent_find<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
52 using map_type = const unord_map_type<std::unordered_map, transparent_hash, in main() typedef
54 test_non_transparent_find<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
59 using map_type = const unord_map_type<std::unordered_map, non_transparent_hash, in main() typedef
61 test_non_transparent_find<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
Dcontains.transparent.pass.cpp30 using map_type = const unord_map_type<std::unordered_map, transparent_hash, std::equal_to<> >; in main() typedef
31 test_transparent_contains<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
36 …using map_type = const unord_map_type<std::unordered_map, transparent_hash_final, transparent_equa… in main() typedef
37 test_transparent_contains<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
42 using map_type = const unord_map_type<std::unordered_map, non_transparent_hash, in main() typedef
44 test_non_transparent_contains<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
49 using map_type = const unord_map_type<std::unordered_map, transparent_hash, in main() typedef
51 test_non_transparent_contains<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
56 using map_type = const unord_map_type<std::unordered_map, non_transparent_hash, in main() typedef
58 test_non_transparent_contains<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
Dcount.transparent.pass.cpp31 using map_type = const unord_map_type<std::unordered_map, transparent_hash, std::equal_to<> >; in main() typedef
32 test_transparent_count<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
37 using map_type = in main() typedef
39 test_transparent_count<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
44 … using map_type = const unord_map_type<std::unordered_map, non_transparent_hash, std::equal_to<> >; in main() typedef
45 test_non_transparent_count<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
50 using map_type = in main() typedef
52 test_non_transparent_count<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
57 using map_type = in main() typedef
59 test_non_transparent_count<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
Dequal_range_non_const.transparent.pass.cpp31 using map_type = unord_map_type<std::unordered_map, transparent_hash, in main() typedef
33 test_transparent_equal_range<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
38 using map_type = unord_map_type<std::unordered_map, transparent_hash_final, in main() typedef
40 test_transparent_equal_range<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
45 using map_type = unord_map_type<std::unordered_map, non_transparent_hash, in main() typedef
47 test_non_transparent_equal_range<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
52 using map_type = unord_map_type<std::unordered_map, transparent_hash, in main() typedef
54 test_non_transparent_equal_range<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
59 using map_type = unord_map_type<std::unordered_map, non_transparent_hash, in main() typedef
61 test_non_transparent_equal_range<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
Dfind_non_const.transparent.pass.cpp31 using map_type = unord_map_type<std::unordered_map, transparent_hash, in main() typedef
33 test_transparent_find<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
38 using map_type = unord_map_type<std::unordered_map, transparent_hash_final, in main() typedef
40 test_transparent_find<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
45 using map_type = unord_map_type<std::unordered_map, non_transparent_hash, in main() typedef
47 test_non_transparent_find<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
52 using map_type = unord_map_type<std::unordered_map, transparent_hash, in main() typedef
54 test_non_transparent_find<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
59 using map_type = unord_map_type<std::unordered_map, non_transparent_hash, in main() typedef
61 test_non_transparent_find<map_type>(ilist_type{{1, 2}, {2, 3}}); in main()
/external/llvm-project/libcxx/test/std/containers/unord/unord.multimap/
Dcontains.transparent.pass.cpp30 using map_type = unord_map_type<std::unordered_multimap, transparent_hash, in main() typedef
32 test_transparent_contains<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
37 …using map_type = unord_map_type<std::unordered_multimap, transparent_hash_final, transparent_equal… in main() typedef
38 test_transparent_contains<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
43 using map_type = unord_map_type<std::unordered_multimap, non_transparent_hash, in main() typedef
45 test_non_transparent_contains<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
50 using map_type = unord_map_type<std::unordered_multimap, transparent_hash, in main() typedef
52 test_non_transparent_contains<map_type>( in main()
58 using map_type = unord_map_type<std::unordered_multimap, non_transparent_hash, in main() typedef
60 test_non_transparent_contains<map_type>( in main()
Dcount.transparent.pass.cpp31 …using map_type = const unord_map_type<std::unordered_multimap, transparent_hash, std::equal_to<> >; in main() typedef
32 test_transparent_count<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
37 using map_type = in main() typedef
39 test_transparent_count<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
44 …using map_type = const unord_map_type<std::unordered_multimap, non_transparent_hash, std::equal_to… in main() typedef
45 test_non_transparent_count<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
50 using map_type = in main() typedef
52 test_non_transparent_count<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
57 using map_type = in main() typedef
59 test_non_transparent_count<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
Dequal_range_non_const.transparent.pass.cpp31 using map_type = unord_map_type<std::unordered_multimap, transparent_hash, in main() typedef
33 test_transparent_equal_range<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
38 using map_type = unord_map_type<std::unordered_multimap, transparent_hash_final, in main() typedef
40 test_transparent_equal_range<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
45 using map_type = unord_map_type<std::unordered_multimap, non_transparent_hash, in main() typedef
47 test_non_transparent_equal_range<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
52 using map_type = unord_map_type<std::unordered_multimap, transparent_hash, in main() typedef
54 test_non_transparent_equal_range<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
59 using map_type = unord_map_type<std::unordered_multimap, non_transparent_hash, in main() typedef
61 test_non_transparent_equal_range<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
Dequal_range_const.transparent.pass.cpp31 using map_type = const unord_map_type<std::unordered_multimap, transparent_hash, in main() typedef
33 test_transparent_equal_range<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
38 using map_type = const unord_map_type<std::unordered_multimap, transparent_hash_final, in main() typedef
40 test_transparent_equal_range<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
45 using map_type = const unord_map_type<std::unordered_multimap, non_transparent_hash, in main() typedef
47 test_non_transparent_equal_range<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
52 using map_type = const unord_map_type<std::unordered_multimap, transparent_hash, in main() typedef
54 test_non_transparent_equal_range<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
59 using map_type = const unord_map_type<std::unordered_multimap, non_transparent_hash, in main() typedef
61 test_non_transparent_equal_range<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
Dfind_const.transparent.pass.cpp31 using map_type = const unord_map_type<std::unordered_multimap, transparent_hash, in main() typedef
33 test_transparent_find<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
38 using map_type = const unord_map_type<std::unordered_multimap, transparent_hash_final, in main() typedef
40 test_transparent_find<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
45 using map_type = const unord_map_type<std::unordered_multimap, non_transparent_hash, in main() typedef
47 test_non_transparent_find<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
52 using map_type = const unord_map_type<std::unordered_multimap, transparent_hash, in main() typedef
54 test_non_transparent_find<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
59 using map_type = const unord_map_type<std::unordered_multimap, non_transparent_hash, in main() typedef
61 test_non_transparent_find<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
Dfind_non_const.transparent.pass.cpp31 using map_type = unord_map_type<std::unordered_multimap, transparent_hash, in main() typedef
33 test_transparent_find<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
38 using map_type = unord_map_type<std::unordered_multimap, transparent_hash_final, in main() typedef
40 test_transparent_find<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
45 using map_type = unord_map_type<std::unordered_multimap, non_transparent_hash, in main() typedef
47 test_non_transparent_find<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
52 using map_type = unord_map_type<std::unordered_multimap, transparent_hash, in main() typedef
54 test_non_transparent_find<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
59 using map_type = unord_map_type<std::unordered_multimap, non_transparent_hash, in main() typedef
61 test_non_transparent_find<map_type>(ilist_type{{1, 2}, {1, 3}, {2, 3}}); in main()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_lru_map.c29 static int create_map(int map_type, int map_flags, unsigned int size) in create_map() argument
33 map_fd = bpf_create_map(map_type, sizeof(unsigned long long), in create_map()
68 map.map_type = BPF_MAP_TYPE_ARRAY; in bpf_map_lookup_elem_with_ref_bit()
159 static void test_lru_sanity0(int map_type, int map_flags) in test_lru_sanity0() argument
165 printf("%s (map_type:%d map_flags:0x%X): ", __func__, map_type, in test_lru_sanity0()
171 lru_map_fd = create_map(map_type, map_flags, 2 * nr_cpus); in test_lru_sanity0()
173 lru_map_fd = create_map(map_type, map_flags, 2); in test_lru_sanity0()
248 static void test_lru_sanity1(int map_type, int map_flags, unsigned int tgt_free) in test_lru_sanity1() argument
260 printf("%s (map_type:%d map_flags:0x%X): ", __func__, map_type, in test_lru_sanity1()
269 lru_map_fd = create_map(map_type, map_flags, map_size); in test_lru_sanity1()
[all …]
Dtest_btf.c108 enum bpf_map_type map_type; member
175 .map_type = BPF_MAP_TYPE_ARRAY,
230 .map_type = BPF_MAP_TYPE_ARRAY,
255 .map_type = BPF_MAP_TYPE_ARRAY,
296 .map_type = BPF_MAP_TYPE_ARRAY,
341 .map_type = BPF_MAP_TYPE_ARRAY,
363 .map_type = BPF_MAP_TYPE_ARRAY,
385 .map_type = BPF_MAP_TYPE_ARRAY,
407 .map_type = BPF_MAP_TYPE_ARRAY,
432 .map_type = BPF_MAP_TYPE_ARRAY,
[all …]
/external/llvm-project/lldb/test/API/lang/cpp/stl/
DTestSTL.py53 map_type = associative_array.GetType()
54 self.DebugSBType(map_type)
55 self.assertTrue(map_type, VALID_TYPE)
56 num_template_args = map_type.GetNumberOfTemplateArguments()
63 t = map_type.GetTemplateArgumentType(i)
/external/webrtc/common_video/h264/
Dpps_parser_unittest.cc153 for (int map_type = 0; map_type <= kMaxMapType; ++map_type) { in RunTest() local
154 if (map_type == 1) { in RunTest()
158 } else if (map_type == 6) { in RunTest()
161 VerifyParsing(generated_pps_, map_type, slice_group, pic_size); in RunTest()
163 VerifyParsing(generated_pps_, map_type, slice_group, 0); in RunTest()
/external/libcxx/test/std/containers/associative/multimap/multimap.modifiers/
Dmerge.pass.cpp66 typedef std::multimap<Counter<int>, int, throw_comparator> map_type; in main() typedef
67 map_type src({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)); in main()
68 map_type dst({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)); in main()
82 assert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
83 assert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
/external/libcxx/test/std/containers/associative/map/map.modifiers/
Dmerge.pass.cpp66 typedef std::map<Counter<int>, int, throw_comparator> map_type; in main() typedef
67 map_type src({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)); in main()
68 map_type dst({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)); in main()
82 assert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
83 assert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
/external/llvm-project/libcxx/test/std/containers/associative/map/map.modifiers/
Dmerge.pass.cpp65 typedef std::map<Counter<int>, int, throw_comparator> map_type; in main() typedef
66 map_type src({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)); in main()
67 map_type dst({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)); in main()
81 assert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
82 assert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
/external/llvm-project/libcxx/test/std/containers/associative/multimap/multimap.modifiers/
Dmerge.pass.cpp65 typedef std::multimap<Counter<int>, int, throw_comparator> map_type; in main() typedef
66 map_type src({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)); in main()
67 map_type dst({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)); in main()
81 assert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
82 assert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
/external/perfetto/src/trace_processor/dynamic/
Dexperimental_annotated_stack_generator.cc221 MapType map_type = ClassifyMap(map_view); in ComputeTable() local
224 if (map_type == MapType::kArtInterp || // in ComputeTable()
225 map_type == MapType::kArtJit || // in ComputeTable()
226 map_type == MapType::kArtAot) { in ComputeTable()
227 if (map_type == MapType::kArtInterp) in ComputeTable()
229 else if (map_type == MapType::kArtJit) in ComputeTable()
231 else if (map_type == MapType::kArtAot) in ComputeTable()
241 map_type == MapType::kNativeLibart) { in ComputeTable()
/external/llvm-project/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/
Dmerge.pass.cpp65 typedef std::unordered_multimap<Counter<int>, int, throw_hasher<Counter<int>>> map_type; in main() typedef
66 map_type src({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
67 map_type dst({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
81 …assert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))… in main()
82 …assert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))… in main()
/external/llvm-project/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
Dmerge.pass.cpp65 typedef std::unordered_map<Counter<int>, int, throw_hasher<Counter<int>>> map_type; in main() typedef
66 map_type src({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
67 map_type dst({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
81 …assert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))… in main()
82 …assert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))… in main()
/external/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
Dmerge.pass.cpp66 typedef std::unordered_map<Counter<int>, int, throw_hasher<Counter<int>>> map_type; in main() typedef
67 map_type src({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
68 map_type dst({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
82 …assert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))… in main()
83 …assert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))… in main()
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/
Dmerge.pass.cpp66 typedef std::unordered_multimap<Counter<int>, int, throw_hasher<Counter<int>>> map_type; in main() typedef
67 map_type src({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
68 map_type dst({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
82 …assert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))… in main()
83 …assert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))… in main()

1234