Home
last modified time | relevance | path

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

/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/ContactsCommon/src/com/android/contacts/common/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.java149 final int entryCount = request.entryCount; in runInternal() local
150 mTotalCount += entryCount; in runInternal()
/packages/apps/Settings/src/com/android/settings/
DAppListPreference.java140 final int entryCount = packageNames.length + (mShowItemNone ? 1 : 0); in setPackageNames() local
141 List<CharSequence> applicationNames = new ArrayList<>(entryCount); in setPackageNames()
142 List<CharSequence> validatedPackageNames = new ArrayList<>(entryCount); in setPackageNames()
143 List<Drawable> entryDrawables = new ArrayList<>(entryCount); in setPackageNames()
194 final int entryCount = componentNames.length + (mShowItemNone ? 1 : 0); in setComponentNames() local
195 List<CharSequence> applicationNames = new ArrayList<>(entryCount); in setComponentNames()
196 List<CharSequence> validatedComponentNames = new ArrayList<>(entryCount); in setComponentNames()
197 List<Drawable> entryDrawables = new ArrayList<>(entryCount); in setComponentNames()
/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/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactTileAdapter.java315 protected int getRowCount(int entryCount) { in getRowCount() argument
316 return entryCount == 0 ? 0 : ((entryCount - 1) / mColumnCount) + 1; in getRowCount()
/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/apps/TV/usbtuner/libs/
Dexoplayer_1.5.6.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...