Home
last modified time | relevance | path

Searched refs:leadingDigitsPatternSize (Results 1 – 3 of 3) sorted by relevance

/third_party/libphonenumber/tools/java/java-build/src/com/google/i18n/phonenumbers/
DBuildMetadataJsonFromXml.java199 int leadingDigitsPatternSize = format.leadingDigitsPatternSize(); in toJsArray() local
200 if (leadingDigitsPatternSize > 0) { in toJsArray()
202 for (int i = 0; i < leadingDigitsPatternSize; i++) { in toJsArray()
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DPhonemetadata.java58 for (int i = 0; i < other.leadingDigitsPatternSize(); i++) { in mergeFrom()
106 public int leadingDigitsPatternSize() { return getLeadingDigitsPatternCount(); } in leadingDigitsPatternSize() method in Phonemetadata.NumberFormat
164 int leadingDigitsPatternSize = leadingDigitsPatternSize(); in writeExternal() local
165 objectOutput.writeInt(leadingDigitsPatternSize); in writeExternal()
166 for (int i = 0; i < leadingDigitsPatternSize; i++) { in writeExternal()
184 int leadingDigitsPatternSize = objectInput.readInt(); in readExternal() local
185 for (int i = 0; i < leadingDigitsPatternSize; i++) { in readExternal()
/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/
DBuildMetadataFromXmlTest.java408 assertEquals(1, metadata.getNumberFormat(0).leadingDigitsPatternSize()); in testSetLeadingDigitsPatternsNotAddedTwiceWhenInternationalFormatsPresent()
409 assertEquals(1, metadata.getNumberFormat(1).leadingDigitsPatternSize()); in testSetLeadingDigitsPatternsNotAddedTwiceWhenInternationalFormatsPresent()
412 assertEquals(1, metadata.getIntlNumberFormat(0).leadingDigitsPatternSize()); in testSetLeadingDigitsPatternsNotAddedTwiceWhenInternationalFormatsPresent()
413 assertEquals(1, metadata.getIntlNumberFormat(1).leadingDigitsPatternSize()); in testSetLeadingDigitsPatternsNotAddedTwiceWhenInternationalFormatsPresent()