Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dtrie_map.cpp357 const int newTableIndex = allocateTable(1 /* entryCount */); in addNewEntryByResolvingConflict() local
358 if (newTableIndex == INVALID_INDEX) { in addNewEntryByResolvingConflict()
361 if (!writeEntry(conflictedEntry, newTableIndex)) { in addNewEntryByResolvingConflict()
364 const Entry newBitmapEntry(setExist(0 /* bitmap */, nextLabel), newTableIndex); in addNewEntryByResolvingConflict()
371 const int newTableIndex = allocateTable(2 /* entryCount */); in addNewEntryByResolvingConflict() local
372 if (newTableIndex == INVALID_INDEX) { in addNewEntryByResolvingConflict()
376 if (!writeTerminalEntry(key, value, newTableIndex)) { in addNewEntryByResolvingConflict()
379 if (!writeEntry(conflictedEntry, newTableIndex + 1)) { in addNewEntryByResolvingConflict()
383 if (!writeEntry(conflictedEntry, newTableIndex)) { in addNewEntryByResolvingConflict()
386 if (!writeTerminalEntry(key, value, newTableIndex + 1)) { in addNewEntryByResolvingConflict()
[all …]