/external/icu/icu4c/source/samples/dtptngsample/ |
D | dtptngsample.cpp | 50 …getTerminatedBuffer(),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/ |
D | dtitvfmtsample.cpp | 61 …(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/ |
D | plurfmtsample.cpp | 57 …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/ |
D | uconv.cpp | 293 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/ |
D | howExpensiveIs.cpp | 284 …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/ |
D | ustrtest.cpp | 948 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 …]
|
D | ucharstrietest.cpp | 868 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()
|
D | tufmtts.cpp | 423 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()
|
D | numbertest_api.cpp | 1165 (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 …]
|
D | idnaconf.cpp | 232 const UChar *p = namebase.getTerminatedBuffer(); in Call()
|
D | collationtest.cpp | 1760 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()
|
D | convtest.cpp | 287 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()
|
D | numfmtdatadriventest.cpp | 86 const UChar* terminatedCurrency = currency.getTerminatedBuffer(); in adjustDecimalFormat()
|
/external/icu/icu4c/source/samples/citer/ |
D | citer.cpp | 59 const UChar *testText = testString.getTerminatedBuffer(); in TestUChariter() 126 const UChar *testText = testString.getTerminatedBuffer(); in TestStringiter()
|
/external/icu/icu4c/source/i18n/ |
D | winnmfmt.cpp | 233 …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()
|
D | collationtailoring.cpp | 52 rules.getTerminatedBuffer(); // ensure NUL-termination in CollationTailoring()
|
D | windtfmt.cpp | 317 …eName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffer())); in formatDate() 350 …eName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffer())); in formatTime()
|
D | dtptngen.cpp | 399 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()
|
D | formattedval_iterimpl.cpp | 79 if (fString.getTerminatedBuffer() == nullptr) { in appendString()
|
D | tznames_impl.cpp | 556 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()
|
D | astro.cpp | 54 u_austrncpy(gStrBuf,str.getTerminatedBuffer(),sizeof(gStrBuf)-1); in debug_astro_date()
|
D | fmtable.cpp | 986 return str.getTerminatedBuffer(); in ufmt_getUChars()
|
/external/icu/icu4c/source/samples/case/ |
D | case.cpp | 27 u_fprintf(out, "\"%S\"", other.getTerminatedBuffer()); in printUnicodeString()
|
/external/icu/icu4c/source/common/ |
D | ustrenum.cpp | 69 return unistr.getTerminatedBuffer(); in unext()
|
/external/icu/icu4c/source/tools/genrb/ |
D | reslist.cpp | 282 fString.getTerminatedBuffer(); // Some code relies on NUL-termination. in StringBaseResource() 297 fString.getTerminatedBuffer(); // Some code relies on NUL-termination. in StringBaseResource()
|