/external/icu/icu4c/source/test/intltest/ |
D | srchtest.cpp | 72 u_unescape(EXTRACOLLATIONRULE, extrarules, 128); in StringSearchTest() 477 u_unescape(search->text, temp, 128); in assertEqual() 480 u_unescape(search->pattern, temp, 128); in assertEqual() 536 u_unescape(search->text, temp, 128); in assertCanonicalEqual() 539 u_unescape(search->pattern, temp, 128); in assertCanonicalEqual() 589 u_unescape(search->text, temp, 128); in assertEqualWithAttribute() 592 u_unescape(search->pattern, temp, 128); in assertEqualWithAttribute() 874 u_unescape(BREAKITERATOREXACT[0].text, temp, 128); in TestBreakIterator() 877 u_unescape(BREAKITERATOREXACT[0].pattern, temp, 128); in TestBreakIterator() 915 u_unescape(search->text, temp, 128); in TestBreakIterator() [all …]
|
D | thcoll.cpp | 383 len = u_unescape(tests[i], strings[i], 20); in TestInvalidThai()
|
/external/icu/icu4c/source/test/cintltst/ |
D | usrchtst.c | 70 u_unescape(EXTRACOLLATIONRULE, rules + rulelength, 1024 - rulelength); in open() 77 u_unescape(EXTRACOLLATIONRULE, rules + rulelength, 1024 - rulelength); in open() 555 u_unescape(search.text, text, 128); in assertEqual() 556 u_unescape(search.pattern, pattern, 32); in assertEqual() 586 u_unescape(search.text, text, 128); in assertCanonicalEqual() 587 u_unescape(search.pattern, pattern, 32); in assertCanonicalEqual() 626 u_unescape(search.text, text, 128); in assertEqualWithAttribute() 627 u_unescape(search.pattern, pattern, 32); in assertEqualWithAttribute() 742 u_unescape(BREAKITERATOREXACT[0].text, text, 128); in TestBreakIterator() 743 u_unescape(BREAKITERATOREXACT[0].pattern, pattern, 32); in TestBreakIterator() [all …]
|
D | crelativedateformattest.c | 393 … int32_t ulenexp = u_unescape(itemPtr->expectedResults[iOffset*2], ubufexp, kUBufMax); in TestRelDateFmt() 415 … int32_t ulenexp = u_unescape(itemPtr->expectedResults[iOffset*2 + 1], ubufexp, kUBufMax); in TestRelDateFmt() 477 … int32_t ulenexp = u_unescape(itemPtr->expectedResults[iOffset*2], ubufexp, kUBufMax); in TestNumericField() 532 … int32_t ulenexp = u_unescape(itemPtr->expectedResults[iOffset*2 + 1], ubufexp, kUBufMax); in TestNumericField() 611 ulenreldate = u_unescape(itemPtr->relativeDateString, ubufreldate, kUBufMax); in TestCombineDateTime() 612 ulentime = u_unescape(itemPtr->timeString, ubuftime, kUBufMax); in TestCombineDateTime() 619 int32_t ulenexp = u_unescape(itemPtr->expectedResult, ubufexp, kUBufMax); in TestCombineDateTime() 635 int32_t ulenexp = u_unescape(itemPtr->expectedResult, ubufexp, kUBufMax); in TestCombineDateTime()
|
D | cbiditst.c | 1455 srcLen = u_unescape("abc ", src, MAXLEN); in doMisc() 1467 srcLen = u_unescape("abc def", src, MAXLEN); in doMisc() 1479 srcLen = u_unescape("abcdefghi ", src, MAXLEN); in doMisc() 1492 srcLen = u_unescape("\\u200eabc def", src, MAXLEN); in doMisc() 1501 srcLen = u_unescape("abcdefghi", src, MAXLEN); in doMisc() 1518 srcLen = u_unescape(" ", src, MAXLEN); in doMisc() 1527 srcLen = u_unescape("a\\u05d0 bc", src, MAXLEN); in doMisc() 1556 srcLen = u_unescape("abc\\u200e", src, MAXLEN); in doMisc() 1575 srcLen = u_unescape(" ", src, MAXLEN); in doMisc() 1583 srcLen = u_unescape("abc", src, MAXLEN); in doMisc() [all …]
|
D | ulistfmttest.c | 82 int32_t ulenExpected = u_unescape(lftep->expectedResult, ubufExpected, kUBufMax); in TestUListFmt() 95 int32_t ulenExpected = u_unescape(lftep->expectedResult, ubufExpected, kUBufMax); in TestUListFmt() 108 int32_t ulenExpected = u_unescape(lftep->expectedResult, ubufExpected, kUBufMax); in TestUListFmt()
|
D | cdateintervalformattest.c | 111 u_unescape(testItemPtr->skeleton, skelBuf, kSkelBufLen); in TestDateIntervalFormat() 113 u_unescape(testItemPtr->tzid, tzidBuf, kTZIDBufLen); in TestDateIntervalFormat() 143 u_unescape(testItemPtr->resultExpected, resultExpected, kFormatBufLen); in TestDateIntervalFormat() 329 ulen = u_unescape(locSkelItemPtr->skeleton, ubuf, kSizeUBuf); in TestFPos_SkelWithSeconds() 343 uelen = u_unescape(expectedPtr->format, uebuf, kSizeUBuf); in TestFPos_SkelWithSeconds()
|
D | currtest.c | 174 u_unescape(expectedFirst, expectedBuf, (int32_t)strlen(expectedFirst)+1); in TestFractionDigitOverride() 181 u_unescape(expectedSecond, expectedBuf, (int32_t)strlen(expectedSecond)+1); in TestFractionDigitOverride() 188 u_unescape(expectedThird, expectedBuf, (int32_t)strlen(expectedThird)+1); in TestFractionDigitOverride()
|
D | ucsdetst.c | 131 sLength = u_unescape(ss, s, sizeof(ss)); in TestUTF8() 240 sISOLength = u_unescape(ssISO, sISO, sizeof(ssISO)); in TestC1Bytes() 241 sWindowsLength = u_unescape(ssWindows, sWindows, sizeof(ssWindows)); in TestC1Bytes() 293 sLength = u_unescape(ss, s, sizeof(ss)); in TestInputFilter()
|
D | cmsccoll.c | 448 u_unescape(chTest[i], t1, 256); in TestChMove() 449 u_unescape(chTest[j], t2, 256); in TestChMove() 539 u_unescape(s1, t1, 256); in TestFCDProblem() 540 u_unescape(s2, t2, 256); in TestFCDProblem() 1208 blen = u_unescape(caseBitData[i], b, 256); 1238 uint32_t rlen = u_unescape(rules, rlz, 2048); in TestHangulTailoring() 1444 rlen = u_unescape(testrules[i], rule, 32); in TestContraction() 1483 rlen = u_unescape("& a < b < c < ch < d & c = ch / h", rule, 256); in TestContraction() 1507 rlen = u_unescape(testrules3[i], rule, 32); in TestContraction() 1509 rlen = u_unescape(testrules3[i + 1], rule, 32); in TestContraction() [all …]
|
D | citertst.c | 356 int rulelen = u_unescape(str, rule, 50); in TestNormalization() 378 srclen = u_unescape(testdata[0], source, 10); in TestNormalization() 383 srclen = u_unescape(testdata[1], source, 10); in TestNormalization() 389 srclen = u_unescape(testdata[count], source, 10); in TestNormalization() 1013 int rulelen = u_unescape(rulestr, rule, 50); in TestDiscontiguos() 1064 int strLen = u_unescape(src[count], str, 20); in TestDiscontiguos() 1073 u_unescape(tgt[count], tstr, 20); in TestDiscontiguos()
|
D | cbiditransformtst.c | 176 u_unescape(srcTexts[nTexts], src, STR_CAPACITY); in testAutoDirection() 236 u_unescape(expectedChars, expected, STR_CAPACITY); in verifyResultsForAllOpt() 399 u_unescape(inText, src, STR_CAPACITY); in testAllTransformOptions()
|
D | spreptst.c | 307 b1Len = u_unescape(src,b1,b1Capacity); in unescapeData() 785 srcLength = u_unescape(profile_test_case[i], src, srcLength); in TestStringPrepProfiles() 786 expectedLength = u_unescape(profile_test_case[++i], expected, expectedLength); in TestStringPrepProfiles()
|
D | capitst.c | 1404 uint32_t rlzLen = u_unescape(rules, rlz, 256); in TestGetLocale() 1615 buffSize = u_unescape(tests[i].original, buffer, 512); in TestBounds() 1663 buffSize = u_unescape(test[i], buffer, 512); in TestBounds() 1668 buffSize = u_unescape(test[j], buffer, 512); in TestBounds() 1718 strLen = u_unescape(cString, uString, 256); in TestSortKeyBufferOverrun() 1866 buffLen = u_unescape(setTest[i].rules, buff, 1024); in TestGetTailoredSet() 1874 buffLen = u_unescape(setTest[i].tests[j], buff, 1024); in TestGetTailoredSet() 1935 unescapedLen = u_unescape(prefix, buffer, 256); in TestMergeSortKeys() 1938 unescapedLen = u_unescape(suffix, buffer, 256); in TestMergeSortKeys() 1947 unescapedLen = u_unescape(cases[i], buffer, 256); in TestMergeSortKeys() [all …]
|
D | cpluralrulestest.c | 93 u_unescape(testItemPtr->keywordExpected, keywordExpected, kKeywordBufLen); in TestPluralRules() 112 … u_unescape(testItemPtr->keywordExpectedForDecimals, keywordExpected, kKeywordBufLen); in TestPluralRules()
|
D | cintltst.c | 349 int32_t len = u_unescape(str, 0, 0); /* preflight */ in CharsToUChars() 352 u_unescape(str, buf, len + 1); in CharsToUChars()
|
D | callcoll.c | 617 u_unescape(s[i], t1, 2048); in genericOrderingTestWithResult() 618 u_unescape(s[j], t2, 2048); in genericOrderingTestWithResult() 672 uint32_t rlen = u_unescape(rules, rlz, RULE_BUFFER_LEN); in genericRulesStarterWithOptionsAndResult() 721 uint32_t rlen = u_unescape(rules, rlz, RULE_BUFFER_LEN); in genericRulesStarterWithResult() 1120 rlen = u_unescape(str, rules, len); in TestSurrogates()
|
D | custrtst.c | 1116 length=u_unescape(input, buffer, UPRV_LENGTHOF(buffer)); in TestUnescape() 1123 length=u_unescape(input, NULL, UPRV_LENGTHOF(buffer)); in TestUnescape() 1143 int32_t len = u_unescape(src, dest, repeat); in TestUnescapeRepeatedSurrogateLead20725() 1155 u_unescape("\\ud841\\x5A", dest, repeat); in TestUnescapeRepeatedSurrogateLead20725() 1161 u_unescape("\\ud841\\U00050005", dest, repeat); in TestUnescapeRepeatedSurrogateLead20725() 1170 u_unescape("\\ud841\\xXX", dest, repeat); in TestUnescapeRepeatedSurrogateLead20725()
|
D | utransts.c | 679 int32_t utridlen = u_unescape(itemsPtr->transID, utrid, kUBufMax); in TestDataVariantsCompounds() 686 int32_t textLen = u_unescape(itemsPtr->sourceText, text, kUBufMax); in TestDataVariantsCompounds() 693 int32_t expectLen = u_unescape(itemsPtr->targetText, expect, kUBufMax); in TestDataVariantsCompounds()
|
D | idnatest.c | 468 bufLen = u_unescape(domainNames[i],buf, bufLen+1); in TestIDNToUnicode() 498 bufLen = u_unescape(domainNames[i],buf, bufLen+1); in TestIDNToASCII() 828 … int32_t len = u_unescape(INVALID_DOMAIN_NAME, invalid_idn, (int32_t)strlen(INVALID_DOMAIN_NAME)); in TestJB5273()
|
D | cstrcase.c | 1030 u_unescape(testCases[i].s1, u1, 64); in TestUCaseInsensitivePrefixMatch() 1031 u_unescape(testCases[i].s2, u2, 64); in TestUCaseInsensitivePrefixMatch()
|
D | creststn.c | 652 expectedLen = u_unescape(pattern,expectedEscaped,patternLen); in TestNewTypes() 2363 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing() 2374 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing() 2385 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing() 2401 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing() 2412 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing()
|
/external/icu/icu4c/source/samples/coll/ |
D | coll.cpp | 147 u_unescape(opt_source, source, 100); in strcmp() 148 u_unescape(opt_target, target, 100); in strcmp() 169 u_unescape(opt_rules, rules, 100); in processCollator()
|
/external/icu/icu4c/source/samples/legacy/ |
D | legacy.cpp | 99 u_unescape(test[i], uTest[i], 5); in main() 107 u_unescape(test[i], uTest[i], 5); in main()
|
/external/icu/icu4c/source/samples/strsrch/ |
D | strsrch.cpp | 159 u_unescape(opt_rules, rules, 100); in processCollator() 236 u_unescape(opt_source, source, 100); in processStringSearch() 237 u_unescape(opt_pattern, pattern, 100); in processStringSearch()
|