Lines Matching refs:UnicodeString
101 UnicodeString s("xyz"); // Many latin ranges are whole-script confusable with other scripts.
111 UnicodeString s1("cxs");
112 UnicodeString s2 = UnicodeString("\\u0441\\u0445\\u0455").unescape(); // Cyrillic "cxs"
119 UnicodeString s("I1l0O");
120 UnicodeString dest;
121 UnicodeString &retStr = uspoof_getSkeletonUnicodeString(sc, USPOOF_ANY_CASE, s, dest, &status);
123 TEST_ASSERT(UnicodeString("lllOO") == dest);
211 UnicodeString uInput = UnicodeString(input).unescape();
212 UnicodeString uExpected = UnicodeString(expected).unescape();
215 UnicodeString actual;
225 errln(UnicodeString(" Actual Skeleton: \"") + actual + UnicodeString("\"\n") +
226 UnicodeString(" Expected Skeleton: \"") + uExpected + UnicodeString("\""));
232 UnicodeString s1("A long string that will overflow stack buffers. A long string that will overflow stack buffers. "
234 UnicodeString s2("A long string that wi11 overflow stack buffers. A long string that will overflow stack buffers. "
244 UnicodeString s = UnicodeString("abcd\\u0301ef").unescape();
250 UnicodeString s2 = UnicodeString("abcd\\u0301\\u0302\\u0301ef").unescape();
258 UnicodeString s3 = UnicodeString("abcd\\u00e1\\u0301xyz").unescape();
266 static UnicodeString parseHex(const UnicodeString &in) {
270 UnicodeString result;
294 // Append the hex form of a UChar32 to a UnicodeString.
299 static void appendHexUChar(UnicodeString &dest, UChar32 c) {
343 UnicodeString confusablesTxt = UnicodeString::fromUTF8(StringPiece(fileBuf.getAlias(), fileSize));
356 UnicodeString from = parseHex(parseLine.group(1, status));
364 UnicodeString rawExpected = parseHex(parseLine.group(2, status));
365 UnicodeString expected;
370 UnicodeString tableType = parseLine.group(3, status);
382 UnicodeString actual;
388 UnicodeString line = "Actual: ";