Home
last modified time | relevance | path

Searched defs:u_unescape (Results 1 - 7 of 7) sorted by relevance

/third_party/icu/icu4c/source/common/
H A Dustring.cpp1377 u_unescape(const char *src, UChar *dest, int32_t destCapacity) { in u_unescape() function
/third_party/node/deps/icu-small/source/common/
H A Dustring.cpp1377 u_unescape(const char *src, char16_t *dest, int32_t destCapacity) { in u_unescape() function
/third_party/skia/third_party/externals/icu/source/common/
H A Dustring.cpp1379 u_unescape(const char *src, UChar *dest, int32_t destCapacity) { in u_unescape() function
/third_party/icu/icu4c/source/test/intltest/
H A Drbbitst.cpp3744 TEST_ASSERT(expectedcount < EXPECTEDSIZE); return; } expected[expectedcount ++] = i; } testBreakBoundPreceding(this, ustr, bi, expected, expectedcount); } delete bi; } void RBBITest::TestSentBreaks(void) { Locale locale(�); UErrorCode status = U_ZERO_ERROR; BreakIterator *bi = BreakIterator::createSentenceInstance(locale, status); UChar str[200]; static const char *strlist[] = { �, �, �, �, �, �, �, �, �, �, � � � �, � � � � � � }; int loop; if (U_FAILURE(status)) { errcheckln(status, �, u_errorName(status)); return; } for (loop = 0; loop < UPRV_LENGTHOF(strlist); loop ++) { u_unescape(strlist[loop], str, UPRV_LENGTHOF(str)); UnicodeString ustr(str); RBBISentMonkey monkey; if (U_FAILURE(monkey.deferredStatus)) { continue; } const int EXPECTEDSIZE = 50; int expected[EXPECTEDSIZE]; int expectedcount = 0; monkey.setText(ustr); int i; for (i = 0; i != BreakIterator::DONE; i = monkey.next(i)) { if (expectedcount >= EXPECTEDSIZE) { TEST_ASSERT(expectedcount < EXPECTEDSIZE); return; } expected[expectedcount ++] = i; } testBreakBoundPreceding(this, ustr, bi, expected, expectedcount); } delete bi; } void RBBITest::TestMonkey() { UErrorCode status = U_ZERO_ERROR; int32_t loopCount = 500; int32_t seed = 1; UnicodeString breakType = �; Locale locale(�); UBool useUText = false; if (quick == false) { loopCount = 10000; } if (fTestParams) { UnicodeString p(fTestParams); loopCount = getIntParam(�, p, loopCount); seed = getIntParam(�, p, seed); RegexMatcher m(�, p, 0, status); if (m.find()) { breakType = m.group(1, status); m.reset(); p = m.replaceFirst(�, status); } RegexMatcher u(�, p, 0, status); if (u.find()) { useUText = true; u.reset(); p = u.replaceFirst(�, status); } if (RegexMatcher(UNICODE_STRING_SIMPLE(�), p, 0, status).find()) { char buf[100]; p.extract(buf, sizeof(buf), NULL, status); buf[sizeof(buf)-1] = 0; errln(�, buf); return; } } if (breakType == � || breakType == �) { RBBICharMonkey m; BreakIterator *bi = BreakIterator::createCharacterInstance(locale, status); if (U_SUCCESS(status)) { RunMonkey(bi, m, �, seed, loopCount, useUText); if (breakType == � && useUText==false) { RunMonkey(bi, m, �, seed, loopCount, true); } } else { errcheckln(status, �, u_errorName(status)); } delete bi; } if (breakType == � || breakType == �) { logln(�); RBBIWordMonkey m; BreakIterator *bi = BreakIterator::createWordInstance(locale, status); if (U_SUCCESS(status)) { RunMonkey(bi, m, �, seed, loopCount, useUText); } else { errcheckln(status, �, u_errorName(status)); } delete bi; } if (breakType == � || breakType == �) { logln(�); RBBILineMonkey m; BreakIterator *bi = BreakIterator::createLineInstance(locale, status); if (loopCount >= 10) { loopCount = loopCount / 5; } if (U_SUCCESS(status)) { RunMonkey(bi, m, �, seed, loopCount, useUText); } else { errcheckln(status, �, u_errorName(status)); } delete bi; } if (breakType == � || breakType == � ) { logln(�); RBBISentMonkey m; BreakIterator *bi = BreakIterator::createSentenceInstance(locale, status); if (loopCount >= 10) TestLineBreaks() argument
/third_party/icu/icu4c/source/common/unicode/
H A Durename.h412 #define u_unescape U_ICU_ENTRY_POINT_RENAME(u_unescape) macro
/third_party/node/deps/icu-small/source/common/unicode/
H A Durename.h413 #define u_unescape U_ICU_ENTRY_POINT_RENAME(u_unescape) macro
/third_party/skia/third_party/externals/icu/source/common/unicode/
H A Durename.h406 #define u_unescape U_ICU_ENTRY_POINT_RENAME(u_unescape) macro

Completed in 43 milliseconds