Home
last modified time | relevance | path

Searched refs:getTerminatedBuffer (Results 1 – 25 of 33) sorted by relevance

12

/external/icu/icu4c/source/samples/dtptngsample/
Ddtptngsample.cpp47getTerminatedBuffer(),UnicodeString("en_US").getTerminatedBuffer(),UnicodeString("fr_FR").getTermi… in getBestPatternExample()
49 u_fprintf(f, "%-20S",skeletons[i].getTerminatedBuffer()); in getBestPatternExample()
61 u_fprintf(f, "%-20S", dateReturned.getTerminatedBuffer()); in getBestPatternExample()
97 u_printf("%S\n", pattern.getTerminatedBuffer()); in addPatternExample()
99 u_printf("%S\n", dateReturned.getTerminatedBuffer()); in addPatternExample()
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()
[all …]
/external/icu/icu4c/source/samples/dtitvfmtsample/
Ddtitvfmtsample.cpp58 …(out,"%-10S%-22S%-22S",skeletons[j].getTerminatedBuffer(),data[i].getTerminatedBuffer(),data[i+1]. in dtitvfmtPreDefined()
67 … u_fprintf(out,"%-35S%-35S\n", formatEn.getTerminatedBuffer(),formatJa.getTerminatedBuffer()); in dtitvfmtPreDefined()
122 …ut,"%-10S%-22S%-22S", skeletons[i].getTerminatedBuffer(),data[j].getTerminatedBuffer(), data[j+1]. in dtitvfmtCustomized()
129 u_fprintf(out,"%-45S%-35S\n", formatEn.getTerminatedBuffer(),formatJa.getTerminatedBuffer()); in dtitvfmtCustomized()
/external/icu/icu4c/source/samples/plurfmtsample/
Dplurfmtsample.cpp51 …u_printf("%-16d%-16S%-16S\n", numbers[i], msgEn.getTerminatedBuffer(),msgSl.getTerminatedBuffer()); in PluralFormatExample()
70 …u_printf("%-16d%-16S%-16S\n", numbers[i], msgEn.getTerminatedBuffer(), msgSl.getTerminatedBuffer()… in PluralFormatExample()
/external/icu/icu4c/source/extra/uconv/
Duconv.cpp291 u_wmsg(stderr, "cantGetAliases", str.getTerminatedBuffer(), in printConverters()
305 u_wmsg(stderr, "cantGetAliases", str.getTerminatedBuffer(), in printConverters()
673 u_wmsg(stderr, "cantCreateTranslitParseErr", str.getTerminatedBuffer(), in convertFile()
676 u_wmsg(stderr, "cantCreateTranslit", str.getTerminatedBuffer(), in convertFile()
699 u_wmsg(stderr, "cantOpenFromCodeset", str.getTerminatedBuffer(), in convertFile()
714 u_wmsg(stderr, "cantOpenToCodeset", str.getTerminatedBuffer(), in convertFile()
743 u_wmsg(stderr, "cantRead", str.getTerminatedBuffer()); in convertFile()
820 UnicodeString(pos, length, "").getTerminatedBuffer(), in convertFile()
821 str.getTerminatedBuffer(), in convertFile()
1009 UnicodeString(pos, length, "").getTerminatedBuffer(), in convertFile()
[all …]
/external/icu/icu4c/source/test/perf/howExpensiveIs/
DhowExpensiveIs.cpp279 …return unum_open(UNUM_PATTERN_DECIMAL, fPat.getTerminatedBuffer(), -1, TEST_LOCALE, 0, &setupStatu… in initFmt()
291 fStr(fString.getTerminatedBuffer()), in NumTest()
407 …return unum_open(UNUM_PATTERN_DECIMAL, fPat.getTerminatedBuffer(), -1, TEST_LOCALE, 0, &setupStatu… in initFmt()
419 fStr(fString.getTerminatedBuffer()), in NumFmtTest()
494 …return unum_open(UNUM_PATTERN_DECIMAL, fPat.getTerminatedBuffer(), -1, TEST_LOCALE, 0, &setupStatu… in initFmt()
498 unum_applyPattern(fmt, FALSE, fPat.getTerminatedBuffer(), -1, NULL, &setupStatus); in initFmt()
503 …UNumberFormat *fmt = unum_open(UNUM_PATTERN_DECIMAL, fPat.getTerminatedBuffer(), -1, TEST_LOCALE, … in initFmt()
510 unum_applyPattern(fmt, FALSE, fPat.getTerminatedBuffer(), -1, NULL, &setupStatus); in initFmt()
543 fStr(fString.getTerminatedBuffer()), in NumFmtInt64Test()
634 fStr(fString.getTerminatedBuffer()), in NumFmtStringPieceTest()
[all …]
/external/icu/icu4c/source/test/intltest/
Dustrtest.cpp944 test1.startsWith(test3.getTerminatedBuffer(), 0, -1) in TestPrefixAndSuffix()
963 if(!test1.endsWith(test3.getTerminatedBuffer(), 0, -1)) { in TestPrefixAndSuffix()
1108 q=test1.getTerminatedBuffer(); in TestMiscellaneous()
1115 q=test1.getTerminatedBuffer(); in TestMiscellaneous()
1121 q=test1.getTerminatedBuffer(); in TestMiscellaneous()
1127 test1.append(UNICODE_STRING(" lila", 5).getTerminatedBuffer(), 0, -1); in TestMiscellaneous()
1157 if(test1.length()!=5 || test1.getTerminatedBuffer()[5]!=0) { in TestMiscellaneous()
1160 if(test2.length()!=36 || test2[5]!=0x66 || u_strlen(test2.getTerminatedBuffer())!=36) { in TestMiscellaneous()
1168 if(test1.length()!=0 || test1.getTerminatedBuffer()[0]!=0) { in TestMiscellaneous()
1171 if(test2.length()!=36 || test2[0]!=0x61 || u_strlen(test2.getTerminatedBuffer())!=36) { in TestMiscellaneous()
[all …]
Ducharstrietest.cpp863 result=trie.next(expectedString.getTerminatedBuffer(), stringLength)) || in checkNext()
964 result=trie.next(expectedString.getTerminatedBuffer()+partialLength, in checkNextWithState()
972 next(expectedString.getTerminatedBuffer()+partialLength, in checkNextWithState()
994 if(!trie.next(expectedString.getTerminatedBuffer(), stringLength/2)) { in checkNextString()
999 if(trie.next(expectedString.getTerminatedBuffer()+stringLength/2, in checkNextString()
Dtufmtts.cpp378 u_strToUTF8(tmp, 128, &len, str.getTerminatedBuffer(), str.length(), &status); in testGreekWithFallback()
379 …u_strToUTF8(tmp1, 128, &len, expected[counter].unescape().getTerminatedBuffer(), expected[counter]… in testGreekWithFallback()
Didnaconf.cpp229 const UChar *p = namebase.getTerminatedBuffer(); in Call()
Dcollationtest.cpp1766 prevString.getTerminatedBuffer(); // Ensure NUL-termination. in checkCompareStrings()
1783 s.getTerminatedBuffer(); // Ensure NUL-termination. in checkCompareStrings()
1798 pn.getTerminatedBuffer(); in checkCompareStrings()
1799 n.getTerminatedBuffer(); in checkCompareStrings()
1809 prevString.getTerminatedBuffer(); // Ensure NUL-termination. in checkCompareStrings()
Dconvtest.cpp288 p=s.getTerminatedBuffer(); in TestFromUnicode()
721 …cnv_fromUChars(cnv, output, 10, UnicodeString::fromUTF32(input, 1).getTerminatedBuffer(), -1, &sta… in TestDefaultIgnorableCallback()
739 …cnv_fromUChars(cnv, output, 10, UnicodeString::fromUTF32(input, 1).getTerminatedBuffer(), -1, &sta… in TestDefaultIgnorableCallback()
Dintltest.cpp978 …knownList = udbg_knownIssue_openU(knownList, ticket, fullpath, msg2.getTerminatedBuffer(), &firstF… in logKnownIssue()
/external/icu/icu4c/source/samples/citer/
Dciter.cpp48 const UChar *testText = testString.getTerminatedBuffer(); in TestUChariter()
115 const UChar *testText = testString.getTerminatedBuffer(); in TestStringiter()
/external/icu/icu4c/source/samples/case/
Dcase.cpp19 u_fprintf(out, "\"%S\"", other.getTerminatedBuffer()); in printUnicodeString()
/external/icu/icu4c/source/i18n/
Dcollationtailoring.cpp50 rules.getTerminatedBuffer(); // ensure NUL-termination in CollationTailoring()
Ddtptngen.cpp367 dateTimeFormat.getTerminatedBuffer(); in operator =()
368 decimal.getTerminatedBuffer(); in operator =()
380 appendItemFormats[i].getTerminatedBuffer(); in operator =()
381 appendItemNames[i].getTerminatedBuffer(); in operator =()
570 appendItemNames[i].getTerminatedBuffer(); in addCLDRData()
780 appendItemFormats[field].getTerminatedBuffer(); in setAppendItemFormat()
792 appendItemNames[field].getTerminatedBuffer(); in setAppendItemName()
894 this->decimal.getTerminatedBuffer(); in setDecimal()
916 dateTimeFormat.getTerminatedBuffer(); in setDateTimeFormat()
951 decimal.getTerminatedBuffer(); in setDecimalSymbols()
Dastro.cpp52 u_austrncpy(gStrBuf,str.getTerminatedBuffer(),sizeof(gStrBuf)-1); in debug_astro_date()
Dfmtable.cpp990 return str.getTerminatedBuffer(); in ufmt_getUChars()
Dunum.cpp636 df->setCurrency(val.getTerminatedBuffer(), *status); in unum_setTextAttribute()
Dlocdspnm.cpp773 const UChar *currencyName = ucurr_getName(ustrValue.getTerminatedBuffer(), in keyValueDisplayName()
Dtransreg.cpp913 newID->getTerminatedBuffer(); in registerEntry()
Dtranslit.cpp173 ID.getTerminatedBuffer(); in operator =()
Dtimezone.cpp186 …ing for %s, between %d and %d\n", U_DEBUG_TZ_STR(UnicodeString(id).getTerminatedBuffer()), start, … in findInStringArray()
/external/icu/icu4c/source/common/
Dustrenum.cpp67 return unistr.getTerminatedBuffer(); in unext()
Dunistr.cpp1103 UnicodeString::getTerminatedBuffer() { in getTerminatedBuffer() function in UnicodeString

12