Searched refs:mContentTableBuffer (Results 1 – 2 of 2) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | sparse_table.cpp | 38 || 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()
|
D | sparse_table.h | 33 : mIndexTableBuffer(indexTableBuffer), mContentTableBuffer(contentTableBuffer), in SparseTable() 55 BufferWithExtendableBuffer *const mContentTableBuffer; variable
|