Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dsparse_table.cpp77 for (int i = 0; i < mBlockSize; ++i) { in set()
89 return contentTablePos / mDataSize / mBlockSize; in getIndexFromContentTablePos()
93 return (id / mBlockSize) * INDEX_SIZE; in getPosInIndexTable()
97 const int offset = id % mBlockSize; in getPosInContentTable()
98 return (index * mBlockSize + offset) * mDataSize; in getPosInContentTable()
Dsparse_table.h34 mBlockSize(blockSize), mDataSize(dataSize) {} in SparseTable()
56 const int mBlockSize; variable