/external/icu/icu4c/source/samples/dtptngsample/ |
D | dtptngsample.cpp | 47 …getTerminatedBuffer(),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/ |
D | dtitvfmtsample.cpp | 58 …(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/ |
D | plurfmtsample.cpp | 51 …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/ |
D | uconv.cpp | 291 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/ |
D | howExpensiveIs.cpp | 279 …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/ |
D | ustrtest.cpp | 944 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 …]
|
D | ucharstrietest.cpp | 863 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()
|
D | tufmtts.cpp | 378 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()
|
D | idnaconf.cpp | 229 const UChar *p = namebase.getTerminatedBuffer(); in Call()
|
D | collationtest.cpp | 1766 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()
|
D | convtest.cpp | 288 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()
|
D | intltest.cpp | 978 …knownList = udbg_knownIssue_openU(knownList, ticket, fullpath, msg2.getTerminatedBuffer(), &firstF… in logKnownIssue()
|
/external/icu/icu4c/source/samples/citer/ |
D | citer.cpp | 48 const UChar *testText = testString.getTerminatedBuffer(); in TestUChariter() 115 const UChar *testText = testString.getTerminatedBuffer(); in TestStringiter()
|
/external/icu/icu4c/source/samples/case/ |
D | case.cpp | 19 u_fprintf(out, "\"%S\"", other.getTerminatedBuffer()); in printUnicodeString()
|
/external/icu/icu4c/source/i18n/ |
D | collationtailoring.cpp | 50 rules.getTerminatedBuffer(); // ensure NUL-termination in CollationTailoring()
|
D | dtptngen.cpp | 367 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()
|
D | astro.cpp | 52 u_austrncpy(gStrBuf,str.getTerminatedBuffer(),sizeof(gStrBuf)-1); in debug_astro_date()
|
D | fmtable.cpp | 990 return str.getTerminatedBuffer(); in ufmt_getUChars()
|
D | unum.cpp | 636 df->setCurrency(val.getTerminatedBuffer(), *status); in unum_setTextAttribute()
|
D | locdspnm.cpp | 773 const UChar *currencyName = ucurr_getName(ustrValue.getTerminatedBuffer(), in keyValueDisplayName()
|
D | transreg.cpp | 913 newID->getTerminatedBuffer(); in registerEntry()
|
D | translit.cpp | 173 ID.getTerminatedBuffer(); in operator =()
|
D | timezone.cpp | 186 …ing for %s, between %d and %d\n", U_DEBUG_TZ_STR(UnicodeString(id).getTerminatedBuffer()), start, … in findInStringArray()
|
/external/icu/icu4c/source/common/ |
D | ustrenum.cpp | 67 return unistr.getTerminatedBuffer(); in unext()
|
D | unistr.cpp | 1103 UnicodeString::getTerminatedBuffer() { in getTerminatedBuffer() function in UnicodeString
|