Home
last modified time | relevance | path

Searched refs:getTerminatedBuffer (Results 1 – 25 of 41) 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.cpp948 test1.startsWith(test3.getTerminatedBuffer(), 0, -1) in TestPrefixAndSuffix()
967 if(!test1.endsWith(test3.getTerminatedBuffer(), 0, -1)) { in TestPrefixAndSuffix()
1112 q=test1.getTerminatedBuffer(); in TestMiscellaneous()
1119 q=test1.getTerminatedBuffer(); in TestMiscellaneous()
1125 q=test1.getTerminatedBuffer(); in TestMiscellaneous()
1133 test1.append(UnicodeString(TRUE, u" lila", 5).getTerminatedBuffer(), 0, -1); in TestMiscellaneous()
1159 if(test1.length()!=5 || test1.getTerminatedBuffer()[5]!=0) { in TestMiscellaneous()
1162 if(test2.length()!=36 || test2[5]!=0x66 || u_strlen(test2.getTerminatedBuffer())!=36) { in TestMiscellaneous()
1170 if(test1.length()!=0 || test1.getTerminatedBuffer()[0]!=0) { in TestMiscellaneous()
1173 if(test2.length()!=36 || test2[0]!=0x61 || u_strlen(test2.getTerminatedBuffer())!=36) { in TestMiscellaneous()
[all …]
Ducharstrietest.cpp868 result=trie.next(expectedString.getTerminatedBuffer(), stringLength)) || in checkNext()
969 result=trie.next(expectedString.getTerminatedBuffer()+partialLength, in checkNextWithState()
977 next(expectedString.getTerminatedBuffer()+partialLength, in checkNextWithState()
1024 result=trie.next(expectedString.getTerminatedBuffer()+partialLength, in checkNextWithState64()
1032 next(expectedString.getTerminatedBuffer()+partialLength, in checkNextWithState64()
1054 if(!trie.next(expectedString.getTerminatedBuffer(), stringLength/2)) { in checkNextString()
1059 if(trie.next(expectedString.getTerminatedBuffer()+stringLength/2, in checkNextString()
Dtufmtts.cpp423 u_strToUTF8(tmp, 128, &len, str.getTerminatedBuffer(), str.length(), &status); in testGreekWithFallback()
424 …u_strToUTF8(tmp1, 128, &len, expected[counter].unescape().getTerminatedBuffer(), expected[counter]… in testGreekWithFallback()
Dnumbertest_api.cpp1165 (uTestCase + u" field positions").getTerminatedBuffer(), in unitUsage()
1171 uTestCase.getTerminatedBuffer(), in unitUsage()
1201 (uTestCase + u" field positions").getTerminatedBuffer(), in unitUsage()
1207 uTestCase.getTerminatedBuffer(), in unitUsage()
1238 (uTestCase + u" field positions").getTerminatedBuffer(), in unitUsage()
1244 uTestCase.getTerminatedBuffer(), in unitUsage()
1287 (uTestCase + u" field positions").getTerminatedBuffer(), in unitUsage()
1293 uTestCase.getTerminatedBuffer(), in unitUsage()
1309 uTestCase.getTerminatedBuffer(), in unitUsage()
1325 uTestCase.getTerminatedBuffer(), in unitUsage()
[all …]
Didnaconf.cpp232 const UChar *p = namebase.getTerminatedBuffer(); in Call()
Dcollationtest.cpp1760 prevString.getTerminatedBuffer(); // Ensure NUL-termination. in checkCompareStrings()
1777 s.getTerminatedBuffer(); // Ensure NUL-termination. in checkCompareStrings()
1792 pn.getTerminatedBuffer(); in checkCompareStrings()
1793 n.getTerminatedBuffer(); in checkCompareStrings()
1803 prevString.getTerminatedBuffer(); // Ensure NUL-termination. in checkCompareStrings()
Dconvtest.cpp287 p=s.getTerminatedBuffer(); in TestFromUnicode()
715 …ars(cnv.getAlias(), output, 10, UnicodeString::fromUTF32(input, 1).getTerminatedBuffer(), -1, &sta… in TestDefaultIgnorableCallback()
733 …ars(cnv.getAlias(), 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()
284 …eName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffer())); in operator =()
397 …eName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffer())); in format()
Dcollationtailoring.cpp52 rules.getTerminatedBuffer(); // ensure NUL-termination in CollationTailoring()
Dwindtfmt.cpp317 …eName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffer())); in formatDate()
350 …eName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffer())); in formatTime()
Ddtptngen.cpp399 dateTimeFormat.getTerminatedBuffer(); in operator =()
400 decimal.getTerminatedBuffer(); in operator =()
415 appendItemFormats[i].getTerminatedBuffer(); // NUL-terminate for the C API. in operator =()
418 fieldDisplayNames[i][j].getTerminatedBuffer(); // NUL-terminate for the C API. in operator =()
1004 valueStr.getTerminatedBuffer(); in fillInMissing()
1115 appendItemFormats[field].getTerminatedBuffer(); in setAppendItemFormat()
1137 fieldDisplayNames[field][width].getTerminatedBuffer(); in setFieldDisplayName()
1330 this->decimal.getTerminatedBuffer(); in setDecimal()
1355 dateTimeFormat.getTerminatedBuffer(); in setDateTimeFormat()
1411 decimal.getTerminatedBuffer(); in setDecimalSymbols()
Dformattedval_iterimpl.cpp79 if (fString.getTerminatedBuffer() == nullptr) { in appendString()
Dtznames_impl.cpp556 return this->get(nonConstStr.getTerminatedBuffer(), status); in get()
668 const UChar* buff = locationNameUniStr.getTerminatedBuffer(); in createTimeZoneAndPutInCache()
1520 void* cacheVal = uhash_get(tzn.fMZNamesMap, mzID.getTerminatedBuffer()); in consumeNamesTable()
1533 void* cacheVal = uhash_get(tzn.fTZNamesMap, tzID.getTerminatedBuffer()); in consumeNamesTable()
1668 void* value = uhash_get(fTZNamesMap, copy.getTerminatedBuffer()); in internalLoadAllDisplayNames()
Dastro.cpp54 u_austrncpy(gStrBuf,str.getTerminatedBuffer(),sizeof(gStrBuf)-1); in debug_astro_date()
Dfmtable.cpp986 return str.getTerminatedBuffer(); in ufmt_getUChars()
/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.cpp282 fString.getTerminatedBuffer(); // Some code relies on NUL-termination. in StringBaseResource()
297 fString.getTerminatedBuffer(); // Some code relies on NUL-termination. in StringBaseResource()

12