/external/guava/guava-tests/test/com/google/common/reflect/ |
D | SubtypeTester.java | 95 assertThat(getSubtype(returnType, TypeToken.of(paramType).getRawType())).isEqualTo(paramType); in isSubtype() 120 assertThat(getSubtype(returnType, TypeToken.of(paramType).getRawType())) in notSubtype() 169 private static Type getSubtype(Type type, Class<?> subclass) { in getSubtype() method in SubtypeTester 170 return TypeToken.of(type).getSubtype(subclass).getType(); in getSubtype()
|
D | TypeTokenTest.java | 1192 new TypeToken<Iterable<List<String>>>() {}.getSubtype(ListIterable.class)); in testGetSubtype_withTypeVariable() 1195 new TypeToken<Iterable<List<String>[]>>() {}.getSubtype(ListArrayIterable.class)); in testGetSubtype_withTypeVariable() 1198 new TypeToken<Iterable<List<String>[]>[]>() {}.getSubtype(ListArrayIterable[].class)); in testGetSubtype_withTypeVariable() 1204 TypeToken.of(Iterable.class).getSubtype(StringListIterable.class).getType()); in testGetSubtype_withoutTypeVariable() 1207 TypeToken.of(Iterable[].class).getSubtype(StringListIterable[].class).getType()); in testGetSubtype_withoutTypeVariable() 1210 new TypeToken<Iterable<List<String>>>() {}.getSubtype(StringListArrayIterable.class)); in testGetSubtype_withoutTypeVariable() 1213 new TypeToken<Iterable<List<String>>[]>() {}.getSubtype(StringListArrayIterable[].class)); in testGetSubtype_withoutTypeVariable() 1219 TypeToken.of(Iterable[].class).getSubtype(StringListIterable[].class)); in testGetSubtype_withArray() 1221 TypeToken.of(String[].class), TypeToken.of(Object[].class).getSubtype(String[].class)); in testGetSubtype_withArray() 1222 assertEquals(TypeToken.of(int[].class), TypeToken.of(Object.class).getSubtype(int[].class)); in testGetSubtype_withArray() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/reflect/ |
D | SubtypeTester.java | 95 assertThat(getSubtype(returnType, TypeToken.of(paramType).getRawType())).isEqualTo(paramType); in isSubtype() 120 assertThat(getSubtype(returnType, TypeToken.of(paramType).getRawType())) in notSubtype() 169 private static Type getSubtype(Type type, Class<?> subclass) { in getSubtype() method in SubtypeTester 170 return TypeToken.of(type).getSubtype(subclass).getType(); in getSubtype()
|
D | TypeTokenTest.java | 1192 new TypeToken<Iterable<List<String>>>() {}.getSubtype(ListIterable.class)); in testGetSubtype_withTypeVariable() 1195 new TypeToken<Iterable<List<String>[]>>() {}.getSubtype(ListArrayIterable.class)); in testGetSubtype_withTypeVariable() 1198 new TypeToken<Iterable<List<String>[]>[]>() {}.getSubtype(ListArrayIterable[].class)); in testGetSubtype_withTypeVariable() 1204 TypeToken.of(Iterable.class).getSubtype(StringListIterable.class).getType()); in testGetSubtype_withoutTypeVariable() 1207 TypeToken.of(Iterable[].class).getSubtype(StringListIterable[].class).getType()); in testGetSubtype_withoutTypeVariable() 1210 new TypeToken<Iterable<List<String>>>() {}.getSubtype(StringListArrayIterable.class)); in testGetSubtype_withoutTypeVariable() 1213 new TypeToken<Iterable<List<String>>[]>() {}.getSubtype(StringListArrayIterable[].class)); in testGetSubtype_withoutTypeVariable() 1219 TypeToken.of(Iterable[].class).getSubtype(StringListIterable[].class)); in testGetSubtype_withArray() 1221 TypeToken.of(String[].class), TypeToken.of(Object[].class).getSubtype(String[].class)); in testGetSubtype_withArray() 1222 assertEquals(TypeToken.of(int[].class), TypeToken.of(Object.class).getSubtype(int[].class)); in testGetSubtype_withArray() [all …]
|
/external/icu/libicu/cts_headers/ |
D | number_utils.h | 57 return uprv_strcmp("percent", unit.getSubtype()) == 0; in unitIsPercent() 61 return uprv_strcmp("permille", unit.getSubtype()) == 0; in unitIsPermille()
|
/external/icu/icu4c/source/i18n/ |
D | number_utils.h | 57 return uprv_strcmp("percent", unit.getSubtype()) == 0; in unitIsPercent() 61 return uprv_strcmp("permille", unit.getSubtype()) == 0; in unitIsPermille()
|
D | number_longnames.cpp | 132 int32_t subtypeLen = static_cast<int32_t>(uprv_strlen(unit.getSubtype())); in getMeasureData() 133 if (subtypeLen > 7 && uprv_strcmp(unit.getSubtype() + subtypeLen - 7, "-person") == 0) { in getMeasureData() 134 subtypeForResource = {unit.getSubtype(), subtypeLen - 7}; in getMeasureData() 136 subtypeForResource = unit.getSubtype(); in getMeasureData()
|
D | currunit.cpp | 94 u_charsToUChars(getSubtype(), isoCode, 4); in CurrencyUnit()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestCheckWidths.java | 39 Subtype exp = err.getSubtype(); in TestBasic() 40 assertEquals("errorSubType", Subtype.valueTooWide, err.getSubtype()); in TestBasic()
|
D | TestCheckNumbers.java | 61 Subtype exp = err.getSubtype(); in checkSingularity() 62 assertEquals("errorSubType", expectedSubtype, err.getSubtype()); in checkSingularity()
|
D | TestCheckCLDR.java | 235 if (PatternPlaceholders.PLACEHOLDER_SUBTYPES.contains(item.getSubtype())) { in testPlaceholderSamples() 236 actual .add(item.getSubtype()); in testPlaceholderSamples() 408 + "\t" + item.getType() + "\t" + item.getSubtype(); in checkLocale() 490 if (status.getSubtype() != Subtype.modifiedEnglishValue) { in TestCheckNew() 527 if (status.getSubtype() == Subtype.valueMustBeOverridden) { in TestCheckNewRootFailure() 711 actualSubtype = status.getSubtype(); in TestCheckDates() 1008 if (error.getSubtype() == Subtype.missingPlaceholders) { in TestInfohubLinks13979()
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | Accept.java | 85 return mediaRange.getSubtype().compareTo(STAR) == 0; in allowsAllContentSubTypes() 129 return mediaRange.getSubtype(); in getContentSubType()
|
D | MediaRange.java | 84 public String getSubtype() { in getSubtype() method in MediaRange
|
D | ContentType.java | 143 return mediaRange == null ? null : mediaRange.getSubtype(); in getContentSubType()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | LongNameHandler.java | 109 if (unit.getSubtype() != null && unit.getSubtype().endsWith("-person")) { in getMeasureData() 110 key.append(unit.getSubtype(), 0, unit.getSubtype().length() - 7); in getMeasureData() 112 key.append(unit.getSubtype()); in getMeasureData()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | LongNameHandler.java | 105 if (unit.getSubtype() != null && unit.getSubtype().endsWith("-person")) { in getMeasureData() 106 key.append(unit.getSubtype(), 0, unit.getSubtype().length() - 7); in getMeasureData() 108 key.append(unit.getSubtype()); in getMeasureData()
|
/external/caliper/caliper/src/main/java/com/google/caliper/json/ |
D | ImmutableListTypeAdatperFactory.java | 52 TypeToken.get(betterToken.getSupertype(List.class).getSubtype(ArrayList.class) in create()
|
D | ImmutableMapTypeAdapterFactory.java | 52 TypeToken.get(betterToken.getSupertype(Map.class).getSubtype(HashMap.class) in create()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowNetworkInfo.java | 81 protected int getSubtype() { in getSubtype() method in ShadowNetworkInfo
|
/external/webrtc/sdk/android/api/org/webrtc/ |
D | NetworkMonitorAutoDetect.java | 283 networkInfo.getType(), networkInfo.getSubtype()); in getNetworkState() 304 underlyingActiveNetworkInfo.getType(), underlyingActiveNetworkInfo.getSubtype()); in getNetworkState() 323 return new NetworkState(true, networkInfo.getType(), networkInfo.getSubtype(), -1, -1); in getNetworkState()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | MeasureUnitTest.java | 2245 String code = expected.getSubtype(); in testAUnit() 2912 String code = unit.getSubtype(); in generateCXXHConstants() 2992 return o1.getSubtype().compareTo(o2.getSubtype()); in getAllUnits() 3060 System.out.print(" \"" + unit.getSubtype() + "\""); in generateCXXConstants() 3149 String code = unit.getSubtype(); in toCamelCase() 3229 String code = unit.getSubtype(); in toJAVAName() 3259 String code = unit.getSubtype(); in generateConstants() 3386 && a1.getSubtype().equals(b1.getSubtype()); in hasSameBehavior() 3817 assertEquals("parsed kilogram equals built-in kilogram", MeasureUnit.KILOGRAM.getSubtype(), in TestKilogramIdentifier() 3818 kilogram.getSubtype()); in TestKilogramIdentifier() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | MeasureUnitTest.java | 2242 String code = expected.getSubtype(); in testAUnit() 2909 String code = unit.getSubtype(); in generateCXXHConstants() 2989 return o1.getSubtype().compareTo(o2.getSubtype()); in getAllUnits() 3057 System.out.print(" \"" + unit.getSubtype() + "\""); in generateCXXConstants() 3146 String code = unit.getSubtype(); in toCamelCase() 3226 String code = unit.getSubtype(); in toJAVAName() 3256 String code = unit.getSubtype(); in generateConstants() 3383 && a1.getSubtype().equals(b1.getSubtype()); in hasSameBehavior() 3814 assertEquals("parsed kilogram equals built-in kilogram", MeasureUnit.KILOGRAM.getSubtype(), in TestKilogramIdentifier() 3815 kilogram.getSubtype()); in TestKilogramIdentifier() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
D | CombinedCurrencyMatcher.java | 48 this.isoCode = currency.getSubtype(); in CombinedCurrencyMatcher()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/ |
D | CombinedCurrencyMatcher.java | 50 this.isoCode = currency.getSubtype(); in CombinedCurrencyMatcher()
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | NumberFormatterImpl.java | 162 return unit != null && "percent".equals(unit.getSubtype()); in unitIsPercent() 166 return unit != null && "permille".equals(unit.getSubtype()); in unitIsPermille()
|