Home
last modified time | relevance | path

Searched refs:numOfEntries (Results 1 – 13 of 13) 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/libphonenumber/repackaged/internal/prefixmapper/src/com/android/i18n/phonenumbers/prefixmapper/
DDefaultMapStorage.java51 numOfEntries = sortedPhonePrefixMap.size(); in readFromSortedMap()
52 phoneNumberPrefixes = new int[numOfEntries]; in readFromSortedMap()
53 descriptions = new String[numOfEntries]; in readFromSortedMap()
64 numOfEntries = objectInput.readInt(); in readExternal()
65 if (phoneNumberPrefixes == null || phoneNumberPrefixes.length < numOfEntries) { in readExternal()
66 phoneNumberPrefixes = new int[numOfEntries]; in readExternal()
68 if (descriptions == null || descriptions.length < numOfEntries) { in readExternal()
69 descriptions = new String[numOfEntries]; in readExternal()
71 for (int i = 0; i < numOfEntries; i++) { in readExternal()
84 objectOutput.writeInt(numOfEntries); in writeExternal()
[all …]
DFlyweightMapStorage.java73 numOfEntries = phonePrefixMap.size(); in readFromSortedMap()
75 phoneNumberPrefixes = ByteBuffer.allocate(numOfEntries * prefixSizeInBytes); in readFromSortedMap()
96 descriptionIndexes = ByteBuffer.allocate(numOfEntries * descIndexSizeInBytes); in createDescriptionPool()
102 for (int i = 0; i < numOfEntries; i++) { in createDescriptionPool()
142 numOfEntries = objectInput.readInt(); in readEntries()
143 if (phoneNumberPrefixes == null || phoneNumberPrefixes.capacity() < numOfEntries) { in readEntries()
144 phoneNumberPrefixes = ByteBuffer.allocate(numOfEntries * prefixSizeInBytes); in readEntries()
146 if (descriptionIndexes == null || descriptionIndexes.capacity() < numOfEntries) { in readEntries()
147 descriptionIndexes = ByteBuffer.allocate(numOfEntries * descIndexSizeInBytes); in readEntries()
149 for (int i = 0; i < numOfEntries; i++) { in readEntries()
[all …]
DMappingFileProvider.java45 private int numOfEntries = 0; field in MappingFileProvider
75 numOfEntries = availableDataFiles.size(); in readFileConfigs()
76 countryCallingCodes = new int[numOfEntries]; in readFileConfigs()
77 availableLanguages = new ArrayList<Set<String>>(numOfEntries); in readFileConfigs()
89 numOfEntries = objectInput.readInt(); in readExternal()
90 if (countryCallingCodes == null || countryCallingCodes.length < numOfEntries) { in readExternal()
91 countryCallingCodes = new int[numOfEntries]; in readExternal()
96 for (int i = 0; i < numOfEntries; i++) { in readExternal()
111 objectOutput.writeInt(numOfEntries); in writeExternal()
112 for (int i = 0; i < numOfEntries; i++) { in writeExternal()
[all …]
DPhonePrefixMapStorageStrategy.java34 protected int numOfEntries = 0; field in PhonePrefixMapStorageStrategy
86 return numOfEntries; in getNumOfEntries()
99 int numOfEntries = getNumOfEntries(); in toString() local
101 for (int i = 0; i < numOfEntries; i++) { in toString()
DPhonePrefixMap.java150 int numOfEntries = phonePrefixMapStorage.getNumOfEntries(); in lookup() local
151 if (numOfEntries == 0) { in lookup()
155 int currentIndex = numOfEntries - 1; in lookup()
/external/javassist/src/main/javassist/bytecode/
DStackMapTable.java150 int numOfEntries; field in StackMapTable.Walker
172 numOfEntries = ByteArray.readU16bit(data, 0); in Walker()
178 public final int size() { return numOfEntries; } in size()
184 int n = numOfEntries; in parse()
557 int numOfEntries; field in StackMapTable.Writer
565 numOfEntries = 0; in Writer()
575 ByteArray.write16bit(numOfEntries, b, 0); in toByteArray()
594 numOfEntries++; in sameFrame()
615 numOfEntries++; in sameLocals()
632 numOfEntries++; in chopFrame()
[all …]
DStackMap.java64 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()