Home
last modified time | relevance | path

Searched refs:u_unescape (Results 1 – 25 of 45) sorted by relevance

12

/external/icu/icu4c/source/test/intltest/
Dsrchtest.cpp72 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 …]
Dthcoll.cpp383 len = u_unescape(tests[i], strings[i], 20); in TestInvalidThai()
/external/icu/icu4c/source/test/cintltst/
Dusrchtst.c70 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 …]
Dcrelativedateformattest.c208 … int32_t ulenexp = u_unescape(itemPtr->expectedResults[iOffset*2], ubufexp, kUBufMax); in TestRelDateFmt()
230 … int32_t ulenexp = u_unescape(itemPtr->expectedResults[iOffset*2 + 1], ubufexp, kUBufMax); in TestRelDateFmt()
278 ulenreldate = u_unescape(itemPtr->relativeDateString, ubufreldate, kUBufMax); in TestCombineDateTime()
279 ulentime = u_unescape(itemPtr->timeString, ubuftime, kUBufMax); in TestCombineDateTime()
286 int32_t ulenexp = u_unescape(itemPtr->expectedResult, ubufexp, kUBufMax); in TestCombineDateTime()
302 int32_t ulenexp = u_unescape(itemPtr->expectedResult, ubufexp, kUBufMax); in TestCombineDateTime()
Dcdateintervalformattest.c83 u_unescape(testItemPtr->skeleton, skelBuf, kSkelBufLen); in TestDateIntervalFormat()
85 u_unescape(testItemPtr->tzid, tzidBuf, kTZIDBufLen); in TestDateIntervalFormat()
99 u_unescape(testItemPtr->resultExpected, resultExpected, kFormatBufLen); in TestDateIntervalFormat()
285 ulen = u_unescape(locSkelItemPtr->skeleton, ubuf, kSizeUBuf); in TestFPos_SkelWithSeconds()
299 uelen = u_unescape(expectedPtr->format, uebuf, kSizeUBuf); in TestFPos_SkelWithSeconds()
Dcbiditst.c1454 srcLen = u_unescape("abc ", src, MAXLEN); in doMisc()
1466 srcLen = u_unescape("abc def", src, MAXLEN); in doMisc()
1478 srcLen = u_unescape("abcdefghi ", src, MAXLEN); in doMisc()
1491 srcLen = u_unescape("\\u200eabc def", src, MAXLEN); in doMisc()
1500 srcLen = u_unescape("abcdefghi", src, MAXLEN); in doMisc()
1517 srcLen = u_unescape(" ", src, MAXLEN); in doMisc()
1526 srcLen = u_unescape("a\\u05d0 bc", src, MAXLEN); in doMisc()
1555 srcLen = u_unescape("abc\\u200e", src, MAXLEN); in doMisc()
1574 srcLen = u_unescape(" ", src, MAXLEN); in doMisc()
1582 srcLen = u_unescape("abc", src, MAXLEN); in doMisc()
[all …]
Dulistfmttest.c77 int32_t ulenExpected = u_unescape(lftep->expectedResult, ubufExpected, kUBufMax); in TestUListFmt()
90 int32_t ulenExpected = u_unescape(lftep->expectedResult, ubufExpected, kUBufMax); in TestUListFmt()
103 int32_t ulenExpected = u_unescape(lftep->expectedResult, ubufExpected, kUBufMax); in TestUListFmt()
Dcmsccoll.c448 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()
1206 blen = u_unescape(caseBitData[i], b, 256);
1236 uint32_t rlen = u_unescape(rules, rlz, 2048); in TestHangulTailoring()
1442 rlen = u_unescape(testrules[i], rule, 32); in TestContraction()
1481 rlen = u_unescape("& a < b < c < ch < d & c = ch / h", rule, 256); in TestContraction()
1505 rlen = u_unescape(testrules3[i], rule, 32); in TestContraction()
1507 rlen = u_unescape(testrules3[i + 1], rule, 32); in TestContraction()
[all …]
Dcurrtest.c174 u_unescape(expectedFirst, expectedBuf, strlen(expectedFirst)+1); in TestFractionDigitOverride()
181 u_unescape(expectedSecond, expectedBuf, strlen(expectedSecond)+1); in TestFractionDigitOverride()
188 u_unescape(expectedThird, expectedBuf, strlen(expectedThird)+1); in TestFractionDigitOverride()
Ducsdetst.c131 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()
Dcitertst.c356 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()
Dcbiditransformtst.c176 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()
Dcpluralrulestest.c87 u_unescape(testItemPtr->keywordExpected, keywordExpected, kKeywordBufLen); in TestPluralRules()
106u_unescape(testItemPtr->keywordExpectedForDecimals, keywordExpected, kKeywordBufLen); in TestPluralRules()
Dcapitst.c1403 uint32_t rlzLen = u_unescape(rules, rlz, 256); in TestGetLocale()
1614 buffSize = u_unescape(tests[i].original, buffer, 512); in TestBounds()
1662 buffSize = u_unescape(test[i], buffer, 512); in TestBounds()
1667 buffSize = u_unescape(test[j], buffer, 512); in TestBounds()
1717 strLen = u_unescape(cString, uString, 256); in TestSortKeyBufferOverrun()
1865 buffLen = u_unescape(setTest[i].rules, buff, 1024); in TestGetTailoredSet()
1873 buffLen = u_unescape(setTest[i].tests[j], buff, 1024); in TestGetTailoredSet()
1934 unescapedLen = u_unescape(prefix, buffer, 256); in TestMergeSortKeys()
1937 unescapedLen = u_unescape(suffix, buffer, 256); in TestMergeSortKeys()
1946 unescapedLen = u_unescape(cases[i], buffer, 256); in TestMergeSortKeys()
[all …]
Dspreptst.c306 b1Len = u_unescape(src,b1,b1Capacity); in unescapeData()
784 srcLength = u_unescape(profile_test_case[i], src, srcLength); in TestStringPrepProfiles()
785 expectedLength = u_unescape(profile_test_case[++i], expected, expectedLength); in TestStringPrepProfiles()
Dcallcoll.c617 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()
Dcintltst.c484 int32_t len = u_unescape(str, 0, 0); /* preflight */ in CharsToUChars()
487 u_unescape(str, buf, len + 1); in CharsToUChars()
Dutransts.c679 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()
Didnatest.c468 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, strlen(INVALID_DOMAIN_NAME)); in TestJB5273()
Dcnmdptst.c445 u_unescape(result[i], res, (int32_t)strlen(result[i])+1); in TestCurrency()
511 u_unescape(result[i],res,(int32_t)(strlen(result[i])+1)); in TestCurrencyPreEuro()
598 u_unescape(result[i],res, (int32_t)(strlen(result[i])+1)); in TestCurrencyObject()
Dcreststn.c624 expectedLen = u_unescape(pattern,expectedEscaped,patternLen); in TestNewTypes()
2308 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing()
2319 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing()
2330 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing()
2346 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing()
2357 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing()
Dcdattst.c195u_unescape("10 juil. 1996 \\u00E0 16:05:28 heure d\\u2019\\u00E9t\\u00E9 du Pacifique", temp, 50); in TestDateFormat()
1064 u_unescape(expected, pattern, patternSize); in VerifygetSymbols()
1099 valueLen = u_unescape(expected, value, valueSize); in VerifysetSymbols()
1670 u_unescape(overrideNumberFormat[i][1], expected, UPRV_LENGTHOF(expected)); in TestOverrideNumberFormat()
/external/icu/icu4c/source/samples/coll/
Dcoll.cpp147 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/
Dlegacy.cpp99 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/
Dstrsrch.cpp159 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()

12