Home
last modified time | relevance | path

Searched full:formatters (Results 1 – 25 of 243) sorted by relevance

12345678910

/external/icu/icu4c/source/i18n/
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[i] == NULL) { in operator =()
57 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()
592 //delete formatters[style]; in searchInLocaleChain()
[all …]
/external/pigweed/pw_console/py/pw_console/progress_bar/
Dprogress_bar_state.py24 from prompt_toolkit.shortcuts.progress_bar import formatters
37 formatters.Label(suffix=': '),
38 formatters.Rainbow(
39 formatters.Bar(start='|Pigw',
44 formatters.Text(' '),
45 formatters.Progress(),
46 formatters.Text(' ['),
47 formatters.Percentage(),
48 formatters.Text('] in '),
49 formatters.TimeElapsed(),
[all …]
Dprogress_bar_impl.py44 from prompt_toolkit.shortcuts.progress_bar.formatters import (
98 formatters: Optional[Sequence[Formatter]] = None,
103 self.formatters = formatters or create_default_formatters()
126 ) for f in self.formatters
/external/rust/crates/tinytemplate/src/
Dtemplate.rs401 fn formatters() -> HashMap<&'static str, Box<ValueFormatter>> { in formatters() function
416 let formatter_registry = formatters(); in test_literal()
433 let formatter_registry = formatters(); in test_value()
450 let formatter_registry = formatters(); in test_path()
467 let formatter_registry = formatters(); in test_if_taken()
484 let formatter_registry = formatters(); in test_if_untaken()
501 let formatter_registry = formatters(); in test_if_else_taken()
518 let formatter_registry = formatters(); in test_if_else_untaken()
535 let formatter_registry = formatters(); in test_ifnot_taken()
552 let formatter_registry = formatters(); in test_ifnot_untaken()
[all …]
Dlib.rs16 //! * Customizable value formatters `{ value | my_formatter }`
85 /// Type alias for closures which can be used as value formatters.
118 …/ specifies another. It is provided publicly so that it can be called as part of custom formatters.
168 /// register templates and formatters.
171 formatters: HashMap<&'template str, Box<ValueFormatter>>, field
180 formatters: HashMap::default(), in new()
207 self.formatters.insert(name, Box::new(formatter)); in add_formatter()
221 &self.formatters, in render()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DDurationFormatterFactory.java16 * Formatters are immutable once created.
24 * Set the period formatter used by the factory. New formatters created
33 * Set the builder used by the factory. New formatters created
59 * creating new formatters.
68 * creating new formatters.
DBasicDurationFormatterFactory.java45 * Set the period formatter used by the factory. New formatters created
61 * Set the builder used by the factory. New formatters created
114 * creating new formatters.
136 * creating new formatters.
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
DDurationFormatterFactory.java17 * Formatters are immutable once created.
26 * Set the period formatter used by the factory. New formatters created
35 * Set the builder used by the factory. New formatters created
61 * creating new formatters.
70 * creating new formatters.
DBasicDurationFormatterFactory.java46 * Set the period formatter used by the factory. New formatters created
62 * Set the builder used by the factory. New formatters created
115 * creating new formatters.
137 * creating new formatters.
/external/python/cpython2/Lib/logging/
Dconfig.py77 formatters = _create_formatters(cp)
85 handlers = _install_handlers(cp, formatters)
112 """Create and return formatters"""
113 flist = cp.get("formatters", "keys")
118 formatters = {}
136 formatters[form] = f
137 return formatters
140 def _install_handlers(cp, formatters): argument
168 h.setFormatter(formatters[fmt])
543 # Do formatters first - they don't refer to anything else
[all …]
/external/python/cpython3/Lib/ensurepip/_bundled/
Dpip-22.0.4-py3-none-any.whlpip/__init__.py pip/__main__.py pip/py.typed pip/_internal/ ...
/external/python/cpython3/Lib/logging/
Dconfig.py72 formatters = _create_formatters(cp)
80 handlers = _install_handlers(cp, formatters)
104 """Create and return formatters"""
105 flist = cp["formatters"]["keys"]
110 formatters = {}
121 formatters[form] = f
122 return formatters
125 def _install_handlers(cp, formatters): argument
152 h.setFormatter(formatters[fmt])
540 # Do formatters first - they don't refer to anything else
[all …]
/external/python/cpython3/Doc/library/
Dlogging.config.rst242 .. _logging-config-dictschema-formatters:
244 * *formatters* - the corresponding value will be a dict in which each
360 and formatters are anonymous, once a configuration is set up, it is
365 the object graph of loggers, handlers, filters, formatters at
374 and is ``True``, the system will completely ignore any ``formatters`` and
390 handlers, formatters, filters - which are connected to each other in
407 formatters:
429 ``foo.bar.baz``. The ids for Formatters and Filters can be any string
448 formatters. (Loggers do not need to have different types for
466 formatters:
[all …]
/external/python/cpython2/Lib/test/
Dtest_logging.py517 [formatters]
543 [formatters]
575 [formatters]
613 [formatters]
635 # config6 uses ', ' delimiters in the handlers and formatters sections
643 [formatters]
685 [formatters]
722 [formatters]
1127 'formatters': {
1149 'formatters': {
[all …]
/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:
349 ``foo.bar.baz``. The ids for Formatters and Filters can be any string
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
[all …]
/external/jacoco/jacoco-maven-plugin/src/org/jacoco/maven/
DReportSupport.java50 * <li>Add one or multiple formatters with <code>addXXX()</code> methods</li>
59 private final List<IReportVisitor> formatters; field in ReportSupport
70 this.formatters = new ArrayList<IReportVisitor>(); in ReportSupport()
87 formatters.add(visitor); in addVisitor()
94 formatters.add(checker.createVisitor(output)); in addRulesChecker()
98 final IReportVisitor visitor = new MultiReportVisitor(formatters); in initRootVisitor()
/external/jacoco/org.jacoco.ant/src/org/jacoco/ant/
DReportTask.java153 * Interface for child elements that define formatters.
425 private final List<FormatterElement> formatters = new ArrayList<FormatterElement>(); field in ReportTask
452 formatters.add(element); in createHtml()
463 formatters.add(element); in createCsv()
474 formatters.add(element); in createCheck()
485 formatters.add(element); in createXml()
498 for (final FormatterElement f : formatters) { in execute()
532 for (final FormatterElement f : formatters) { in createVisitor()
/external/oss-fuzz/projects/pygments/
Dfuzz_lexers.py21 import pygments.formatters.html
24 formatter = pygments.formatters.html.HtmlFormatter()
/external/python/mobly/mobly/
Dbase_instrumentation_test.py709 instrumentation method block to create formatters based upon.
714 A list of the formatters tha need to create and add
717 formatters = []
724 formatters.append(
729 formatters.append(_InstrumentationBlockFormatter(instrumentation_block))
730 return formatters
748 formatters = self._create_formatters(instrumentation_block, new_state)
749 for formatter in formatters:
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/
DFormatters.h1 //===- Formatters.h ---------------------------------------------*- C++ -*-===//
14 #include "llvm/DebugInfo/CodeView/Formatters.h"
/external/google-breakpad/src/common/mac/
DGTMLogger.h48 // formatters, and filters and they can even build them on top of the ones
61 // system. It is built on the concept of log formatters (GTMLogFormatter), log
69 // with user defined formatters, filters, and writers. And these writers,
70 // filters, and formatters can be combined, stacked, and customized in arbitrary
102 // this information on to formatters, filters, and writers, each of which may
200 // For futher details on log writers, formatters, and filters, see the
403 // Log Formatters
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DFormatters.cpp1 //===- Formatters.cpp -----------------------------------------------------===//
9 #include "llvm/DebugInfo/CodeView/Formatters.h"
/external/pdfium/third_party/lcms/
D0005-old-fix-e-with-tilde.patch9 -// Null transformation, only applies formatters. No cach�
10 +// Null transformation, only applies formatters. No cache
/external/icu/icu4c/source/io/
Dlocbund.h41 * Initialize a ULocaleBundle, initializing all formatters to 0.
50 * Create a new ULocaleBundle, initializing all formatters to 0.

12345678910