Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dtrie_map.h283 static const int ENTRY_SIZE; variable
352 return mBuffer.readUint(FIELD0_SIZE, ROOT_BITMAP_ENTRY_POS + entryIndex * ENTRY_SIZE); in readField0()
357 ROOT_BITMAP_ENTRY_POS + entryIndex * ENTRY_SIZE + FIELD0_SIZE); in readField1()
370 ROOT_BITMAP_ENTRY_POS + entryIndex * ENTRY_SIZE); in writeField0()
375 ROOT_BITMAP_ENTRY_POS + entryIndex * ENTRY_SIZE + FIELD0_SIZE); in writeField1()
392 return (mBuffer.getTailPosition() - ROOT_BITMAP_ENTRY_POS) / ENTRY_SIZE; in getTailEntryIndex()
Dtrie_map.cpp26 const int TrieMap::ENTRY_SIZE = FIELD0_SIZE + FIELD1_SIZE; member in latinime::TrieMap
41 const int TrieMap::MAX_BUFFER_SIZE = TERMINAL_LINK_MASK * ENTRY_SIZE;
245 if (!mBuffer.extend(entryCount * ENTRY_SIZE)) { in allocateTable()