Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/samples/dtptngsample/
Ddtptngsample.cpp50getTerminatedBuffer(),UnicodeString("en_US").getTerminatedBuffer(),UnicodeString("fr_FR").getTermi… in getBestPatternExample()
52 u_fprintf(f, "%-20S",skeletons[i].getTerminatedBuffer()); in getBestPatternExample()
64 u_fprintf(f, "%-20S", dateReturned.getTerminatedBuffer()); in getBestPatternExample()
100 u_printf("%S\n", pattern.getTerminatedBuffer()); in addPatternExample()
102 u_printf("%S\n", dateReturned.getTerminatedBuffer()); in addPatternExample()
136 u_fprintf(out, "%S\n", UnicodeString("Pattern before replacement:").getTerminatedBuffer()); in replaceFieldTypesExample()
137 u_fprintf(out, "%S\n", pattern.getTerminatedBuffer()); in replaceFieldTypesExample()
140 u_fprintf(out, "%S\n", UnicodeString("Date/Time format in fr_FR:").getTerminatedBuffer()); in replaceFieldTypesExample()
141 u_fprintf(out, "%S\n", dateReturned.getTerminatedBuffer()); in replaceFieldTypesExample()
148 u_fprintf(out, "%S\n", UnicodeString("Pattern after replacement:").getTerminatedBuffer()); in replaceFieldTypesExample()
[all …]
/external/icu/icu4c/source/samples/dtitvfmtsample/
Ddtitvfmtsample.cpp61 …(out,"%-10S%-22S%-22S",skeletons[j].getTerminatedBuffer(),data[i].getTerminatedBuffer(),data[i+1]. in dtitvfmtPreDefined()
70 … u_fprintf(out,"%-35S%-35S\n", formatEn.getTerminatedBuffer(),formatJa.getTerminatedBuffer()); in dtitvfmtPreDefined()
125 …ut,"%-10S%-22S%-22S", skeletons[i].getTerminatedBuffer(),data[j].getTerminatedBuffer(), data[j+1]. in dtitvfmtCustomized()
132 u_fprintf(out,"%-45S%-35S\n", formatEn.getTerminatedBuffer(),formatJa.getTerminatedBuffer()); in dtitvfmtCustomized()
/external/icu/icu4c/source/samples/plurfmtsample/
Dplurfmtsample.cpp57 …u_printf("%-16d%-16S%-16S\n", numbers[i], msgEn.getTerminatedBuffer(),msgSl.getTerminatedBuffer()); in PluralFormatExample()
76 …u_printf("%-16d%-16S%-16S\n", numbers[i], msgEn.getTerminatedBuffer(), msgSl.getTerminatedBuffer()… in PluralFormatExample()
/external/icu/icu4c/source/extra/uconv/
Duconv.cpp293 u_wmsg(stderr, "cantGetAliases", str.getTerminatedBuffer(), in printConverters()
307 u_wmsg(stderr, "cantGetAliases", str.getTerminatedBuffer(), in printConverters()
675 u_wmsg(stderr, "cantCreateTranslitParseErr", str.getTerminatedBuffer(), in convertFile()
678 u_wmsg(stderr, "cantCreateTranslit", str.getTerminatedBuffer(), in convertFile()
701 u_wmsg(stderr, "cantOpenFromCodeset", str.getTerminatedBuffer(), in convertFile()
716 u_wmsg(stderr, "cantOpenToCodeset", str.getTerminatedBuffer(), in convertFile()
745 u_wmsg(stderr, "cantRead", str.getTerminatedBuffer()); in convertFile()
822 UnicodeString(pos, length, "").getTerminatedBuffer(), in convertFile()
823 str.getTerminatedBuffer(), in convertFile()
1011 UnicodeString(pos, length, "").getTerminatedBuffer(), in convertFile()
[all …]
/external/icu/icu4c/source/test/perf/howExpensiveIs/
DhowExpensiveIs.cpp284 …return unum_open(UNUM_PATTERN_DECIMAL, fPat.getTerminatedBuffer(), -1, TEST_LOCALE, 0, &setupStatu… in initFmt()
296 fStr(fString.getTerminatedBuffer()), in NumTest()
412 …return unum_open(UNUM_PATTERN_DECIMAL, fPat.getTerminatedBuffer(), -1, TEST_LOCALE, 0, &setupStatu… in initFmt()
424 fStr(fString.getTerminatedBuffer()), in NumFmtTest()
499 …return unum_open(UNUM_PATTERN_DECIMAL, fPat.getTerminatedBuffer(), -1, TEST_LOCALE, 0, &setupStatu… in initFmt()
503 unum_applyPattern(fmt, FALSE, fPat.getTerminatedBuffer(), -1, NULL, &setupStatus); in initFmt()
508 …UNumberFormat *fmt = unum_open(UNUM_PATTERN_DECIMAL, fPat.getTerminatedBuffer(), -1, TEST_LOCALE, … in initFmt()
515 unum_applyPattern(fmt, FALSE, fPat.getTerminatedBuffer(), -1, NULL, &setupStatus); in initFmt()
548 fStr(fString.getTerminatedBuffer()), in NumFmtInt64Test()
639 fStr(fString.getTerminatedBuffer()), in NumFmtStringPieceTest()
[all …]
/external/icu/icu4c/source/test/intltest/
Dustrtest.cpp945 test1.startsWith(test3.getTerminatedBuffer(), 0, -1) in TestPrefixAndSuffix()
964 if(!test1.endsWith(test3.getTerminatedBuffer(), 0, -1)) { in TestPrefixAndSuffix()
1109 q=test1.getTerminatedBuffer(); in TestMiscellaneous()
1116 q=test1.getTerminatedBuffer(); in TestMiscellaneous()
1122 q=test1.getTerminatedBuffer(); in TestMiscellaneous()
1130 test1.append(UnicodeString(TRUE, u" lila", 5).getTerminatedBuffer(), 0, -1); in TestMiscellaneous()
1156 if(test1.length()!=5 || test1.getTerminatedBuffer()[5]!=0) { in TestMiscellaneous()
1159 if(test2.length()!=36 || test2[5]!=0x66 || u_strlen(test2.getTerminatedBuffer())!=36) { in TestMiscellaneous()
1167 if(test1.length()!=0 || test1.getTerminatedBuffer()[0]!=0) { in TestMiscellaneous()
1170 if(test2.length()!=36 || test2[0]!=0x61 || u_strlen(test2.getTerminatedBuffer())!=36) { in TestMiscellaneous()
[all …]
Ducharstrietest.cpp866 result=trie.next(expectedString.getTerminatedBuffer(), stringLength)) || in checkNext()
967 result=trie.next(expectedString.getTerminatedBuffer()+partialLength, in checkNextWithState()
975 next(expectedString.getTerminatedBuffer()+partialLength, in checkNextWithState()
997 if(!trie.next(expectedString.getTerminatedBuffer(), stringLength/2)) { in checkNextString()
1002 if(trie.next(expectedString.getTerminatedBuffer()+stringLength/2, in checkNextString()
Dtufmtts.cpp424 u_strToUTF8(tmp, 128, &len, str.getTerminatedBuffer(), str.length(), &status); in testGreekWithFallback()
425 …u_strToUTF8(tmp1, 128, &len, expected[counter].unescape().getTerminatedBuffer(), expected[counter]… in testGreekWithFallback()
Dcollationtest.cpp1759 prevString.getTerminatedBuffer(); // Ensure NUL-termination. in checkCompareStrings()
1776 s.getTerminatedBuffer(); // Ensure NUL-termination. in checkCompareStrings()
1791 pn.getTerminatedBuffer(); in checkCompareStrings()
1792 n.getTerminatedBuffer(); in checkCompareStrings()
1802 prevString.getTerminatedBuffer(); // Ensure NUL-termination. in checkCompareStrings()
Didnaconf.cpp231 const UChar *p = namebase.getTerminatedBuffer(); in Call()
Dconvtest.cpp286 p=s.getTerminatedBuffer(); in TestFromUnicode()
714 …cnv_fromUChars(cnv, output, 10, UnicodeString::fromUTF32(input, 1).getTerminatedBuffer(), -1, &sta… in TestDefaultIgnorableCallback()
732 …cnv_fromUChars(cnv, output, 10, UnicodeString::fromUTF32(input, 1).getTerminatedBuffer(), -1, &sta… in TestDefaultIgnorableCallback()
Dnumfmtdatadriventest.cpp86 const UChar* terminatedCurrency = currency.getTerminatedBuffer(); in adjustDecimalFormat()
/external/icu/icu4c/source/samples/citer/
Dciter.cpp59 const UChar *testText = testString.getTerminatedBuffer(); in TestUChariter()
126 const UChar *testText = testString.getTerminatedBuffer(); in TestStringiter()
/external/icu/icu4c/source/i18n/
Dwinnmfmt.cpp233 …eName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffer())); in Win32NumberFormat()
283 …eName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffer())); in operator =()
396 …eName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffer())); in format()
Dcollationtailoring.cpp52 rules.getTerminatedBuffer(); // ensure NUL-termination in CollationTailoring()
Dwindtfmt.cpp316 …eName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffer())); in formatDate()
349 …eName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffer())); in formatTime()
Ddtptngen.cpp385 dateTimeFormat.getTerminatedBuffer(); in operator =()
386 decimal.getTerminatedBuffer(); in operator =()
401 appendItemFormats[i].getTerminatedBuffer(); // NUL-terminate for the C API. in operator =()
404 fieldDisplayNames[i][j].getTerminatedBuffer(); // NUL-terminate for the C API. in operator =()
892 valueStr.getTerminatedBuffer(); in fillInMissing()
1003 appendItemFormats[field].getTerminatedBuffer(); in setAppendItemFormat()
1025 fieldDisplayNames[field][width].getTerminatedBuffer(); in setFieldDisplayName()
1214 this->decimal.getTerminatedBuffer(); in setDecimal()
1239 dateTimeFormat.getTerminatedBuffer(); in setDateTimeFormat()
1295 decimal.getTerminatedBuffer(); in setDecimalSymbols()
Dtznames_impl.cpp552 return this->get(nonConstStr.getTerminatedBuffer(), status); in get()
664 const UChar* buff = locationNameUniStr.getTerminatedBuffer(); in createTimeZoneAndPutInCache()
1516 void* cacheVal = uhash_get(tzn.fMZNamesMap, mzID.getTerminatedBuffer()); in consumeNamesTable()
1529 void* cacheVal = uhash_get(tzn.fTZNamesMap, tzID.getTerminatedBuffer()); in consumeNamesTable()
1664 void* value = uhash_get(fTZNamesMap, copy.getTerminatedBuffer()); in internalLoadAllDisplayNames()
Dastro.cpp54 u_austrncpy(gStrBuf,str.getTerminatedBuffer(),sizeof(gStrBuf)-1); in debug_astro_date()
Dfmtable.cpp981 return str.getTerminatedBuffer(); in ufmt_getUChars()
Dunum.cpp722 df->setCurrency(val.getTerminatedBuffer(), *status); in unum_setTextAttribute()
Dtranslit.cpp175 ID.getTerminatedBuffer(); in operator =()
/external/icu/icu4c/source/samples/case/
Dcase.cpp27 u_fprintf(out, "\"%S\"", other.getTerminatedBuffer()); in printUnicodeString()
/external/icu/icu4c/source/common/
Dustrenum.cpp69 return unistr.getTerminatedBuffer(); in unext()
/external/icu/icu4c/source/tools/genrb/
Dreslist.cpp275 fString.getTerminatedBuffer(); // Some code relies on NUL-termination. in StringBaseResource()
290 fString.getTerminatedBuffer(); // Some code relies on NUL-termination. in StringBaseResource()

12