Home
last modified time | relevance | path

Searched refs:numericTypes (Results 1 – 10 of 10) sorted by relevance

/aosp_15_r20/system/tools/xsdc/tests/
Dtests.cpp42 NumericTypes numericTypes = *type.getFirstNumericTypes(); in TEST_F() local
75 EXPECT_EQ(numericTypes.getDecimal(), 1234.57); in TEST_F()
76 EXPECT_EQ(numericTypes.getInteger(), 1234567890123456789); in TEST_F()
77 EXPECT_EQ(numericTypes.get_long(), 9223372036854775807); in TEST_F()
78 EXPECT_EQ(numericTypes.get_int(), 2147483647); in TEST_F()
79 EXPECT_EQ(numericTypes.get_short(), 32767); in TEST_F()
80 EXPECT_EQ((int)numericTypes.getByte(), 127); in TEST_F()
81 EXPECT_EQ(numericTypes.getNegativeInteger(), -1234); in TEST_F()
82 EXPECT_EQ(numericTypes.getNonNegativeInteger(), 1234); in TEST_F()
83 EXPECT_EQ(numericTypes.getPositiveInteger(), 1234); in TEST_F()
[all …]
/aosp_15_r20/system/tools/xsdc/tests/src/com/android/xsdc/tests/
DXmlParserTest.java158 predefined.types.NumericTypes numericTypes = type.getNumericTypes(); in testPredefinedTypes() local
160 assertThat(numericTypes.getDecimal(), is(new BigDecimal("1234.57"))); in testPredefinedTypes()
161 assertThat(numericTypes.getInteger(), is(new BigInteger("1234567890123456789"))); in testPredefinedTypes()
162 assertThat(numericTypes.get_long(), is(9223372036854775807L)); in testPredefinedTypes()
163 assertThat(numericTypes.get_int(), is(2147483647)); in testPredefinedTypes()
164 assertThat(numericTypes.get_short(), is((short) 32767)); in testPredefinedTypes()
165 assertThat(numericTypes.get_byte(), is((byte) 127)); in testPredefinedTypes()
166 assertThat(numericTypes.getNegativeInteger(), is(new BigInteger("-1234"))); in testPredefinedTypes()
167 assertThat(numericTypes.getNonNegativeInteger(), is(new BigInteger("1234"))); in testPredefinedTypes()
168 assertThat(numericTypes.getPositiveInteger(), is(new BigInteger("1234"))); in testPredefinedTypes()
[all …]
/aosp_15_r20/out/soong/.intermediates/system/tools/xsdc/tests/resources/predefined_types/xsdc_predefined_types_tests/gen/
Dxsdc_predefined_types_tests.xsd30 <xs:complexType name="numericTypes">
106 <xs:element name="numericTypes" type="numericTypes"/>
/aosp_15_r20/out/soong/.intermediates/system/tools/xsdc/tests/resources/predefined_types/xsdc_predefined_types_tinyxml_tests/gen/
Dxsdc_predefined_types_tinyxml_tests.xsd30 <xs:complexType name="numericTypes">
106 <xs:element name="numericTypes" type="numericTypes"/>
/aosp_15_r20/system/tools/xsdc/tests/resources/predefined_types/
Dpredefined_types.xsd30 <xs:complexType name="numericTypes">
106 <xs:element name="numericTypes" type="numericTypes"/>
/aosp_15_r20/out/soong/.intermediates/system/tools/xsdc/tests/resources/predefined_types/xsdc_predefined_types_tests/gen/cpp/
Dpredefined_types.cpp1634numericTypes, std::vector<MiscTypes> miscTypes, std::vector<ListPrimitiveTypes> listPrimitiveTypes… in Types() argument
1716 std::vector<NumericTypes> numericTypes; in read() local
1728 numericTypes.push_back(std::move(_value)); in read()
1737 Types instance(stringTypes, dateTypes, numericTypes, miscTypes, listPrimitiveTypes); in read()
/aosp_15_r20/out/soong/.intermediates/system/tools/xsdc/tests/resources/predefined_types/xsdc_predefined_types_tinyxml_tests/gen/cpp/
Dpredefined_types.cpp1615numericTypes, std::vector<MiscTypes> miscTypes, std::vector<ListPrimitiveTypes> listPrimitiveTypes… in Types() argument
1697 std::vector<NumericTypes> numericTypes; in read() local
1709 numericTypes.push_back(std::move(_value)); in read()
1718 Types instance(stringTypes, dateTypes, numericTypes, miscTypes, listPrimitiveTypes); in read()
/aosp_15_r20/out/soong/.intermediates/system/tools/xsdc/tests/resources/predefined_types/xsdc_predefined_types_tinyxml_tests/gen/cpp/include/
Dpredefined_types.h245 …ingTypes, std::vector<DateTypes> dateTypes, std::vector<NumericTypes> numericTypes, std::vector<Mi…
/aosp_15_r20/out/soong/.intermediates/system/tools/xsdc/tests/resources/predefined_types/xsdc_predefined_types_tests/gen/cpp/include/
Dpredefined_types.h246 …ingTypes, std::vector<DateTypes> dateTypes, std::vector<NumericTypes> numericTypes, std::vector<Mi…
/aosp_15_r20/external/python/pyasn1/pyasn1/type/
Duniv.py1121 numericTypes = intTypes + (float,) variable
1342 if (not isinstance(value[0], numericTypes) or