Home
last modified time | relevance | path

Searched refs:readUint16 (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dbyte_array_utils_test.cpp47 EXPECT_EQ(0x018Au, ByteArrayUtils::readUint16(buffer, 0)); in TEST()
48 EXPECT_EQ(0x8A00u, ByteArrayUtils::readUint16(buffer, 1)); in TEST()
49 EXPECT_EQ(0xAAu, ByteArrayUtils::readUint16(buffer, 2)); in TEST()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dbyte_array_utils.h72 static AK_FORCE_INLINE uint16_t readUint16(const uint8_t *const buffer, const int pos) { in readUint16() function
107 const uint16_t value = readUint16(buffer, *pos); in readUint16AndAdvancePosition()
125 return ByteArrayUtils::readUint16(buffer, pos); in readUint()
Dformat_utils.cpp65 return getFormatVersion(ByteArrayUtils::readUint16(dictBuffer.data(), 4)); in detectFormatVersion()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
Dheader_read_write_utils.cpp59 return ByteArrayUtils::readUint16(dictBuf, in getFlags()