/external/cbor-java/src/test/java/co/nstant/in/cbor/model/ |
D | SpecialTypeTest.java | 10 Assert.assertTrue(SpecialType.ofByte(28).equals(SpecialType.UNALLOCATED)); in shouldDetectUnallocated() 11 Assert.assertTrue(SpecialType.ofByte(29).equals(SpecialType.UNALLOCATED)); in shouldDetectUnallocated() 12 Assert.assertTrue(SpecialType.ofByte(30).equals(SpecialType.UNALLOCATED)); in shouldDetectUnallocated()
|
D | AbstractFloatTest.java | 14 AbstractFloat a = new AbstractFloat(SpecialType.IEEE_754_SINGLE_PRECISION_FLOAT, 0.0f); in testEquals() 15 AbstractFloat b = new AbstractFloat(SpecialType.IEEE_754_SINGLE_PRECISION_FLOAT, 0.3f); in testEquals() 25 Special superClass = new Special(SpecialType.IEEE_754_SINGLE_PRECISION_FLOAT); in testHashcode() 26 AbstractFloat f = new AbstractFloat(SpecialType.IEEE_754_SINGLE_PRECISION_FLOAT, 0.0f); in testHashcode()
|
D | SimpleValueTest.java | 15 Special superClass1 = new Special(SpecialType.SIMPLE_VALUE); in testHashcode() 16 Special superClass2 = new Special(SpecialType.SIMPLE_VALUE_NEXT_BYTE); in testHashcode()
|
D | DoublePrecisionFloatTest.java | 29 Special superClass = new Special(SpecialType.IEEE_754_DOUBLE_PRECISION_FLOAT); in testHashcode()
|
/external/cbor-java/src/test/java/co/nstant/in/cbor/encoder/ |
D | SpecialEncoderTest.java | 8 import co.nstant.in.cbor.model.SpecialType; 14 public Mock(SpecialType specialType) { in Mock() 29 encoder.encode(new Mock(SpecialType.UNALLOCATED)); in shouldNotEncodeReserved() 34 encoder.encode(new Mock(SpecialType.IEEE_754_DOUBLE_PRECISION_FLOAT)); in shouldVerifyImplementation1() 39 encoder.encode(new Mock(SpecialType.IEEE_754_HALF_PRECISION_FLOAT)); in shouldVerifyImplementation2() 44 encoder.encode(new Mock(SpecialType.IEEE_754_SINGLE_PRECISION_FLOAT)); in shouldVerifyImplementation3() 49 encoder.encode(new Mock(SpecialType.SIMPLE_VALUE_NEXT_BYTE)); in shouldVerifyImplementation4()
|
/external/cbor-java/src/main/java/co/nstant/in/cbor/model/ |
D | Special.java | 7 public static final Special BREAK = new Special(SpecialType.BREAK); 9 private final SpecialType specialType; 11 protected Special(SpecialType specialType) { in Special() 16 public SpecialType getSpecialType() { in getSpecialType()
|
D | SimpleValue.java | 19 super(SpecialType.SIMPLE_VALUE); in SimpleValue() 25 super(value <= 23 ? SpecialType.SIMPLE_VALUE in SimpleValue() 26 : SpecialType.SIMPLE_VALUE_NEXT_BYTE); in SimpleValue()
|
D | SpecialType.java | 3 public enum SpecialType { enum 13 public static SpecialType ofByte(int b) { in ofByte()
|
D | HalfPrecisionFloat.java | 6 super(SpecialType.IEEE_754_HALF_PRECISION_FLOAT, value); in HalfPrecisionFloat()
|
D | SinglePrecisionFloat.java | 6 super(SpecialType.IEEE_754_SINGLE_PRECISION_FLOAT, value); in SinglePrecisionFloat()
|
D | AbstractFloat.java | 9 public AbstractFloat(SpecialType specialType, float value) { in AbstractFloat()
|
D | DoublePrecisionFloat.java | 10 super(SpecialType.IEEE_754_DOUBLE_PRECISION_FLOAT); in DoublePrecisionFloat()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
D | KeyTypeData.java | 91 private enum SpecialType { enum in KeyTypeData 100 SpecialType(SpecialTypeHandler handler) { in SpecialType() method in KeyTypeData.SpecialType 109 EnumSet<SpecialType> specialTypes; 112 EnumSet<SpecialType> specialTypes) { in KeyData() 171 for (SpecialType st : keyData.specialTypes) { in toBcpType() 208 for (SpecialType st : keyData.specialTypes) { in toLegacyType() 326 EnumSet<SpecialType> specialTypeSet = null; in initFromResourceBundle() 348 specialTypeSet = EnumSet.noneOf(SpecialType.class); in initFromResourceBundle() 350 specialTypeSet.add(SpecialType.valueOf(legacyTypeId)); in initFromResourceBundle() 599 Set<SpecialType> specialTypeSet = null; [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
D | KeyTypeData.java | 96 private enum SpecialType { enum in KeyTypeData 105 SpecialType(SpecialTypeHandler handler) { in SpecialType() method in KeyTypeData.SpecialType 114 EnumSet<SpecialType> specialTypes; 117 EnumSet<SpecialType> specialTypes) { in KeyData() 176 for (SpecialType st : keyData.specialTypes) { in toBcpType() 213 for (SpecialType st : keyData.specialTypes) { in toLegacyType() 331 EnumSet<SpecialType> specialTypeSet = null; in initFromResourceBundle() 353 specialTypeSet = EnumSet.noneOf(SpecialType.class); in initFromResourceBundle() 355 specialTypeSet.add(SpecialType.valueOf(legacyTypeId)); in initFromResourceBundle() 604 Set<SpecialType> specialTypeSet = null; [all …]
|
/external/cbor-java/src/main/java/co/nstant/in/cbor/decoder/ |
D | SpecialDecoder.java | 10 import co.nstant.in.cbor.model.SpecialType; 27 switch (SpecialType.ofByte(initialByte)) { in decode()
|
/external/icu/icu4c/source/common/ |
D | uloc_keytype.cpp | 35 } SpecialType; typedef
|