Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dtrie_map.h319 AK_FORCE_INLINE const Entry readEntry(const int entryIndex) const { in readEntry() argument
320 return Entry(readField0(entryIndex), readField1(entryIndex)); in readEntry()
351 AK_FORCE_INLINE uint32_t readField0(const int entryIndex) const { in readField0() argument
352 return mBuffer.readUint(FIELD0_SIZE, ROOT_BITMAP_ENTRY_POS + entryIndex * ENTRY_SIZE); in readField0()
355 AK_FORCE_INLINE uint32_t readField1(const int entryIndex) const { in readField1() argument
357 ROOT_BITMAP_ENTRY_POS + entryIndex * ENTRY_SIZE + FIELD0_SIZE); in readField1()
368 AK_FORCE_INLINE bool writeField0(const uint32_t data, const int entryIndex) { in writeField0() argument
370 ROOT_BITMAP_ENTRY_POS + entryIndex * ENTRY_SIZE); in writeField0()
373 AK_FORCE_INLINE bool writeField1(const uint32_t data, const int entryIndex) { in writeField1() argument
375 ROOT_BITMAP_ENTRY_POS + entryIndex * ENTRY_SIZE + FIELD0_SIZE); in writeField1()
[all …]
Dtrie_map.cpp156 const int entryIndex = state.mTableIndex + state.mCurrentIndex; in iterateNext() local
158 const Entry entry = readEntry(entryIndex); in iterateNext()
257 const int entryIndex = bitmapEntry.getTableIndex() + popCount(bitmapEntry.getBitmap(), label); in getTerminalEntryIndex() local
258 const Entry entry = readEntry(entryIndex); in getTerminalEntryIndex()
268 return entryIndex; in getTerminalEntryIndex()
320 const int entryIndex = mapIndex + popCount(bitmap, label); in putInternal() local
321 const Entry entry = readEntry(entryIndex); in putInternal()
324 return putInternal(key, value, hashedKey, entryIndex, entry, level + 1); in putInternal()
328 return writeTerminalEntry(key, value, entryIndex); in putInternal()
332 return updateValue(entry, value, entryIndex); in putInternal()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSubScreenFragment.java63 final int entryIndex = listPreference.findIndexOfValue(listPreference.getValue()); in updateListPreferenceSummaryToCurrentValue() local
64 listPreference.setSummary(entryIndex < 0 ? null : entries[entryIndex]); in updateListPreferenceSummaryToCurrentValue()