Home
last modified time | relevance | path

Searched refs:formatters (Results 1 – 25 of 47) sorted by relevance

12

/external/icu/icu4c/source/i18n/
Dquantityformatter.cpp32 for (int32_t i = 0; i < UPRV_LENGTHOF(formatters); ++i) { in QuantityFormatter()
33 formatters[i] = NULL; in QuantityFormatter()
38 for (int32_t i = 0; i < UPRV_LENGTHOF(formatters); ++i) { in QuantityFormatter()
39 if (other.formatters[i] == NULL) { in QuantityFormatter()
40 formatters[i] = NULL; in QuantityFormatter()
42 formatters[i] = new SimpleFormatter(*other.formatters[i]); in QuantityFormatter()
52 for (int32_t i = 0; i < UPRV_LENGTHOF(formatters); ++i) { in operator =()
53 delete formatters[i]; in operator =()
54 if (other.formatters[i] == NULL) { in operator =()
55 formatters[i] = NULL; in operator =()
[all …]
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 = localFormatters.getAlias(); in searchInLocaleChain()
593 formatters[style] = messageFormat.orphan(); in searchInLocaleChain()
[all …]
Dquantityformatter.h134 SimpleFormatter *formatters[StandardPlural::COUNT];
/external/jacoco/jacoco-maven-plugin/src/org/jacoco/maven/
DReportSupport.java63 private final List<IReportVisitor> formatters; field in ReportSupport
74 this.formatters = new ArrayList<IReportVisitor>(); in ReportSupport()
94 formatters.add(xml.createVisitor(new FileOutputStream(targetfile))); in addXmlFormatter()
101 formatters.add(csv.createVisitor(new FileOutputStream(targetfile))); in addCsvFormatter()
112 formatters.add(htmlFormatter.createVisitor(new FileMultiReportOutput( in addHtmlFormatter()
128 formatters.add(checker.createVisitor(output)); in addRulesChecker()
132 final IReportVisitor visitor = new MultiReportVisitor(formatters); in initRootVisitor()
/external/jacoco/org.jacoco.ant/src/org/jacoco/ant/
DReportTask.java424 private final List<FormatterElement> formatters = new ArrayList<FormatterElement>(); field in ReportTask
451 formatters.add(element); in createHtml()
462 formatters.add(element); in createCsv()
473 formatters.add(element); in createCheck()
484 formatters.add(element); in createXml()
497 for (final FormatterElement f : formatters) { in execute()
529 for (final FormatterElement f : formatters) { in createVisitor()
/external/python/cpython2/Lib/logging/
Dconfig.py77 formatters = _create_formatters(cp)
85 handlers = _install_handlers(cp, formatters)
118 formatters = {}
136 formatters[form] = f
137 return formatters
140 def _install_handlers(cp, formatters): argument
168 h.setFormatter(formatters[fmt])
544 formatters = config.get('formatters', EMPTY_DICT)
545 for name in formatters:
547 formatters[name] = self.configure_formatter(
[all …]
/external/python/cpython3/Lib/logging/
Dconfig.py71 formatters = _create_formatters(cp)
79 handlers = _install_handlers(cp, formatters)
109 formatters = {}
120 formatters[form] = f
121 return formatters
124 def _install_handlers(cp, formatters): argument
150 h.setFormatter(formatters[fmt])
538 formatters = config.get('formatters', EMPTY_DICT)
539 for name in formatters:
541 formatters[name] = self.configure_formatter(
[all …]
/external/v8/src/inspector/
Dinjected-script-source.js834 var formatters = inspectedGlobalObject["devtoolsFormatters"];
835 if (!formatters || !isArrayLike(formatters))
838 for (var i = 0; i < formatters.length; ++i) {
840 var formatted = formatters[i].header(object, customObjectConfig);
844 var hasBody = formatters[i].hasBody(object, customObjectConfig);
846 var formatterObjectId = injectedScript._bind(formatters[i], objectGroupName);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMeasureFormat.java611 NumericFormatters formatters) { in MeasureFormat() argument
628 if (formatters == null && formatWidth == FormatWidth.NUMERIC) { in MeasureFormat()
629 formatters = localeToNumericDurationFormatters.get(locale); in MeasureFormat()
630 if (formatters == null) { in MeasureFormat()
631 formatters = loadNumericFormatters(locale); in MeasureFormat()
632 localeToNumericDurationFormatters.put(locale, formatters); in MeasureFormat()
635 this.numericFormatters = formatters; in MeasureFormat()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMeasureFormat.java570 NumericFormatters formatters) { in MeasureFormat() argument
587 if (formatters == null && formatWidth == FormatWidth.NUMERIC) { in MeasureFormat()
588 formatters = localeToNumericDurationFormatters.get(locale); in MeasureFormat()
589 if (formatters == null) { in MeasureFormat()
590 formatters = loadNumericFormatters(locale); in MeasureFormat()
591 localeToNumericDurationFormatters.put(locale, formatters); in MeasureFormat()
594 this.numericFormatters = formatters; in MeasureFormat()
/external/bcc/src/cc/vendor/
Dtinyformat.hpp583 const detail::FormatArg* formatters, in streamStateFromFormat() argument
651 width = formatters[argIndex++].toInt(); in streamStateFromFormat()
673 precision = formatters[argIndex++].toInt(); in streamStateFromFormat()
769 const detail::FormatArg* formatters, in formatImpl() argument
785 formatters, argIndex, numFormatters); in formatImpl()
792 const FormatArg& arg = formatters[argIndex]; in formatImpl()
838 FormatList(detail::FormatArg* formatters, int N) in FormatList() argument
839 : m_formatters(formatters), m_N(N) { } in FormatList()
/external/pdfium/third_party/lcms/
D0005-old-fix-e-with-tilde.patch9 -// Null transformation, only applies formatters. No cach<E9>
10 +// Null transformation, only applies formatters. No cache
/external/libaom/libaom/test/
Dvisual_metrics.py456 formatters = ""
458 formatters = "%s formatter.format(better, %d);" % (formatters, i+1)
/external/python/cpython2/Doc/library/
Dlogging.config.rst178 * *formatters* - the corresponding value will be a dict in which each
280 and formatters are anonymous, once a configuration is set up, it is
285 the object graph of loggers, handlers, filters, formatters at
294 and is ``True``, the system will completely ignore any ``formatters`` and
310 handlers, formatters, filters - which are connected to each other in
327 formatters:
368 formatters. (Loggers do not need to have different types for
386 formatters:
398 The above YAML snippet defines three formatters. The first, with id
404 formatters have configuration sub-dictionaries::
[all …]
Dformatter.rst38 Interfaces to create formatters are dependent on the specific formatter class
40 which all formatters must support once initialized.
339 A writer which can be used in debugging formatters, but not much else. Each
/external/python/cpython3/Doc/library/
Dlogging.config.rst221 * *formatters* - the corresponding value will be a dict in which each
323 and formatters are anonymous, once a configuration is set up, it is
328 the object graph of loggers, handlers, filters, formatters at
337 and is ``True``, the system will completely ignore any ``formatters`` and
353 handlers, formatters, filters - which are connected to each other in
370 formatters:
411 formatters. (Loggers do not need to have different types for
429 formatters:
441 The above YAML snippet defines three formatters. The first, with id
447 formatters have configuration sub-dictionaries::
[all …]
Dformatter.rst39 Interfaces to create formatters are dependent on the specific formatter class
41 which all formatters must support once initialized.
340 A writer which can be used in debugging formatters, but not much else. Each
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java3599 SimpleDateFormat[] formatters = new SimpleDateFormat[5]; in TestCalendarType() local
3621 formatters[0] = (SimpleDateFormat)df; in TestCalendarType()
3622 formatters[0].applyPattern(testPattern); in TestCalendarType()
3624 formatters[0] = null; in TestCalendarType()
3630 formatters[1] = (SimpleDateFormat)df; in TestCalendarType()
3631 formatters[1].applyPattern(testPattern); in TestCalendarType()
3633 formatters[1] = null; in TestCalendarType()
3639 formatters[2] = (SimpleDateFormat)df; in TestCalendarType()
3640 formatters[2].applyPattern(testPattern); in TestCalendarType()
3642 formatters[2] = null; in TestCalendarType()
[all …]
DRbnfTest.java221 RuleBasedNumberFormat[] formatters = { in TestUndefinedSpellout() local
253 for (int j = 0; j < formatters.length; ++j) { in TestUndefinedSpellout()
254 com.ibm.icu.text.NumberFormat formatter = formatters[j]; in TestUndefinedSpellout()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java3602 SimpleDateFormat[] formatters = new SimpleDateFormat[5]; in TestCalendarType() local
3624 formatters[0] = (SimpleDateFormat)df; in TestCalendarType()
3625 formatters[0].applyPattern(testPattern); in TestCalendarType()
3627 formatters[0] = null; in TestCalendarType()
3633 formatters[1] = (SimpleDateFormat)df; in TestCalendarType()
3634 formatters[1].applyPattern(testPattern); in TestCalendarType()
3636 formatters[1] = null; in TestCalendarType()
3642 formatters[2] = (SimpleDateFormat)df; in TestCalendarType()
3643 formatters[2].applyPattern(testPattern); in TestCalendarType()
3645 formatters[2] = null; in TestCalendarType()
[all …]
DRbnfTest.java224 RuleBasedNumberFormat[] formatters = { in TestUndefinedSpellout() local
256 for (int j = 0; j < formatters.length; ++j) { in TestUndefinedSpellout()
257 android.icu.text.NumberFormat formatter = formatters[j]; in TestUndefinedSpellout()
/external/icu/icu4j/
Dcoverage-exclusion.txt459formatters/CompactDecimalFormat#apply:(Lcom/ibm/icu/impl/number/FormatQuantity;Lcom/ibm/icu/impl/n…
460 com/ibm/icu/impl/number/formatters/CompactDecimalFormat#before:(Lcom/ibm/icu/impl/number/FormatQuan…
461 …om/ibm/icu/impl/number/formatters/CompactDecimalFormat$CompactType#valueOf:(Ljava/lang/String;)Lco…
462 com/ibm/icu/impl/number/formatters/CompactDecimalFormat$CompactType#values:()[Lcom/ibm/icu/impl/num…
463 com/ibm/icu/impl/number/formatters/CurrencyFormat#<init>:()V
464 com/ibm/icu/impl/number/formatters/CurrencyFormat$CurrencyStyle#valueOf:(Ljava/lang/String;)Lcom/ib…
465 com/ibm/icu/impl/number/formatters/MeasureFormat#<init>:()V
466 …ibm/icu/impl/number/formatters/MeasureFormat#getInstance:(Lcom/ibm/icu/text/DecimalFormatSymbols;L…
467 com/ibm/icu/impl/number/formatters/PaddingFormat$PadPosition#valueOf:(Ljava/lang/String;)Lcom/ibm/i…
468 com/ibm/icu/impl/number/formatters/PositiveNegativeAffixFormat#<init>:()V
[all …]
/external/markdown/markdown/extensions/
Dcodehilite.py81 from pygments.formatters import HtmlFormatter
/external/swiftshader/third_party/llvm-7.0/llvm/tools/opt-viewer/
Dopt-viewer.py18 from pygments.formatters import HtmlFormatter
/external/icu/icu4c/source/test/intltest/
Ddtfmttst.cpp3472 DateFormat *formatters[] = { in TestRoundtripWithCalendar() local
3486 for (int i = 0; formatters[i] != NULL; i++) { in TestRoundtripWithCalendar()
3494 formatters[i]->format(*calendars[i], buf, fpos); in TestRoundtripWithCalendar()
3508 formatters[i]->format(*calendars[j], buf, fpos); in TestRoundtripWithCalendar()
3525 formatters[i]->parse(refStr, *calendars[i], ppos); in TestRoundtripWithCalendar()
3538 formatters[i]->parse(refStr, *calendars[j], ppos); in TestRoundtripWithCalendar()
3563 for (int i = 0; formatters[i] != NULL; i++) { in TestRoundtripWithCalendar()
3564 delete formatters[i]; in TestRoundtripWithCalendar()

12