Home
last modified time | relevance | path

Searched refs:writeUintAndAdvancePosition (Results 1 – 15 of 15) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
Dbigram_dict_content.cpp81 if (!bigramListBuffer->writeUintAndAdvancePosition(bigramFlags, in writeBigramEntryAndAdvancePosition()
88 if (!bigramListBuffer->writeUintAndAdvancePosition(historicalInfo->getTimestamp(), in writeBigramEntryAndAdvancePosition()
94 if (!bigramListBuffer->writeUintAndAdvancePosition(historicalInfo->getLevel(), in writeBigramEntryAndAdvancePosition()
100 if (!bigramListBuffer->writeUintAndAdvancePosition(historicalInfo->getCount(), in writeBigramEntryAndAdvancePosition()
107 if (!bigramListBuffer->writeUintAndAdvancePosition(bigramEntryToWrite->getProbability(), in writeBigramEntryAndAdvancePosition()
118 if (!bigramListBuffer->writeUintAndAdvancePosition(targetTerminalIdToWrite, in writeBigramEntryAndAdvancePosition()
Dprobability_dict_content.cpp139 if (!bufferToWrite->writeUintAndAdvancePosition(probabilityEntry->getFlags(), in writeEntry()
144 if (!bufferToWrite->writeUintAndAdvancePosition(probabilityEntry->getProbability(), in writeEntry()
151 if (!bufferToWrite->writeUintAndAdvancePosition(historicalInfo->getTimestamp(), in writeEntry()
156 if (!bufferToWrite->writeUintAndAdvancePosition(historicalInfo->getLevel(), in writeEntry()
161 if (!bufferToWrite->writeUintAndAdvancePosition(historicalInfo->getCount(), in writeEntry()
Dshortcut_dict_content.cpp149 if (!shortcutListBuffer->writeUintAndAdvancePosition(shortcutFlags, in writeShortcutEntryAndAdvancePosition()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
Dheader_read_write_utils.cpp107 if (!buffer->writeUintAndAdvancePosition(FormatUtils::MAGIC_NUMBER, HEADER_MAGIC_NUMBER_SIZE, in writeDictionaryVersion()
120 return buffer->writeUintAndAdvancePosition(version /* data */, in writeDictionaryVersion()
130 return buffer->writeUintAndAdvancePosition(flags, HEADER_FLAG_SIZE, writingPos); in writeDictionaryFlags()
135 return buffer->writeUintAndAdvancePosition(size, HEADER_SIZE_FIELD_SIZE, writingPos); in writeDictionaryHeaderSize()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Ddynamic_pt_writing_utils.cpp66 return buffer->writeUintAndAdvancePosition(data, LARGE_PTNODE_ARRAY_SIZE_FIELD_SIZE, in writePtNodeArraySizeAndAdvancePosition()
79 return buffer->writeUintAndAdvancePosition(nodeFlags, NODE_FLAG_FIELD_SIZE, nodeFlagsFieldPos); in writeFlagsAndAdvancePosition()
130 return buffer->writeUintAndAdvancePosition(data, DICT_OFFSET_FIELD_SIZE, offsetFieldPos); in writeDictOffset()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dbuffer_with_extendable_buffer.cpp60 return writeUintAndAdvancePosition(data, size, &writingPos); in writeUint()
63 bool BufferWithExtendableBuffer::writeUintAndAdvancePosition(const uint32_t data, const int size, in writeUintAndAdvancePosition() function in latinime::BufferWithExtendableBuffer
79 ByteArrayUtils::writeUintAndAdvancePosition(buffer, data, size, pos); in writeUintAndAdvancePosition()
Dsparse_table.cpp52 if (!mIndexTableBuffer->writeUintAndAdvancePosition(NOT_EXIST, INDEX_SIZE, &tailPos)) { in set()
78 if (!mContentTableBuffer->writeUintAndAdvancePosition(NOT_EXIST, mDataSize, in set()
Dbuffer_with_extendable_buffer.h99 bool writeUintAndAdvancePosition(const uint32_t data, const int size, int *const pos);
Ddict_file_writing_utils.cpp94 ByteArrayUtils::writeUintAndAdvancePosition(bufferSize, buffer->getTailPosition(), in writeBufferToFileTail()
Dbyte_array_utils.h36 static AK_FORCE_INLINE void writeUintAndAdvancePosition(uint8_t *const buffer, in writeUintAndAdvancePosition() function
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dbyte_array_utils_test.cpp64 ByteArrayUtils::writeUintAndAdvancePosition(buffer, data_1B, 1, &pos); in TEST()
69 ByteArrayUtils::writeUintAndAdvancePosition(buffer, data_4B, 4, &pos); in TEST()
Dbuffer_with_extendable_buffer_test.cpp87 EXPECT_TRUE(buffer.writeUintAndAdvancePosition(0 /* data */, 4 /* size */, &pos)); in TEST()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dshortcut_dict_content.cpp134 if (!shortcutListBuffer->writeUintAndAdvancePosition(shortcutFlags, in writeShortcutEntryAndAdvancePosition()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_node_writer.cpp323 if (!mTrieBuffer->writeUintAndAdvancePosition(terminalId, in writePtNodeAndGetTerminalIdAndAdvancePosition()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_node_writer.cpp376 if (!mTrieBuffer->writeUintAndAdvancePosition(terminalId, in writePtNodeAndGetTerminalIdAndAdvancePosition()