/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/ |
D | MetadataFilterTest.java | 45 blacklist.put("fixedLine", new TreeSet<String>(Arrays.asList("exampleNumber"))); in testForLiteBuild() 46 blacklist.put("mobile", new TreeSet<String>(Arrays.asList("exampleNumber"))); in testForLiteBuild() 47 blacklist.put("tollFree", new TreeSet<String>(Arrays.asList("exampleNumber"))); in testForLiteBuild() 48 blacklist.put("premiumRate", new TreeSet<String>(Arrays.asList("exampleNumber"))); in testForLiteBuild() 49 blacklist.put("sharedCost", new TreeSet<String>(Arrays.asList("exampleNumber"))); in testForLiteBuild() 50 blacklist.put("personalNumber", new TreeSet<String>(Arrays.asList("exampleNumber"))); in testForLiteBuild() 51 blacklist.put("voip", new TreeSet<String>(Arrays.asList("exampleNumber"))); in testForLiteBuild() 52 blacklist.put("pager", new TreeSet<String>(Arrays.asList("exampleNumber"))); in testForLiteBuild() 53 blacklist.put("uan", new TreeSet<String>(Arrays.asList("exampleNumber"))); in testForLiteBuild() 54 blacklist.put("emergency", new TreeSet<String>(Arrays.asList("exampleNumber"))); in testForLiteBuild() [all …]
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/ |
D | FontInfo.java | 83 DataDisplayTable table = new DataDisplayTable(Arrays.asList(header)); in listFontMetrics() 84 table.setAlignment(Arrays.asList(displayAlignment)); in listFontMetrics() 91 table.add(Arrays.asList( in listFontMetrics() 93 table.add(Arrays.asList(new String[] { in listFontMetrics() 95 table.add(Arrays.asList(new String[] { in listFontMetrics() 97 table.add(Arrays.asList(new String[] { in listFontMetrics() 100 Arrays.asList(new String[] { "hhea ascender", String.format("%d", hheaTable.ascender()) })); in listFontMetrics() 101 table.add(Arrays.asList( in listFontMetrics() 103 table.add(Arrays.asList( in listFontMetrics() 105 table.add(Arrays.asList( in listFontMetrics() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | enumLiteralUnionNotWidened.types | 32 function asList<T>(arg: T): List<T> { return new List(); } 33 >asList : <T>(arg: T) => List<T> 38 // TypeScript incorrectly infers the return type of "asList(x)" to be "List<A | B>" 40 function fn1(x: C): List<C> { return asList(x); } 43 >asList(x) : List<C> 44 >asList : <T>(arg: T) => List<T> 48 function fn2(x: D): List<D> { return asList(x); } 51 >asList(x) : List<D> 52 >asList : <T>(arg: T) => List<T>
|
D | enumLiteralUnionNotWidened.js | 14 function asList<T>(arg: T): List<T> { return new List(); } 18 function fn1(x: C): List<C> { return asList(x); } 21 function fn2(x: D): List<D> { return asList(x); } 43 function asList(arg) { return new List(); } 46 function fn1(x) { return asList(x); } 48 function fn2(x) { return asList(x); }
|
D | enumLiteralUnionNotWidened.symbols | 32 function asList<T>(arg: T): List<T> { return new List(); } 33 >asList : Symbol(asList, Decl(enumLiteralUnionNotWidened.ts, 10, 1)) 41 // TypeScript incorrectly infers the return type of "asList(x)" to be "List<A | B>" 43 function fn1(x: C): List<C> { return asList(x); } 49 >asList : Symbol(asList, Decl(enumLiteralUnionNotWidened.ts, 10, 1)) 53 function fn2(x: D): List<D> { return asList(x); } 59 >asList : Symbol(asList, Decl(enumLiteralUnionNotWidened.ts, 10, 1))
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | ProtobufArrayListTest.java | 33 import static java.util.Arrays.asList; 64 list.addAll(asList(1, 2, 3, 4)); in testModificationWithIteration() 109 assertEquals(asList(2, 3), list); in testRemove() 112 assertEquals(asList(2), list); in testRemove() 115 assertEquals(asList(2), list); in testRemove() 118 assertEquals(asList(), list); in testRemove() 183 assertEquals(asList(2), list); in testAdd() 187 assertEquals(asList(4, 2, 3), list); in testAdd() 195 assertEquals(asList(0, 1, 4, 2, 3, 5, 6, 7, 8, 9, 10), list); in testAdd() 217 assertTrue(list.addAll(asList(2, 3, 4, 5, 6))); in testAddAll() [all …]
|
D | DoubleArrayListTest.java | 33 import static java.util.Arrays.asList; 76 list.addAll(asList(1D, 2D, 3D, 4D)); in testModificationWithIteration() 276 assertEquals(asList(2D), list); in testAdd() 280 assertEquals(asList(4D, 2D, 3D), list); in testAdd() 288 assertEquals(asList(0D, 1D, 4D, 2D, 3D, 5D, 6D, 7D, 8D, 9D, 10D), list); in testAdd() 307 assertEquals(asList(2D), list); in testAddDouble() 310 assertEquals(asList(2D, 3D), list); in testAddDouble() 321 assertTrue(list.addAll(asList(2D, 3D, 4D, 5D, 6D))); in testAddAll() 322 assertEquals(asList(1D, 2D, 3D, 4D, 5D, 6D), list); in testAddAll() 325 assertEquals(asList(1D, 2D, 3D, 4D, 5D, 6D, 1D, 2D, 3D), list); in testAddAll() [all …]
|
D | IntArrayListTest.java | 33 import static java.util.Arrays.asList; 76 list.addAll(asList(1, 2, 3, 4)); in testModificationWithIteration() 276 assertEquals(asList(2), list); in testAdd() 280 assertEquals(asList(4, 2, 3), list); in testAdd() 288 assertEquals(asList(0, 1, 4, 2, 3, 5, 6, 7, 8, 9, 10), list); in testAdd() 307 assertEquals(asList(2), list); in testAddInt() 310 assertEquals(asList(2, 3), list); in testAddInt() 321 assertTrue(list.addAll(asList(2, 3, 4, 5, 6))); in testAddAll() 322 assertEquals(asList(1, 2, 3, 4, 5, 6), list); in testAddAll() 325 assertEquals(asList(1, 2, 3, 4, 5, 6, 1, 2, 3), list); in testAddAll() [all …]
|
D | FloatArrayListTest.java | 33 import static java.util.Arrays.asList; 76 list.addAll(asList(1F, 2F, 3F, 4F)); in testModificationWithIteration() 276 assertEquals(asList(2F), list); in testAdd() 280 assertEquals(asList(4F, 2F, 3F), list); in testAdd() 288 assertEquals(asList(0F, 1F, 4F, 2F, 3F, 5F, 6F, 7F, 8F, 9F, 10F), list); in testAdd() 307 assertEquals(asList(2F), list); in testAddFloat() 310 assertEquals(asList(2F, 3F), list); in testAddFloat() 321 assertTrue(list.addAll(asList(2F, 3F, 4F, 5F, 6F))); in testAddAll() 322 assertEquals(asList(1F, 2F, 3F, 4F, 5F, 6F), list); in testAddAll() 325 assertEquals(asList(1F, 2F, 3F, 4F, 5F, 6F, 1F, 2F, 3F), list); in testAddAll() [all …]
|
D | BooleanArrayListTest.java | 33 import static java.util.Arrays.asList; 77 list.addAll(asList(true, false, true, false)); in testModificationWithIteration() 277 assertEquals(asList(false), list); in testAdd() 281 assertEquals(asList(false, false, true), list); in testAdd() 290 asList(false, true, false, false, true, true, false, true, false, true, false), list); in testAdd() 309 assertEquals(asList(false), list); in testAddBoolean() 312 assertEquals(asList(false, true), list); in testAddBoolean() 323 assertTrue(list.addAll(asList(false, true, false, true, false))); in testAddAll() 324 assertEquals(asList(true, false, true, false, true, false), list); in testAddAll() 327 assertEquals(asList(true, false, true, false, true, false, true, false, true), list); in testAddAll() [all …]
|
D | LongArrayListTest.java | 33 import static java.util.Arrays.asList; 76 list.addAll(asList(1L, 2L, 3L, 4L)); in testModificationWithIteration() 276 assertEquals(asList(2L), list); in testAdd() 280 assertEquals(asList(4L, 2L, 3L), list); in testAdd() 288 assertEquals(asList(0L, 1L, 4L, 2L, 3L, 5L, 6L, 7L, 8L, 9L, 10L), list); in testAdd() 307 assertEquals(asList(2L), list); in testAddLong() 310 assertEquals(asList(2L, 3L), list); in testAddLong() 321 assertTrue(list.addAll(asList(2L, 3L, 4L, 5L, 6L))); in testAddAll() 322 assertEquals(asList(1L, 2L, 3L, 4L, 5L, 6L), list); in testAddAll() 325 assertEquals(asList(1L, 2L, 3L, 4L, 5L, 6L, 1L, 2L, 3L), list); in testAddAll() [all …]
|
D | LazyStringArrayListTest.java | 33 import static java.util.Arrays.asList; 181 list.addAll(asList(STRING_A, STRING_B, STRING_C)); in testModificationWithIteration() 243 list.addAllByteString(asList(BYTE_STRING_A)); in testMakeImmutable() 301 list.addAll(asList(value)); in assertGenericListImmutable() 308 list.addAll(0, asList(value)); in assertGenericListImmutable() 336 list.removeAll(asList(value)); in assertGenericListImmutable() 343 list.retainAll(asList()); in assertGenericListImmutable() 350 list.retainAll(asList()); in assertGenericListImmutable()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DisplayOptions.java | 334 Collections.unmodifiableList(Arrays.asList(NounClass.values())); 398 Collections.unmodifiableList(Arrays.asList(NameStyle.values())); 435 Collections.unmodifiableList(Arrays.asList(SubstituteHandling.values())); 471 Collections.unmodifiableList(Arrays.asList(DisplayLength.values())); 527 Collections.unmodifiableList(Arrays.asList(Capitalization.values())); 586 Collections.unmodifiableList(Arrays.asList(PluralCategory.values())); 712 Collections.unmodifiableList(Arrays.asList(GrammaticalCase.values()));
|
/third_party/typescript/tests/cases/compiler/ |
D | enumLiteralUnionNotWidened.ts | 13 function asList<T>(arg: T): List<T> { return new List(); } function 17 function fn1(x: C): List<C> { return asList(x); } 20 function fn2(x: D): List<D> { return asList(x); }
|
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberMatcherTest.java | 545 testCases.addAll(Arrays.asList(STRICT_GROUPING_CASES)); in testMatchesWithPossibleLeniency() 546 testCases.addAll(Arrays.asList(EXACT_GROUPING_CASES)); in testMatchesWithPossibleLeniency() 547 testCases.addAll(Arrays.asList(VALID_CASES)); in testMatchesWithPossibleLeniency() 548 testCases.addAll(Arrays.asList(POSSIBLE_ONLY_CASES)); in testMatchesWithPossibleLeniency() 554 testCases.addAll(Arrays.asList(IMPOSSIBLE_CASES)); in testNonMatchesWithPossibleLeniency() 560 testCases.addAll(Arrays.asList(STRICT_GROUPING_CASES)); in testMatchesWithValidLeniency() 561 testCases.addAll(Arrays.asList(EXACT_GROUPING_CASES)); in testMatchesWithValidLeniency() 562 testCases.addAll(Arrays.asList(VALID_CASES)); in testMatchesWithValidLeniency() 568 testCases.addAll(Arrays.asList(IMPOSSIBLE_CASES)); in testNonMatchesWithValidLeniency() 569 testCases.addAll(Arrays.asList(POSSIBLE_ONLY_CASES)); in testNonMatchesWithValidLeniency() [all …]
|
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/localedistance/ |
D | PartitionInfoTest.java | 6 import static java.util.Arrays.asList; 56 assertThat(info.getPartitionStrings()).asList().containsExactly( in testPartitionInfo() 89 return TerritoryContainment.getContainment(CldrDataSupplier.forValues(asList(tcs))); in territories()
|
D | LikelySubtagsBuilderTest.java | 6 import static java.util.Arrays.asList; 72 assertThat(subtags.lsrs).asList() in testLikelySubtags() 108 return CldrDataSupplier.forValues(asList(values)); in getTestData()
|
D | TerritoryContainmentTest.java | 6 import static java.util.Arrays.asList; 68 return CldrDataSupplier.forValues(asList(values)); in getTestData()
|
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/table/ |
D | ChangeTest.java | 20 import static java.util.Arrays.asList; 54 assertThat(c).isEqualTo(Change.of(ranges("12xxxx"), asList(assignFoo, assignBar))); in testBuilder() 65 assertThat(c).isEqualTo(Change.of(ranges("12xxxx"), asList(unassign))); in testBuilderUnassignment()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | DataDrivenUScriptTest.java | 52 return Arrays.asList(new Object[][] { { new ULocale("en"), UScript.LATIN }, in testData() 130 return Arrays.asList(new Object[][] { in testData() 179 return Arrays.asList(new Object[][] { in testData() 267 return Arrays.asList(new Object[][] { in testData() 300 return Arrays.asList(new Object[][] { in testData() 336 return Arrays.asList(new int[][] { in testData()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/ |
D | DataDrivenUScriptTest.java | 55 return Arrays.asList(new Object[][] { { new ULocale("en"), UScript.LATIN }, in testData() 133 return Arrays.asList(new Object[][] { in testData() 182 return Arrays.asList(new Object[][] { in testData() 270 return Arrays.asList(new Object[][] { in testData() 303 return Arrays.asList(new Object[][] { in testData() 339 return Arrays.asList(new int[][] { in testData()
|
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | UnknownFieldSetTest.java | 300 Arrays.asList(TestAllTypes.NestedEnum.FOO, TestAllTypes.NestedEnum.BAZ), in testParseUnknownEnumValue() 302 assertEquals(Arrays.asList(5L), in testParseUnknownEnumValue() 306 assertEquals(Arrays.asList(4L, 6L), in testParseUnknownEnumValue() 318 Arrays.asList(TestAllTypes.NestedEnum.FOO, TestAllTypes.NestedEnum.BAZ), in testParseUnknownEnumValue() 320 assertEquals(Arrays.asList(5L), in testParseUnknownEnumValue() 324 assertEquals(Arrays.asList(4L, 6L), in testParseUnknownEnumValue()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | ListFormatterTest.java | 230 FormattedList result = fmt.formatToValue(Arrays.asList(inputs)); in TestFormattedValue() 257 FormattedList result = fmt.formatToValue(Arrays.asList(inputs)); in TestFormattedValue() 290 FormattedList result = fmt.formatToValue(Arrays.asList(inputs)); in TestFormattedValue() 368 String result = fmt1.format(Arrays.asList(inputs)); in TestCreateStyled() 371 result = fmt2.format(Arrays.asList(inputs)); in TestCreateStyled() 421 List inputs = Arrays.asList(cas).subList(3, cas.length); in TestContextual()
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | Descriptors.java | 127 return Collections.unmodifiableList(Arrays.asList(messageTypes)); in getMessageTypes() 132 return Collections.unmodifiableList(Arrays.asList(enumTypes)); in getEnumTypes() 137 return Collections.unmodifiableList(Arrays.asList(services)); in getServices() 142 return Collections.unmodifiableList(Arrays.asList(extensions)); in getExtensions() 147 return Collections.unmodifiableList(Arrays.asList(dependencies)); in getDependencies() 152 return Collections.unmodifiableList(Arrays.asList(publicDependencies)); in getPublicDependencies() 697 return Collections.unmodifiableList(Arrays.asList(fields)); in getFields() 702 return Collections.unmodifiableList(Arrays.asList(oneofs)); in getOneofs() 707 return Collections.unmodifiableList(Arrays.asList(oneofs).subList(0, realOneofCount)); in getRealOneofs() 712 return Collections.unmodifiableList(Arrays.asList(extensions)); in getExtensions() [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | ListFormatterTest.java | 233 FormattedList result = fmt.formatToValue(Arrays.asList(inputs)); in TestFormattedValue() 292 String result = fmt1.format(Arrays.asList(inputs)); in TestCreateStyled() 295 result = fmt2.format(Arrays.asList(inputs)); in TestCreateStyled() 345 List inputs = Arrays.asList(cas).subList(3, cas.length); in TestContextual()
|