Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dsparse_table.cpp21 const int SparseTable::NOT_EXIST = -1;
22 const int SparseTable::INDEX_SIZE = 4;
24 bool SparseTable::contains(const int id) const { in contains()
33 uint32_t SparseTable::get(const int id) const { in get()
47 bool SparseTable::set(const int id, const uint32_t value) { in set()
88 int SparseTable::getIndexFromContentTablePos(const int contentTablePos) const { in getIndexFromContentTablePos()
92 int SparseTable::getPosInIndexTable(const int id) const { in getPosInIndexTable()
96 int SparseTable::getPosInContentTable(const int id, const int index) const { in getPosInContentTable()
Dsparse_table.h28 class SparseTable {
30 SparseTable(BufferWithExtendableBuffer *const indexTableBuffer, in SparseTable() function
43 DISALLOW_IMPLICIT_CONSTRUCTORS(SparseTable);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dsparse_table_dict_content.h60 SparseTable *getUpdatableAddressLookupTable() { in getUpdatableAddressLookupTable()
64 const SparseTable *getAddressLookupTable() const { in getAddressLookupTable()
88 SparseTable mAddressLookupTable;
Dshortcut_dict_content.cpp55 const SparseTable *const addressLookupTable = getAddressLookupTable(); in getShortcutListHeadPos()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
Dsparse_table_dict_content.h90 SparseTable *getUpdatableAddressLookupTable() { in getUpdatableAddressLookupTable()
94 const SparseTable *getAddressLookupTable() const { in getAddressLookupTable()
118 SparseTable mAddressLookupTable;
Dbigram_dict_content.h63 const SparseTable *const addressLookupTable = getAddressLookupTable(); in getBigramListHeadPos()
Dshortcut_dict_content.cpp64 const SparseTable *const addressLookupTable = getAddressLookupTable(); in getShortcutListHeadPos()
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dsparse_table_test.cpp33 SparseTable sparseTable(&indexTableBuffer, &contentTableBuffer, BLOCK_SIZE, DATA_SIZE); in TEST()