Searched refs:readCodePoint (Results 1 – 2 of 2) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/ |
D | byte_array_utils_test.cpp | 76 EXPECT_EQ(0x10FF00, ByteArrayUtils::readCodePoint(buffer, 0)); in TEST() 77 EXPECT_EQ(0x20, ByteArrayUtils::readCodePoint(buffer, 3)); in TEST() 78 EXPECT_EQ(0x41, ByteArrayUtils::readCodePoint(buffer, 4)); in TEST() 79 EXPECT_EQ(NOT_A_CODE_POINT, ByteArrayUtils::readCodePoint(buffer, 5)); in TEST() 88 EXPECT_EQ(0x60, ByteArrayUtils::readCodePoint(buffer, pos)); in TEST() 98 EXPECT_EQ(0x10FF00, ByteArrayUtils::readCodePoint(buffer, 0)); in TEST() 99 EXPECT_EQ(0x20, ByteArrayUtils::readCodePoint(buffer, 3)); in TEST() 100 EXPECT_EQ(0x41, ByteArrayUtils::readCodePoint(buffer, 4)); in TEST() 101 EXPECT_EQ(NOT_A_CODE_POINT, ByteArrayUtils::readCodePoint(buffer, 5)); in TEST()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | byte_array_utils.h | 148 static AK_FORCE_INLINE int readCodePoint(const uint8_t *const buffer, const int pos) { in readCodePoint() function
|