Home
last modified time | relevance | path

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

/packages/services/Telephony/utils/satellite/s2storage/src/readonly/java/com/android/telephony/sats2range/read/
DSuffixTableExtraInfo.java42 public SuffixTableExtraInfo(int prefix, int entryCount) { in SuffixTableExtraInfo() argument
48 if (entryCount < 0) { in SuffixTableExtraInfo()
49 throw new IllegalArgumentException("entryCount=" + entryCount + " must be >= 0"); in SuffixTableExtraInfo()
51 mEntryCount = entryCount; in SuffixTableExtraInfo()
78 int entryCount = typedInputStream.readInt(); in create() local
80 "entryCount", entryCount, "minSuffixValue", 0, "maxSuffixValue", in create()
82 return new SuffixTableExtraInfo(prefix, entryCount); in create()
/packages/modules/GeoTZ/tzs2storage/src/readonly/java/com/android/timezone/location/storage/tzs2range/read/
DSuffixTableExtraInfo.java43 public SuffixTableExtraInfo(int prefix, int entryCount) { in SuffixTableExtraInfo() argument
49 if (entryCount < 0) { in SuffixTableExtraInfo()
50 throw new IllegalArgumentException("entryCount=" + entryCount + " must be >= 0"); in SuffixTableExtraInfo()
52 mEntryCount = entryCount; in SuffixTableExtraInfo()
79 int entryCount = typedInputStream.readInt(); in create() local
81 "entryCount", entryCount, "minSuffixValue", 0, "maxSuffixValue", in create()
83 return new SuffixTableExtraInfo(prefix, entryCount); in create()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dtrie_map.cpp222 bool TrieMap::freeTable(const int tableIndex, const int entryCount) { in freeTable() argument
223 if (!writeField0(readEmptyTableLink(entryCount), tableIndex)) { in freeTable()
226 return writeEmptyTableLink(tableIndex, entryCount); in freeTable()
232 int TrieMap::allocateTable(const int entryCount) { in allocateTable() argument
233 if (entryCount > 0 && entryCount <= MAX_NUM_OF_ENTRIES_IN_ONE_LEVEL) { in allocateTable()
234 const int tableIndex = readEmptyTableLink(entryCount); in allocateTable()
236 if (!writeEmptyTableLink(readField0(tableIndex), entryCount)) { in allocateTable()
245 if (!mBuffer.extend(entryCount * ENTRY_SIZE)) { in allocateTable()
401 const int entryCount = popCount(bitmap); in addNewEntryByExpandingTable() local
402 const int newTableIndex = allocateTable(entryCount + 1); in addNewEntryByExpandingTable()
[all …]
Dtrie_map.h302 bool freeTable(const int tableIndex, const int entryCount);
303 int allocateTable(const int entryCount);
360 AK_FORCE_INLINE int readEmptyTableLink(const int entryCount) const { in readEmptyTableLink() argument
361 return mBuffer.readUint(FIELD1_SIZE, (entryCount - 1) * FIELD1_SIZE); in readEmptyTableLink()
364 AK_FORCE_INLINE bool writeEmptyTableLink(const int tableIndex, const int entryCount) { in writeEmptyTableLink() argument
365 return mBuffer.writeUint(tableIndex, FIELD1_SIZE, (entryCount - 1) * FIELD1_SIZE); in writeEmptyTableLink()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DImportRequest.java97 public final int entryCount; field in ImportRequest
101 int vcardVersion, int entryCount) { in ImportRequest() argument
109 this.entryCount = entryCount; in ImportRequest()
DImportProcessor.java150 final int entryCount = request.entryCount; in runInternal() local
151 mTotalCount += entryCount; in runInternal()
/packages/services/Telephony/utils/satellite/tools/src/main/java/com/android/telephony/tools/sats2/dump/
DSuffixTableBlockDumper.java54 int entryCount = suffixTableBlock.getEntryCount(); in visit() local
55 writer.println("Entry count=" + entryCount); in visit()
56 if (entryCount > 0) { in visit()
57 for (int i = 0; i < entryCount; i++) { in visit()
/packages/modules/GeoTZ/tzs2storage/tools/src/java/com/android/timezone/location/tools/tzs2/dump/
DSuffixTableBlockDumper.java54 int entryCount = suffixTableBlock.getEntryCount(); in visit() local
55 writer.println("Entry count=" + entryCount); in visit()
56 if (entryCount > 0) { in visit()
57 for (int i = 0; i < entryCount; i++) { in visit()
/packages/services/Telephony/utils/satellite/s2storage/src/write/java/com/android/telephony/sats2range/write/
DSuffixTableWriter.java153 int entryCount = mPackedTableWriter.getEntryCount(); in close() local
154 if (entryCount == 0) { in close()
166 new SuffixTableExtraInfo(mSharedData.getTablePrefix(), entryCount); in close()
/packages/modules/GeoTZ/tzs2storage/src/write/java/com/android/timezone/location/storage/tzs2range/write/
DSuffixTableWriter.java160 int entryCount = mPackedTableWriter.getEntryCount(); in close() local
161 if (entryCount == 0) { in close()
173 new SuffixTableExtraInfo(mSharedData.getTablePrefix(), entryCount); in close()
/packages/services/Car/service/src/com/android/car/remoteaccess/
DRemoteAccessStorage.java200 int entryCount = cursor.getCount(); in queryClientIdEntries() local
201 if (entryCount == 0) return null; in queryClientIdEntries()
202 List<ClientIdEntry> entries = new ArrayList<>(entryCount); in queryClientIdEntries()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
Dheader_policy.cpp165 const int entryCount = HeaderReadWriteUtils::readIntAttributeValue(&mAttributeMap, in readNgramCounts() local
167 entryCounters.setNgramCount(ngramType, entryCount); in readNgramCounts()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dlanguage_model_dict_content.cpp210 int entryCount = 0; in truncateEntries() local
212 maxEntryCounts.getNgramCount(ngramType), prevWordCount, &entryCount)) { in truncateEntries()
215 outEntryCounters->setNgramCount(ngramType, entryCount); in truncateEntries()
/packages/modules/NeuralNetworks/common/
DLegacyUtils.cpp118 template <typename EntryType, uint32_t entryCount, uint32_t entryCountOEM>
119 EntryType tableLookup(const EntryType (&table)[entryCount], in tableLookup() argument
121 if (code < entryCount) { in tableLookup()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/
DApplicationsState.java1189 final int entryCount = mEntriesMap.size(); in handleMessage() local
1190 for (int i = 0; i < entryCount; i++) { in handleMessage()
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/apps/TV/libs/m2/
Dauto-value-1.5.3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...