/external/icu4c/test/intltest/ |
D | itrbnfrt.cpp | 64 RuleBasedNumberFormat* formatter in TestEnglishSpelloutRT() local 70 doTest(formatter, -12345678, 12345678); in TestEnglishSpelloutRT() 72 delete formatter; in TestEnglishSpelloutRT() 82 RuleBasedNumberFormat* formatter in TestDurationsRT() local 88 doTest(formatter, 0, 12345678); in TestDurationsRT() 90 delete formatter; in TestDurationsRT() 100 RuleBasedNumberFormat* formatter in TestSpanishSpelloutRT() local 106 doTest(formatter, -12345678, 12345678); in TestSpanishSpelloutRT() 108 delete formatter; in TestSpanishSpelloutRT() 118 RuleBasedNumberFormat* formatter in TestFrenchSpelloutRT() local [all …]
|
D | itrbnf.cpp | 102 RuleBasedNumberFormat* formatter = new RuleBasedNumberFormat(URBNF_SPELLOUT, "he_IL", status); in TestHebrewFraction() local 105 delete formatter; in TestHebrewFraction() 113 formatter->format(123.45, result); in TestHebrewFraction() 126 formatter->format(123.0045, result); in TestHebrewFraction() 137 delete formatter; in TestHebrewFraction() 146 RuleBasedNumberFormat* formatter in TestAPI() local 150 delete formatter; in TestAPI() 158 RuleBasedNumberFormat* rbnfClone = (RuleBasedNumberFormat *)formatter->clone(); in TestAPI() 160 if(!(*rbnfClone == *formatter)) { in TestAPI() 173 assignResult = *formatter; in TestAPI() [all …]
|
D | itrbnfp.cpp | 125 … RuleBasedNumberFormat* formatter = new RuleBasedNumberFormat(rule, Locale::getUS(), perr, status); in TestParse() local 130 testfmt(formatter, 20, status); in TestParse() 131 testfmt(formatter, 1.23, status); in TestParse() 132 testfmt(formatter, -123, status); in TestParse() 133 testfmt(formatter, .123, status); in TestParse() 134 testfmt(formatter, 123, status); in TestParse() 140 delete formatter; in TestParse() 146 IntlTestRBNFParse::testfmt(RuleBasedNumberFormat* formatter, double val, UErrorCode& status) { in testfmt() argument 148 formatter->format((const Formattable)val, us, status); in testfmt() 159 IntlTestRBNFParse::testfmt(RuleBasedNumberFormat* formatter, int val, UErrorCode& status) { in testfmt() argument [all …]
|
D | numrgts.cpp | 882 NumberFormat *formatter; in Test4070798() local 906 formatter = NumberFormat::createInstance(Locale(loc), status); in Test4070798() 909 delete formatter; in Test4070798() 913 tempString = formatter->format (-5789.9876, tempString); in Test4070798() 922 delete formatter; in Test4070798() 924 formatter = NumberFormat::createCurrencyInstance(loc, status); in Test4070798() 927 tempString = formatter->format( 5789.9876, tempString ); in Test4070798() 936 delete formatter; in Test4070798() 939 formatter = NumberFormat::createPercentInstance(Locale(loc), status); in Test4070798() 942 tempString = formatter->format (-5789.9876, tempString); in Test4070798() [all …]
|
D | itrbnfp.h | 31 void testfmt(RuleBasedNumberFormat* formatter, double val, UErrorCode& status); 32 void testfmt(RuleBasedNumberFormat* formatter, int val, UErrorCode& status);
|
D | dtfmttst.cpp | 549 SimpleDateFormat *formatter = new SimpleDateFormat(format, status); in TestRunTogetherPattern985() local 552 delete formatter; in TestRunTogetherPattern985() 556 ((DateFormat*)formatter)->format(date1, now); in TestRunTogetherPattern985() 559 UDate date2 = formatter->parse(now, pos); in TestRunTogetherPattern985() 561 else ((DateFormat*)formatter)->format(date2, then); in TestRunTogetherPattern985() 564 delete formatter; in TestRunTogetherPattern985() 680 SimpleDateFormat *formatter = new SimpleDateFormat(bigD, status); in TestLetterDPattern212() local 683 delete formatter; in TestLetterDPattern212() 687 UDate myDate = formatter->parse(dateString, pos); in TestLetterDPattern212() 690 delete formatter; in TestLetterDPattern212() [all …]
|
/external/chromium/third_party/icu/source/test/intltest/ |
D | itrbnfrt.cpp | 64 RuleBasedNumberFormat* formatter in TestEnglishSpelloutRT() local 70 doTest(formatter, -12345678, 12345678); in TestEnglishSpelloutRT() 72 delete formatter; in TestEnglishSpelloutRT() 82 RuleBasedNumberFormat* formatter in TestDurationsRT() local 88 doTest(formatter, 0, 12345678); in TestDurationsRT() 90 delete formatter; in TestDurationsRT() 100 RuleBasedNumberFormat* formatter in TestSpanishSpelloutRT() local 106 doTest(formatter, -12345678, 12345678); in TestSpanishSpelloutRT() 108 delete formatter; in TestSpanishSpelloutRT() 118 RuleBasedNumberFormat* formatter in TestFrenchSpelloutRT() local [all …]
|
D | itrbnf.cpp | 102 RuleBasedNumberFormat* formatter = new RuleBasedNumberFormat(URBNF_SPELLOUT, "he_IL", status); in TestHebrewFraction() local 105 delete formatter; in TestHebrewFraction() 113 formatter->format(123.45, result); in TestHebrewFraction() 126 formatter->format(123.0045, result); in TestHebrewFraction() 137 delete formatter; in TestHebrewFraction() 146 RuleBasedNumberFormat* formatter in TestAPI() local 150 delete formatter; in TestAPI() 158 RuleBasedNumberFormat* rbnfClone = (RuleBasedNumberFormat *)formatter->clone(); in TestAPI() 160 if(!(*rbnfClone == *formatter)) { in TestAPI() 173 assignResult = *formatter; in TestAPI() [all …]
|
D | itrbnfp.cpp | 125 … RuleBasedNumberFormat* formatter = new RuleBasedNumberFormat(rule, Locale::getUS(), perr, status); in TestParse() local 130 testfmt(formatter, 20, status); in TestParse() 131 testfmt(formatter, 1.23, status); in TestParse() 132 testfmt(formatter, -123, status); in TestParse() 133 testfmt(formatter, .123, status); in TestParse() 134 testfmt(formatter, 123, status); in TestParse() 140 delete formatter; in TestParse() 146 IntlTestRBNFParse::testfmt(RuleBasedNumberFormat* formatter, double val, UErrorCode& status) { in testfmt() argument 148 formatter->format((const Formattable)val, us, status); in testfmt() 159 IntlTestRBNFParse::testfmt(RuleBasedNumberFormat* formatter, int val, UErrorCode& status) { in testfmt() argument [all …]
|
D | numrgts.cpp | 882 NumberFormat *formatter; in Test4070798() local 906 formatter = NumberFormat::createInstance(Locale(loc), status); in Test4070798() 909 delete formatter; in Test4070798() 913 tempString = formatter->format (-5789.9876, tempString); in Test4070798() 922 delete formatter; in Test4070798() 924 formatter = NumberFormat::createCurrencyInstance(loc, status); in Test4070798() 927 tempString = formatter->format( 5789.9876, tempString ); in Test4070798() 936 delete formatter; in Test4070798() 939 formatter = NumberFormat::createPercentInstance(Locale(loc), status); in Test4070798() 942 tempString = formatter->format (-5789.9876, tempString); in Test4070798() [all …]
|
D | itrbnfp.h | 31 void testfmt(RuleBasedNumberFormat* formatter, double val, UErrorCode& status); 32 void testfmt(RuleBasedNumberFormat* formatter, int val, UErrorCode& status);
|
/external/chromium/base/i18n/ |
D | time_formatting.cc | 17 std::wstring TimeFormat(const icu::DateFormat* formatter, in TimeFormat() argument 19 DCHECK(formatter); in TimeFormat() 22 formatter->format(static_cast<UDate>(time.ToDoubleT() * 1000), date_string); in TimeFormat() 37 scoped_ptr<icu::DateFormat> formatter( in TimeFormatTimeOfDay() local 39 return TimeFormat(formatter.get(), time); in TimeFormatTimeOfDay() 43 scoped_ptr<icu::DateFormat> formatter( in TimeFormatShortDate() local 45 return TimeFormat(formatter.get(), time); in TimeFormatShortDate() 49 scoped_ptr<icu::DateFormat> formatter( in TimeFormatShortDateNumeric() local 51 return TimeFormat(formatter.get(), time); in TimeFormatShortDateNumeric() 55 scoped_ptr<icu::DateFormat> formatter( in TimeFormatShortDateAndTime() local [all …]
|
D | number_formatting.cc | 23 icu::NumberFormat* formatter = icu::NumberFormat::createInstance(status); in New() local 25 return formatter; in New()
|
/external/apache-http/src/org/apache/http/message/ |
D | BasicLineFormatter.java | 110 LineFormatter formatter) { in formatProtocolVersion() argument 111 if (formatter == null) in formatProtocolVersion() 112 formatter = BasicLineFormatter.DEFAULT; in formatProtocolVersion() 113 return formatter.appendProtocolVersion(null, version).toString(); in formatProtocolVersion() 169 LineFormatter formatter) { in formatRequestLine() argument 170 if (formatter == null) in formatRequestLine() 171 formatter = BasicLineFormatter.DEFAULT; in formatRequestLine() 172 return formatter.formatRequestLine(null, reqline).toString(); in formatRequestLine() 229 LineFormatter formatter) { in formatStatusLine() argument 230 if (formatter == null) in formatStatusLine() [all …]
|
D | BasicHeaderValueFormatter.java | 99 HeaderValueFormatter formatter) { in formatElements() argument 100 if (formatter == null) in formatElements() 101 formatter = BasicHeaderValueFormatter.DEFAULT; in formatElements() 102 return formatter.formatElements(null, elems, quote).toString(); in formatElements() 168 HeaderValueFormatter formatter) { in formatHeaderElement() argument 169 if (formatter == null) in formatHeaderElement() 170 formatter = BasicHeaderValueFormatter.DEFAULT; in formatHeaderElement() 171 return formatter.formatHeaderElement(null, elem, quote).toString(); in formatHeaderElement() 256 HeaderValueFormatter formatter) { in formatParameters() argument 257 if (formatter == null) in formatParameters() [all …]
|
/external/icu4c/i18n/ |
D | nfsubs.cpp | 50 const RuleBasedNumberFormat* formatter, 73 const RuleBasedNumberFormat* formatter, in MultiplierSubstitution() argument 76 : NFSubstitution(_pos, _ruleSet, formatter, description, status), divisor(_divisor) in MultiplierSubstitution() 129 const RuleBasedNumberFormat* formatter, 176 const RuleBasedNumberFormat* formatter, in IntegralPartSubstitution() argument 179 : NFSubstitution(_pos, _ruleSet, formatter, description, status) {} in IntegralPartSubstitution() 199 const RuleBasedNumberFormat* formatter, 230 const RuleBasedNumberFormat* formatter, in AbsoluteValueSubstitution() argument 233 : NFSubstitution(_pos, _ruleSet, formatter, description, status) {} in AbsoluteValueSubstitution() 261 const RuleBasedNumberFormat* formatter, in NumeratorSubstitution() argument [all …]
|
/external/chromium/third_party/icu/source/i18n/ |
D | nfsubs.cpp | 50 const RuleBasedNumberFormat* formatter, 73 const RuleBasedNumberFormat* formatter, in MultiplierSubstitution() argument 76 : NFSubstitution(_pos, _ruleSet, formatter, description, status), divisor(_divisor) in MultiplierSubstitution() 129 const RuleBasedNumberFormat* formatter, 176 const RuleBasedNumberFormat* formatter, in IntegralPartSubstitution() argument 179 : NFSubstitution(_pos, _ruleSet, formatter, description, status) {} in IntegralPartSubstitution() 199 const RuleBasedNumberFormat* formatter, 230 const RuleBasedNumberFormat* formatter, in AbsoluteValueSubstitution() argument 233 : NFSubstitution(_pos, _ruleSet, formatter, description, status) {} in AbsoluteValueSubstitution() 261 const RuleBasedNumberFormat* formatter, in NumeratorSubstitution() argument [all …]
|
/external/proguard/src/proguard/gui/ |
D | GUIResources.java | 35 private static final MessageFormat formatter = new MessageFormat(""); field in GUIResources 53 formatter.applyPattern(messages.getString(messageKey)); in getMessage() 54 return formatter.format(messageArguments); in getMessage()
|
/external/chromium/third_party/icu/source/test/cintltst/ |
D | udatpg_test.c | 227 UDateFormat *formatter; in TestBuilder() local 326 formatter = udat_open(UDAT_IGNORE, UDAT_DEFAULT, locale, timeZoneGMT, -1, in TestBuilder() 328 if (formatter==NULL) { in TestBuilder() 336 resultLen=udat_format(formatter, ucal_getNow(), formatted, formattedCapacity, in TestBuilder() 341 resultLen=udat_format(formatter, sampleDate, formatted, formattedCapacity, in TestBuilder() 347 udat_close(formatter); in TestBuilder()
|
/external/apache-http/src/org/apache/http/impl/io/ |
D | AbstractMessageWriter.java | 54 final LineFormatter formatter, in AbstractMessageWriter() argument 62 this.lineFormatter = (formatter != null) ? in AbstractMessageWriter() 63 formatter : BasicLineFormatter.DEFAULT; in AbstractMessageWriter()
|
D | HttpResponseWriter.java | 46 final LineFormatter formatter, in HttpResponseWriter() argument 48 super(buffer, formatter, params); in HttpResponseWriter()
|
D | HttpRequestWriter.java | 46 final LineFormatter formatter, in HttpRequestWriter() argument 48 super(buffer, formatter, params); in HttpRequestWriter()
|
/external/icu4c/test/cintltst/ |
D | udatpg_test.c | 229 UDateFormat *formatter; in TestBuilder() local 328 formatter = udat_open(UDAT_IGNORE, UDAT_DEFAULT, locale, timeZoneGMT, -1, in TestBuilder() 330 if (formatter==NULL) { in TestBuilder() 338 resultLen=udat_format(formatter, ucal_getNow(), formatted, formattedCapacity, in TestBuilder() 343 resultLen=udat_format(formatter, sampleDate, formatted, formattedCapacity, in TestBuilder() 349 udat_close(formatter); in TestBuilder()
|
/external/chromium/third_party/icu/source/tools/tzcode/ |
D | icuzdump.cpp | 93 formatter = new DumpFormatter(); in ICUZDump() 120 formatter = fmt; in setDumpFormatter() 170 formatter->format(lot, rawOffset + dstOffset, (dstOffset == 0 ? FALSE : TRUE), str); in dump() 173 … formatter->format(hit, newRawOffset + newDstOffset, (newDstOffset == 0 ? FALSE : TRUE), str); in dump() 207 DumpFormatter* formatter; member in ICUZDump
|
/external/icu4c/tools/tzcode/ |
D | icuzdump.cpp | 93 formatter = new DumpFormatter(); in ICUZDump() 120 formatter = fmt; in setDumpFormatter() 170 formatter->format(lot, rawOffset + dstOffset, (dstOffset == 0 ? FALSE : TRUE), str); in dump() 173 … formatter->format(hit, newRawOffset + newDstOffset, (newDstOffset == 0 ? FALSE : TRUE), str); in dump() 207 DumpFormatter* formatter; member in ICUZDump
|