Searched refs:Formatter (Results 1 - 25 of 54) sorted by relevance

123

/external/chromium_org/ui/base/l10n/
H A Dformatter.h24 // Formatter for a (format, length) combination. May either be instantiated
27 class Formatter { class in namespace:ui
43 Formatter(const Pluralities& sec_pluralities,
48 Formatter(const Pluralities& sec_pluralities,
78 DISALLOW_IMPLICIT_CONSTRUCTORS(Formatter);
87 const Formatter* Get(TimeFormat::Format format,
99 scoped_ptr<Formatter>
H A Dtime_format.cc60 const Formatter* formatter = g_container.Get().Get(format, length);
64 formatter->Format(Formatter::UNIT_SEC, seconds, time_string);
72 formatter->Format(Formatter::UNIT_MIN, minutes, time_string);
77 formatter->Format(Formatter::TWO_UNITS_MIN_SEC,
87 formatter->Format(Formatter::UNIT_HOUR, hours, time_string);
91 formatter->Format(Formatter::TWO_UNITS_HOUR_MIN,
99 formatter->Format(Formatter::UNIT_DAY, days, time_string);
103 formatter->Format(Formatter::TWO_UNITS_DAY_HOUR,
H A Dformatter.cc181 Formatter::Formatter(const Pluralities& sec_pluralities, function in class:ui::Formatter
191 Formatter::Formatter(const Pluralities& sec_pluralities, function in class:ui::Formatter
213 void Formatter::Format(Unit unit,
223 void Formatter::Format(TwoUnits units,
239 scoped_ptr<icu::PluralFormat> Formatter::CreateFallbackFormat(
254 scoped_ptr<icu::PluralFormat> Formatter::InitFormat(
270 const Formatter* FormatterContainer::Get(TimeFormat::Format format,
286 new Formatter(IDS_ELAPSED_SHORT_SE
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/tools/trace/
H A Dformat.py33 class Formatter: class in inherits:
58 class AnsiFormatter(Formatter):
59 '''Formatter for plain-text files which outputs ANSI escape codes. See
78 Formatter.function(self, name)
83 Formatter.variable(self, name)
88 Formatter.literal(self, value)
93 Formatter.address(self, value)
97 class WindowsConsoleFormatter(Formatter):
98 '''Formatter for the Windows Console. See
123 Formatter
[all...]
/external/mesa3d/src/gallium/tools/trace/
H A Dformat.py33 class Formatter: class in inherits:
58 class AnsiFormatter(Formatter):
59 '''Formatter for plain-text files which outputs ANSI escape codes. See
78 Formatter.function(self, name)
83 Formatter.variable(self, name)
88 Formatter.literal(self, value)
93 Formatter.address(self, value)
97 class WindowsConsoleFormatter(Formatter):
98 '''Formatter for the Windows Console. See
123 Formatter
[all...]
/external/chromium_org/build/android/pylib/utils/
H A Drun_tests_helper.py12 class CustomFormatter(logging.Formatter):
17 # Can't use super() because in older Python versions logging.Formatter does
19 logging.Formatter.__init__(self, fmt=fmt)
24 # Can't use super() because in older Python versions logging.Formatter does
26 msg = logging.Formatter.format(self, record)
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/
H A DScriptFormatter.js34 WebInspector.Formatter = function()
40 * @return {!WebInspector.Formatter}
42 WebInspector.Formatter.createFormatter = function(contentType)
55 WebInspector.Formatter.locationToPosition = function(lineEndings, lineNumber, columnNumber)
66 WebInspector.Formatter.positionToLocation = function(lineEndings, position)
76 WebInspector.Formatter.prototype = {
89 * @implements {WebInspector.Formatter}
136 * @implements {WebInspector.Formatter}
239 var originalPosition = WebInspector.Formatter.locationToPosition(this._originalLineEndings, lineNumber, columnNumber || 0);
241 return WebInspector.Formatter
[all...]
H A DInplaceFormatterEditorAction.js92 var formatter = WebInspector.Formatter.createFormatter(uiSourceCode.contentType());
H A DUISourceCodeFrame.js82 if (projectType === WebInspector.projectTypes.Debugger || projectType === WebInspector.projectTypes.Formatter)
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/util/
H A DHashUtil.java11 import java.util.Formatter;
54 Formatter formatter = new Formatter(sb);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dlogutils.py148 formatter = logging.Formatter("%(name)s: [%(levelname)s] %(message)s")
150 formatter = logging.Formatter("%(message)s")
H A Dlogtesting.py150 formatter = logging.Formatter("%(levelname)s: %(message)s")
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
H A DFormatterTest.java23 import java.util.logging.Formatter;
30 Formatter f;
127 public static class MockFormatter extends Formatter {
H A DMemoryHandlerTest.java27 import java.util.logging.Formatter;
103 Formatter formatter = handler.getFormatter();
118 Formatter formatter = handler.getFormatter();
380 public static class MockFormatter extends Formatter {
H A DHandlerTest.java27 import java.util.logging.Formatter;
223 Formatter f = new SimpleFormatter();
H A DFileHandlerTest.java33 import java.util.logging.Formatter;
213 Formatter formatter, String encoding) throws Exception {
218 LogRecord[] lr, Formatter formatter, String encoding) throws Exception {
514 Formatter f = handler.getFormatter();
615 public static class MockFormatter extends Formatter {
/external/chromium_org/tools/deep_memory_profiler/
H A Ddmprof.py67 formatter = logging.Formatter('%(message)s')
/external/chromium_org/tools/python/google/
H A Dlogging_utils.py78 formatter = logging.Formatter(format, datefmt)
/external/smali/util/src/main/java/ds/tree/
H A DRadixTreeImpl.java31 import java.util.Formatter;
380 formatNodeTo(new Formatter(System.out), 0, root);
385 formatNodeTo(new Formatter(System.out), level, node);
391 private void formatNodeTo(Formatter f, int level, RadixTreeNode<T> node) {
417 public void formatTo(Formatter formatter, int flags, int width, int precision) {
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/
H A Dchecker.py304 formatter = logging.Formatter("%(levelname)s: %(message)s")
315 formatter = logging.Formatter("%(message)s")
329 formatter = logging.Formatter("%(name)s: %(levelname)-8s %(message)s")
/external/chromium_org/tools/
H A Dmulti_process_rss.py121 logging_handler.setFormatter(logging.Formatter(
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
H A Dheaderparserhandler.py91 self._formatter = logging.Formatter('%(name)s: %(message)s')
/external/chromium_org/build/android/
H A Dadb_logcat_printer.py171 sh.setFormatter(logging.Formatter('%(asctime)-2s %(levelname)-8s'
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/
H A Dheaderparserhandler.py92 self._formatter = logging.Formatter('%(name)s: %(message)s')
/external/guava/guava/src/com/google/common/base/
H A DStrings.java26 import java.util.Formatter;
89 * <p>See {@link Formatter} for a richer set of formatting capabilities.
121 * <p>See {@link Formatter} for a richer set of formatting capabilities.

Completed in 1205 milliseconds

123