Home
last modified time | relevance | path

Searched refs:writeUint (Results 1 – 12 of 12) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dbuffer_with_extendable_buffer_test.cpp31 EXPECT_TRUE(buffer.writeUint(data_1, 1 /* size */, pos)); in TEST()
36 EXPECT_TRUE(buffer.writeUint(data_2, 2 /* size */, pos)); in TEST()
41 EXPECT_TRUE(buffer.writeUint(data_3, 3 /* size */, pos)); in TEST()
46 EXPECT_TRUE(buffer.writeUint(data_4, 4 /* size */, pos)); in TEST()
53 EXPECT_TRUE(buffer.writeUint(0xFF /* data */, 4 /* size */, 0 /* pos */)); in TEST()
57 EXPECT_TRUE(buffer.writeUint(0xFFFF /* data */, 4 /* size */, 8 /* pos */)); in TEST()
58 EXPECT_TRUE(buffer.writeUint(0xFF /* data */, 4 /* size */, 0 /* pos */)); in TEST()
63 EXPECT_TRUE(buffer.writeUint(0xFF /* data */, 4 /* size */, 0 /* pos */)); in TEST()
64 EXPECT_TRUE(buffer.writeUint(0xFFFF /* data */, 4 /* size */, 4 /* pos */)); in TEST()
73 EXPECT_FALSE(emptyBuffer.writeUint(0 /* data */, 1 /* size */, 0 /* pos */)); in TEST()
[all …]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dterminal_position_lookup_table.cpp40 if (!getWritableBuffer()->writeUint(Ver4DictConstants::NOT_A_TERMINAL_ADDRESS, in setTerminalPtNodePosition()
48 return getWritableBuffer()->writeUint(terminalPos, in setTerminalPtNodePosition()
84 if (!getWritableBuffer()->writeUint(terminalPos, in runGCTerminalIds()
Dlanguage_model_dict_content_global_counters.h51 if (!bufferToWrite.writeUint(mTotalCount, COUNTER_SIZE_IN_BYTES, in save()
55 if (!bufferToWrite.writeUint(mMaxValueOfCounters, COUNTER_SIZE_IN_BYTES, in save()
Dshortcut_dict_content.cpp125 return shortcutListBuffer->writeUint(shortcutFlagsToWrite, in setProbability()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
Dterminal_position_lookup_table.cpp50 if (!getWritableBuffer()->writeUint(Ver4DictConstants::NOT_A_TERMINAL_ADDRESS, in setTerminalPtNodePosition()
58 return getWritableBuffer()->writeUint(terminalPos, in setTerminalPtNodePosition()
95 if (!getWritableBuffer()->writeUint(terminalPos, in runGCTerminalIds()
Dshortcut_dict_content.cpp140 return shortcutListBuffer->writeUint(shortcutFlagsToWrite, in setProbability()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dsparse_table.cpp60 if (!mContentTableBuffer->writeUint(value, mDataSize, getPosInContentTable(id, index))) { in set()
71 if (!mIndexTableBuffer->writeUint(index, INDEX_SIZE, posInIndexTable)) { in set()
85 return mContentTableBuffer->writeUint(value, mDataSize, getPosInContentTable(id, index)); in set()
Dtrie_map.h365 return mBuffer.writeUint(tableIndex, FIELD1_SIZE, (entryCount - 1) * FIELD1_SIZE); in writeEmptyTableLink()
369 return mBuffer.writeUint(data, FIELD0_SIZE, in writeField0()
374 return mBuffer.writeUint(data, FIELD1_SIZE, in writeField1()
Dbuffer_with_extendable_buffer.cpp58 bool BufferWithExtendableBuffer::writeUint(const uint32_t data, const int size, const int pos) { in writeUint() function in latinime::BufferWithExtendableBuffer
162 if (!writeUint(data, copyingSize, copyingPos)) { in copy()
Dbuffer_with_extendable_buffer.h97 bool writeUint(const uint32_t data, const int size, const int pos);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_node_writer.cpp180 return mTrieBuffer->writeUint(newTerminalId, Ver4DictConstants::TERMINAL_ID_FIELD_SIZE, in updateTerminalId()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_node_writer.cpp207 return mTrieBuffer->writeUint(newTerminalId, Ver4DictConstants::TERMINAL_ID_FIELD_SIZE, in updateTerminalId()