Home
last modified time | relevance | path

Searched refs:u_fprintf (Results 1 – 14 of 14) sorted by relevance

/external/icu/icu4c/source/samples/citer/
Dciter.cpp22 u_fprintf(out, "%S", &s); in printUnicodeString()
28 u_fprintf(out, "%C", (UChar) ch); in printUChar()
30 u_fprintf(out, "[CharacterIterator::DONE = 0xFFFF]"); in printUChar()
32 u_fprintf(out, "[%X]", ch); in printUChar()
53 u_fprintf(out, "testText = %s", testChars); in TestUChariter()
56 u_fprintf(out, "clone() or equals() failed: Two clones tested unequal\n"); in TestUChariter()
64 u_fprintf(out, "iter.getText() != clone.getText()\n"); in TestUChariter()
67 u_fprintf(out, "\n"); in TestUChariter()
70 u_fprintf(out, "Forward = "); in TestUChariter()
77 u_fprintf(out, "startIndex() or endIndex() failed\n"); in TestUChariter()
[all …]
/external/icu/icu4c/source/samples/uresb/
Duresb.c152 u_fprintf(out, "uresb: processing file \"%s\" in path \"%s\"\n", arg, resPath); in main()
155 u_fprintf(out, "%s\n", arg); in main()
178 u_fprintf(out, "%s", inchar); in printIndent()
182 u_fprintf(out, "%02X", (uint8_t)*what); in printHex()
242 u_fprintf(out, "%s { \"%S\" } ", key, string); in printOutBundle()
244 u_fprintf(out, "\"%S\",", string); in printOutBundle()
247 u_fprintf(out, " // STRING"); in printOutBundle()
249 u_fprintf(out, "\n"); in printOutBundle()
256 u_fprintf(out, "%s", key); in printOutBundle()
258 u_fprintf(out, ":int { %li } ", ures_getInt(resource, status)); in printOutBundle()
[all …]
/external/icu/icu4c/source/samples/case/
Dcase.cpp19 u_fprintf(out, "\"%S\"", other.getTerminatedBuffer()); in printUnicodeString()
35u_fprintf(out, "Warning- couldn't set the substitute callback - err %s\n", u_errorName(status)); in main()
40 u_fprintf(out,"ICU Case Mapping Sample Program\n\n"); in main()
41 u_fprintf(out, "C++ Case Mapping\n\n"); in main()
52 u_fprintf(out, "\nstring: "); in main()
55 u_fprintf(out, "\ntoUpper(): "); in main()
58 u_fprintf(out, "\ntoLower(): "); in main()
61 u_fprintf(out, "\n\nlowercase=%S, uppercase=%S\n", lowercase, uppercase); in main()
67 u_fprintf(out, "\nupper.toLower: "); in main()
73 u_fprintf(out, "\nlower.toUpper: "); in main()
[all …]
Ducase.c39 u_fprintf(out, "toupper(%C) = %C\n", char_k, ch); in c_main()
41 u_fprintf(out, "tolower() = %C\n", ch); in c_main()
43 u_fprintf(out, "totitle(%C) = %C\n", char_k, ch); in c_main()
45 u_fprintf(out, "u_foldCase(%C, U_FOLD_CASE_DEFAULT) = %C\n", char_K, (UChar) ch); in c_main()
53 u_fprintf(out, "error in u_strToLower(Turkish locale)=%ld error=%s\n", length, in c_main()
57 u_fprintf(out, "u_strToLower(%S, turkish) -> %S\n", upper, buffer); in c_main()
66 u_fprintf(out, "error in u_strToLower(English locale)=%ld error=%s\n", length, in c_main()
69 u_fprintf(out, "u_strToUpper(%S, english) -> %S\n", lower, buffer); in c_main()
78 u_fprintf(out, "error in u_strFoldCase()=%ld error=%s\n", length, in c_main()
81 u_fprintf(out, "u_strFoldCase(%S, U_FOLD_CASE_DEFAULT) -> %S\n", unfold, buffer); in c_main()
[all …]
/external/icu/icu4c/source/samples/dtptngsample/
Ddtptngsample.cpp47u_fprintf(f, "%-20S%-20S%-20S%-20S\n", UnicodeString("Skeleton").getTerminatedBuffer(),UnicodeStri… in getBestPatternExample()
49 u_fprintf(f, "%-20S",skeletons[i].getTerminatedBuffer()); in getBestPatternExample()
61 u_fprintf(f, "%-20S", dateReturned.getTerminatedBuffer()); in getBestPatternExample()
65 u_fprintf(f,"\n"); in getBestPatternExample()
133 u_fprintf(out, "%S\n", UnicodeString("Pattern before replacement:").getTerminatedBuffer()); in replaceFieldTypesExample()
134 u_fprintf(out, "%S\n", pattern.getTerminatedBuffer()); in replaceFieldTypesExample()
137 u_fprintf(out, "%S\n", UnicodeString("Date/Time format in fr_FR:").getTerminatedBuffer()); in replaceFieldTypesExample()
138 u_fprintf(out, "%S\n", dateReturned.getTerminatedBuffer()); in replaceFieldTypesExample()
145 u_fprintf(out, "%S\n", UnicodeString("Pattern after replacement:").getTerminatedBuffer()); in replaceFieldTypesExample()
146 u_fprintf(out, "%S\n", newPattern.getTerminatedBuffer()); in replaceFieldTypesExample()
[all …]
/external/icu/icu4c/source/test/iotest/
Dfiletst.c69 u_fprintf(myFile, "Signed decimal integer %%d: %d\n", *n); in TestFileFromICU()
70 u_fprintf(myFile, "Signed decimal integer %%i: %i\n", *n); in TestFileFromICU()
71 u_fprintf(myFile, "Unsigned octal integer %%o: %o\n", *n); in TestFileFromICU()
72 u_fprintf(myFile, "Unsigned decimal integer %%u: %u\n", *n); in TestFileFromICU()
73 u_fprintf(myFile, "Lowercase unsigned hexadecimal integer %%x: %x\n", *n); in TestFileFromICU()
74 u_fprintf(myFile, "Uppercase unsigned hexadecimal integer %%X: %X\n", *n); in TestFileFromICU()
75 u_fprintf(myFile, "Float %%f: %f\n", myFloat); in TestFileFromICU()
76 u_fprintf(myFile, "Lowercase float %%e: %e\n", myFloat); in TestFileFromICU()
77 u_fprintf(myFile, "Uppercase float %%E: %E\n", myFloat); in TestFileFromICU()
78 u_fprintf(myFile, "Lowercase float %%g: %g\n", myFloat); in TestFileFromICU()
[all …]
Dtrnstst.c156 u_fprintf(f, "Stephanos"); in TestTranslitFileOut()
181 u_fprintf(f, "m"); in TestTranslitFileOut()
261 u_fprintf(f, "Stephanos"); in TestTranslitStringOut()
286 u_fprintf(f, "m"); in TestTranslitStringOut()
Dstrtst.c260 u_fprintf(strFile, "%d", 1234); in TestLocalizedString()
283 u_fprintf(strFile, "%d", 1234); in TestLocalizedString()
298 u_fprintf(strFile, "%d", 1234); in TestLocalizedString()
/external/icu/icu4c/source/tools/genrb/
Dderb.cpp184 u_fprintf(ustderr, "processing bundle \"%s\"\n", argv[i]); in main()
269 u_fprintf(ustderr, "%s: couldn't create %s\n", pname, thefile.data()); in main()
278 u_fprintf(ustderr, "%s: couldn't configure converter for encoding\n", pname); in main()
289u_fprintf(out, "// -*- Coding: %s; -*-\n//\n", encoding ? encoding : getEncodingName(ucnv_getDefau… in main()
290 u_fprintf(out, "// This file was dumped by derb(8) from "); in main()
292 u_fprintf(out, "%s", thename); in main()
294 u_fprintf(out, "the ICU internal %s locale", locale.data()); in main()
297 u_fprintf(out, "\n// derb(8) by Vladimir Weinstein and Yves Arrouye\n\n"); in main()
300 u_fprintf(out, "%s", locale.data()); in main()
302u_fprintf(out, "%.*s%.*S", (int32_t)(ext - filename), filename, UPRV_LENGTHOF(sp), sp); in main()
[all …]
/external/icu/icu4c/source/samples/dtitvfmtsample/
Ddtitvfmtsample.cpp53u_fprintf(out,"%-10s%-22s%-22s%-35s%-35s\n", "Skeleton","from","to","Date Interval in en_US","Date… in dtitvfmtPreDefined()
58u_fprintf(out,"%-10S%-22S%-22S",skeletons[j].getTerminatedBuffer(),data[i].getTerminatedBuffer(),d… in dtitvfmtPreDefined()
67u_fprintf(out,"%-35S%-35S\n", formatEn.getTerminatedBuffer(),formatJa.getTerminatedBuffer()); in dtitvfmtPreDefined()
122u_fprintf(out,"%-10S%-22S%-22S", skeletons[i].getTerminatedBuffer(),data[j].getTerminatedBuffer(),… in dtitvfmtCustomized()
129 u_fprintf(out,"%-45S%-35S\n", formatEn.getTerminatedBuffer(),formatJa.getTerminatedBuffer()); in dtitvfmtCustomized()
/external/icu/icu4c/source/samples/ufortune/
Dufortune.c109 u_fprintf(u_stdout, "%s: checking output via icuio.\n", programName); in main()
133 u_fprintf(u_stdout, "status from ures_open(\"fortune_resources\", %s) is %s\n", in main()
149 u_fprintf(u_stdout, " %s\n", optionError); /* optionError is char *, from argv */ in main()
/external/icu/icu4c/source/io/
Duprintf.cpp111 u_fprintf( UFILE *f, in u_fprintf() function
/external/icu/icu4c/source/io/unicode/
Dustdio.h497 u_fprintf(UFILE *f,
/external/icu/icu4c/source/common/unicode/
Durename.h247 #define u_fprintf U_ICU_ENTRY_POINT_RENAME(u_fprintf) macro