Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/test/intltest/
Dsrchtest.cpp69 u_unescape(EXTRACOLLATIONRULE, extrarules, 128); in StringSearchTest()
474 u_unescape(search->text, temp, 128); in assertEqual()
477 u_unescape(search->pattern, temp, 128); in assertEqual()
533 u_unescape(search->text, temp, 128); in assertCanonicalEqual()
536 u_unescape(search->pattern, temp, 128); in assertCanonicalEqual()
586 u_unescape(search->text, temp, 128); in assertEqualWithAttribute()
589 u_unescape(search->pattern, temp, 128); in assertEqualWithAttribute()
871 u_unescape(BREAKITERATOREXACT[0].text, temp, 128); in TestBreakIterator()
874 u_unescape(BREAKITERATOREXACT[0].pattern, temp, 128); in TestBreakIterator()
912 u_unescape(search->text, temp, 128); in TestBreakIterator()
[all …]
Dthcoll.cpp380 len = u_unescape(tests[i], strings[i], 20); in TestInvalidThai()
Dapicoll.cpp1650 u_unescape(rules, rlz, 256); in TestGetLocale()
1847 buffSize = u_unescape(tests[i].original, buffer, 512); in TestBounds()
1870 buffSize = u_unescape(test[i], buffer, 512); in TestBounds()
1875 buffSize = u_unescape(test[j], buffer, 512); in TestBounds()
2275 int32_t len = u_unescape("&a < '\\u0000'", buf, 256); in TestNULLCharTailoring()
/external/icu/icu4c/source/test/cintltst/
Dusrchtst.c68 u_unescape(EXTRACOLLATIONRULE, rules + rulelength, 1024 - rulelength); in open()
75 u_unescape(EXTRACOLLATIONRULE, rules + rulelength, 1024 - rulelength); in open()
553 u_unescape(search.text, text, 128); in assertEqual()
554 u_unescape(search.pattern, pattern, 32); in assertEqual()
584 u_unescape(search.text, text, 128); in assertCanonicalEqual()
585 u_unescape(search.pattern, pattern, 32); in assertCanonicalEqual()
624 u_unescape(search.text, text, 128); in assertEqualWithAttribute()
625 u_unescape(search.pattern, pattern, 32); in assertEqualWithAttribute()
740 u_unescape(BREAKITERATOREXACT[0].text, text, 128); in TestBreakIterator()
741 u_unescape(BREAKITERATOREXACT[0].pattern, pattern, 32); in TestBreakIterator()
[all …]
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()
300 uelen = u_unescape(expectedPtr->format, uebuf, kSizeUBuf); in TestFPos_SkelWithSeconds()
Dcbiditst.c1447 srcLen = u_unescape("abc ", src, MAXLEN); in doMisc()
1459 srcLen = u_unescape("abc def", src, MAXLEN); in doMisc()
1471 srcLen = u_unescape("abcdefghi ", src, MAXLEN); in doMisc()
1484 srcLen = u_unescape("\\u200eabc def", src, MAXLEN); in doMisc()
1493 srcLen = u_unescape("abcdefghi", src, MAXLEN); in doMisc()
1510 srcLen = u_unescape(" ", src, MAXLEN); in doMisc()
1519 srcLen = u_unescape("a\\u05d0 bc", src, MAXLEN); in doMisc()
1548 srcLen = u_unescape("abc\\u200e", src, MAXLEN); in doMisc()
1567 srcLen = u_unescape(" ", src, MAXLEN); in doMisc()
1575 srcLen = u_unescape("abc", src, MAXLEN); in doMisc()
[all …]
Dulistfmttest.c75 int32_t ulenExpected = u_unescape(lftep->expectedResult, ubufExpected, kUBufMax); in TestUListFmt()
88 int32_t ulenExpected = u_unescape(lftep->expectedResult, ubufExpected, kUBufMax); in TestUListFmt()
101 int32_t ulenExpected = u_unescape(lftep->expectedResult, ubufExpected, kUBufMax); in TestUListFmt()
Dcurrtest.c171 u_unescape(expectedFirst, expectedBuf, strlen(expectedFirst)+1); in TestFractionDigitOverride()
178 u_unescape(expectedSecond, expectedBuf, strlen(expectedSecond)+1); in TestFractionDigitOverride()
185 u_unescape(expectedThird, expectedBuf, strlen(expectedThird)+1); in TestFractionDigitOverride()
Dcmsccoll.c449 u_unescape(chTest[i], t1, 256); in TestChMove()
450 u_unescape(chTest[j], t2, 256); in TestChMove()
540 u_unescape(s1, t1, 256); in TestFCDProblem()
541 u_unescape(s2, t2, 256); in TestFCDProblem()
1210 blen = u_unescape(caseBitData[i], b, 256);
1240 uint32_t rlen = u_unescape(rules, rlz, 2048); in TestHangulTailoring()
1446 rlen = u_unescape(testrules[i], rule, 32); in TestContraction()
1485 rlen = u_unescape("& a < b < c < ch < d & c = ch / h", rule, 256); in TestContraction()
1509 rlen = u_unescape(testrules3[i], rule, 32); in TestContraction()
1511 rlen = u_unescape(testrules3[i + 1], rule, 32); in TestContraction()
[all …]
Ducsdetst.c130 sLength = u_unescape(ss, s, sizeof(ss)); in TestUTF8()
239 sISOLength = u_unescape(ssISO, sISO, sizeof(ssISO)); in TestC1Bytes()
240 sWindowsLength = u_unescape(ssWindows, sWindows, sizeof(ssWindows)); in TestC1Bytes()
292 sLength = u_unescape(ss, s, sizeof(ss)); in TestInputFilter()
Dcitertst.c353 int rulelen = u_unescape(str, rule, 50); in TestNormalization()
375 srclen = u_unescape(testdata[0], source, 10); in TestNormalization()
380 srclen = u_unescape(testdata[1], source, 10); in TestNormalization()
386 srclen = u_unescape(testdata[count], source, 10); in TestNormalization()
1010 int rulelen = u_unescape(rulestr, rule, 50); in TestDiscontiguos()
1061 int strLen = u_unescape(src[count], str, 20); in TestDiscontiguos()
1070 u_unescape(tgt[count], tstr, 20); in TestDiscontiguos()
Dspreptst.c303 b1Len = u_unescape(src,b1,b1Capacity); in unescapeData()
781 srcLength = u_unescape(profile_test_case[i], src, srcLength); in TestStringPrepProfiles()
782 expectedLength = u_unescape(profile_test_case[++i], expected, expectedLength); in TestStringPrepProfiles()
Dcapitst.c1401 uint32_t rlzLen = u_unescape(rules, rlz, 256); in TestGetLocale()
1612 buffSize = u_unescape(tests[i].original, buffer, 512); in TestBounds()
1660 buffSize = u_unescape(test[i], buffer, 512); in TestBounds()
1665 buffSize = u_unescape(test[j], buffer, 512); in TestBounds()
1715 strLen = u_unescape(cString, uString, 256); in TestSortKeyBufferOverrun()
1863 buffLen = u_unescape(setTest[i].rules, buff, 1024); in TestGetTailoredSet()
1871 buffLen = u_unescape(setTest[i].tests[j], buff, 1024); in TestGetTailoredSet()
1932 unescapedLen = u_unescape(prefix, buffer, 256); in TestMergeSortKeys()
1935 unescapedLen = u_unescape(suffix, buffer, 256); in TestMergeSortKeys()
1944 unescapedLen = u_unescape(cases[i], buffer, 256); in TestMergeSortKeys()
[all …]
Dcpluralrulestest.c77 u_unescape(testItemPtr->keywordExpected, keywordExpected, kKeywordBufLen); in TestPluralRules()
Dcintltst.c482 int32_t len = u_unescape(str, 0, 0); /* preflight */ in CharsToUChars()
485 u_unescape(str, buf, len + 1); in CharsToUChars()
Dcallcoll.c612 u_unescape(s[i], t1, 2048); in genericOrderingTestWithResult()
613 u_unescape(s[j], t2, 2048); in genericOrderingTestWithResult()
667 uint32_t rlen = u_unescape(rules, rlz, RULE_BUFFER_LEN); in genericRulesStarterWithOptionsAndResult()
716 uint32_t rlen = u_unescape(rules, rlz, RULE_BUFFER_LEN); in genericRulesStarterWithResult()
1115 rlen = u_unescape(str, rules, len); in TestSurrogates()
Dcnmdptst.c442 u_unescape(result[i], res, (int32_t)strlen(result[i])+1); in TestCurrency()
508 u_unescape(result[i],res,(int32_t)(strlen(result[i])+1)); in TestCurrencyPreEuro()
595 u_unescape(result[i],res, (int32_t)(strlen(result[i])+1)); in TestCurrencyObject()
Didnatest.c466 bufLen = u_unescape(domainNames[i],buf, bufLen+1); in TestIDNToUnicode()
496 bufLen = u_unescape(domainNames[i],buf, bufLen+1); in TestIDNToASCII()
826 int32_t len = u_unescape(INVALID_DOMAIN_NAME, invalid_idn, strlen(INVALID_DOMAIN_NAME)); in TestJB5273()
Dcreststn.c619 expectedLen = u_unescape(pattern,expectedEscaped,patternLen); in TestNewTypes()
2303 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing()
2314 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing()
2325 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing()
2341 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing()
2352 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()
Dcstrcase.c1021 u_unescape(testCases[i].s1, u1, 64); in TestUCaseInsensitivePrefixMatch()
1022 u_unescape(testCases[i].s2, u2, 64); in TestUCaseInsensitivePrefixMatch()
Dcnumtst.c1933 u_unescape(SPECIAL_PATTERN, pat, sizeof(pat)/sizeof(pat[0])); in TestNBSPInPattern()
2469 int32_t ulenExp = u_unescape(DATA[i][3 + sIndex], ubufExpected, kUBufMax); in TestCurrencyIsoPluralFormat()
2539 int32_t ulenExp = u_unescape(itemPtr->expectedResult, ubufExpected, kUBufMax); in TestContext()
2610 expectLen = u_unescape(DATA[j][1], expect, LENGTH(expect)); in TestCurrencyUsage()
2844 uexplen = u_unescape(veItemPtr->expected, uexp, kUBufSize); in TestVariousStylesAndAttributes()
/external/icu/icu4c/source/samples/coll/
Dcoll.cpp141 u_unescape(opt_source, source, 100); in strcmp()
142 u_unescape(opt_target, target, 100); in strcmp()
163 u_unescape(opt_rules, rules, 100); in processCollator()
/external/icu/icu4c/source/samples/legacy/
Dlegacy.cpp93 u_unescape(test[i], uTest[i], 5); in main()
101 u_unescape(test[i], uTest[i], 5); in main()
/external/icu/icu4c/source/samples/strsrch/
Dstrsrch.cpp154 u_unescape(opt_rules, rules, 100); in processCollator()
231 u_unescape(opt_source, source, 100); in processStringSearch()
232 u_unescape(opt_pattern, pattern, 100); in processStringSearch()

12