Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dbuffer_with_extendable_buffer_test.cpp32 EXPECT_EQ(data_1, buffer.readUint(1, pos)); in TEST()
37 EXPECT_EQ(data_2, buffer.readUint(2, pos)); in TEST()
42 EXPECT_EQ(data_3, buffer.readUint(3, pos)); in TEST()
47 EXPECT_EQ(data_4, buffer.readUint(4, pos)); in TEST()
67 EXPECT_EQ(0xFFu, targetBuffer.readUint(4 /* size */, 0 /* pos */)); in TEST()
68 EXPECT_EQ(0xFFFFu, targetBuffer.readUint(4 /* size */, 4 /* pos */)); in TEST()
Dbyte_array_utils_test.cpp65 EXPECT_EQ(data_1B, ByteArrayUtils::readUint(buffer, 1, 0)); in TEST()
70 EXPECT_EQ(data_4B, ByteArrayUtils::readUint(buffer, 4, 0)); in TEST()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dsparse_table.cpp29 const int index = mIndexTableBuffer->readUint(INDEX_SIZE, readingPos); in contains()
35 const int index = mIndexTableBuffer->readUint(INDEX_SIZE, indexTableReadingPos); in get()
43 const int contentValue = mContentTableBuffer->readUint(mDataSize, contentTableReadingPos); in get()
59 const int index = mIndexTableBuffer->readUint(INDEX_SIZE, posInIndexTable); in set()
Dbuffer_with_extendable_buffer.cpp26 uint32_t BufferWithExtendableBuffer::readUint(const int size, const int pos) const { in readUint() function in latinime::BufferWithExtendableBuffer
29 return ByteArrayUtils::readUint(getBuffer(readingPosIsInAdditionalBuffer), size, posInBuffer); in readUint()
34 const uint32_t value = readUint(size, *pos); in readUintAndAdvancePosition()
161 const uint32_t data = sourceBuffer->readUint(copyingSize, copyingPos); in copy()
Dtrie_map.h352 return mBuffer.readUint(FIELD0_SIZE, ROOT_BITMAP_ENTRY_POS + entryIndex * ENTRY_SIZE); in readField0()
356 return mBuffer.readUint(FIELD1_SIZE, in readField1()
361 return mBuffer.readUint(FIELD1_SIZE, (entryCount - 1) * FIELD1_SIZE); in readEmptyTableLink()
Dbuffer_with_extendable_buffer.h73 uint32_t readUint(const int size, const int pos) const;
Dbyte_array_utils.h117 static AK_FORCE_INLINE uint32_t readUint(const uint8_t *const buffer, in readUint() function
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dterminal_position_lookup_table.cpp27 const int terminalPos = getBuffer()->readUint( in getTerminalPtNodePosition()
77 const int terminalPos = getBuffer()->readUint( in runGCTerminalIds()
Dlanguage_model_dict_content_global_counters.h97 return buffer.readUint(COUNTER_SIZE_IN_BYTES, pos); in readValue()
Dshortcut_dict_content.cpp121 const int shortcutFlags = shortcutListBuffer->readUint( in setProbability()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
Dterminal_position_lookup_table.cpp37 const int terminalPos = getBuffer()->readUint( in getTerminalPtNodePosition()
88 const int terminalPos = getBuffer()->readUint( in runGCTerminalIds()
Dshortcut_dict_content.cpp136 const int shortcutFlags = shortcutListBuffer->readUint( in setProbability()