Home
last modified time | relevance | path

Searched refs:numberLength (Results 1 – 2 of 2) sorted by relevance

/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
DPhoneNumberUtil.java2030 int numberLength = nationalSignificantNumber.length(); in isValidNumberForRegion() local
2031 return numberLength > MIN_LENGTH_FOR_NSN && numberLength <= MAX_LENGTH_FOR_NSN; in isValidNumberForRegion()
2262 int numberLength = nationalNumber.length(); in isPossibleNumberWithReason() local
2263 if (numberLength < MIN_LENGTH_FOR_NSN) { in isPossibleNumberWithReason()
2265 } else if (numberLength > MAX_LENGTH_FOR_NSN) { in isPossibleNumberWithReason()
2350 int numberLength = fullNumber.length(); in extractCountryCode() local
2351 for (int i = 1; i <= MAX_LENGTH_COUNTRY_CODE && i <= numberLength; i++) { in extractCountryCode()
2536 int numberLength = number.length(); in maybeStripNationalPrefixAndCarrierCode() local
2538 if (numberLength == 0 || possibleNationalPrefix.length() == 0) { in maybeStripNationalPrefixAndCarrierCode()
2570 transformedNumber.replace(0, numberLength, prefixMatcher.replaceFirst(transformRule)); in maybeStripNationalPrefixAndCarrierCode()
/external/webkit/Source/JavaScriptCore/wtf/text/
DWTFString.h464 int numberLength = number > 99 ? 3 : (number > 9 ? 2 : 1); in appendNumber() local
466 vector.grow(vectorSize + numberLength); in appendNumber()
468 switch (numberLength) { in appendNumber()