Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/icu/source/test/intltest/
Dsrchtest.cpp69 u_unescape(EXTRACOLLATIONRULE, extrarules, 128); in StringSearchTest()
371 u_unescape(search->text, temp, 128); in assertEqual()
374 u_unescape(search->pattern, temp, 128); in assertEqual()
430 u_unescape(search->text, temp, 128); in assertCanonicalEqual()
433 u_unescape(search->pattern, temp, 128); in assertCanonicalEqual()
483 u_unescape(search->text, temp, 128); in assertEqualWithAttribute()
486 u_unescape(search->pattern, temp, 128); in assertEqualWithAttribute()
768 u_unescape(BREAKITERATOREXACT[0].text, temp, 128); in TestBreakIterator()
771 u_unescape(BREAKITERATOREXACT[0].pattern, temp, 128); in TestBreakIterator()
809 u_unescape(search->text, temp, 128); in TestBreakIterator()
[all …]
/external/icu4c/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 …]
/external/chromium_org/third_party/icu/source/test/cintltst/
Dusrchtst.c68 u_unescape(EXTRACOLLATIONRULE, rules + rulelength, 1024 - rulelength); in open()
75 u_unescape(EXTRACOLLATIONRULE, rules + rulelength, 1024 - rulelength); in open()
454 u_unescape(search.text, text, 128); in assertEqual()
455 u_unescape(search.pattern, pattern, 32); in assertEqual()
485 u_unescape(search.text, text, 128); in assertCanonicalEqual()
486 u_unescape(search.pattern, pattern, 32); in assertCanonicalEqual()
525 u_unescape(search.text, text, 128); in assertEqualWithAttribute()
526 u_unescape(search.pattern, pattern, 32); in assertEqualWithAttribute()
641 u_unescape(BREAKITERATOREXACT[0].text, text, 128); in TestBreakIterator()
642 u_unescape(BREAKITERATOREXACT[0].pattern, pattern, 32); in TestBreakIterator()
[all …]
Dcbiditst.c1296 srcLen = u_unescape("abc ", src, MAXLEN); in doMisc()
1308 srcLen = u_unescape("abc def", src, MAXLEN); in doMisc()
1320 srcLen = u_unescape("abcdefghi ", src, MAXLEN); in doMisc()
1333 srcLen = u_unescape("\\u200eabc def", src, MAXLEN); in doMisc()
1342 srcLen = u_unescape("abcdefghi", src, MAXLEN); in doMisc()
1359 srcLen = u_unescape(" ", src, MAXLEN); in doMisc()
1368 srcLen = u_unescape("a\\u05d0 bc", src, MAXLEN); in doMisc()
1397 srcLen = u_unescape("abc\\u200e", src, MAXLEN); in doMisc()
1416 srcLen = u_unescape(" ", src, MAXLEN); in doMisc()
1424 srcLen = u_unescape("abc", src, MAXLEN); in doMisc()
[all …]
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()
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()
Dcmsccoll.c1436 ruleLen = u_unescape(rulesToTest[i], rule, 2048); in RamsRulesTest()
1531 u_unescape(chTest[i], t1, 256); in TestChMove()
1532 u_unescape(chTest[j], t2, 256); in TestChMove()
1615 u_unescape(s1, t1, 256); in TestFCDProblem()
1616 u_unescape(s2, t2, 256); in TestFCDProblem()
2017 rlen = u_unescape(tests[i].rules, rlz, 2048); in TestRedundantRules()
2028 rlen = u_unescape(tests[i].expectedRules, rlz, 2048); in TestRedundantRules()
2080 rlen = u_unescape(rules[i], rlz, 2048); in TestExpansionSyntax()
2090 rlen = u_unescape(expectedRules[i], rlz, 2048); in TestExpansionSyntax()
2484 blen = u_unescape(caseBitData[i], b, 256);
[all …]
Dcapitst.c1330 uint32_t rlzLen = u_unescape(rules, rlz, 256); in TestGetLocale()
1533 buffSize = u_unescape(tests[i].original, buffer, 512); in TestBounds()
1579 buffSize = u_unescape(test[i], buffer, 512); in TestBounds()
1584 buffSize = u_unescape(test[j], buffer, 512); in TestBounds()
1634 strLen = u_unescape(cString, uString, 256); in TestSortKeyBufferOverrun()
1782 buffLen = u_unescape(setTest[i].rules, buff, 1024); in TestGetTailoredSet()
1790 buffLen = u_unescape(setTest[i].tests[j], buff, 1024); in TestGetTailoredSet()
1851 unescapedLen = u_unescape(prefix, buffer, 256); in TestMergeSortKeys()
1854 unescapedLen = u_unescape(suffix, buffer, 256); in TestMergeSortKeys()
1863 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()
Dcintltst.c467 int32_t len = u_unescape(str, 0, 0); /* preflight */ in CharsToUChars()
470 u_unescape(str, buf, len + 1); in CharsToUChars()
Dcitertst.c358 int rulelen = u_unescape(str, rule, 50); in TestNormalization()
380 srclen = u_unescape(testdata[0], source, 10); in TestNormalization()
385 srclen = u_unescape(testdata[1], source, 10); in TestNormalization()
391 srclen = u_unescape(testdata[count], source, 10); in TestNormalization()
1366 int rulelen = u_unescape(rulestr, rule, 50); in TestDiscontiguos()
1417 int strLen = u_unescape(src[count], str, 20); in TestDiscontiguos()
1426 u_unescape(tgt[count], tstr, 20); in TestDiscontiguos()
/external/icu4c/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.c81 u_unescape(testItemPtr->skeleton, skelBuf, kSkelBufLen); in TestDateIntervalFormat()
83 u_unescape(testItemPtr->tzid, tzidBuf, kTZIDBufLen); in TestDateIntervalFormat()
97 u_unescape(testItemPtr->resultExpected, resultExpected, kFormatBufLen); in TestDateIntervalFormat()
Dcbiditst.c1440 srcLen = u_unescape("abc ", src, MAXLEN); in doMisc()
1452 srcLen = u_unescape("abc def", src, MAXLEN); in doMisc()
1464 srcLen = u_unescape("abcdefghi ", src, MAXLEN); in doMisc()
1477 srcLen = u_unescape("\\u200eabc def", src, MAXLEN); in doMisc()
1486 srcLen = u_unescape("abcdefghi", src, MAXLEN); in doMisc()
1503 srcLen = u_unescape(" ", src, MAXLEN); in doMisc()
1512 srcLen = u_unescape("a\\u05d0 bc", src, MAXLEN); in doMisc()
1541 srcLen = u_unescape("abc\\u200e", src, MAXLEN); in doMisc()
1560 srcLen = u_unescape(" ", src, MAXLEN); in doMisc()
1568 srcLen = u_unescape("abc", src, MAXLEN); in doMisc()
[all …]
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()
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()
Dcmsccoll.c1448 ruleLen = u_unescape(rulesToTest[i], rule, 2048); in RamsRulesTest()
1543 u_unescape(chTest[i], t1, 256); in TestChMove()
1544 u_unescape(chTest[j], t2, 256); in TestChMove()
1627 u_unescape(s1, t1, 256); in TestFCDProblem()
1628 u_unescape(s2, t2, 256); in TestFCDProblem()
2029 rlen = u_unescape(tests[i].rules, rlz, 2048); in TestRedundantRules()
2040 rlen = u_unescape(tests[i].expectedRules, rlz, 2048); in TestRedundantRules()
2092 rlen = u_unescape(rules[i], rlz, 2048); in TestExpansionSyntax()
2102 rlen = u_unescape(expectedRules[i], rlz, 2048); in TestExpansionSyntax()
2496 blen = u_unescape(caseBitData[i], b, 256);
[all …]
Dcapitst.c1404 uint32_t rlzLen = u_unescape(rules, rlz, 256); in TestGetLocale()
1607 buffSize = u_unescape(tests[i].original, buffer, 512); in TestBounds()
1653 buffSize = u_unescape(test[i], buffer, 512); in TestBounds()
1658 buffSize = u_unescape(test[j], buffer, 512); in TestBounds()
1708 strLen = u_unescape(cString, uString, 256); in TestSortKeyBufferOverrun()
1856 buffLen = u_unescape(setTest[i].rules, buff, 1024); in TestGetTailoredSet()
1864 buffLen = u_unescape(setTest[i].tests[j], buff, 1024); in TestGetTailoredSet()
1925 unescapedLen = u_unescape(prefix, buffer, 256); in TestMergeSortKeys()
1928 unescapedLen = u_unescape(suffix, buffer, 256); in TestMergeSortKeys()
1937 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()
Dcpluralrulestest.c77 u_unescape(testItemPtr->keywordExpected, keywordExpected, kKeywordBufLen); in TestPluralRules()
Dcitertst.c358 int rulelen = u_unescape(str, rule, 50); in TestNormalization()
380 srclen = u_unescape(testdata[0], source, 10); in TestNormalization()
385 srclen = u_unescape(testdata[1], source, 10); in TestNormalization()
391 srclen = u_unescape(testdata[count], source, 10); in TestNormalization()
1366 int rulelen = u_unescape(rulestr, rule, 50); in TestDiscontiguos()
1417 int strLen = u_unescape(src[count], str, 20); in TestDiscontiguos()
1426 u_unescape(tgt[count], tstr, 20); in TestDiscontiguos()
Dcallcoll.c611 u_unescape(s[i], t1, 2048); in genericOrderingTestWithResult()
612 u_unescape(s[j], t2, 2048); in genericOrderingTestWithResult()
666 uint32_t rlen = u_unescape(rules, rlz, RULE_BUFFER_LEN); in genericRulesStarterWithOptionsAndResult()
715 uint32_t rlen = u_unescape(rules, rlz, RULE_BUFFER_LEN); in genericRulesStarterWithResult()
1105 rlen = u_unescape(str, rules, len); in TestSurrogates()
/external/icu4c/samples/legacy/
Dlegacy.cpp93 u_unescape(test[i], uTest[i], 5); in main()
101 u_unescape(test[i], uTest[i], 5); in main()
/external/icu4c/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/icu4c/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()

123