Home
last modified time | relevance | path

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

/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/
DDefaultMapStorage.java35 private int[] phoneNumberPrefixes; field in DefaultMapStorage
40 return phoneNumberPrefixes[index]; in getPrefix()
51 phoneNumberPrefixes = new int[numOfEntries]; in readFromSortedMap()
55 phoneNumberPrefixes[index++] = prefix; in readFromSortedMap()
64 if (phoneNumberPrefixes == null || phoneNumberPrefixes.length < numOfEntries) { in readExternal()
65 phoneNumberPrefixes = new int[numOfEntries]; in readExternal()
71 phoneNumberPrefixes[i] = objectInput.readInt(); in readExternal()
85 objectOutput.writeInt(phoneNumberPrefixes[i]); in writeExternal()
DFlyweightMapStorage.java47 private ByteBuffer phoneNumberPrefixes; field in FlyweightMapStorage
55 return readWordFromBuffer(phoneNumberPrefixes, prefixSizeInBytes, index); in getPrefix()
74 phoneNumberPrefixes = ByteBuffer.allocate(numOfEntries * prefixSizeInBytes); in readFromSortedMap()
81 storeWordInBuffer(phoneNumberPrefixes, prefixSizeInBytes, index, prefix); in readFromSortedMap()
102 int prefix = readWordFromBuffer(phoneNumberPrefixes, prefixSizeInBytes, i); in createDescriptionPool()
142 if (phoneNumberPrefixes == null || phoneNumberPrefixes.capacity() < numOfEntries) { in readEntries()
143 phoneNumberPrefixes = ByteBuffer.allocate(numOfEntries * prefixSizeInBytes); in readEntries()
149 readExternalWord(objectInput, prefixSizeInBytes, phoneNumberPrefixes, i); in readEntries()
177 writeExternalWord(objectOutput, prefixSizeInBytes, phoneNumberPrefixes, i); in writeExternal()