Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dsparse_table.cpp26 if (id < 0 || mIndexTableBuffer->getTailPosition() <= readingPos) { in contains()
29 const int index = mIndexTableBuffer->readUint(INDEX_SIZE, readingPos); in contains()
35 const int index = mIndexTableBuffer->readUint(INDEX_SIZE, indexTableReadingPos); in get()
50 int tailPos = mIndexTableBuffer->getTailPosition(); in set()
52 if (!mIndexTableBuffer->writeUintAndAdvancePosition(NOT_EXIST, INDEX_SIZE, &tailPos)) { in set()
59 const int index = mIndexTableBuffer->readUint(INDEX_SIZE, posInIndexTable); in set()
71 if (!mIndexTableBuffer->writeUint(index, INDEX_SIZE, posInIndexTable)) { in set()
Dsparse_table.h33 : mIndexTableBuffer(indexTableBuffer), mContentTableBuffer(contentTableBuffer), in SparseTable()
54 BufferWithExtendableBuffer *const mIndexTableBuffer; variable