Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/samples/dtptngsample/
Ddtptngsample.cpp49getTerminatedBuffer(),UnicodeString("en_US").getTerminatedBuffer(),UnicodeString("fr_FR").getTermi… in getBestPatternExample()
51 u_fprintf(f, "%-20S",skeletons[i].getTerminatedBuffer()); in getBestPatternExample()
63 u_fprintf(f, "%-20S", dateReturned.getTerminatedBuffer()); in getBestPatternExample()
99 u_printf("%S\n", pattern.getTerminatedBuffer()); in addPatternExample()
101 u_printf("%S\n", dateReturned.getTerminatedBuffer()); in addPatternExample()
135 u_fprintf(out, "%S\n", UnicodeString("Pattern before replacement:").getTerminatedBuffer()); in replaceFieldTypesExample()
136 u_fprintf(out, "%S\n", pattern.getTerminatedBuffer()); in replaceFieldTypesExample()
139 u_fprintf(out, "%S\n", UnicodeString("Date/Time format in fr_FR:").getTerminatedBuffer()); in replaceFieldTypesExample()
140 u_fprintf(out, "%S\n", dateReturned.getTerminatedBuffer()); in replaceFieldTypesExample()
147 u_fprintf(out, "%S\n", UnicodeString("Pattern after replacement:").getTerminatedBuffer()); in replaceFieldTypesExample()
[all …]
/external/icu/icu4c/source/samples/dtitvfmtsample/
Ddtitvfmtsample.cpp60 …(out,"%-10S%-22S%-22S",skeletons[j].getTerminatedBuffer(),data[i].getTerminatedBuffer(),data[i+1]. in dtitvfmtPreDefined()
69 … u_fprintf(out,"%-35S%-35S\n", formatEn.getTerminatedBuffer(),formatJa.getTerminatedBuffer()); in dtitvfmtPreDefined()
124 …ut,"%-10S%-22S%-22S", skeletons[i].getTerminatedBuffer(),data[j].getTerminatedBuffer(), data[j+1]. in dtitvfmtCustomized()
131 u_fprintf(out,"%-45S%-35S\n", formatEn.getTerminatedBuffer(),formatJa.getTerminatedBuffer()); in dtitvfmtCustomized()
/external/icu/icu4c/source/samples/plurfmtsample/
Dplurfmtsample.cpp55 …u_printf("%-16d%-16S%-16S\n", numbers[i], msgEn.getTerminatedBuffer(),msgSl.getTerminatedBuffer()); in PluralFormatExample()
74 …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.cpp938 test1.startsWith(test3.getTerminatedBuffer(), 0, -1) in TestPrefixAndSuffix()
957 if(!test1.endsWith(test3.getTerminatedBuffer(), 0, -1)) { in TestPrefixAndSuffix()
1102 q=test1.getTerminatedBuffer(); in TestMiscellaneous()
1109 q=test1.getTerminatedBuffer(); in TestMiscellaneous()
1115 q=test1.getTerminatedBuffer(); in TestMiscellaneous()
1121 test1.append(UNICODE_STRING(" lila", 5).getTerminatedBuffer(), 0, -1); in TestMiscellaneous()
1151 if(test1.length()!=5 || test1.getTerminatedBuffer()[5]!=0) { in TestMiscellaneous()
1154 if(test2.length()!=36 || test2[5]!=0x66 || u_strlen(test2.getTerminatedBuffer())!=36) { in TestMiscellaneous()
1162 if(test1.length()!=0 || test1.getTerminatedBuffer()[0]!=0) { in TestMiscellaneous()
1165 if(test2.length()!=36 || test2[0]!=0x61 || u_strlen(test2.getTerminatedBuffer())!=36) { in TestMiscellaneous()
[all …]
Ducharstrietest.cpp865 result=trie.next(expectedString.getTerminatedBuffer(), stringLength)) || in checkNext()
966 result=trie.next(expectedString.getTerminatedBuffer()+partialLength, in checkNextWithState()
974 next(expectedString.getTerminatedBuffer()+partialLength, in checkNextWithState()
996 if(!trie.next(expectedString.getTerminatedBuffer(), stringLength/2)) { in checkNextString()
1001 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.cpp1765 prevString.getTerminatedBuffer(); // Ensure NUL-termination. in checkCompareStrings()
1782 s.getTerminatedBuffer(); // Ensure NUL-termination. in checkCompareStrings()
1797 pn.getTerminatedBuffer(); in checkCompareStrings()
1798 n.getTerminatedBuffer(); in checkCompareStrings()
1808 prevString.getTerminatedBuffer(); // Ensure NUL-termination. in checkCompareStrings()
Didnaconf.cpp231 const UChar *p = namebase.getTerminatedBuffer(); in Call()
Dconvtest.cpp290 p=s.getTerminatedBuffer(); in TestFromUnicode()
723 …cnv_fromUChars(cnv, output, 10, UnicodeString::fromUTF32(input, 1).getTerminatedBuffer(), -1, &sta… in TestDefaultIgnorableCallback()
741 …cnv_fromUChars(cnv, output, 10, UnicodeString::fromUTF32(input, 1).getTerminatedBuffer(), -1, &sta… in TestDefaultIgnorableCallback()
/external/icu/icu4c/source/samples/citer/
Dciter.cpp54 const UChar *testText = testString.getTerminatedBuffer(); in TestUChariter()
121 const UChar *testText = testString.getTerminatedBuffer(); in TestStringiter()
/external/icu/icu4c/source/samples/case/
Dcase.cpp25 u_fprintf(out, "\"%S\"", other.getTerminatedBuffer()); in printUnicodeString()
/external/icu/icu4c/source/i18n/
Dcollationtailoring.cpp52 rules.getTerminatedBuffer(); // ensure NUL-termination in CollationTailoring()
Ddtptngen.cpp327 dateTimeFormat.getTerminatedBuffer(); in operator =()
328 decimal.getTerminatedBuffer(); in operator =()
340 appendItemFormats[i].getTerminatedBuffer(); in operator =()
341 appendItemNames[i].getTerminatedBuffer(); in operator =()
814 valueStr.getTerminatedBuffer(); in fillInMissing()
918 appendItemFormats[field].getTerminatedBuffer(); in setAppendItemFormat()
930 appendItemNames[field].getTerminatedBuffer(); in setAppendItemName()
1056 this->decimal.getTerminatedBuffer(); in setDecimal()
1081 dateTimeFormat.getTerminatedBuffer(); in setDateTimeFormat()
1135 decimal.getTerminatedBuffer(); in setDecimalSymbols()
Dtznames_impl.cpp546 return this->get(nonConstStr.getTerminatedBuffer(), status); in get()
658 const UChar* buff = locationNameUniStr.getTerminatedBuffer(); in createTimeZoneAndPutInCache()
1510 void* cacheVal = uhash_get(tzn.fMZNamesMap, mzID.getTerminatedBuffer()); in consumeNamesTable()
1523 void* cacheVal = uhash_get(tzn.fTZNamesMap, tzID.getTerminatedBuffer()); in consumeNamesTable()
1658 void* value = uhash_get(fTZNamesMap, copy.getTerminatedBuffer()); in internalLoadAllDisplayNames()
Dastro.cpp54 u_austrncpy(gStrBuf,str.getTerminatedBuffer(),sizeof(gStrBuf)-1); in debug_astro_date()
Dfmtable.cpp995 return str.getTerminatedBuffer(); in ufmt_getUChars()
Dunum.cpp648 df->setCurrency(val.getTerminatedBuffer(), *status); in unum_setTextAttribute()
Dtranslit.cpp175 ID.getTerminatedBuffer(); in operator =()
Dtransreg.cpp915 newID->getTerminatedBuffer(); in registerEntry()
/external/icu/icu4c/source/common/
Dustrenum.cpp69 return unistr.getTerminatedBuffer(); in unext()
Dlocdspnm.cpp806 const UChar *currencyName = ucurr_getName(ustrValue.getTerminatedBuffer(), in keyValueDisplayName()
/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()
/external/v8/src/
Di18n.cc290 currency.getTerminatedBuffer(), &status_digits); in CreateICUNumberFormat()

12