Searched refs:ucnv_toUChars (Results 1 - 21 of 21) sorted by relevance

/external/icu/icu4c/source/i18n/
H A Dcsmatch.cpp62 int32_t result = ucnv_toUChars(conv, buf, cap, (const char *) textIn->fRawInput, textIn->fRawLength, status);
/external/icu/icu4c/source/test/cintltst/
H A Deurocreg.c160 euroBackSize = ucnv_toUChars(myConv,
169 log_err("Failure Occured in ucnv_toUChars euro roundtrip test\n");
H A Dcstrtest.c250 length=ucnv_toUChars(cnv, us, UPRV_LENGTHOF(us), invariantChars, -1, &errorCode);
252 log_err("ucnv_toUChars(invariantChars) failed - %s\n", u_errorName(errorCode));
254 log_err("ucnv_toUChars(invariantChars) failed\n");
H A Dcbiapts.c105 numUChars = ucnv_toUChars(cnv,
115 ucnv_toUChars(cnv, dest->str, numUChars+1, src, -1, &status);
H A Dbocu1tst.c911 roundtripICULength=ucnv_toUChars(bocu1, roundtripICU, DEFAULT_BUFFER_SIZE, bocu1ICU, bocu1ICULength, &errorCode);
913 log_err("ucnv_toUChars(BOCU-1, text(%d)[%d]) failed: %s\n", number, length, u_errorName(errorCode));
H A Dccapitst.c863 /*testing ucnv_fromUChars() and ucnv_toUChars() */
888 log_verbose("\n---Testing ucnv_toUChars()\n");
891 targetsize = ucnv_toUChars(myConverter,
903 targetsize = ucnv_toUChars(myConverter,
911 log_err("ucnv_toUChars() FAILED %s\n", myErrorName(err));
913 log_verbose(" ucnv_toUChars() o.k.\n");
922 /*Testing ucnv_fromUChars and ucnv_toUChars with error conditions*/
947 targetsize = ucnv_toUChars(myConverter, uchar2, targetsize, output_cp_buffer, strlen(output_cp_buffer), &err);
949 log_err("\nFAILURE: ucnv_toUChars with err != U_ZERO_ERROR is expected to fail and return 0\n");
952 targetsize = ucnv_toUChars(myConverte
[all...]
H A Dnucnvtst.c1554 sjisLength = ucnv_toUChars(sjis_cnv, sjisResult, sizeof(sjisResult)/U_SIZEOF_UCHAR, target, (int32_t)strlen(target), &status);
1563 /*asciiLength =*/ ucnv_toUChars(ascii_cnv, asciiResult, sizeof(asciiResult)/U_SIZEOF_UCHAR, target, (int32_t)strlen(target), &status);
2871 ucnv_toUChars(cnv,uTarget,(int32_t)(uTargetLimit-uTarget),cSource,numCharsInTarget,&errorCode);
2873 log_err("ucnv_toUChars conversion failed, reason %s\n", u_errorName(errorCode));
/external/icu/icu4c/source/samples/ugrep/
H A Dugrep.cpp328 uint32_t destCap = ucnv_toUChars(conv,
335 fprintf(stderr, "ugrep: ucnv_toUChars: ICU Error \"%s\"\n", u_errorName(status));
341 ucnv_toUChars(conv,
348 fprintf(stderr, "ugrep: ucnv_toUChars: ICU Error \"%s\"\n", u_errorName(status));
/external/icu/icu4c/source/tools/genbrk/
H A Dgenbrk.cpp254 uint32_t destCap = ucnv_toUChars(conv,
261 fprintf(stderr, "ucnv_toUChars: ICU Error \"%s\"\n", u_errorName(status));
267 ucnv_toUChars(conv,
274 fprintf(stderr, "ucnv_toUChars: ICU Error \"%s\"\n", u_errorName(status));
/external/icu/icu4c/source/common/
H A Dustr_cnv.cpp167 ucnv_toUChars(cnv,
H A Ducnv.c1775 ucnv_toUChars(UConverter *cnv, function
/external/icu/icu4c/source/test/intltest/
H A Didnaconf.cpp105 int dest_len = ucnv_toUChars(conv,
116 ucnv_toUChars(conv, dest, dest_len + 1, source, source_len, &status);
117 // Do not know the "if possible" behavior of ucnv_toUChars()
H A Dconvtest.cpp1134 // test ucnv_toUChars()
1138 resultLength=ucnv_toUChars(cnv.getAlias(),
1154 resultLength=ucnv_toUChars(cnv.getAlias(),
H A Drbbitst.cpp1664 ulen = ucnv_toUChars(conv,
1675 ucnv_toUChars(conv,
1688 errln("ucnv_toUChars: ICU Error \"%s\"\n", u_errorName(status));
H A Dregextst.cpp3954 ulen = ucnv_toUChars(conv,
3965 ucnv_toUChars(conv,
3978 errln("ucnv_toUChars: ICU Error \"%s\"\n", u_errorName(status));
4134 errln("ucnv_toUChars: ICU Error \"%s\"\n", u_errorName(status));
4503 errln("ucnv_toUChars: ICU Error \"%s\"\n", u_errorName(status));
/external/icu/icu4c/source/samples/ucnv/
H A Dconvsamp.cpp539 len = ucnv_toUChars(conv, target, 100, source, strlen(source), &status);
634 len = ucnv_toUChars(conv, uchars, 100, source, strlen(source), &status);
735 len = ucnv_toUChars(conv, uchars, 100, source, strlen(source), &status);
/external/icu/icu4c/source/samples/date/
H A Ddate.c233 len = ucnv_toUChars(cnv, uchars, ucharsSize, chars,charsSize, status);
/external/icu/icu4c/source/common/unicode/
H A Ducnv.h1275 ucnv_toUChars(UConverter *cnv,
1284 * Advantage compared to ucnv_toUnicode() or ucnv_toUChars():
1301 * (unlike ucnv_toUChars() which always resets first).
1310 * to convert using ucnv_toUnicode() or ucnv_toUChars()
1346 * @see ucnv_toUChars
1407 * Limitation compared to ucnv_fromUChars() and ucnv_toUChars():
1457 * @param source I/O parameter, same as for ucnv_toUChars().
1466 * @param pivotTarget I/O parameter, same as target in ucnv_toUChars() for
1491 * @see ucnv_toUChars
1554 * @see ucnv_toUChars
[all...]
H A Durename.h684 #define ucnv_toUChars U_ICU_ENTRY_POINT_RENAME(ucnv_toUChars) macro
/external/sfntly/cpp/src/sfntly/table/core/
H A Dname_table.cc695 ucnv_toUChars(cs, result, 12, buffer, 11, &error_code);
708 int32_t length = ucnv_toUChars(cs,
/external/icu/icu4c/source/test/perf/convperf/
H A Dconvperf.h43 int32_t reqdLen = ucnv_toUChars(conv, target, 0,

Completed in 513 milliseconds