Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dsparse_table.cpp38 || contentTableReadingPos >= mContentTableBuffer->getTailPosition()) { in get()
43 const int contentValue = mContentTableBuffer->readUint(mDataSize, contentTableReadingPos); in get()
60 if (!mContentTableBuffer->writeUint(value, mDataSize, getPosInContentTable(id, index))) { in set()
62 getPosInContentTable(id, index), mContentTableBuffer->getTailPosition(), in set()
70 const int index = getIndexFromContentTablePos(mContentTableBuffer->getTailPosition()); in set()
78 if (!mContentTableBuffer->writeUintAndAdvancePosition(NOT_EXIST, mDataSize, in set()
81 "mDataSize: %d", writingPos, mContentTableBuffer->getTailPosition(), mDataSize); in set()
85 return mContentTableBuffer->writeUint(value, mDataSize, getPosInContentTable(id, index)); in set()
Dsparse_table.h33 : mIndexTableBuffer(indexTableBuffer), mContentTableBuffer(contentTableBuffer), in SparseTable()
55 BufferWithExtendableBuffer *const mContentTableBuffer; variable