Home
last modified time | relevance | path

Searched refs:asMap (Results 1 – 25 of 26) sorted by relevance

12

/third_party/flutter/flutter/dev/devicelab/lib/tasks/
Danalysis.dart32 ...(await _run(_FlutterRepoBenchmark())).asMap('flutter_repo', 'batch'),
33 ...(await _run(_FlutterRepoBenchmark(watch: true))).asMap('flutter_repo', 'watch'),
34 ...(await _run(_MegaGalleryBenchmark())).asMap('mega_gallery', 'batch'),
35 ...(await _run(_MegaGalleryBenchmark(watch: true))).asMap('mega_gallery', 'watch'),
50 Map<String, dynamic> asMap(String benchmark, String mode) {
Dperf_tests.dart551 ...startMemoryStatistics.asMap('start'),
552 ...endMemoryStatistics.asMap('end'),
553 ...diffMemoryStatistics.asMap('diff'),
720 Map<String, int> asMap(String prefix) {
/third_party/flatbuffers/kotlin/benchmark/src/jvmMain/kotlin/com/google/flatbuffers/kotlin/benchmark/
DFlexBuffersBenchmark.kt92 val map = ref.asMap() in mapJava()
100 blackhole.consume(ref.asMap()["myMap"].asMap()["cool"].toString()) in mapJava()
101 blackhole.consume(ref.asMap()["invalid_key"].isNull) in mapJava()
191 val map = ref.asMap() in stringMapJava()
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DPartitionInfo.java278 regionToVariables.asMap().forEach( in mapLeafRegionsToPartitionIds()
291 regionToVariables.asMap().forEach((region, variables) -> { in mapVariablesToPartitionIds()
317 regionToPartitionId.asMultimap().inverse().asMap(); in mapMacroRegionsToPartitionIds()
370 regionToPartitionId.asMultimap().asMap().forEach(writePartitionIndex); in writePartitionLookupTable()
371 macroRegionToPartitionIds.asMap().forEach(writePartitionIndex); in writePartitionLookupTable()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DUnknownFieldSetTest.java81 for (Map.Entry<Integer, UnknownFieldSet.Field> entry : unknownFields.asMap().entrySet()) { in getBizarroData()
293 assertEquals(1, group.asMap().size()); in testGroup()
338 Map<Integer, UnknownFieldSet.Field> mapFromBuilder = builder.asMap(); in testAsMap()
341 Map<Integer, UnknownFieldSet.Field> mapFromFieldSet = fields.asMap(); in testAsMap()
347 assertTrue(fields.asMap().isEmpty()); in testClear()
357 int fieldNumber = unknownFields.asMap().keySet().iterator().next(); in testClearField()
375 assertEquals(1, destination.getUnknownFields().asMap().size()); in testParseKnownAndUnknown()
402 assertEquals(unknownFields.asMap().size(), message.getUnknownFields().asMap().size()); in testUnknownExtensions()
DDynamicMessageTest.java95 assertEquals(2, message.getUnknownFields().asMap().size()); in testUnknownFields()
98 assertEquals(2, newBuilder.getUnknownFields().asMap().size()); in testUnknownFields()
101 assertTrue(newBuilder.getUnknownFields().asMap().isEmpty()); in testUnknownFields()
104 assertEquals(2, newBuilder.getUnknownFields().asMap().size()); in testUnknownFields()
DWireFormatTest.java315 assertTrue(raw.getUnknownFields().asMap().isEmpty()); in testSerializeMessageSetWithFlag()
381 assertEquals(1, unknownFields.asMap().size()); in testParseMessageSetWithFlag()
DMapForProto2Test.java850 assertFalse(message.getUnknownFields().asMap().isEmpty()); in testUnknownEnumValues()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DUnknownFieldSetTest.java77 unknownFields.asMap().entrySet()) { in getBizarroData()
138 assertEquals(1, group.asMap().size()); in testGroup()
200 assertTrue(fields.asMap().isEmpty()); in testClear()
222 assertEquals(1, destination.getUnknownFields().asMap().size()); in testParseKnownAndUnknown()
250 assertEquals(unknownFields.asMap().size(), in testUnknownExtensions()
251 message.getUnknownFields().asMap().size()); in testUnknownExtensions()
DDynamicMessageTest.java94 assertEquals(2, message.getUnknownFields().asMap().size()); in testUnknownFields()
97 assertEquals(2, newBuilder.getUnknownFields().asMap().size()); in testUnknownFields()
100 assertTrue(newBuilder.getUnknownFields().asMap().isEmpty()); in testUnknownFields()
103 assertEquals(2, newBuilder.getUnknownFields().asMap().size()); in testUnknownFields()
DWireFormatTest.java302 assertTrue(raw.getUnknownFields().asMap().isEmpty()); in testSerializeMessageSetWithFlag()
377 assertEquals(1, unknownFields.asMap().size()); in testParseMessageSetWithFlag()
/third_party/flatbuffers/tests/
DJavaTest.java660 FlexBuffers.Map m = FlexBuffers.getRoot(builder.getBuffer()).asMap(); in testFlexBuffersTest()
666 TestEq(m.get("no_key").asMap(), FlexBuffers.Map.empty()); // empty if fail in testFlexBuffersTest()
684 TestEq(vec.get(5).asMap().get("test").asInt(), 200); in testFlexBuffersTest()
711 FlexBuffers.Map mymap = m.get("mymap").asMap(); in testFlexBuffersTest()
925 assert(r.asMap().get("ints").isTypedVector()); in testSingleFixedTypeVector()
926 assert(r.asMap().get("floats").isTypedVector()); in testSingleFixedTypeVector()
927 assert(r.asMap().get("booleans").isTypedVector()); in testSingleFixedTypeVector()
971 FlexBuffers.Map map = FlexBuffers.getRoot(b.getBuffer()).asMap(); in testSingleElementMap()
1015 FlexBuffers.Map flexMap = rootReference.asMap(); in testHashMapToMap()
1061 FlexBuffers.Map m = FlexBuffers.getRoot(builder.getBuffer()).asMap(); in testFlexBuffersUtf8Map()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/
DXCldrStub.java99 public Map<K, Set<V>> asMap() { in asMap() method in XCldrStub.Multimap
138 for (Entry<V, Set<K>> entry : source.asMap().entrySet()) { in invertFrom()
366 for (Entry<K, Set<V>> entry : values.asMap().entrySet()) { in copyOf()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DXCldrStub.java94 public Map<K, Set<V>> asMap() { in asMap() method in XCldrStub.Multimap
130 for (Entry<V, Set<K>> entry : source.asMap().entrySet()) { in invertFrom()
331 for (Entry<K, Set<V>> entry : values.asMap().entrySet()) { in copyOf()
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DCollectionUtilities.java77 public static <T> Map<T,T> asMap(T[][] source, Map<T,T> target, boolean reverse) { in asMap() method in CollectionUtilities
123 public static <T> Map<T,T> asMap(T[][] source) { in asMap() method in CollectionUtilities
124 return asMap(source, new HashMap<T,T>(), false); in asMap()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/util/
DCollectionUtilities.java80 public static <T> Map<T,T> asMap(T[][] source, Map<T,T> target, boolean reverse) { in asMap() method in CollectionUtilities
126 public static <T> Map<T,T> asMap(T[][] source) { in asMap() method in CollectionUtilities
127 return asMap(source, new HashMap<T,T>(), false); in asMap()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/tool/locale/
DLocaleDistanceBuilder.java70 for (Map.Entry<String, Set<String>> entry : resolved.asMap().entrySet()) { in TerritoryContainment()
724 for (Map.Entry<String, Set<String>> e : regionToRawPartition.asMap().entrySet()) { in build()
749 for (Map.Entry<String, Set<String>> e : tc.resolved.asMap().entrySet()) { in build()
751 for (Map.Entry<String, Set<String>> e2 : partitionToRegions.asMap().entrySet()) { in build()
762 for (Map.Entry<String, Set<String>> m2p : macroToPartitions.asMap().entrySet()) { in build()
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/locale/
DLocaleDistanceBuilder.java70 for (Map.Entry<String, Set<String>> entry : resolved.asMap().entrySet()) { in TerritoryContainment()
724 for (Map.Entry<String, Set<String>> e : regionToRawPartition.asMap().entrySet()) { in build()
749 for (Map.Entry<String, Set<String>> e : tc.resolved.asMap().entrySet()) { in build()
751 for (Map.Entry<String, Set<String>> e2 : partitionToRegions.asMap().entrySet()) { in build()
762 for (Map.Entry<String, Set<String>> m2p : macroToPartitions.asMap().entrySet()) { in build()
/third_party/flatbuffers/java/com/google/flatbuffers/
DFlexBuffers.java516 public Map asMap() { in asMap() method in FlexBuffers.Reference
597 return asMap().toString(sb); in toString()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DUnknownFieldSet.java111 public Map<Integer, Field> asMap() { in asMap() method in UnknownFieldSet
478 public Map<Integer, Field> asMap() { in asMap() method in UnknownFieldSet.Builder
DTextFormat.java751 for (Map.Entry<Integer, UnknownFieldSet.Field> entry : unknownFields.asMap().entrySet()) { in printUnknownFields()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAsmWriter.cpp703 DenseMap<AttributeSet, unsigned> asMap; member in llvm::SlotTracker
776 as_iterator as_begin() { return asMap.begin(); } in as_begin()
777 as_iterator as_end() { return asMap.end(); } in as_end()
778 unsigned as_size() const { return asMap.size(); } in as_size()
779 bool as_empty() const { return asMap.empty(); } in as_empty()
1133 as_iterator AI = asMap.find(AS); in getAttributeGroupSlot()
1134 return AI == asMap.end() ? -1 : (int)AI->second; in getAttributeGroupSlot()
1216 as_iterator I = asMap.find(AS); in CreateAttributeSetSlot()
1217 if (I != asMap.end()) in CreateAttributeSetSlot()
1221 asMap[AS] = DestSlot; in CreateAttributeSetSlot()
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ant/
DConvertIcuDataTask.java328 Iterable<String> ids = perDirectoryIds.asMap().getOrDefault(dir, defaultTargetIds); in execute()
/third_party/flutter/flutter/packages/flutter_tools/lib/src/
Dvmservice.dart114 _handleStreamNotify(event.asMap);
120 final bool force = params.asMap['force'] ?? false;
121 final bool pause = params.asMap['pause'] ?? false;
151 final bool pause = params.asMap['pause'] ?? false;
/third_party/flatbuffers/docs/source/
DFlexBuffers.md147 FlexBuffers.Map map = FlexBuffers.getRoot(bb).asMap();

12