Home
last modified time | relevance | path

Searched refs:Map (Results 1 – 25 of 1873) sorted by relevance

12345678910>>...75

/third_party/node/test/parallel/
Dtest-util-isDeepStrictEqual.js98 utilIsDeepStrict(new Map(), new Map());
118 utilIsDeepStrict(new Map([[1, 1], [2, 2]]), new Map([[1, 1], [2, 2]]));
119 utilIsDeepStrict(new Map([[1, 1], [2, 2]]), new Map([[2, 2], [1, 1]]));
120 notUtilIsDeepStrict(new Map([[1, 1], [2, 2]]), new Map([[1, 2], [2, 1]]));
122 new Map([[[1], 1], [{}, 2]]),
123 new Map([[[1], 2], [{}, 1]])
130 notUtilIsDeepStrict(new Map([['a', 1]]), { a: 1 });
131 notUtilIsDeepStrict(new Map(), []);
132 notUtilIsDeepStrict(new Map(), {});
136 notUtilIsDeepStrict(new Map([['1', 'a']]), new Map([[1, 'a']]));
[all …]
Dtest-assert-deep.js227 assertDeepAndStrictEqual(new Map(), new Map());
249 assertDeepAndStrictEqual(new Map([[1, 1], [2, 2]]), new Map([[1, 1], [2, 2]]));
250 assertDeepAndStrictEqual(new Map([[1, 1], [2, 2]]), new Map([[2, 2], [1, 1]]));
251 assertNotDeepOrStrict(new Map([[1, 1], [2, 2]]), new Map([[1, 2], [2, 1]]));
253 new Map([[[1], 1], [{}, 2]]),
254 new Map([[[1], 2], [{}, 1]])
261 assertNotDeepOrStrict(new Map([['a', 1]]), { a: 1 });
262 assertNotDeepOrStrict(new Map(), []);
263 assertNotDeepOrStrict(new Map(), {});
267 assertOnlyDeepEqual(new Map([['1', 'a']]), new Map([[1, 'a']]));
[all …]
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/commands/
Ddaemon_test.dart35 … final StreamController<Map<String, dynamic>> commands = StreamController<Map<String, dynamic>>();
36 … final StreamController<Map<String, dynamic>> responses = StreamController<Map<String, dynamic>>();
43 final Map<String, dynamic> response = await responses.stream.firstWhere(_notEvent);
52 … final StreamController<Map<String, dynamic>> commands = StreamController<Map<String, dynamic>>();
53 … final StreamController<Map<String, dynamic>> responses = StreamController<Map<String, dynamic>>();
60 …final Map<String, dynamic> response = await responses.stream.firstWhere((Map<String, dynamic> map)…
65 final Map<String, String> logMessage = response['params'].cast<String, String>();
78 … final StreamController<Map<String, dynamic>> commands = StreamController<Map<String, dynamic>>();
79 … final StreamController<Map<String, dynamic>> responses = StreamController<Map<String, dynamic>>();
99 … final StreamController<Map<String, dynamic>> commands = StreamController<Map<String, dynamic>>();
[all …]
Dide_config_test.dart23 Map<String, String> _getFilesystemContents([ Directory root ]) {
30 final Map<String, String> contents = <String, String>{};
42 Map<String, String> _getManifest(Directory base, String marker, { bool isTemplate = false }) {
59 void _populateDir(Map<String, String> manifest) {
82 Map<String, String> expectedContents = const <String, String>{},
125 final Map<String, String> templateManifest = _getManifest(
130 final Map<String, String> flutterManifest = _getManifest(
136 final Map<String, String> expectedContents = _getFilesystemContents();
143 final Map<String, String> templateManifest = _getManifest(
148 final Map<String, String> flutterManifest = _getManifest(
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/tool/locale/
DLikelySubtagsBuilder.java10 import java.util.Map;
39 final Map<String, String> toCanonical = new HashMap<>();
79 for (Map.Entry<String, String> mapping : new TreeMap<>(toCanonical).entrySet()) { in AliasesBuilder()
135 Map<String, Map<String, Map<String, LSR>>> langTable = in build()
139 Map<LSR, Integer> lsrIndexes = new LinkedHashMap<>(); in build()
149 for (Map.Entry<String, Map<String, Map<String, LSR>>> ls : langTable.entrySet()) { in build()
157 Map<String, Map<String, LSR>> scriptTable = ls.getValue(); in build()
160 Map<String, LSR> regionTable = scriptTable.get(""); in build()
176 for (Map.Entry<String, Map<String, LSR>> sr : scriptTable.entrySet()) { in build()
186 Map<String, LSR> regionTable = sr.getValue(); in build()
[all …]
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/locale/
DLikelySubtagsBuilder.java10 import java.util.Map;
39 final Map<String, String> toCanonical = new HashMap<>();
79 for (Map.Entry<String, String> mapping : new TreeMap<>(toCanonical).entrySet()) { in AliasesBuilder()
135 Map<String, Map<String, Map<String, LSR>>> langTable = in build()
139 Map<LSR, Integer> lsrIndexes = new LinkedHashMap<>(); in build()
149 for (Map.Entry<String, Map<String, Map<String, LSR>>> ls : langTable.entrySet()) { in build()
157 Map<String, Map<String, LSR>> scriptTable = ls.getValue(); in build()
160 Map<String, LSR> regionTable = scriptTable.get(""); in build()
176 for (Map.Entry<String, Map<String, LSR>> sr : scriptTable.entrySet()) { in build()
186 Map<String, LSR> regionTable = sr.getValue(); in build()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DValueMap.h93 MapT Map; variable
104 : Map(NumInitBuckets), Data() {} in Map() function
106 : Map(NumInitBuckets), Data(Data) {} in Map() function
135 inline iterator begin() { return iterator(Map.begin()); } in begin()
136 inline iterator end() { return iterator(Map.end()); } in end()
137 inline const_iterator begin() const { return const_iterator(Map.begin()); } in begin()
138 inline const_iterator end() const { return const_iterator(Map.end()); } in end()
140 bool empty() const { return Map.empty(); } in empty()
141 size_type size() const { return Map.size(); } in size()
144 void resize(size_t Size) { Map.resize(Size); } in resize()
[all …]
/third_party/protobuf/js/
Dmap.js59 jspb.Map = function(arr, opt_valueCtor) { class in jspb
84 jspb.Map.prototype.loadFromArray_ = function() {
89 this.map_[key.toString()] = new jspb.Map.Entry_(key, value);
99 jspb.Map.prototype.toArray = function() {
143 jspb.Map.prototype.toObject = function(includeInstance, valueToObject) {
174 jspb.Map.fromObject = function(entries, valueCtor, valueFromObject) {
175 var result = new jspb.Map([], valueCtor);
193 jspb.Map.ArrayIteratorIterable_ = function(arr) {
203 jspb.Map.ArrayIteratorIterable_.prototype.next = function() {
213 jspb.Map.ArrayIteratorIterable_.prototype[Symbol.iterator] = function() {
[all …]
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/bitmap/
DEbdtTable.java28 import java.util.Map;
63 private List<Map<Integer, BitmapGlyphInfo>> glyphLoca;
64 private List<Map<Integer, BitmapGlyph.Builder<? extends BitmapGlyph>>> glyphBuilders;
96 public void setLoca(List<Map<Integer, BitmapGlyphInfo>> locaList) { in setLoca()
101 public List<Map<Integer, BitmapGlyphInfo>> generateLocaList() { in generateLocaList()
104 return new ArrayList<Map<Integer, BitmapGlyphInfo>>(0); in generateLocaList()
109 List<Map<Integer, BitmapGlyphInfo>> newLocaList = in generateLocaList()
110 new ArrayList<Map<Integer, BitmapGlyphInfo>>(this.glyphBuilders.size()); in generateLocaList()
113 for (Map<Integer, BitmapGlyph.Builder<? extends BitmapGlyph>> builderMap : in generateLocaList()
115 Map<Integer, BitmapGlyphInfo> newLocaMap = new TreeMap<Integer, BitmapGlyphInfo>(); in generateLocaList()
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/bitmap/
DEbdtTable.java28 import java.util.Map;
63 private List<Map<Integer, BitmapGlyphInfo>> glyphLoca;
64 private List<Map<Integer, BitmapGlyph.Builder<? extends BitmapGlyph>>> glyphBuilders;
96 public void setLoca(List<Map<Integer, BitmapGlyphInfo>> locaList) { in setLoca()
101 public List<Map<Integer, BitmapGlyphInfo>> generateLocaList() { in generateLocaList()
104 return new ArrayList<Map<Integer, BitmapGlyphInfo>>(0); in generateLocaList()
109 List<Map<Integer, BitmapGlyphInfo>> newLocaList = in generateLocaList()
110 new ArrayList<Map<Integer, BitmapGlyphInfo>>(this.glyphBuilders.size()); in generateLocaList()
113 for (Map<Integer, BitmapGlyph.Builder<? extends BitmapGlyph>> builderMap : in generateLocaList()
115 Map<Integer, BitmapGlyphInfo> newLocaMap = new TreeMap<Integer, BitmapGlyphInfo>(); in generateLocaList()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/
DBlotMapVector.h25 MapTy Map; variable
34 assert(Vector.size() >= Map.size()); // May differ due to blotting. in ~BlotMapVector()
35 for (typename MapTy::const_iterator I = Map.begin(), E = Map.end(); I != E; in ~BlotMapVector()
42 assert(!I->first || (Map.count(I->first) && in ~BlotMapVector()
43 Map[I->first] == size_t(I - Vector.begin()))); in ~BlotMapVector()
57 Map.insert(std::make_pair(Arg, size_t(0)));
69 Map.insert(std::make_pair(InsertPair.first, size_t(0))); in insert()
80 typename MapTy::iterator It = Map.find(Key); in find()
81 if (It == Map.end()) in find()
87 typename MapTy::const_iterator It = Map.find(Key); in find()
[all …]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DSmallSortedMap.java39 import java.util.Map;
101 final Map.Entry<FieldDescriptorType, Object> entry = getArrayEntryAt(i); in newFieldMap()
107 for (Map.Entry<FieldDescriptorType, Object> entry : getOverflowEntries()) { in newFieldMap()
134 private Map<K, V> overflowEntries;
139 private Map<K, V> overflowEntriesDescending;
183 public Map.Entry<K, V> getArrayEntryAt(int index) {
193 public Iterable<Map.Entry<K, V>> getOverflowEntries() {
195 ? EmptySet.<Map.Entry<K, V>>iterable()
199 Iterable<Map.Entry<K, V>> getOverflowEntriesDescending() {
201 ? EmptySet.<Map.Entry<K, V>>iterable()
[all …]
DMapFieldLite.java39 import java.util.Map;
55 private MapFieldLite(Map<K, V> mapData) { in MapFieldLite()
82 public Set<Map.Entry<K, V>> entrySet() { in entrySet()
83 return isEmpty() ? Collections.<Map.Entry<K, V>>emptySet() : super.entrySet(); in entrySet()
101 public V put(Map.Entry<K, V> entry) { in put()
106 public void putAll(Map<? extends K, ? extends V> m) { in putAll()
118 private static void checkForNullKeysAndValues(Map<?, ?> m) { in checkForNullKeysAndValues() argument
136 static <K, V> boolean equals(Map<K, V> a, Map<K, V> b) { in equals()
143 for (Map.Entry<K, V> entry : a.entrySet()) { in equals()
158 return (object instanceof Map) && equals(this, (Map<K, V>) object); in equals()
[all …]
/third_party/flutter/flutter/packages/flutter_driver/test/src/
Dtimeline_summary_test.dart17 TimelineSummary summarize(List<Map<String, dynamic>> testEvents) {
23 Map<String, dynamic> build(int timeStamp, int duration) => <String, dynamic>{
30 Map<String, dynamic> begin(int timeStamp) => <String, dynamic>{
36 Map<String, dynamic> end(int timeStamp) => <String, dynamic>{
42 List<Map<String, dynamic>> rasterizeTimeSequenceInMillis(List<int> sequence) {
43 final List<Map<String, dynamic>> result = <Map<String, dynamic>>[];
56 summarize(<Map<String, dynamic>>[
68 () => summarize(<Map<String, dynamic>>[]).computeAverageFrameBuildTimeMillis(),
75 summarize(<Map<String, dynamic>>[
87 () => summarize(<Map<String, dynamic>>[]).computeWorstFrameBuildTimeMillis(),
[all …]
/third_party/flutter/flutter/dev/integration_tests/android_views/lib/
Dmotion_event_diff.dart20 Map<String, dynamic> originalEvent,
21 Map<String, dynamic> synthesizedEvent,
40 void diffActions(StringBuffer diffBuffer, Map<String, dynamic> originalEvent,
41 Map<String, dynamic> synthesizedEvent) {
65 Map<String, dynamic> originalEvent, Map<String, dynamic> synthesizedEvent) {
66 final List<Map<dynamic, dynamic>> expectedList =
67 originalEvent['pointerProperties'].cast<Map<dynamic, dynamic>>();
68 final List<Map<dynamic, dynamic>> actualList =
69 synthesizedEvent['pointerProperties'].cast<Map<dynamic, dynamic>>();
78 final Map<String, dynamic> expected =
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DMapVector.h38 MapType Map; variable
56 Map.clear(); in takeVector()
65 Map.reserve(NumEntries); in reserve()
89 Map.clear(); in clear()
94 std::swap(Map, RHS.Map); in swap()
100 std::pair<typename MapType::iterator, bool> Result = Map.insert(Pair);
113 typename MapType::const_iterator Pos = Map.find(Key); in lookup()
114 return Pos == Map.end()? ValueT() : Vector[Pos->second].second; in lookup()
119 std::pair<typename MapType::iterator, bool> Result = Map.insert(Pair); in insert()
132 std::pair<typename MapType::iterator, bool> Result = Map.insert(Pair); in insert()
[all …]
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DLikelySubtagsBuilder.java18 import java.util.Map;
156 Map<String, Map<String, Map<String, LSR>>> lsrTable = in build()
191 Map<String, Map<String, Map<String, LSR>>> languages, in writeLsrTable()
204 … Trie.Span languageSpan, Map<String, Map<String, LSR>> scripts, Indexer<LSR, Integer> lsrToIndex) { in writeScripts()
215 Map<String, LSR> regions = scripts.get("*"); in writeScripts()
229 … Trie.Span languageOrScriptSpan, Map<String, LSR> regions, Indexer<LSR, Integer> lsrToIndex) { in writeRegions()
244 private static Map<String, Map<String, Map<String, LSR>>> makeTable( in makeTable()
247 Map<String, Map<String, Map<String, LSR>>> lsrTable = new TreeMap<>(LSR_TABLE_ORDER); in makeTable()
312 Map<String, Map<String, Map<String, LSR>>> langTable, LSR key, LSR newValue) { in set()
316 private static void set(Map<String, Map<String, Map<String, LSR>>> langTable, in set()
[all …]
/third_party/flutter/flutter/packages/flutter/test/foundation/
Ddiagnostics_json_test.dart14 …final Map<String, Object> json = element.toDiagnosticsNode().toJsonMap(const DiagnosticsSerializat…
22 …final Map<String, Object> json = element.toDiagnosticsNode().toJsonMap(const DiagnosticsSerializat…
71 …final Map<String, Object> result = testTree.toDiagnosticsNode().toJsonMap(const DiagnosticsSeriali…
77 …final Map<String, Object> result = testTree.toDiagnosticsNode().toJsonMap(const DiagnosticsSeriali…
79 final List<Map<String, Object>> children = result['children'];
86 …final Map<String, Object> result = testTree.toDiagnosticsNode().toJsonMap(const DiagnosticsSeriali…
88 final List<Map<String, Object>> children = result['children'];
95 …final Map<String, Object> result = testTree.toDiagnosticsNode().toJsonMap(const DiagnosticsSeriali…
101 …final Map<String, Object> result = testTree.toDiagnosticsNode().toJsonMap(const DiagnosticsSeriali…
106 final List<Map<String, Object>> children = result['children'];
[all …]
/third_party/flutter/flutter/packages/flutter_tools/lib/src/test/
Dcoverage_collector.dart25 Map<String, dynamic> _globalHitmap;
34 void _addHitmap(Map<String, dynamic> hitmap) {
51 final Map<String, dynamic> data = await collect(observatoryUri, libraryPredicate);
74 Map<String, dynamic> data;
80 .then<void>((Map<String, dynamic> result) {
174 Future<Map<String, dynamic>> collect(Uri serviceUri, bool Function(String) libraryPredicate, {
184 Future<Map<String, dynamic>> _getAllCoverage(VMService service, bool Function(String) libraryPredic…
186 final List<Map<String, dynamic>> coverage = <Map<String, dynamic>>[];
189 …final Map<String, dynamic> scriptList = await isolateRef.invokeRpcRaw('getScripts', params: <Strin…
192 final Map<String, Map<String, dynamic>> scripts = <String, Map<String, dynamic>>{};
[all …]
/third_party/json/test/thirdparty/Fuzzer/
DFuzzerValueBitMap.h28 void Reset() { memset(Map, 0, sizeof(Map)); } in Reset()
36 uintptr_t Old = Map[WordIdx]; in AddValue()
38 Map[WordIdx] = New; in AddValue()
46 return Map[WordIdx] & (1UL << BitIdx); in Get()
58 auto O = Other.Map[i]; in MergeFrom()
59 auto M = Map[i]; in MergeFrom()
61 Map[i] = (M |= O); in MergeFrom()
62 Other.Map[i] = 0; in MergeFrom()
74 if (uintptr_t M = Map[i]) in ForEach()
82 uintptr_t Map[kMapSizeInWords] __attribute__((aligned(512))); member
/third_party/protobuf/ruby/ext/google/protobuf_c/
Dmap.c66 static VALUE table_key(Map* self, VALUE key, in table_key()
103 static VALUE table_key_to_ruby(Map* self, upb_strview key) { in table_key_to_ruby()
142 Map* ruby_to_Map(VALUE _self) { in ruby_to_Map()
143 Map* self; in ruby_to_Map()
144 TypedData_Get_Struct(_self, Map, &Map_type, self); in ruby_to_Map()
149 Map* self = _self; in Map_mark()
169 Map* self = _self; in Map_free()
175 Map* self = ALLOC(Map); in Map_alloc()
176 memset(self, 0, sizeof(Map)); in Map_alloc()
182 Map* self = ruby_to_Map(map); in Map_set_frame()
[all …]
/third_party/jerryscript/tests/jerry/es2015/
Dobject-prototype-tostring.js60 assert (Map.prototype[Symbol.toStringTag] === "Map");
61 assert (Object.prototype.toString.call (new Map ()) === "[object Map]");
62 assert (Object.prototype.toString.call (Map) === "[object Function]");
64 assert (delete Map.prototype[Symbol.toStringTag]);
65 assert (Map.prototype[Symbol.toStringTag] === undefined);
66 Map.prototype[Symbol.toStringTag] = "myStringTag5"; class
67 assert (Map.prototype.toString.call (new Map ()) === "[object myStringTag5]");
68 assert (Object.prototype.toString.call (Map) === "[object Function]");
69 Map.prototype[Symbol.toStringTag] = {};
70 assert (Map.prototype.toString.call (new Map) === "[object Map]");
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DRDFRegisters.h37 IndexedSet() { Map.reserve(N); } in IndexedSet()
41 assert(Idx != 0 && !Map.empty() && Idx-1 < Map.size()); in get()
42 return Map[Idx-1]; in get()
47 auto F = llvm::find(Map, Val); in insert()
48 if (F != Map.end()) in insert()
49 return F - Map.begin() + 1; in insert()
50 Map.push_back(Val); in insert()
51 return Map.size(); // Return actual_index + 1. in insert()
55 auto F = llvm::find(Map, Val); in find()
56 assert(F != Map.end()); in find()
[all …]
/third_party/typescript/tests/baselines/reference/
DmoduleAugmentationInAmbientModule3.types7 import "Map";
21 >x.foo2() : import("Map").Cls2
22 >x.foo2 : () => import("Map").Cls2
24 >foo2 : () => import("Map").Cls2
43 declare module "Map" {
44 >"Map" : typeof import("Map")
59 declare module "Map" {
60 >"Map" : typeof import("Map")
DmoduleAugmentationInAmbientModule4.types8 import "Map";
22 >x.foo2() : import("Map").Cls2
23 >x.foo2 : () => import("Map").Cls2
25 >foo2 : () => import("Map").Cls2
44 declare module "Map" {
45 >"Map" : typeof import("Map")
61 declare module "Map" {
62 >"Map" : typeof import("Map")

12345678910>>...75