Home
last modified time | relevance | path

Searched refs:map2 (Results 1 – 25 of 72) sorted by relevance

123

/third_party/typescript/tests/baselines/reference/
DmoduleAugmentationCollidingNamesInAugmentation1.symbols11 …/cases/compiler/observable", Decl(observable.ts, 0, 0), Decl(map1.ts, 2, 48), Decl(map2.ts, 2, 48))
14 >I : Symbol(I, Decl(map1.ts, 4, 31), Decl(map2.ts, 4, 31))
18 === tests/cases/compiler/map2.ts ===
20 >Observable : Symbol(Observable, Decl(map2.ts, 0, 8))
24 >Observable : Symbol(Observable, Decl(map2.ts, 0, 8))
28 …/cases/compiler/observable", Decl(observable.ts, 0, 0), Decl(map1.ts, 2, 48), Decl(map2.ts, 2, 48))
31 >I : Symbol(I, Decl(map1.ts, 4, 31), Decl(map2.ts, 4, 31))
32 >x1 : Symbol(I.x1, Decl(map2.ts, 5, 17))
55 import "./map2";
DoperatorsAndIntersectionTypes.types43 let map2: { [x: number]: string } = {};
44 >map2 : { [x: number]: string; }
53 map2[serialNo] = "hello"; // Can index with tagged number
54 >map2[serialNo] = "hello" : "hello"
55 >map2[serialNo] : string
56 >map2 : { [x: number]: string; }
DoperatorsAndIntersectionTypes.js17 let map2: { [x: number]: string } = {}; variable
19 map2[serialNo] = "hello"; // Can index with tagged number
44 var map2 = {};
46 map2[serialNo] = "hello"; // Can index with tagged number
DcontextualSignatureInstantiation1.symbols29 declare function map2<S extends { length: number }, T>(f: (x: S) => T): (a: S[]) => T[];
30 >map2 : Symbol(map2, Decl(contextualSignatureInstantiation1.ts, 2, 17))
52 var r100 = map2(e2); // type arg inference should fail for S since a generic lambda is not inferent…
54 >map2 : Symbol(map2, Decl(contextualSignatureInstantiation1.ts, 2, 17))
DcontextualSignatureInstantiation1.types23 declare function map2<S extends { length: number }, T>(f: (x: S) => T): (a: S[]) => T[];
24 >map2 : <S extends { length: number; }, T>(f: (x: S) => T) => (a: S[]) => T[]
39 var r100 = map2(e2); // type arg inference should fail for S since a generic lambda is not inferent…
41 >map2(e2) : <K>(a: string[]) => number[]
42 >map2 : <S extends { length: number; }, T>(f: (x: S) => T) => (a: S[]) => T[]
DcontextualSignatureInstantiation1.js6 declare function map2<S extends { length: number }, T>(f: (x: S) => T): (a: S[]) => T[];
8 var r100 = map2(e2); // type arg inference should fail for S since a generic lambda is not inferent…
14 var r100 = map2(e2); // type arg inference should fail for S since a generic lambda is not inferent…
DoperatorsAndIntersectionTypes.symbols36 let map2: { [x: number]: string } = {};
37 >map2 : Symbol(map2, Decl(operatorsAndIntersectionTypes.ts, 15, 3))
44 map2[serialNo] = "hello"; // Can index with tagged number
45 >map2 : Symbol(map2, Decl(operatorsAndIntersectionTypes.ts, 15, 3))
DpropertiesOfGenericConstructorFunctions.types43 const map2 = new Multimap("m", 2);
44 >map2 : Multimap<string, number>
69 var n = map2._map['hi']
71 >map2._map['hi'] : number
72 >map2._map : { [s: string]: number; }
73 >map2 : Multimap<string, number>
DpropertiesOfGenericConstructorFunctions.symbols36 const map2 = new Multimap("m", 2);
37 >map2 : Symbol(map2, Decl(propertiesOfGenericConstructorFunctions.js, 16, 5))
55 var n = map2._map['hi']
57 >map2._map : Symbol(Multimap._map, Decl(propertiesOfGenericConstructorFunctions.js, 6, 27))
58 >map2 : Symbol(map2, Decl(propertiesOfGenericConstructorFunctions.js, 16, 5))
/third_party/mesa3d/src/mesa/vbo/
Dvbo_exec_eval.c45 assert(attr < ARRAY_SIZE(exec->eval.map2)); in clear_active_eval2()
46 exec->eval.map2[attr].map = NULL; in clear_active_eval2()
62 assert(attr < ARRAY_SIZE(exec->eval.map2)); in set_active_eval2()
63 if (!exec->eval.map2[attr].map) { in set_active_eval2()
64 exec->eval.map2[attr].map = map; in set_active_eval2()
65 exec->eval.map2[attr].sz = dim; in set_active_eval2()
179 struct gl_2d_map *map = exec->eval.map2[attr].map; in vbo_exec_do_EvalCoord2f()
191 exec->eval.map2[attr].sz, in vbo_exec_do_EvalCoord2f()
202 if (exec->eval.map2[0].map) { in vbo_exec_do_EvalCoord2f()
203 struct gl_2d_map *map = exec->eval.map2[0].map; in vbo_exec_do_EvalCoord2f()
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DMapFieldTest.cs111 var map2 = new MapField<string, string>(); in EqualityIsOrderInsensitive()
112 map2.Add("b", "v2"); in EqualityIsOrderInsensitive()
113 map2.Add("a", "v1"); in EqualityIsOrderInsensitive()
115 EqualityTester.AssertEquality(map1, map2); in EqualityIsOrderInsensitive()
125 var map2 = new MapField<string, string>(); in EqualityIsKeySensitive()
126 map2.Add("third key", "v1"); in EqualityIsKeySensitive()
127 map2.Add("fourth key", "v2"); in EqualityIsKeySensitive()
129 EqualityTester.AssertInequality(map1, map2); in EqualityIsKeySensitive()
150 var map2 = new MapField<string, string>(); in EqualityIsValueSensitive()
151 map2.Add("a", "third value"); in EqualityIsValueSensitive()
[all …]
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/
DMapFieldTest.cs110 var map2 = new MapField<string, string>(); in EqualityIsOrderInsensitive()
111 map2.Add("b", "v2"); in EqualityIsOrderInsensitive()
112 map2.Add("a", "v1"); in EqualityIsOrderInsensitive()
114 EqualityTester.AssertEquality(map1, map2); in EqualityIsOrderInsensitive()
124 var map2 = new MapField<string, string>(); in EqualityIsKeySensitive()
125 map2.Add("third key", "v1"); in EqualityIsKeySensitive()
126 map2.Add("fourth key", "v2"); in EqualityIsKeySensitive()
128 EqualityTester.AssertInequality(map1, map2); in EqualityIsKeySensitive()
149 var map2 = new MapField<string, string>(); in EqualityIsValueSensitive()
150 map2.Add("a", "third value"); in EqualityIsValueSensitive()
[all …]
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_hue_sat_map.cpp262 const dng_hue_sat_map &map2, in Interpolate() argument
285 if (!map2.IsValid ()) in Interpolate()
293 return new dng_hue_sat_map (map2); in Interpolate()
299 if (!map1.IsValid () || !map2.IsValid ()) in Interpolate()
310 if (map1.fHueDivisions != map2.fHueDivisions || in Interpolate()
311 map1.fSatDivisions != map2.fSatDivisions || in Interpolate()
312 map1.fValDivisions != map2.fValDivisions) in Interpolate()
335 const HSBModify *data2 = map2.GetConstDeltas (); in Interpolate()
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DUnicodeMapTest.java329 Map<Integer, String> map2 = new HashMap<Integer, String>(); in TestUnicodeMapRandom() local
340 map2.put(start, value); in TestUnicodeMapRandom()
341 check(map1, map2, counter); in TestUnicodeMapRandom()
343 checkNext(map1, map2, LIMIT); in TestUnicodeMapRandom()
352 Map<Integer, String> map2 = new HashMap<Integer, String>(); in TestUnicodeMapGeneralCategory() local
355 map2 = new TreeMap<Integer,String>(); in TestUnicodeMapGeneralCategory()
361 map2.put(cp, value); in TestUnicodeMapGeneralCategory()
374 checkNext(map1, map2, Integer.MAX_VALUE); in TestUnicodeMapGeneralCategory()
377 check(map1, map2, -1); in TestUnicodeMapGeneralCategory()
380 Set<String> values2 = new TreeSet<String>(map2.values()); in TestUnicodeMapGeneralCategory()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/
DUnicodeMapTest.java332 Map<Integer, String> map2 = new HashMap<Integer, String>(); in TestUnicodeMapRandom() local
343 map2.put(start, value); in TestUnicodeMapRandom()
344 check(map1, map2, counter); in TestUnicodeMapRandom()
346 checkNext(map1, map2, LIMIT); in TestUnicodeMapRandom()
355 Map<Integer, String> map2 = new HashMap<Integer, String>(); in TestUnicodeMapGeneralCategory() local
358 map2 = new TreeMap<Integer,String>(); in TestUnicodeMapGeneralCategory()
364 map2.put(cp, value); in TestUnicodeMapGeneralCategory()
377 checkNext(map1, map2, Integer.MAX_VALUE); in TestUnicodeMapGeneralCategory()
380 check(map1, map2, -1); in TestUnicodeMapGeneralCategory()
383 Set<String> values2 = new TreeSet<String>(map2.values()); in TestUnicodeMapGeneralCategory()
[all …]
/third_party/pulseaudio/src/tests/
Dchannelmap-test.c15 pa_channel_map map, map2; in START_TEST() local
33 pa_channel_map_parse(&map2, cm); in START_TEST()
35 fail_unless(pa_channel_map_equal(&map, &map2)); in START_TEST()
37 pa_channel_map_parse(&map2, "left,test"); in START_TEST()
/third_party/gstreamer/gstplugins_bad/gst/debugutils/
Dgstcompare.c310 GstMapInfo map1, map2; in gst_compare_mem() local
314 gst_buffer_map (buf2, &map2, GST_MAP_READ); in gst_compare_mem()
316 c = memcmp (map1.data, map2.data, map1.size); in gst_compare_mem()
319 gst_buffer_unmap (buf2, &map2); in gst_compare_mem()
330 GstMapInfo map1, map2; in gst_compare_max() local
333 gst_buffer_map (buf2, &map2, GST_MAP_READ); in gst_compare_max()
336 data2 = (gint8 *) map2.data; in gst_compare_max()
349 gst_buffer_unmap (buf2, &map2); in gst_compare_max()
533 GstMapInfo map1, map2; in gst_compare_buffers() local
536 gst_buffer_map (buf2, &map2, GST_MAP_READ); in gst_compare_buffers()
[all …]
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dxmpwriter.c83 GstMapInfo map1, map2; in gst_buffer_equals() local
86 gst_buffer_map (buf_b, &map2, GST_MAP_READ); in gst_buffer_equals()
88 if (map1.size == map2.size) { in gst_buffer_equals()
89 res = memcmp (map1.data, map2.data, map1.size) == 0; in gst_buffer_equals()
94 gst_buffer_unmap (buf_b, &map2); in gst_buffer_equals()
/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/
DMetadataFilterTest.java757 TreeMap<String, TreeSet<String>> map2 = new TreeMap<String, TreeSet<String>>(); in testComputeComplement_allAndNothing() local
759 assertEquals(MetadataFilter.computeComplement(map1), map2); in testComputeComplement_allAndNothing() local
760 assertEquals(MetadataFilter.computeComplement(map2), map1); in testComputeComplement_allAndNothing()
783 TreeMap<String, TreeSet<String>> map2 = new TreeMap<String, TreeSet<String>>(); in testComputeComplement_inBetween() local
784 map2.put("sharedCost", new TreeSet<String>(MetadataFilter.excludableChildFields)); in testComputeComplement_inBetween()
785 map2.put("personalNumber", new TreeSet<String>(MetadataFilter.excludableChildFields)); in testComputeComplement_inBetween()
786 map2.put("voip", new TreeSet<String>(MetadataFilter.excludableChildFields)); in testComputeComplement_inBetween()
787 map2.put("pager", new TreeSet<String>(MetadataFilter.excludableChildFields)); in testComputeComplement_inBetween()
788 map2.put("uan", new TreeSet<String>(MetadataFilter.excludableChildFields)); in testComputeComplement_inBetween()
789 map2.put("emergency", new TreeSet<String>(Arrays.asList( in testComputeComplement_inBetween()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/check/pipelines/
Dstreamheader.c164 GstMapInfo map2; in buffer_probe_cb() local
170 gst_buffer_map (buf, &map2, GST_MAP_READ); in buffer_probe_cb()
171 if (map2.size == map.size) { in buffer_probe_cb()
172 if (memcmp (map2.data, map.data, map.size) == 0) { in buffer_probe_cb()
176 gst_buffer_unmap (buf, &map2); in buffer_probe_cb()
/third_party/gstreamer/gstplugins_good/gst/effectv/
Dgstripple.c203 q = filter->map2 + filter->map_w + 1; in motiondetect()
225 drop (gint power, gint * map1, gint * map2, gint map_w, gint map_h) in drop() argument
233 q = map2 + y * map_w + x; in drop()
296 drop (filter->drop_power, filter->map1, filter->map2, filter->map_w, in raindrop()
305 drop (filter->drop_power, filter->map1, filter->map2, filter->map_w, in raindrop()
361 q = filter->map2 + m_w + 1; in gst_rippletv_transform_frame()
382 q = filter->map2 + m_w + 1; in gst_rippletv_transform_frame()
395 filter->map1 = filter->map2; in gst_rippletv_transform_frame()
396 filter->map2 = p; in gst_rippletv_transform_frame()
469 filter->map2 = filter->map + filter->map_w * filter->map_h; in gst_rippletv_set_info()
/third_party/typescript/tests/cases/compiler/
DcontextualSignatureInstantiation1.ts5 declare function map2<S extends { length: number }, T>(f: (x: S) => T): (a: S[]) => T[];
7 var r100 = map2(e2); // type arg inference should fail for S since a generic lambda is not inferent…
/third_party/typescript/tests/cases/conformance/types/intersection/
DoperatorsAndIntersectionTypes.ts16 let map2: { [x: number]: string } = {}; variable
18 map2[serialNo] = "hello"; // Can index with tagged number
/third_party/typescript/tests/cases/conformance/salsa/
DpropertiesOfGenericConstructorFunctions.ts22 const map2 = new Multimap("m", 2); constant
29 var n = map2._map['hi']
/third_party/typescript/src/testRunner/unittests/
DcreateMapShim.ts191 const map2 = new MapShim(map1); constant
193 assert.equal(map2.size, 1);
194 assert.isTrue(map2.has("a"));
195 assert.equal(map2.get("a"), "b");

123