Searched refs:FIELD1_SIZE (Results 1 – 2 of 2) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | trie_map.h | 275 return ((static_cast<uint64_t>(mData0) << (FIELD1_SIZE * CHAR_BIT)) ^ mData1); in getValueOfValueEntry() 282 static const int FIELD1_SIZE; variable 356 return mBuffer.readUint(FIELD1_SIZE, in readField1() 361 return mBuffer.readUint(FIELD1_SIZE, (entryCount - 1) * FIELD1_SIZE); in readEmptyTableLink() 365 return mBuffer.writeUint(tableIndex, FIELD1_SIZE, (entryCount - 1) * FIELD1_SIZE); in writeEmptyTableLink() 374 return mBuffer.writeUint(data, FIELD1_SIZE, in writeField1()
|
D | trie_map.cpp | 25 const int TrieMap::FIELD1_SIZE = 3; member in latinime::TrieMap 26 const int TrieMap::ENTRY_SIZE = FIELD0_SIZE + FIELD1_SIZE; 40 (static_cast<uint64_t>(1) << ((FIELD0_SIZE + FIELD1_SIZE) * CHAR_BIT)) - 1; 204 if (!writeEntry(Entry(value >> (FIELD1_SIZE * CHAR_BIT), value), valueEntryIndex)) { in writeValue() 219 return writeEntry(Entry(value >> (FIELD1_SIZE * CHAR_BIT), value), valueEntryIndex); in updateValue()
|