Home
last modified time | relevance | path

Searched refs:readUint8 (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dbyte_array_utils_test.cpp42 EXPECT_EQ(0x01u, ByteArrayUtils::readUint8(buffer, 0)); in TEST()
43 EXPECT_EQ(0x8Au, ByteArrayUtils::readUint8(buffer, 1)); in TEST()
44 EXPECT_EQ(0x0u, ByteArrayUtils::readUint8(buffer, 2)); in TEST()
45 EXPECT_EQ(0xAAu, ByteArrayUtils::readUint8(buffer, 3)); in TEST()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dbyte_array_utils.h76 static AK_FORCE_INLINE uint8_t readUint8(const uint8_t *const buffer, const int pos) { in readUint8() function
89 const uint8_t value = readUint8(buffer, *pos); in readSint24AndAdvancePosition()
123 return ByteArrayUtils::readUint8(buffer, pos); in readUint()
162 const uint8_t firstByte = readUint8(buffer, *pos); in readCodePointAndAdvancePosition()