/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 | 945 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 …]
|
D | ucharstrietest.cpp | 866 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()
|
D | tufmtts.cpp | 424 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()
|
D | collationtest.cpp | 1759 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()
|
D | idnaconf.cpp | 231 const UChar *p = namebase.getTerminatedBuffer(); in Call()
|
D | convtest.cpp | 286 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()
|
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() 283 …eName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffer())); in operator =() 396 …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 | 316 …eName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffer())); in formatDate() 349 …eName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffer())); in formatTime()
|
D | dtptngen.cpp | 385 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()
|
D | tznames_impl.cpp | 552 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()
|
D | astro.cpp | 54 u_austrncpy(gStrBuf,str.getTerminatedBuffer(),sizeof(gStrBuf)-1); in debug_astro_date()
|
D | fmtable.cpp | 981 return str.getTerminatedBuffer(); in ufmt_getUChars()
|
D | unum.cpp | 722 df->setCurrency(val.getTerminatedBuffer(), *status); in unum_setTextAttribute()
|
D | translit.cpp | 175 ID.getTerminatedBuffer(); in operator =()
|
/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 | 275 fString.getTerminatedBuffer(); // Some code relies on NUL-termination. in StringBaseResource() 290 fString.getTerminatedBuffer(); // Some code relies on NUL-termination. in StringBaseResource()
|