Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dtrie_map.cpp70 const int terminalEntryIndex = getTerminalEntryIndex( in getNextLevelBitmapEntryIndex() local
72 if (terminalEntryIndex == INVALID_INDEX) { in getNextLevelBitmapEntryIndex()
76 const Entry terminalEntry = readEntry(terminalEntryIndex); in getNextLevelBitmapEntryIndex()
91 if (!writeField1(valueEntryIndex | TERMINAL_LINK_FLAG, terminalEntryIndex)) { in getNextLevelBitmapEntryIndex()
119 const int terminalEntryIndex = getTerminalEntryIndex( in remove() local
121 if (terminalEntryIndex == INVALID_INDEX) { in remove()
125 const Entry terminalEntry = readEntry(terminalEntryIndex); in remove()
126 if (!writeField1(VALUE_FLAG ^ INVALID_VALUE_IN_KEY_VALUE_ENTRY , terminalEntryIndex)) { in remove()
194 bool TrieMap::writeValue(const uint64_t value, const int terminalEntryIndex) { in writeValue() argument
197 return writeField1(value | VALUE_FLAG, terminalEntryIndex); in writeValue()
[all …]
Dtrie_map.h299 bool writeValue(const uint64_t value, const int terminalEntryIndex);
301 const int terminalEntryIndex);