Searched refs:readUint16 (Results 1 – 4 of 4) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/ |
D | byte_array_utils_test.cpp | 47 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/ |
D | byte_array_utils.h | 72 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()
|
D | format_utils.cpp | 65 return getFormatVersion(ByteArrayUtils::readUint16(dictBuffer.data(), 4)); in detectFormatVersion()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/ |
D | header_read_write_utils.cpp | 59 return ByteArrayUtils::readUint16(dictBuf, in getFlags()
|