Home
last modified time | relevance | path

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

12345678910>>...16

/external/icu/icu4c/source/i18n/
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[i] == nullptr) { in operator =()
57 formatters[i] = nullptr; in operator =()
[all …]
Dtmutfmt.cpp434 MessageFormat** formatters = in put() local
436 if (formatters == nullptr) { in put()
449 formatters = localFormatters.orphan(); in put()
451 formatters[style] = messageFormat.orphan(); in put()
524 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(*pluralCount); in checkConsistency() local
525 if( formatters == nullptr || formatters[style] == nullptr ) { in checkConsistency()
581 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount); in searchInLocaleChain() local
582 if (formatters == nullptr) { in searchInLocaleChain()
585 formatters = localFormatters.getAlias(); in searchInLocaleChain()
593 //delete formatters[style]; in searchInLocaleChain()
[all …]
Dmessageformat2_function_registry.cpp36 U_ASSERT(formatters != nullptr && selectors != nullptr && formattersByType != nullptr); in build()
37 MFFunctionRegistry result = MFFunctionRegistry(formatters, selectors, formattersByType); in build()
38 formatters = nullptr; in build()
54 U_ASSERT(formatters != nullptr); in adoptFormatter()
55 formatters->put(formatterName, formatterFactory, errorCode); in adoptFormatter()
72 formatters = new Hashtable(); in Builder()
75 if (!(formatters != nullptr && selectors != nullptr && formattersByType != nullptr)) { in Builder()
78 formatters->setValueDeleter(uprv_deleteUObject); in Builder()
84 if (formatters != nullptr) { in ~Builder()
85 delete formatters; in ~Builder()
[all …]
/external/cronet/third_party/icu/source/i18n/
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[i] == nullptr) { in operator =()
57 formatters[i] = nullptr; in operator =()
[all …]
Dtmutfmt.cpp431 MessageFormat** formatters = in put() local
433 if (formatters == nullptr) { 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 == nullptr || formatters[style] == nullptr ) { in checkConsistency()
580 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount); in searchInLocaleChain() local
581 if (formatters == nullptr) { 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.py23 from prompt_toolkit.shortcuts.progress_bar import formatters
37 formatters.Label(suffix=': '),
38 formatters.Rainbow(
39 formatters.Bar(start='|Pigw', end='|', sym_a='e', sym_b='d!', sym_c=' ')
41 formatters.Text(' '),
42 formatters.Progress(),
43 formatters.Text(' ['),
44 formatters.Percentage(),
45 formatters.Text('] in '),
46 formatters.TimeElapsed(),
[all …]
Dprogress_bar_impl.py44 from prompt_toolkit.shortcuts.progress_bar.formatters import (
98 formatters: Sequence[Formatter] | None = None,
102 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/rust/crates/grpcio-sys/grpc/tools/run_tests/xds_k8s_test_driver/framework/helpers/
Dhighlighter.py27 import pygments.formatters.other
28 import pygments.formatters.terminal
29 import pygments.formatters.terminal256
54 NullFormatter = pygments.formatters.other.NullFormatter
55 TerminalFormatter = pygments.formatters.terminal.TerminalFormatter
56 Terminal256Formatter = pygments.formatters.terminal256.Terminal256Formatter
/external/icu/icu4j/main/core/src/main/java/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-23.1.2-py3-none-any.whlpip/__init__.py pip/__main__.py pip/__pip-runner__.py pip/ ...
/external/python/cpython3/Lib/logging/
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): argument
162 h.setFormatter(formatters[fmt])
548 # Do formatters first - they don't refer to anything else
[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/pigweed/pw_build/py/pw_build/
Dproject_builder_context.py43 from prompt_toolkit.shortcuts.progress_bar.formatters import (
47 from prompt_toolkit.shortcuts.progress_bar import formatters
151 formatters.Text(' '),
152 formatters.Label(),
153 formatters.Text(' '),
155 formatters.Text(' '),
157 formatters.Text(' '),
214 formatters=self.progress_bar_formatters,
/external/python/cpython3/Doc/library/
Dlogging.config.rst250 .. _logging-config-dictschema-formatters:
252 * *formatters* - the corresponding value will be a dict in which each
374 and formatters are anonymous, once a configuration is set up, it is
379 the object graph of loggers, handlers, filters, formatters at
388 and is ``True``, the system will completely ignore any ``formatters`` and
404 handlers, formatters, filters - which are connected to each other in
421 formatters:
443 ``foo.bar.baz``. The ids for Formatters and Filters can be any string
462 formatters. (Loggers do not need to have different types for
480 formatters:
[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/icu/libicu/cts_headers/unicode/
Dmessageformat2_function_registry.h32 * Interface that factory classes for creating formatters must implement.
108 * Defines mappings from names of formatters and selectors to functions implementing them.
177 FormatterMap* formatters;
207 * for creating `formatterName` formatters. This argument is adopted.
221 * creating formatters for `formatterType` objects.
244 * Creates an immutable `MFFunctionRegistry` object with the selectors and formatters
323 FormatterMap* formatters = nullptr; variable
/external/icu/icu4c/source/i18n/unicode/
Dmessageformat2_function_registry.h32 * Interface that factory classes for creating formatters must implement.
108 * Defines mappings from names of formatters and selectors to functions implementing them.
177 FormatterMap* formatters;
207 * for creating `formatterName` formatters. This argument is adopted.
221 * creating formatters for `formatterType` objects.
244 * Creates an immutable `MFFunctionRegistry` object with the selectors and formatters
323 FormatterMap* formatters = nullptr; variable

12345678910>>...16