Home
last modified time | relevance | path

Searched refs:terminalEntry (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dtrie_map.cpp76 const Entry terminalEntry = readEntry(terminalEntryIndex); in getNextLevelBitmapEntryIndex() local
77 if (terminalEntry.hasTerminalLink()) { in getNextLevelBitmapEntryIndex()
78 return terminalEntry.getValueEntryIndex() + 1; in getNextLevelBitmapEntryIndex()
85 if (!writeEntry(Entry(0, terminalEntry.getValue()), valueEntryIndex)) { in getNextLevelBitmapEntryIndex()
125 const Entry terminalEntry = readEntry(terminalEntryIndex); in remove() local
129 if (terminalEntry.hasTerminalLink()) { in remove()
130 const Entry nextLevelBitmapEntry = readEntry(terminalEntry.getValueEntryIndex() + 1); in remove()
131 if (!freeTable(terminalEntry.getValueEntryIndex(), TERMINAL_LINKED_ENTRY_COUNT)) { in remove()
213 bool TrieMap::updateValue(const Entry &terminalEntry, const uint64_t value, in updateValue() argument
215 if (!terminalEntry.hasTerminalLink()) { in updateValue()
[all …]
Dtrie_map.h300 bool updateValue(const Entry &terminalEntry, const uint64_t value,