Home
last modified time | relevance | path

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

/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/
DFlyweightMapStorage.java42 private int prefixSizeInBytes; field in FlyweightMapStorage
55 return readWordFromBuffer(phoneNumberPrefixes, prefixSizeInBytes, index); in getPrefix()
73 prefixSizeInBytes = getOptimalNumberOfBytesForValue(phonePrefixMap.lastKey()); in readFromSortedMap()
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()
113 prefixSizeInBytes = objectInput.readInt(); in readExternal()
143 phoneNumberPrefixes = ByteBuffer.allocate(numOfEntries * prefixSizeInBytes); in readEntries()
149 readExternalWord(objectInput, prefixSizeInBytes, phoneNumberPrefixes, i); in readEntries()
157 objectOutput.writeInt(prefixSizeInBytes); in writeExternal()
[all …]