Home
last modified time | relevance | path

Searched refs:SpecialType (Results 1 – 16 of 16) sorted by relevance

/external/cbor-java/src/test/java/co/nstant/in/cbor/model/
DSpecialTypeTest.java10 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()
DAbstractFloatTest.java14 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()
DSimpleValueTest.java15 Special superClass1 = new Special(SpecialType.SIMPLE_VALUE); in testHashcode()
16 Special superClass2 = new Special(SpecialType.SIMPLE_VALUE_NEXT_BYTE); in testHashcode()
DDoublePrecisionFloatTest.java29 Special superClass = new Special(SpecialType.IEEE_754_DOUBLE_PRECISION_FLOAT); in testHashcode()
/external/cbor-java/src/test/java/co/nstant/in/cbor/encoder/
DSpecialEncoderTest.java8 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/
DSpecial.java7 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()
DSimpleValue.java19 super(SpecialType.SIMPLE_VALUE); in SimpleValue()
25 super(value <= 23 ? SpecialType.SIMPLE_VALUE in SimpleValue()
26 : SpecialType.SIMPLE_VALUE_NEXT_BYTE); in SimpleValue()
DSpecialType.java3 public enum SpecialType { enum
13 public static SpecialType ofByte(int b) { in ofByte()
DHalfPrecisionFloat.java6 super(SpecialType.IEEE_754_HALF_PRECISION_FLOAT, value); in HalfPrecisionFloat()
DSinglePrecisionFloat.java6 super(SpecialType.IEEE_754_SINGLE_PRECISION_FLOAT, value); in SinglePrecisionFloat()
DAbstractFloat.java9 public AbstractFloat(SpecialType specialType, float value) { in AbstractFloat()
DDoublePrecisionFloat.java10 super(SpecialType.IEEE_754_DOUBLE_PRECISION_FLOAT); in DoublePrecisionFloat()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DKeyTypeData.java91 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/
DKeyTypeData.java96 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/
DSpecialDecoder.java10 import co.nstant.in.cbor.model.SpecialType;
27 switch (SpecialType.ofByte(initialByte)) { in decode()
/external/icu/icu4c/source/common/
Duloc_keytype.cpp35 } SpecialType; typedef