/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | MeasureUnit.java | 68 protected final String subType; field in MeasureUnit 330 protected MeasureUnit(String type, String subType) { in MeasureUnit() argument 332 this.subType = subType; in MeasureUnit() 376 subType = null; in MeasureUnit() 398 return subType; in getSubtype() 590 return 31 * type.hashCode() + subType.hashCode(); in hashCode() 617 return type + "-" + subType; in toString() 674 public static MeasureUnit internalGetInstance(String type, String subType) { in internalGetInstance() argument 675 if (type == null || subType == null) { in internalGetInstance() 679 if (!ASCII.containsAll(type) || !ASCII_HYPHEN_DIGITS.containsAll(subType)) { in internalGetInstance() [all …]
|
D | Currency.java | 482 return subType; in getCurrencyCode() 500 UResourceBundle numCode = codeMap.get(subType); in getNumericCode() 596 return names.getSymbol(subType); in getName() 598 return names.getNarrowSymbol(subType); in getName() 600 return names.getFormalSymbol(subType); in getName() 602 return names.getVariantSymbol(subType); in getName() 604 return names.getName(subType); in getName() 664 return names.getPluralName(subType, pluralCount); in getName() 918 CurrencyDigits digits = info.currencyDigits(subType, Usage); in getDefaultFractionDigits() 942 CurrencyDigits digits = info.currencyDigits(subType, Usage); in getRoundingIncrement() [all …]
|
D | TimeUnit.java | 44 return new MeasureUnitProxy(type, subType); in writeReplace()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | MeasureUnit.java | 70 protected final String subType; field in MeasureUnit 308 protected MeasureUnit(String type, String subType) { in MeasureUnit() argument 310 this.subType = subType; in MeasureUnit() 353 subType = null; in MeasureUnit() 371 return subType; in getSubtype() 552 return 31 * type.hashCode() + subType.hashCode(); in hashCode() 575 return type + "-" + subType; in toString() 628 public static MeasureUnit internalGetInstance(String type, String subType) { in internalGetInstance() argument 629 if (type == null || subType == null) { in internalGetInstance() 633 if (!ASCII.containsAll(type) || !ASCII_HYPHEN_DIGITS.containsAll(subType)) { in internalGetInstance() [all …]
|
D | Currency.java | 459 return subType; in getCurrencyCode() 476 UResourceBundle numCode = codeMap.get(subType); in getNumericCode() 567 return names.getSymbol(subType); in getName() 569 return names.getNarrowSymbol(subType); in getName() 571 return names.getFormalSymbol(subType); in getName() 573 return names.getVariantSymbol(subType); in getName() 575 return names.getName(subType); in getName() 633 return names.getPluralName(subType, pluralCount); in getName() 885 CurrencyDigits digits = info.currencyDigits(subType, Usage); in getDefaultFractionDigits() 907 CurrencyDigits digits = info.currencyDigits(subType, Usage); in getRoundingIncrement() [all …]
|
D | TimeUnit.java | 42 return new MeasureUnitProxy(type, subType); in writeReplace()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ |
D | DatabindContext.java | 239 final JavaType subType = config.getTypeFactory().constructSpecializedType(baseType, cls); in resolveAndValidateSubType() local 242 vld = ptv.validateSubType(config, baseType, subType); in resolveAndValidateSubType() 247 return subType; in resolveAndValidateSubType() 262 JavaType subType = getTypeFactory().constructFromCanonical(subClass); in _resolveAndValidateGeneric() local 263 if (!subType.isTypeOrSubTypeOf(baseType.getRawClass())) { in _resolveAndValidateGeneric() 268 if (ptv.validateSubType(config, baseType, subType) != Validity.ALLOWED) { in _resolveAndValidateGeneric() 272 return subType; in _resolveAndValidateGeneric() 275 … protected <T> T _throwNotASubtype(JavaType baseType, String subType) throws JsonMappingException { in _throwNotASubtype() argument 276 throw invalidTypeIdException(baseType, subType, "Not a subtype"); in _throwNotASubtype() 279 protected <T> T _throwSubtypeNameNotAllowed(JavaType baseType, String subType, in _throwSubtypeNameNotAllowed() argument [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowNetworkInfo.java | 27 int subType, in newInstance() argument 33 subType, in newInstance() 42 int subType, in newInstance() argument 48 info.setSubType(subType); in newInstance() 131 public void setSubType(int subType) { in setSubType() argument 132 this.connectionSubType = subType; in setSubType()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/module/ |
D | SimpleAbstractTypeResolver.java | 52 public <T> SimpleAbstractTypeResolver addMapping(Class<T> superType, Class<? extends T> subType) in addMapping() argument 55 if (superType == subType) { in addMapping() 58 if (!superType.isAssignableFrom(subType)) { in addMapping() 60 +" to "+subType.getName()+", as latter is not a subtype of former"); in addMapping() 66 _mappings.put(new ClassKey(superType), subType); in addMapping()
|
D | SimpleModule.java | 363 Class<? extends T> subType) in addAbstractTypeMapping() argument 366 _checkNotNull(subType, "concrete type to map to"); in addAbstractTypeMapping() 371 _abstractTypes = _abstractTypes.addMapping(superType, subType); in addAbstractTypeMapping()
|
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/manifest/ |
D | SsManifest.java | 66 public final String subType; field in SsManifest.StreamElement 88 String subType, in StreamElement() argument 103 subType, in StreamElement() 121 String subType, in StreamElement() argument 136 this.subType = subType; in StreamElement() 159 return new StreamElement(baseUri, chunkTemplate, type, subType, timescale, name, maxWidth, in copy()
|
D | SsManifestParser.java | 523 private String subType; field in SsManifestParser.StreamIndexParser 589 subType = parseRequiredString(parser, KEY_SUB_TYPE); in parseStreamElementStartTag() 591 subType = parser.getAttributeValue(null, KEY_SUB_TYPE); in parseStreamElementStartTag() 593 putNormalizedAttribute(KEY_SUB_TYPE, subType); in parseStreamElementStartTag() 636 return new StreamElement(baseUri, url, type, subType, timescale, name, maxWidth, maxHeight, in build() 700 @Nullable String subType = (String) getNormalizedAttribute(KEY_SUB_TYPE); in parseStartTag() local 701 if (subType != null) { in parseStartTag() 702 switch (subType) { in parseStartTag()
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/ |
D | ForwardsInvocations.java | 62 private static boolean compatibleReturnTypes(Class<?> superType, Class<?> subType) { in compatibleReturnTypes() argument 63 return superType.equals(subType) || superType.isAssignableFrom(subType); in compatibleReturnTypes()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/ |
D | DefaultBaseTypeLimitingValidator.java | 48 JavaType subType) in validateSubType() argument 50 return isSafeSubType(config, baseType, subType) in validateSubType() 90 JavaType baseType, JavaType subType) in isSafeSubType() argument
|
D | PolymorphicTypeValidator.java | 142 JavaType subType) throws JsonMappingException; in validateSubType() argument 167 public Validity validateSubType(MapperConfig<?> config, JavaType baseType, JavaType subType) in validateSubType() argument
|
D | BasicPolymorphicTypeValidator.java | 432 public Validity validateSubType(MapperConfig<?> ctxt, JavaType baseType, JavaType subType) 437 final Class<?> subClass = subType.getRawClass();
|
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyDescriptorPool.java | 147 RubyDescriptor subType = (RubyDescriptor) lookup(context, in buildFileDescriptor() local 149 rubyFieldDescriptor.setSubType(subType); in buildFileDescriptor() 152 RubyEnumDescriptor subType = (RubyEnumDescriptor) lookup(context, in buildFileDescriptor() local 154 rubyFieldDescriptor.setSubType(subType); in buildFileDescriptor()
|
D | RubyFieldDescriptor.java | 130 return subType; in getSubType() 238 this.subType = rubyDescriptor; in setSubType() 272 private IRubyObject subType; field in RubyFieldDescriptor
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
D | ContentTypeParser.java | 74 Token subType = lexer.getNextToken(); in parse() local 76 contentType.setContentSubType(subType.getTokenValue()); in parse()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/vld/ |
D | ValidatePolymSubTypeTest.java | 83 public Validity validateSubType(MapperConfig<?> ctxt, JavaType baseType, JavaType subType) { in validateSubType() argument 102 public Validity validateSubType(MapperConfig<?> ctxt, JavaType baseType, JavaType subType) { in validateSubType() argument 103 if (subType.hasRawClass(BadValue.class)) { in validateSubType() 106 if (subType.hasRawClass(GoodValue.class)) { in validateSubType()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/ |
D | TestCustomTypeIdResolver.java | 67 protected final Class<?> subType; field in TestCustomTypeIdResolver.TestCustomResolverBase 71 subType = implType; in TestCustomResolverBase() 95 return TypeFactory.defaultInstance().constructType(subType); in typeFromId()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/ |
D | RecursiveTypeTest.java | 110 JavaType subType = tf.constructType(Sub.class); in testSuperClassWithReferencedJavaType() local 112 JavaType baseTypeFromSub = subType.getSuperClass(); in testSuperClassWithReferencedJavaType()
|
/external/perfetto/infra/perfetto.dev/src/ |
D | gen_proto_reference.js | 124 for (const subType of subTypes) 125 md += genType(subType, depth + 1);
|
/external/exoplayer/tree/library/smoothstreaming/src/test/java/com/google/android/exoplayer2/source/smoothstreaming/manifest/ |
D | SsManifestTest.java | 94 assertThat(actualStreamElement.subType).isEqualTo(expectedStreamElement.subType); in assertManifestEquals()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/testutil/ |
D | NoCheckSubTypeValidator.java | 31 JavaType subType) { in validateSubType() argument
|