Home
last modified time | relevance | path

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

/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/
DDefaultMapStorage.java50 numOfEntries = sortedPhonePrefixMap.size(); in readFromSortedMap()
51 phoneNumberPrefixes = new int[numOfEntries]; in readFromSortedMap()
52 descriptions = new String[numOfEntries]; in readFromSortedMap()
63 numOfEntries = objectInput.readInt(); in readExternal()
64 if (phoneNumberPrefixes == null || phoneNumberPrefixes.length < numOfEntries) { in readExternal()
65 phoneNumberPrefixes = new int[numOfEntries]; in readExternal()
67 if (descriptions == null || descriptions.length < numOfEntries) { in readExternal()
68 descriptions = new String[numOfEntries]; in readExternal()
70 for (int i = 0; i < numOfEntries; i++) { in readExternal()
83 objectOutput.writeInt(numOfEntries); in writeExternal()
[all …]
DFlyweightMapStorage.java72 numOfEntries = phonePrefixMap.size(); in readFromSortedMap()
74 phoneNumberPrefixes = ByteBuffer.allocate(numOfEntries * prefixSizeInBytes); in readFromSortedMap()
95 descriptionIndexes = ByteBuffer.allocate(numOfEntries * descIndexSizeInBytes); in createDescriptionPool()
101 for (int i = 0; i < numOfEntries; i++) { in createDescriptionPool()
141 numOfEntries = objectInput.readInt(); in readEntries()
142 if (phoneNumberPrefixes == null || phoneNumberPrefixes.capacity() < numOfEntries) { in readEntries()
143 phoneNumberPrefixes = ByteBuffer.allocate(numOfEntries * prefixSizeInBytes); in readEntries()
145 if (descriptionIndexes == null || descriptionIndexes.capacity() < numOfEntries) { in readEntries()
146 descriptionIndexes = ByteBuffer.allocate(numOfEntries * descIndexSizeInBytes); in readEntries()
148 for (int i = 0; i < numOfEntries; i++) { in readEntries()
[all …]
DMappingFileProvider.java43 private int numOfEntries = 0; field in MappingFileProvider
73 numOfEntries = availableDataFiles.size(); in readFileConfigs()
74 countryCallingCodes = new int[numOfEntries]; in readFileConfigs()
75 availableLanguages = new ArrayList<Set<String>>(numOfEntries); in readFileConfigs()
87 numOfEntries = objectInput.readInt(); in readExternal()
88 if (countryCallingCodes == null || countryCallingCodes.length < numOfEntries) { in readExternal()
89 countryCallingCodes = new int[numOfEntries]; in readExternal()
94 for (int i = 0; i < numOfEntries; i++) { in readExternal()
109 objectOutput.writeInt(numOfEntries); in writeExternal()
110 for (int i = 0; i < numOfEntries; i++) { in writeExternal()
[all …]
DPhonePrefixMapStorageStrategy.java33 protected int numOfEntries = 0; field in PhonePrefixMapStorageStrategy
85 return numOfEntries; in getNumOfEntries()
98 int numOfEntries = getNumOfEntries(); in toString() local
100 for (int i = 0; i < numOfEntries; i++) { in toString()
DPhonePrefixMap.java148 int numOfEntries = phonePrefixMapStorage.getNumOfEntries(); in lookup() local
149 if (numOfEntries == 0) { in lookup()
153 int currentIndex = numOfEntries - 1; in lookup()
/external/javassist/src/main/javassist/bytecode/
DStackMapTable.java143 int numOfEntries; field in StackMapTable.Walker
165 numOfEntries = ByteArray.readU16bit(data, 0); in Walker()
171 public final int size() { return numOfEntries; } in size()
177 int n = numOfEntries; in parse()
528 int numOfEntries; field in StackMapTable.Writer
536 numOfEntries = 0; in Writer()
546 ByteArray.write16bit(numOfEntries, b, 0); in toByteArray()
565 numOfEntries++; in sameFrame()
586 numOfEntries++; in sameLocals()
603 numOfEntries++; in chopFrame()
[all …]
DStackMap.java66 public int numOfEntries() { in numOfEntries() method in StackMap
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/
DAbstractSampleEncryptionBox.java62 long numOfEntries = IsoTypeReader.readUInt32(content); in _parseDetails() local
64 while (numOfEntries-- > 0) { in _parseDetails()