Home
last modified time | relevance | path

Searched refs:formatters (Results 1 - 24 of 24) sorted by relevance

/third_party/icu/icu4c/source/i18n/
H A Dquantityformatter.cpp34 for (int32_t i = 0; i < UPRV_LENGTHOF(formatters); ++i) { in QuantityFormatter()
35 formatters[i] = NULL; in QuantityFormatter()
40 for (int32_t i = 0; i < UPRV_LENGTHOF(formatters); ++i) { in QuantityFormatter()
41 if (other.formatters[i] == NULL) { in QuantityFormatter()
42 formatters[i] = NULL; in QuantityFormatter()
44 formatters[i] = new SimpleFormatter(*other.formatters[i]); in QuantityFormatter()
54 for (int32_t i = 0; i < UPRV_LENGTHOF(formatters); ++i) { in operator =()
55 delete formatters[i]; in operator =()
56 if (other.formatters[ in operator =()
[all...]
H A Dtmutfmt.cpp431 MessageFormat** formatters = variable
433 if (formatters == NULL) {
446 formatters = localFormatters.orphan();
448 formatters[style] = messageFormat.orphan();
521 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(*pluralCount); in checkConsistency() local
522 if( formatters == NULL || formatters[style] == NULL ) { in checkConsistency()
580 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount); in searchInLocaleChain() local
581 if (formatters == NULL) { in searchInLocaleChain()
584 formatters in searchInLocaleChain()
617 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount); searchInLocaleChain() local
651 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount); searchInLocaleChain() local
[all...]
H A Dquantityformatter.h158 SimpleFormatter *formatters[StandardPlural::COUNT]; member in QuantityFormatter
/third_party/node/deps/icu-small/source/i18n/
H A Dquantityformatter.cpp34 for (int32_t i = 0; i < UPRV_LENGTHOF(formatters); ++i) { in QuantityFormatter()
35 formatters[i] = nullptr; in QuantityFormatter()
40 for (int32_t i = 0; i < UPRV_LENGTHOF(formatters); ++i) { in QuantityFormatter()
41 if (other.formatters[i] == nullptr) { in QuantityFormatter()
42 formatters[i] = nullptr; in QuantityFormatter()
44 formatters[i] = new SimpleFormatter(*other.formatters[i]); in QuantityFormatter()
54 for (int32_t i = 0; i < UPRV_LENGTHOF(formatters); ++i) { in operator =()
55 delete formatters[i]; in operator =()
56 if (other.formatters[ in operator =()
[all...]
H A Dtmutfmt.cpp435 MessageFormat** formatters = variable
437 if (formatters == nullptr) {
450 formatters = localFormatters.orphan();
452 formatters[style] = messageFormat.orphan();
525 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(*pluralCount); in checkConsistency() local
526 if( formatters == nullptr || formatters[style] == nullptr ) { in checkConsistency()
587 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount); in searchInLocaleChain() local
588 if (formatters == nullptr) { in searchInLocaleChain()
591 formatters in searchInLocaleChain()
624 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount); searchInLocaleChain() local
658 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount); searchInLocaleChain() local
[all...]
H A Dquantityformatter.h158 SimpleFormatter *formatters[StandardPlural::COUNT]; member in QuantityFormatter
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dquantityformatter.cpp34 for (int32_t i = 0; i < UPRV_LENGTHOF(formatters); ++i) { in QuantityFormatter()
35 formatters[i] = NULL; in QuantityFormatter()
40 for (int32_t i = 0; i < UPRV_LENGTHOF(formatters); ++i) { in QuantityFormatter()
41 if (other.formatters[i] == NULL) { in QuantityFormatter()
42 formatters[i] = NULL; in QuantityFormatter()
44 formatters[i] = new SimpleFormatter(*other.formatters[i]); in QuantityFormatter()
54 for (int32_t i = 0; i < UPRV_LENGTHOF(formatters); ++i) { in operator =()
55 delete formatters[i]; in operator =()
56 if (other.formatters[ in operator =()
[all...]
H A Dtmutfmt.cpp431 MessageFormat** formatters = in put() local
433 if (formatters == NULL) { in put()
446 formatters = localFormatters.orphan(); in put()
448 formatters[style] = messageFormat.orphan(); in put()
521 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(*pluralCount); in checkConsistency() local
522 if( formatters == NULL || formatters[style] == NULL ) { in checkConsistency()
580 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount); in searchInLocaleChain() local
581 if (formatters == NULL) { in searchInLocaleChain()
584 formatters in searchInLocaleChain()
617 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount); searchInLocaleChain() local
651 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount); searchInLocaleChain() local
[all...]
H A Dquantityformatter.h158 SimpleFormatter *formatters[StandardPlural::COUNT]; member in QuantityFormatter
/third_party/node/deps/npm/node_modules/debug/src/
H A Dnode.js242 const {formatters} = module.exports;
248 formatters.o = function (v) {
260 formatters.O = function (v) {
H A Dbrowser.js257 const {formatters} = module.exports;
263 formatters.j = function (v) {
H A Dcommon.js33 createDebug.formatters = {};
89 // Apply any `formatters` transformations
97 const formatter = createDebug.formatters[format];
/third_party/python/Lib/logging/
H A Dconfig.py82 formatters = _create_formatters(cp)
90 handlers = _install_handlers(cp, formatters)
114 """Create and return formatters"""
115 flist = cp["formatters"]["keys"]
120 formatters = {}
131 formatters[form] = f
132 return formatters
135 def _install_handlers(cp, formatters):
162 h.setFormatter(formatters[fmt])
548 # Do formatters firs
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DMeasureFormat.java618 NumericFormatters formatters) { in MeasureFormat()
635 if (formatters == null && formatWidth == FormatWidth.NUMERIC) { in MeasureFormat()
636 formatters = localeToNumericDurationFormatters.get(locale); in MeasureFormat()
637 if (formatters == null) { in MeasureFormat()
638 formatters = loadNumericFormatters(locale); in MeasureFormat()
639 localeToNumericDurationFormatters.put(locale, formatters); in MeasureFormat()
642 this.numericFormatters = formatters; in MeasureFormat()
613 MeasureFormat( ULocale locale, FormatWidth formatWidth, NumberFormat numberFormat, PluralRules rules, NumericFormatters formatters) MeasureFormat() argument
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DMeasureFormat.java583 NumericFormatters formatters) { in MeasureFormat()
600 if (formatters == null && formatWidth == FormatWidth.NUMERIC) { in MeasureFormat()
601 formatters = localeToNumericDurationFormatters.get(locale); in MeasureFormat()
602 if (formatters == null) { in MeasureFormat()
603 formatters = loadNumericFormatters(locale); in MeasureFormat()
604 localeToNumericDurationFormatters.put(locale, formatters); in MeasureFormat()
607 this.numericFormatters = formatters; in MeasureFormat()
578 MeasureFormat( ULocale locale, FormatWidth formatWidth, NumberFormat numberFormat, PluralRules rules, NumericFormatters formatters) MeasureFormat() argument
/third_party/mesa3d/src/gallium/frontends/clover/core/
H A Dprintf.cpp43 print_formatted(const std::vector<binary::printf_info> &formatters, in print_formatted() argument
54 binary::printf_info fmt = formatters[fmt_idx-1]; in print_formatted()
/third_party/node/deps/v8/src/inspector/
H A Dcustom-preview.cc278 v8::Local<v8::Array> formatters = formattersValue.As<v8::Array>(); in generateCustomPreview()
281 for (uint32_t i = 0; i < formatters->Length(); ++i) { in generateCustomPreview()
283 if (!formatters->Get(context, i).ToLocal(&formatterValue)) { in generateCustomPreview()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DDateFormatTest.java364 // Create test formatters in TestFieldPosition()
3603 SimpleDateFormat[] formatters = new SimpleDateFormat[5]; in TestCalendarType()
3625 formatters[0] = (SimpleDateFormat)df; in TestCalendarType()
3626 formatters[0].applyPattern(testPattern); in TestCalendarType()
3628 formatters[0] = null; in TestCalendarType()
3634 formatters[1] = (SimpleDateFormat)df; in TestCalendarType()
3635 formatters[1].applyPattern(testPattern); in TestCalendarType()
3637 formatters[1] = null; in TestCalendarType()
3643 formatters[2] = (SimpleDateFormat)df; in TestCalendarType()
3644 formatters[ in TestCalendarType()
[all...]
H A DRbnfTest.java224 RuleBasedNumberFormat[] formatters = { in TestUndefinedSpellout()
256 for (int j = 0; j < formatters.length; ++j) { in TestUndefinedSpellout()
257 ohos.global.icu.text.NumberFormat formatter = formatters[j]; in TestUndefinedSpellout()
1070 assertTrue("Check the two formatters' equality", formatter.equals(f2)); in TestRuleSetDisplayName()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DDateFormatTest.java361 // Create test formatters in TestFieldPosition()
3700 SimpleDateFormat[] formatters = new SimpleDateFormat[5]; in TestCalendarType()
3722 formatters[0] = (SimpleDateFormat)df; in TestCalendarType()
3723 formatters[0].applyPattern(testPattern); in TestCalendarType()
3725 formatters[0] = null; in TestCalendarType()
3731 formatters[1] = (SimpleDateFormat)df; in TestCalendarType()
3732 formatters[1].applyPattern(testPattern); in TestCalendarType()
3734 formatters[1] = null; in TestCalendarType()
3740 formatters[2] = (SimpleDateFormat)df; in TestCalendarType()
3741 formatters[ in TestCalendarType()
[all...]
H A DRbnfTest.java221 RuleBasedNumberFormat[] formatters = { in TestUndefinedSpellout()
253 for (int j = 0; j < formatters.length; ++j) { in TestUndefinedSpellout()
254 com.ibm.icu.text.NumberFormat formatter = formatters[j]; in TestUndefinedSpellout()
1126 assertTrue("Check the two formatters' equality", formatter.equals(f2)); in TestRuleSetDisplayName()
/third_party/icu/icu4c/source/test/intltest/
H A Ddtfmttst.cpp529 // Create test formatters in TestFieldPosition()
3558 //FIXME The formatters commented out below are currently failing because of in TestRoundtripWithCalendar()
3561 // The order of test formatters must match the order of calendars above. in TestRoundtripWithCalendar()
3562 DateFormat *formatters[] = { in TestRoundtripWithCalendar() local
3576 for (int i = 0; formatters[i] != NULL; i++) { in TestRoundtripWithCalendar()
3584 formatters[i]->format(*calendars[i], buf, fpos); in TestRoundtripWithCalendar()
3598 formatters[i]->format(*calendars[j], buf, fpos); in TestRoundtripWithCalendar()
3615 formatters[i]->parse(refStr, *calendars[i], ppos); in TestRoundtripWithCalendar()
3628 formatters[i]->parse(refStr, *calendars[j], ppos); in TestRoundtripWithCalendar()
3653 for (int i = 0; formatters[ in TestRoundtripWithCalendar()
[all...]
/third_party/node/deps/v8/tools/
H A Dgrokdump.py3413 self.formatters = { self.dumpfilename : self.default_formatter }
3445 formatter = self.formatters.get(name, None)
3450 self.formatters[name] = formatter
/third_party/python/Lib/test/
H A Dtest_logging.py1227 [formatters]
1253 [formatters]
1285 [formatters]
1323 [formatters]
1345 # config6 uses ', ' delimiters in the handlers and formatters sections
1353 [formatters]
1395 [formatters]
1433 [formatters]
1454 [formatters]
1632 [formatters]
[all...]

Completed in 52 milliseconds