Home
last modified time | relevance | path

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

/aosp12/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
H A Dbyte_array_utils_test.cpp82 int codePointArray[3]; in TEST() local
84 codePointArray, &pos)); in TEST()
85 EXPECT_EQ(0x10FF00, codePointArray[0]); in TEST()
86 EXPECT_EQ(0x20, codePointArray[1]); in TEST()
87 EXPECT_EQ(0x41, codePointArray[2]); in TEST()
94 const int codePointArray[] = { 0x10FF00, 0x20, 0x41 }; in TEST() local
96 ByteArrayUtils::writeCodePointsAndAdvancePosition(buffer, codePointArray, 3, in TEST()
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
H A DStringUtilsTests.java430 final int[] codePointArray = StringUtils.toCodePointArray(STR_WITH_SUPPLEMENTARY_CHAR, 0, in testToCodePointArray() local
432 assertEquals("toCodePointArray, size matches", codePointArray.length, in testToCodePointArray()
435 assertEquals("toCodePointArray position " + i, codePointArray[i], EXPECTED_RESULT[i]); in testToCodePointArray()
447 int[] codePointArray = new int[50]; in testCopyCodePointsAndReturnCodePointCount() local
448 int codePointCount = StringUtils.copyCodePointsAndReturnCodePointCount(codePointArray, in testCopyCodePointsAndReturnCodePointCount()
454 assertEquals("copyCodePointsAndReturnCodePointCount position " + i, codePointArray[i], in testCopyCodePointsAndReturnCodePointCount()
458 codePointCount = StringUtils.copyCodePointsAndReturnCodePointCount(codePointArray, in testCopyCodePointsAndReturnCodePointCount()
464 assertEquals("copyCodePointsAndReturnCodePointCount position " + i, codePointArray[i], in testCopyCodePointsAndReturnCodePointCount()
470 codePointCount = StringUtils.copyCodePointsAndReturnCodePointCount(codePointArray, in testCopyCodePointsAndReturnCodePointCount()
480 codePointArray = new int[5]; in testCopyCodePointsAndReturnCodePointCount()
[all …]