Home
last modified time | relevance | path

Searched refs:map (Results 1 – 25 of 8327) sorted by relevance

12345678910>>...334

/external/angle/src/libANGLE/
Dgles_extensions_autogen.cpp38 ExtensionInfoMap map; in GetExtensionInfoMap() local
42 map["GL_EXT_base_instance"] = enableableExtension(&Extensions::baseInstanceEXT); in GetExtensionInfoMap()
43map["GL_KHR_blend_equation_advanced"] = esOnlyExtension(&Extensions::blendEquationAdvancedKHR); in GetExtensionInfoMap()
44 map["GL_EXT_blend_func_extended"] = enableableExtension(&Extensions::blendFuncExtendedEXT); in GetExtensionInfoMap()
45 map["GL_EXT_blend_minmax"] = enableableExtension(&Extensions::blendMinmaxEXT); in GetExtensionInfoMap()
46 map["GL_EXT_buffer_storage"] = enableableExtension(&Extensions::bufferStorageEXT); in GetExtensionInfoMap()
47 map["GL_EXT_clip_control"] = enableableExtension(&Extensions::clipControlEXT); in GetExtensionInfoMap()
48 map["GL_EXT_clip_cull_distance"] = enableableExtension(&Extensions::clipCullDistanceEXT); in GetExtensionInfoMap()
49 map["GL_APPLE_clip_distance"] = enableableExtension(&Extensions::clipDistanceAPPLE); in GetExtensionInfoMap()
50 map["GL_EXT_color_buffer_float"] = enableableExtension(&Extensions::colorBufferFloatEXT); in GetExtensionInfoMap()
[all …]
/external/webrtc/modules/remote_bitrate_estimator/
Dpacket_arrival_map_test.cc19 PacketArrivalTimeMap map; in TEST() local
21 EXPECT_EQ(map.begin_sequence_number(), map.end_sequence_number()); in TEST()
22 EXPECT_FALSE(map.has_received(0)); in TEST()
23 EXPECT_EQ(map.clamp(-5), 0); in TEST()
24 EXPECT_EQ(map.clamp(5), 0); in TEST()
28 PacketArrivalTimeMap map; in TEST() local
30 map.AddPacket(42, Timestamp::Millis(10)); in TEST()
31 EXPECT_EQ(map.begin_sequence_number(), 42); in TEST()
32 EXPECT_EQ(map.end_sequence_number(), 43); in TEST()
34 EXPECT_FALSE(map.has_received(41)); in TEST()
[all …]
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DAtomicLongMapTest.java47 AtomicLongMap<Object> map = AtomicLongMap.create(); in testNulls() local
48 tester.testAllPublicInstanceMethods(map); in testNulls()
53 AtomicLongMap<String> map = AtomicLongMap.create(in); in testCreate_map() local
54 assertFalse(map.isEmpty()); in testCreate_map()
55 assertEquals(3, map.size()); in testCreate_map()
56 assertTrue(map.containsKey("1")); in testCreate_map()
57 assertTrue(map.containsKey("2")); in testCreate_map()
58 assertTrue(map.containsKey("3")); in testCreate_map()
59 assertEquals(1L, map.get("1")); in testCreate_map()
60 assertEquals(2L, map.get("2")); in testCreate_map()
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAtomicLongMapTest.java47 AtomicLongMap<Object> map = AtomicLongMap.create(); in testNulls() local
48 tester.testAllPublicInstanceMethods(map); in testNulls()
53 AtomicLongMap<String> map = AtomicLongMap.create(in); in testCreate_map() local
54 assertFalse(map.isEmpty()); in testCreate_map()
55 assertEquals(3, map.size()); in testCreate_map()
56 assertTrue(map.containsKey("1")); in testCreate_map()
57 assertTrue(map.containsKey("2")); in testCreate_map()
58 assertTrue(map.containsKey("3")); in testCreate_map()
59 assertEquals(1L, map.get("1")); in testCreate_map()
60 assertEquals(2L, map.get("2")); in testCreate_map()
[all …]
/external/rust/crates/hashlink/tests/
Dlinked_hash_map.rs42 let mut map = LinkedHashMap::new(); in test_index() localVariable
43 map.insert(1, 10); in test_index()
44 map.insert(2, 20); in test_index()
45 assert_eq!(10, map[&1]); in test_index()
46 map[&2] = 22; in test_index()
47 assert_eq!(22, map[&2]); in test_index()
52 let mut map = LinkedHashMap::new(); in test_insert_and_get() localVariable
53 map.insert(1, 10); in test_insert_and_get()
54 map.insert(2, 20); in test_insert_and_get()
55 assert_eq!(map.get(&1), Some(&10)); in test_insert_and_get()
[all …]
/external/clang/test/OpenMP/
Dtarget_map_messages.cpp9 …#pragma omp target map(marr[2][0:2][0:2]) // expected-error {{array section does not specify conti… in foo()
11 #pragma omp target map(marr[:][0:][:]) in foo()
13 …#pragma omp target map(marr[:][1:][:]) // expected-error {{array section does not specify contiguo… in foo()
15 #pragma omp target map(marr[:][n:][:]) in foo()
30 #pragma omp target map(arg,a,d) in func()
32 …#pragma omp target map(arg[2:2],a,d) // expected-error {{subscripted value is not an array or poin… in func()
34 …#pragma omp target map(arg,a*2) // expected-error {{expected expression containing only member acc… in func()
36 …#pragma omp target map(arg,(c+1)[2]) // expected-error {{expected expression containing only membe… in func()
38 …#pragma omp target map(arg,a[:2],d) // expected-error {{subscripted value is not an array or point… in func()
40 …#pragma omp target map(arg,a,d[:2]) // expected-error {{subscripted value is not an array or point… in func()
[all …]
/external/cronet/third_party/protobuf/java/core/src/test/proto/com/google/protobuf/
Dproto3_message_lite.proto116 map<bool, bool> field_map_bool_bool_1 = 1;
117 map<bool, bytes> field_map_bool_bytes_2 = 2;
118 map<bool, double> field_map_bool_double_3 = 3;
119 map<bool, Proto3MessageLite.TestEnum> field_map_bool_enum_4 = 4;
120 map<bool, fixed32> field_map_bool_fixed32_5 = 5;
121 map<bool, fixed64> field_map_bool_fixed64_6 = 6;
122 map<bool, float> field_map_bool_float_7 = 7;
123 map<bool, int32> field_map_bool_int32_8 = 8;
124 map<bool, int64> field_map_bool_int64_9 = 9;
125 map<bool, Proto3MessageLite> field_map_bool_message_10 = 10;
[all …]
Dproto3_message.proto123 map<bool, bool> field_map_bool_bool_1 = 1;
124 map<bool, bytes> field_map_bool_bytes_2 = 2;
125 map<bool, double> field_map_bool_double_3 = 3;
126 map<bool, Proto3Message.TestEnum> field_map_bool_enum_4 = 4;
127 map<bool, fixed32> field_map_bool_fixed32_5 = 5;
128 map<bool, fixed64> field_map_bool_fixed64_6 = 6;
129 map<bool, float> field_map_bool_float_7 = 7;
130 map<bool, int32> field_map_bool_int32_8 = 8;
131 map<bool, int64> field_map_bool_int64_9 = 9;
132 map<bool, Proto3Message> field_map_bool_message_10 = 10;
[all …]
Dproto2_message_lite.proto219 map<bool, bool> field_map_bool_bool_1 = 1;
220 map<bool, bytes> field_map_bool_bytes_2 = 2;
221 map<bool, double> field_map_bool_double_3 = 3;
222 map<bool, Proto2MessageLite.TestEnum> field_map_bool_enum_4 = 4;
223 map<bool, fixed32> field_map_bool_fixed32_5 = 5;
224 map<bool, fixed64> field_map_bool_fixed64_6 = 6;
225 map<bool, float> field_map_bool_float_7 = 7;
226 map<bool, int32> field_map_bool_int32_8 = 8;
227 map<bool, int64> field_map_bool_int64_9 = 9;
228 map<bool, Proto2MessageLite> field_map_bool_message_10 = 10;
[all …]
Dproto2_message.proto226 map<bool, bool> field_map_bool_bool_1 = 1;
227 map<bool, bytes> field_map_bool_bytes_2 = 2;
228 map<bool, double> field_map_bool_double_3 = 3;
229 map<bool, Proto2Message.TestEnum> field_map_bool_enum_4 = 4;
230 map<bool, fixed32> field_map_bool_fixed32_5 = 5;
231 map<bool, fixed64> field_map_bool_fixed64_6 = 6;
232 map<bool, float> field_map_bool_float_7 = 7;
233 map<bool, int32> field_map_bool_int32_8 = 8;
234 map<bool, int64> field_map_bool_int64_9 = 9;
235 map<bool, Proto2Message> field_map_bool_message_10 = 10;
[all …]
/external/protobuf/java/core/src/test/proto/com/google/protobuf/
Dproto3_message.proto123 map<bool, bool> field_map_bool_bool_1 = 1;
124 map<bool, bytes> field_map_bool_bytes_2 = 2;
125 map<bool, double> field_map_bool_double_3 = 3;
126 map<bool, Proto3Message.TestEnum> field_map_bool_enum_4 = 4;
127 map<bool, fixed32> field_map_bool_fixed32_5 = 5;
128 map<bool, fixed64> field_map_bool_fixed64_6 = 6;
129 map<bool, float> field_map_bool_float_7 = 7;
130 map<bool, int32> field_map_bool_int32_8 = 8;
131 map<bool, int64> field_map_bool_int64_9 = 9;
132 map<bool, Proto3Message> field_map_bool_message_10 = 10;
[all …]
Dproto3_message_lite.proto116 map<bool, bool> field_map_bool_bool_1 = 1;
117 map<bool, bytes> field_map_bool_bytes_2 = 2;
118 map<bool, double> field_map_bool_double_3 = 3;
119 map<bool, Proto3MessageLite.TestEnum> field_map_bool_enum_4 = 4;
120 map<bool, fixed32> field_map_bool_fixed32_5 = 5;
121 map<bool, fixed64> field_map_bool_fixed64_6 = 6;
122 map<bool, float> field_map_bool_float_7 = 7;
123 map<bool, int32> field_map_bool_int32_8 = 8;
124 map<bool, int64> field_map_bool_int64_9 = 9;
125 map<bool, Proto3MessageLite> field_map_bool_message_10 = 10;
[all …]
Dproto2_message.proto226 map<bool, bool> field_map_bool_bool_1 = 1;
227 map<bool, bytes> field_map_bool_bytes_2 = 2;
228 map<bool, double> field_map_bool_double_3 = 3;
229 map<bool, Proto2Message.TestEnum> field_map_bool_enum_4 = 4;
230 map<bool, fixed32> field_map_bool_fixed32_5 = 5;
231 map<bool, fixed64> field_map_bool_fixed64_6 = 6;
232 map<bool, float> field_map_bool_float_7 = 7;
233 map<bool, int32> field_map_bool_int32_8 = 8;
234 map<bool, int64> field_map_bool_int64_9 = 9;
235 map<bool, Proto2Message> field_map_bool_message_10 = 10;
[all …]
Dproto2_message_lite.proto219 map<bool, bool> field_map_bool_bool_1 = 1;
220 map<bool, bytes> field_map_bool_bytes_2 = 2;
221 map<bool, double> field_map_bool_double_3 = 3;
222 map<bool, Proto2MessageLite.TestEnum> field_map_bool_enum_4 = 4;
223 map<bool, fixed32> field_map_bool_fixed32_5 = 5;
224 map<bool, fixed64> field_map_bool_fixed64_6 = 6;
225 map<bool, float> field_map_bool_float_7 = 7;
226 map<bool, int32> field_map_bool_int32_8 = 8;
227 map<bool, int64> field_map_bool_int64_9 = 9;
228 map<bool, Proto2MessageLite> field_map_bool_message_10 = 10;
[all …]
/external/toolchain-utils/crosperf/perf_files/
Dperf.data.report.016 0.48% 1297 chrome perf-24199.map [.] 0x0000115bb6c35d7a
17 0.47% 1286 chrome perf-24199.map [.] 0x0000115bb7ba9b54
20 0.37% 991 chrome perf-24199.map [.] 0x0000115bb6c35d72
21 0.28% 762 chrome perf-24199.map [.] 0x0000115bb6c35d76
22 0.27% 735 chrome perf-24199.map [.] 0x0000115bb6aa463a
23 0.22% 608 chrome perf-24199.map [.] 0x0000115bb7ba9ebf
24 0.17% 468 chrome perf-24199.map [.] 0x0000115bb6a7afc3
26 0.17% 450 chrome perf-24199.map [.] 0x0000115bb6af7457
27 0.16% 444 chrome perf-24199.map [.] 0x0000115bb7c6edd1
28 0.16% 438 chrome perf-24199.map [.] 0x0000115bb7c6f93d
[all …]
/external/rust/crates/indexmap/benches/
Dbench.rs53 let mut map = HashMap::with_capacity(c); in insert_hashmap_10_000() localVariable
55 map.insert(x, ()); in insert_hashmap_10_000()
57 map in insert_hashmap_10_000()
65 let mut map = IndexMap::with_capacity(c); in insert_indexmap_10_000() localVariable
67 map.insert(x, ()); in insert_indexmap_10_000()
69 map in insert_indexmap_10_000()
77 let mut map = HashMap::with_capacity(c); in insert_hashmap_string_10_000() localVariable
79 map.insert(x.to_string(), ()); in insert_hashmap_string_10_000()
81 map in insert_hashmap_string_10_000()
89 let mut map = IndexMap::with_capacity(c); in insert_indexmap_string_10_000() localVariable
[all …]
/external/arm-trusted-firmware/services/std_svc/sdei/
Dsdei_main.c46 static void init_map(sdei_ev_map_t *map) in init_map() argument
48 map->reg_count = 0; in init_map()
52 static sdei_class_t map_to_class(sdei_ev_map_t *map) in map_to_class() argument
54 return is_event_critical(map) ? SDEI_CRITICAL : SDEI_NORMAL; in map_to_class()
70 sdei_ev_map_t *map; in sdei_cpu_on_init() local
74 for_each_private_map(i, map) { in sdei_cpu_on_init()
75 se = get_event_entry(map); in sdei_cpu_on_init()
105 sdei_ev_map_t *map; in sdei_class_init() local
109 for_each_shared_map(i, map) { in sdei_class_init()
112 assert((ev_num_so_far < 0) || (map->ev_num > ev_num_so_far)); in sdei_class_init()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DMapInterfaceTest.java146 protected final boolean supportsValuesHashCode(Map<K, V> map) { in supportsValuesHashCode() argument
148 Collection<V> values = map.values(); in supportsValuesHashCode()
169 protected final void assertInvariants(Map<K, V> map) { in assertInvariants() argument
170 Set<K> keySet = map.keySet(); in assertInvariants()
171 Collection<V> valueCollection = map.values(); in assertInvariants()
172 Set<Entry<K, V>> entrySet = map.entrySet(); in assertInvariants()
174 assertEquals(map.size() == 0, map.isEmpty()); in assertInvariants()
175 assertEquals(map.size(), keySet.size()); in assertInvariants()
181 V value = map.get(key); in assertInvariants()
183 assertTrue(map.containsKey(key)); in assertInvariants()
[all …]
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/
DMapInterfaceTest.java146 protected final boolean supportsValuesHashCode(Map<K, V> map) { in supportsValuesHashCode() argument
148 Collection<V> values = map.values(); in supportsValuesHashCode()
169 protected final void assertInvariants(Map<K, V> map) { in assertInvariants() argument
170 Set<K> keySet = map.keySet(); in assertInvariants()
171 Collection<V> valueCollection = map.values(); in assertInvariants()
172 Set<Entry<K, V>> entrySet = map.entrySet(); in assertInvariants()
174 assertEquals(map.size() == 0, map.isEmpty()); in assertInvariants()
175 assertEquals(map.size(), keySet.size()); in assertInvariants()
181 V value = map.get(key); in assertInvariants()
183 assertTrue(map.containsKey(key)); in assertInvariants()
[all …]
/external/rust/crates/tokio-stream/tests/
Dstream_stream_map.rs32 let mut map = StreamMap::<&str, stream::Pending<()>>::new(); in empty() localVariable
34 assert_eq!(map.len(), 0); in empty()
35 assert!(map.is_empty()); in empty()
37 assert!(map.next().await.is_none()); in empty()
38 assert!(map.next().await.is_none()); in empty()
40 assert!(map.remove("foo").is_none()); in empty()
45 let mut map = task::spawn(StreamMap::new()); in single_entry() localVariable
49 assert_ready_none!(map.poll_next()); in single_entry()
51 assert!(map.insert("foo", rx).is_none()); in single_entry()
52 assert!(map.contains_key("foo")); in single_entry()
[all …]
/external/rust/crates/ciborium/tests/
Dmacro.rs13 macro_rules! map { macro
61 case(arr![map! {1=>2,3=>4}], cbor!([{1=>2,3=>4}]).unwrap()),
75 case(arr![Null, map! {1=>2,3=>4}], cbor!([null, {1=>2,3=>4}]).unwrap()),
87 case(arr![true, map! {1=>2,3=>4}], cbor!([true, {1=>2,3=>4}]).unwrap()),
99 case(arr![false, map! {1=>2,3=>4}], cbor!([false, {1=>2,3=>4}]).unwrap()),
111 case(arr!["foo", map! {1=>2,3=>4}], cbor!(["foo", {1=>2,3=>4}]).unwrap()),
123 case(arr![123, map! {1=>2,3=>4}], cbor!([123, {1=>2,3=>4}]).unwrap()),
135 case(arr![-123, map! {1=>2,3=>4}], cbor!([-123, {1=>2,3=>4}]).unwrap()),
147 case(arr![1.23, map! {1=>2,3=>4}], cbor!([1.23, {1=>2,3=>4}]).unwrap()),
159 case(arr![-1.23, map! {1=>2,3=>4}], cbor!([-1.23, {1=>2,3=>4}]).unwrap()),
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DCompactLinkedHashMapTest.java44 Map<String, String> map = CompactLinkedHashMap.create(); in suite()
46 map.put(entry.getKey(), entry.getValue()); in suite()
48 return map; in suite()
66 Map<Integer, String> map = CompactLinkedHashMap.create(); in testInsertionOrder() local
67 map.put(1, "a"); in testInsertionOrder()
68 map.put(4, "b"); in testInsertionOrder()
69 map.put(3, "d"); in testInsertionOrder()
70 map.put(2, "c"); in testInsertionOrder()
71 testHasMapEntriesInOrder(map, 1, "a", 4, "b", 3, "d", 2, "c"); in testInsertionOrder()
75 Map<Integer, String> map = CompactLinkedHashMap.create(); in testInsertionOrderAfterPutKeyTwice() local
[all …]
/external/webrtc/api/test/
Dvideocodec_test_stats.cc36 std::map<std::string, std::string> VideoCodecTestStats::FrameStatistics::ToMap() in ToMap()
38 std::map<std::string, std::string> map; in ToMap() local
39 map["frame_number"] = std::to_string(frame_number); in ToMap()
40 map["decoded_width"] = std::to_string(decoded_width); in ToMap()
41 map["decoded_height"] = std::to_string(decoded_height); in ToMap()
42 map["spatial_idx"] = std::to_string(spatial_idx); in ToMap()
43 map["temporal_idx"] = std::to_string(temporal_idx); in ToMap()
44 map["inter_layer_predicted"] = std::to_string(inter_layer_predicted); in ToMap()
45 map["non_ref_for_inter_layer_pred"] = in ToMap()
47 map["frame_type"] = std::to_string(static_cast<int>(frame_type)); in ToMap()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DCompactLinkedHashMapTest.java44 Map<String, String> map = CompactLinkedHashMap.create(); in suite()
46 map.put(entry.getKey(), entry.getValue()); in suite()
48 return map; in suite()
66 CompactLinkedHashMap<String, String> map = CompactLinkedHashMap.create(); in suite()
67 map.convertToHashFloodingResistantImplementation(); in suite()
69 map.put(entry.getKey(), entry.getValue()); in suite()
71 return map; in suite()
89 Map<Integer, String> map = CompactLinkedHashMap.create(); in testInsertionOrder() local
90 map.put(1, "a"); in testInsertionOrder()
91 map.put(4, "b"); in testInsertionOrder()
[all …]
/external/libbpf/src/
Dhashmap.c38 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, in hashmap__init() argument
41 map->hash_fn = hash_fn; in hashmap__init()
42 map->equal_fn = equal_fn; in hashmap__init()
43 map->ctx = ctx; in hashmap__init()
45 map->buckets = NULL; in hashmap__init()
46 map->cap = 0; in hashmap__init()
47 map->cap_bits = 0; in hashmap__init()
48 map->sz = 0; in hashmap__init()
55 struct hashmap *map = malloc(sizeof(struct hashmap)); in hashmap__new() local
57 if (!map) in hashmap__new()
[all …]

12345678910>>...334