Home
last modified time | relevance | path

Searched refs:getNumberType (Results 1 – 25 of 32) sorted by relevance

12

/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/
DObjectWriteTest.java160 assertEquals(JsonParser.NumberType.INT, jp.getNumberType()); in testConvenienceMethods()
165 assertEquals(JsonParser.NumberType.INT, jp.getNumberType()); in testConvenienceMethods()
170 assertEquals(JsonParser.NumberType.LONG, jp.getNumberType()); in testConvenienceMethods()
175 assertEquals(JsonParser.NumberType.BIG_INTEGER, jp.getNumberType()); in testConvenienceMethods()
181 assertEquals(JsonParser.NumberType.DOUBLE, jp.getNumberType()); in testConvenienceMethods()
187 assertEquals(JsonParser.NumberType.DOUBLE, jp.getNumberType()); in testConvenienceMethods()
193 assertEquals(JsonParser.NumberType.DOUBLE, jp.getNumberType()); in testConvenienceMethods()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DTestTreeTraversingParser.java279 assertEquals(NumberType.LONG, p.getNumberType()); in testNumberOverflowInt()
291 assertEquals(NumberType.LONG, p.getNumberType()); in testNumberOverflowInt()
304 assertEquals(NumberType.DOUBLE, p.getNumberType()); in testNumberOverflowInt()
320 assertEquals(NumberType.BIG_INTEGER, p.getNumberType()); in testNumberOverflowLong()
332 assertEquals(NumberType.BIG_INTEGER, p.getNumberType()); in testNumberOverflowLong()
345 assertEquals(NumberType.DOUBLE, p.getNumberType()); in testNumberOverflowLong()
362 assertEquals(NumberType.LONG, p.getNumberType()); in testNumberOverflowLong()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
DNumberParsingTest.java71 assertEquals(JsonParser.NumberType.INT, p.getNumberType()); in _testSimpleInt()
145 assertEquals(JsonParser.NumberType.INT, p.getNumberType()); in testIntRange()
149 assertEquals(JsonParser.NumberType.INT, p.getNumberType()); in testIntRange()
214 assertEquals(JsonParser.NumberType.LONG, p.getNumberType()); in _testSimpleLong()
240 assertEquals(JsonParser.NumberType.LONG, p.getNumberType()); in testLongRange()
244 assertEquals(JsonParser.NumberType.LONG, p.getNumberType()); in testLongRange()
248 assertEquals(JsonParser.NumberType.LONG, p.getNumberType()); in testLongRange()
252 assertEquals(JsonParser.NumberType.LONG, p.getNumberType()); in testLongRange()
322 assertEquals(JsonParser.NumberType.BIG_INTEGER, p.getNumberType()); in testBigDecimalRange()
325 assertEquals(JsonParser.NumberType.BIG_INTEGER, p.getNumberType()); in testBigDecimalRange()
[all …]
DNumberCoercionTest.java182 assertEquals(NumberType.BIG_INTEGER, p.getNumberType()); in testToLongFailing()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/async/
DAsyncScalarArrayTest.java101 assertEquals(NumberType.INT, r.getNumberType()); in _testInts()
154 assertEquals(NumberType.LONG, r.getNumberType()); in _testLong()
202 assertEquals(NumberType.DOUBLE, r.getNumberType()); in _testFloats()
245 assertEquals(NumberType.DOUBLE, r.getNumberType()); in _testDoubles()
308 assertEquals(NumberType.BIG_INTEGER, r.getNumberType()); in _testBigIntegers()
361 assertEquals(NumberType.BIG_DECIMAL, r.getNumberType()); in _testBigDecimals()
DAsyncSimpleObjectTest.java148 assertEquals(NumberType.INT, r.getNumberType()); in _testNumbers()
155 assertEquals(NumberType.DOUBLE, r.getNumberType()); in _testNumbers()
163 assertEquals(NumberType.DOUBLE, r.getNumberType()); in _testNumbers()
DAsyncNumberCoercionTest.java185 assertEquals(NumberType.BIG_INTEGER, p.getNumberType()); in testToLongFailing()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/testsupport/
DAsyncReaderWrapper.java70 public NumberType getNumberType() throws IOException { return _streamReader.getNumberType(); } in getNumberType() method in AsyncReaderWrapper
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/geocoding/
DPhoneNumberOfflineGeocoder.java189 PhoneNumberType numberType = phoneUtil.getNumberType(number); in getDescriptionForNumber()
212 PhoneNumberType numberType = phoneUtil.getNumberType(number); in getDescriptionForNumber()
/external/libphonenumber/repackaged/geocoder/src/com/android/i18n/phonenumbers/geocoding/
DPhoneNumberOfflineGeocoder.java193 PhoneNumberType numberType = phoneUtil.getNumberType(number); in getDescriptionForNumber()
216 PhoneNumberType numberType = phoneUtil.getNumberType(number); in getDescriptionForNumber()
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java1102 assertEquals(PhoneNumberType.PREMIUM_RATE, phoneUtil.getNumberType(US_PREMIUM)); in testIsPremiumRate()
1106 assertEquals(PhoneNumberType.PREMIUM_RATE, phoneUtil.getNumberType(premiumRateNumber)); in testIsPremiumRate()
1110 assertEquals(PhoneNumberType.PREMIUM_RATE, phoneUtil.getNumberType(premiumRateNumber)); in testIsPremiumRate()
1114 assertEquals(PhoneNumberType.PREMIUM_RATE, phoneUtil.getNumberType(premiumRateNumber)); in testIsPremiumRate()
1118 assertEquals(PhoneNumberType.PREMIUM_RATE, phoneUtil.getNumberType(premiumRateNumber)); in testIsPremiumRate()
1120 assertEquals(PhoneNumberType.PREMIUM_RATE, phoneUtil.getNumberType(UNIVERSAL_PREMIUM_RATE)); in testIsPremiumRate()
1127 assertEquals(PhoneNumberType.TOLL_FREE, phoneUtil.getNumberType(tollFreeNumber)); in testIsTollFree()
1131 assertEquals(PhoneNumberType.TOLL_FREE, phoneUtil.getNumberType(tollFreeNumber)); in testIsTollFree()
1135 assertEquals(PhoneNumberType.TOLL_FREE, phoneUtil.getNumberType(tollFreeNumber)); in testIsTollFree()
1139 assertEquals(PhoneNumberType.TOLL_FREE, phoneUtil.getNumberType(tollFreeNumber)); in testIsTollFree()
[all …]
DExampleNumbersTest.java61 PhoneNumberType exampleNumberType = phoneNumberUtil.getNumberType(exampleNumber); in checkNumbersValidAndCorrectType()
/external/libphonenumber/carrier/src/com/google/i18n/phonenumbers/
DPhoneNumberToCarrierMapper.java92 PhoneNumberType numberType = phoneUtil.getNumberType(number); in getNameForNumber()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/util/
DJsonParserDelegate.java191 public NumberType getNumberType() throws IOException { return delegate.getNumberType(); } in getNumberType() method in JsonParserDelegate
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonGenerator.java1945 NumberType n = p.getNumberType(); in copyCurrentEvent()
1957 NumberType n = p.getNumberType(); in copyCurrentEvent()
2087 NumberType n = p.getNumberType(); in _copyCurrentContents()
2099 NumberType n = p.getNumberType(); in _copyCurrentContents()
DJsonParser.java1358 public abstract NumberType getNumberType() throws IOException; in getNumberType() method in JsonParser
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DJsonNodeDeserializer.java586 nt = p.getNumberType(); in _fromInt()
589 nt = p.getNumberType(); in _fromInt()
603 JsonParser.NumberType nt = p.getNumberType(); in _fromFloat()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DTokenBuffer.java1058 switch (p.getNumberType()) { in copyCurrentEvent()
1077 switch (p.getNumberType()) { in copyCurrentEvent()
1216 switch (p.getNumberType()) { in _copyBufferValue()
1754 if (getNumberType() == NumberType.BIG_DECIMAL) { in getBigIntegerValue()
1768 switch (getNumberType()) { in getDecimalValue()
1812 public NumberType getNumberType() throws IOException in getNumberType() method in TokenBuffer.Parser
/external/libphonenumber/repackaged/geocoder/src/com/android/i18n/phonenumbers/
DPhoneNumberToTimeZonesMapper.java139 PhoneNumberType numberType = PhoneNumberUtil.getInstance().getNumberType(number); in getTimeZonesForNumber()
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/
DPhoneNumberToTimeZonesMapper.java137 PhoneNumberType numberType = PhoneNumberUtil.getInstance().getNumberType(number); in getTimeZonesForNumber()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DTreeTraversingParser.java250 public NumberType getNumberType() throws IOException { in getNumberType() method in TreeTraversingParser
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/filter/
DFilteringParserDelegate.java879 public NumberType getNumberType() throws IOException { return delegate.getNumberType(); } in getNumberType() method in FilteringParserDelegate
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/util/
DTestTokenBuffer.java138 assertEquals(NumberType.LONG, p.getNumberType()); in testNumberOverflowInt()
171 assertEquals(NumberType.BIG_INTEGER, p.getNumberType()); in testNumberOverflowLong()
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java832 PhoneNumberType type = getNumberType(number);
909 if (getNumberType(number) == PhoneNumberType.MOBILE) {
1159 return isNumberGeographical(getNumberType(phoneNumber), phoneNumber.getCountryCode());
1408 PhoneNumberType numberType = getNumberType(numberNoExt);
2166 public PhoneNumberType getNumberType(PhoneNumber number) {
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/
DPhoneNumberUtil.java865 PhoneNumberType type = getNumberType(number);
942 if (getNumberType(number) == PhoneNumberType.MOBILE) {
1193 return isNumberGeographical(getNumberType(phoneNumber), phoneNumber.getCountryCode());
1443 PhoneNumberType numberType = getNumberType(numberNoExt);
2204 public PhoneNumberType getNumberType(PhoneNumber number) {

12