Home
last modified time | relevance | path

Searched refs:numberType (Results 1 – 25 of 36) sorted by relevance

12

/external/libphonenumber/carrier/src/com/google/i18n/phonenumbers/
DPhoneNumberToCarrierMapper.java92 PhoneNumberType numberType = phoneUtil.getNumberType(number); in getNameForNumber() local
93 if (isMobile(numberType)) { in getNameForNumber()
119 private boolean isMobile(PhoneNumberType numberType) { in isMobile() argument
120 return (numberType == PhoneNumberType.MOBILE in isMobile()
121 || numberType == PhoneNumberType.FIXED_LINE_OR_MOBILE in isMobile()
122 || numberType == PhoneNumberType.PAGER); in isMobile()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DStdSerializer.java202 NumberType numberType) in visitIntFormat() argument
206 if (_neitherNull(v2, numberType)) { in visitIntFormat()
207 v2.numberType(numberType); in visitIntFormat()
219 NumberType numberType, JsonValueFormat format) in visitIntFormat() argument
224 if (numberType != null) { in visitIntFormat()
225 v2.numberType(numberType); in visitIntFormat()
240 NumberType numberType) in visitFloatFormat() argument
245 v2.numberType(numberType); in visitFloatFormat()
DNumberSerializers.java67 protected Base(Class<?> cls, JsonParser.NumberType numberType, in Base() argument
70 _numberType = numberType; in Base()
72 _isInt = (numberType == JsonParser.NumberType.INT) in Base()
73 || (numberType == JsonParser.NumberType.LONG) in Base()
74 || (numberType == JsonParser.NumberType.BIG_INTEGER); in Base()
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/geocoding/
DPhoneNumberOfflineGeocoder.java189 PhoneNumberType numberType = phoneUtil.getNumberType(number); in getDescriptionForNumber() local
190 if (numberType == PhoneNumberType.UNKNOWN) { in getDescriptionForNumber()
192 } else if (!phoneUtil.isNumberGeographical(numberType, number.getCountryCode())) { in getDescriptionForNumber()
212 PhoneNumberType numberType = phoneUtil.getNumberType(number); in getDescriptionForNumber() local
213 if (numberType == PhoneNumberType.UNKNOWN) { in getDescriptionForNumber()
215 } else if (!phoneUtil.isNumberGeographical(numberType, number.getCountryCode())) { in getDescriptionForNumber()
/external/libphonenumber/repackaged/geocoder/src/com/android/i18n/phonenumbers/geocoding/
DPhoneNumberOfflineGeocoder.java193 PhoneNumberType numberType = phoneUtil.getNumberType(number); in getDescriptionForNumber() local
194 if (numberType == PhoneNumberType.UNKNOWN) { in getDescriptionForNumber()
196 } else if (!phoneUtil.isNumberGeographical(numberType, number.getCountryCode())) { in getDescriptionForNumber()
216 PhoneNumberType numberType = phoneUtil.getNumberType(number); in getDescriptionForNumber() local
217 if (numberType == PhoneNumberType.UNKNOWN) { in getDescriptionForNumber()
219 } else if (!phoneUtil.isNumberGeographical(numberType, number.getCountryCode())) { in getDescriptionForNumber()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsonschema/
DNewSchemaTest.java329 public void numberType(NumberType numberType) {
330 sb.append("[numberType=").append(numberType).append("]");
347 public void numberType(NumberType numberType) {
348 sb.append("[numberType=").append(numberType).append("]");
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsonFormatVisitors/
DJsonNumberFormatVisitor.java13 public void numberType(JsonParser.NumberType type); in numberType() method
23 public void numberType(JsonParser.NumberType type) { } in numberType() method in JsonNumberFormatVisitor.Base
DJsonIntegerFormatVisitor.java13 public void numberType(JsonParser.NumberType type); in numberType() method
23 public void numberType(JsonParser.NumberType type) { } in numberType() method in JsonIntegerFormatVisitor.Base
/external/libphonenumber/repackaged/geocoder/src/com/android/i18n/phonenumbers/
DPhoneNumberToTimeZonesMapper.java139 PhoneNumberType numberType = PhoneNumberUtil.getInstance().getNumberType(number); in getTimeZonesForNumber() local
140 if (numberType == PhoneNumberType.UNKNOWN) { in getTimeZonesForNumber()
143 numberType, number.getCountryCode())) { in getTimeZonesForNumber()
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/
DPhoneNumberToTimeZonesMapper.java137 PhoneNumberType numberType = PhoneNumberUtil.getInstance().getNumberType(number); in getTimeZonesForNumber() local
138 if (numberType == PhoneNumberType.UNKNOWN) { in getTimeZonesForNumber()
141 numberType, number.getCountryCode())) { in getTimeZonesForNumber()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DNumberNodesTest.java25 assertEquals(JsonParser.NumberType.INT, n.numberType()); // should be SHORT in testShort()
74 assertEquals(JsonParser.NumberType.INT, n.numberType()); in testInt()
101 assertEquals(JsonParser.NumberType.LONG, n.numberType()); in testLong()
154 assertEquals(JsonParser.NumberType.DOUBLE, n.numberType()); in testDouble()
212 assertEquals(JsonParser.NumberType.FLOAT, n.numberType()); in testFloat()
250 assertEquals(JsonParser.NumberType.BIG_DECIMAL, n.numberType()); in testDecimalNode()
328 assertEquals(JsonParser.NumberType.BIG_INTEGER, n.numberType()); in testBigIntegerNode()
/external/skia/src/sksl/ir/
DSkSLSwizzle.cpp89 const Type* numberType = &baseType.componentType(); in Convert() local
101 context, offset, *numberType, in Convert()
111 context, offset, *numberType, in Convert()
125 numberType->toCompound(context, constantFieldIdx, /*rows=*/1), in Convert()
/external/libphonenumber/demo/src/com/google/phonenumbers/
DPhoneNumberParserServlet.java272 PhoneNumberType numberType = phoneUtil.getNumberType(number); in getOutputForSingleNumber() local
296 appendLine("Result from getNumberType()", numberType.toString(), output); in getOutputForSingleNumber()
388 if (numberType == PhoneNumberType.MOBILE || in getOutputForSingleNumber()
389 numberType == PhoneNumberType.FIXED_LINE_OR_MOBILE || in getOutputForSingleNumber()
390 numberType == PhoneNumberType.PAGER) { in getOutputForSingleNumber()
/external/auto/common/src/test/java/com/google/auto/common/
DMoreTypesTest.java314 TypeMirror numberType = elements.getTypeElement(Number.class.getCanonicalName()).asType(); in testNonObjectSuperclass() local
321 TypeMirror genericChildOfNumber = types.getDeclaredType(genericChild, numberType); in testNonObjectSuperclass()
348 types.getDeclaredType(parent, numberType), in testNonObjectSuperclass()
362 TypeMirror numberType = elements.getTypeElement(Number.class.getCanonicalName()).asType(); in testAsMemberOf_variableElement() local
377 DeclaredType genericParamsOfNumber = types.getDeclaredType(genericParams, numberType); in testAsMemberOf_variableElement()
393 paramOfGenericOfNumber, numberType) in testAsMemberOf_variableElement()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DTreeNode.java59 JsonParser.NumberType numberType(); in numberType() method
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DNumericNode.java27 public abstract JsonParser.NumberType numberType(); in numberType() method in NumericNode
DBaseJsonNode.java101 public JsonParser.NumberType numberType() { in numberType() method in BaseJsonNode
DShortNode.java40 …public JsonParser.NumberType numberType() { return JsonParser.NumberType.INT; } // should be SHO… in numberType() method in ShortNode
DLongNode.java40 public JsonParser.NumberType numberType() { return JsonParser.NumberType.LONG; } in numberType() method in LongNode
DIntNode.java60 public JsonParser.NumberType numberType() { return JsonParser.NumberType.INT; } in numberType() method in IntNode
DDoubleNode.java41 public JsonParser.NumberType numberType() { return JsonParser.NumberType.DOUBLE; } in numberType() method in DoubleNode
DFloatNode.java41 public JsonParser.NumberType numberType() { return JsonParser.NumberType.FLOAT; } in numberType() method in FloatNode
/external/cldr/tools/java/org/unicode/cldr/icu/
DTestCldr.java199 numberType, dateType, timeType, date, field, zone, parse, input, draft enumConstant
373 String numberType = null;
390 case numberType:
391 numberType = attributeValue;
429 errln("Number: Locale: " + locale + ",\tType: " + numberType
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/
DReferenceTypeTest.java203 …ResolvedReferenceType numberType = new ReferenceTypeImpl(new ReflectionClassDeclaration(Number.cla… in testIsAssignableByBoxedPrimitive() local
207 assertEquals(true, numberType.isAssignableBy(ResolvedPrimitiveType.INT)); in testIsAssignableByBoxedPrimitive()
208 assertEquals(true, numberType.isAssignableBy(ResolvedPrimitiveType.DOUBLE)); in testIsAssignableByBoxedPrimitive()
209 assertEquals(true, numberType.isAssignableBy(ResolvedPrimitiveType.SHORT)); in testIsAssignableByBoxedPrimitive()
210 assertEquals(true, numberType.isAssignableBy(ResolvedPrimitiveType.LONG)); in testIsAssignableByBoxedPrimitive()
211 assertEquals(true, numberType.isAssignableBy(ResolvedPrimitiveType.FLOAT)); in testIsAssignableByBoxedPrimitive()
212 assertEquals(false, numberType.isAssignableBy(ResolvedPrimitiveType.BOOLEAN)); in testIsAssignableByBoxedPrimitive()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemNumber.java1168 char numberType = '1'; in formatNumberList() local
1207 numberType = formatToken.charAt(numberWidth - 1); in formatNumberList()
1235 numberType = formatToken.charAt(numberWidth - 1); in formatNumberList()
1264 getFormattedNumber(transformer, contextNode, numberType, numberWidth, in formatNumberList()
1316 char numberType, int numberWidth, long listElement, in getFormattedNumber() argument
1334 switch (numberType) in getFormattedNumber()

12