Searched full:formatters (Results 1 – 25 of 384) sorted by relevance
12345678910>>...16
34 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 …]
434 MessageFormat** formatters = in put() local436 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() local525 if( formatters == nullptr || formatters[style] == nullptr ) { in checkConsistency()581 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount); in searchInLocaleChain() local582 if (formatters == nullptr) { in searchInLocaleChain()585 formatters = localFormatters.getAlias(); in searchInLocaleChain()593 //delete formatters[style]; in searchInLocaleChain()[all …]
36 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 …]
431 MessageFormat** formatters = in put() local433 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() local522 if( formatters == nullptr || formatters[style] == nullptr ) { in checkConsistency()580 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount); in searchInLocaleChain() local581 if (formatters == nullptr) { in searchInLocaleChain()584 formatters = localFormatters.getAlias(); in searchInLocaleChain()592 //delete formatters[style]; in searchInLocaleChain()[all …]
23 from prompt_toolkit.shortcuts.progress_bar import formatters37 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 …]
44 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
401 fn formatters() -> HashMap<&'static str, Box<ValueFormatter>> { in formatters() function416 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 …]
16 //! * 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>>, field180 formatters: HashMap::default(), in new()207 self.formatters.insert(name, Box::new(formatter)); in add_formatter()221 &self.formatters, in render()
27 import pygments.formatters.other28 import pygments.formatters.terminal29 import pygments.formatters.terminal25654 NullFormatter = pygments.formatters.other.NullFormatter55 TerminalFormatter = pygments.formatters.terminal.TerminalFormatter56 Terminal256Formatter = pygments.formatters.terminal256.Terminal256Formatter
16 * Formatters are immutable once created.24 * Set the period formatter used by the factory. New formatters created33 * Set the builder used by the factory. New formatters created59 * creating new formatters.68 * creating new formatters.
45 * Set the period formatter used by the factory. New formatters created61 * Set the builder used by the factory. New formatters created114 * creating new formatters.136 * creating new formatters.
17 * Formatters are immutable once created.26 * Set the period formatter used by the factory. New formatters created35 * Set the builder used by the factory. New formatters created61 * creating new formatters.70 * creating new formatters.
46 * Set the period formatter used by the factory. New formatters created62 * Set the builder used by the factory. New formatters created115 * creating new formatters.137 * creating new formatters.
77 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] = f137 return formatters140 def _install_handlers(cp, formatters): argument168 h.setFormatter(formatters[fmt])543 # Do formatters first - they don't refer to anything else[all …]
pip/__init__.py pip/__main__.py pip/__pip-runner__.py pip/ ...
82 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] = f132 return formatters135 def _install_handlers(cp, formatters): argument162 h.setFormatter(formatters[fmt])548 # Do formatters first - they don't refer to anything else[all …]
517 [formatters]543 [formatters]575 [formatters]613 [formatters]635 # config6 uses ', ' delimiters in the handlers and formatters sections643 [formatters]685 [formatters]722 [formatters]1127 'formatters': {1149 'formatters': {[all …]
178 * *formatters* - the corresponding value will be a dict in which each280 and formatters are anonymous, once a configuration is set up, it is285 the object graph of loggers, handlers, filters, formatters at294 and is ``True``, the system will completely ignore any ``formatters`` and310 handlers, formatters, filters - which are connected to each other in327 formatters:349 ``foo.bar.baz``. The ids for Formatters and Filters can be any string368 formatters. (Loggers do not need to have different types for386 formatters:398 The above YAML snippet defines three formatters. The first, with id[all …]
43 from prompt_toolkit.shortcuts.progress_bar.formatters import (47 from prompt_toolkit.shortcuts.progress_bar import formatters151 formatters.Text(' '),152 formatters.Label(),153 formatters.Text(' '),155 formatters.Text(' '),157 formatters.Text(' '),214 formatters=self.progress_bar_formatters,
250 .. _logging-config-dictschema-formatters:252 * *formatters* - the corresponding value will be a dict in which each374 and formatters are anonymous, once a configuration is set up, it is379 the object graph of loggers, handlers, filters, formatters at388 and is ``True``, the system will completely ignore any ``formatters`` and404 handlers, formatters, filters - which are connected to each other in421 formatters:443 ``foo.bar.baz``. The ids for Formatters and Filters can be any string462 formatters. (Loggers do not need to have different types for480 formatters:[all …]
50 * <li>Add one or multiple formatters with <code>addXXX()</code> methods</li>59 private final List<IReportVisitor> formatters; field in ReportSupport70 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()
153 * Interface for child elements that define formatters.425 private final List<FormatterElement> formatters = new ArrayList<FormatterElement>(); field in ReportTask452 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()
32 * 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 formatters323 FormatterMap* formatters = nullptr; variable