Home
last modified time | relevance | path

Searched refs:Formatter (Results 1 – 25 of 144) sorted by relevance

123456

/external/mesa3d/src/gallium/tools/trace/
Dformat.py33 class Formatter: class
58 class AnsiFormatter(Formatter):
78 Formatter.function(self, name)
83 Formatter.variable(self, name)
88 Formatter.literal(self, value)
93 Formatter.address(self, value)
97 class WindowsConsoleFormatter(Formatter):
123 Formatter.__init__(self, stream)
147 Formatter.function(self, name)
152 Formatter.variable(self, name)
[all …]
/external/caliper/examples/src/main/java/examples/
DFormatterBenchmark.java20 import java.util.Formatter;
28 Formatter f = new Formatter(); in formatter_NoFormatting()
43 Formatter f = new Formatter(); in formatter_OneInt()
60 Formatter f = new Formatter(); in formatter_OneString()
/external/python/cpython3/Lib/test/
Dtest_string.py35 fmt = string.Formatter()
40 self.assertRaises(TypeError, string.Formatter.format)
43 fmt = string.Formatter()
55 fmt = string.Formatter()
74 fmt = string.Formatter()
86 fmt = string.Formatter()
96 fmt = string.Formatter()
105 class NamespaceFormatter(string.Formatter):
107 string.Formatter.__init__(self)
118 string.Formatter.get_value(key, args, kwds)
[all …]
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DStatszZPageHandler.java55 import java.util.Formatter;
134 Formatter formatter = new Formatter(out, Locale.US); in emitHtml()
148 private static void emitStyles(PrintWriter out, Formatter formatter) { in emitStyles()
155 private void emitHtmlBody(Map<String, String> queryMap, PrintWriter out, Formatter formatter) { in emitHtmlBody()
222 Formatter formatter) { in emitDirectoryTable()
280 private static void emitDirectoryHeader(String path, PrintWriter out, Formatter formatter) { in emitDirectoryHeader()
295 /*@Nullable*/ ViewData viewData, View.Name viewName, PrintWriter out, Formatter formatter) { in emitViewData()
315 View view, ViewData.AggregationWindowData windowData, PrintWriter out, Formatter formatter) { in emitViewInfo()
370 private static void emitViewInfoHeader(PrintWriter out, Formatter formatter) { in emitViewInfoHeader()
383 private static void emitViewDataTableHeader(View view, PrintWriter out, Formatter formatter) { in emitViewDataTableHeader()
[all …]
DTracezZPageHandler.java56 import java.util.Formatter;
201 Formatter formatter = new Formatter(out, Locale.US); in emitHtmlBody()
270 Formatter formatter, String spanName, int returnedNum, RequestType type) { in emitSpanNameAndCountPages()
281 private static void emitSpans(PrintWriter out, Formatter formatter, Collection<SpanData> spans) { in emitSpans()
306 private static void emitSingleSpan(PrintWriter out, Formatter formatter, SpanData span) { in emitSingleSpan()
416 private void emitSummaryTable(PrintWriter out, Formatter formatter) in emitSummaryTable()
501 private static void emitSummaryTableHeader(PrintWriter out, Formatter formatter) { in emitSummaryTableHeader()
532 Formatter formatter, in emitSingleCell()
/external/tensorflow/tensorflow/core/lib/strings/
Dstr_util.h110 template <typename T, typename Formatter>
111 string Join(const T& s, const char* sep, Formatter f);
172 class Formatter {
174 Formatter(std::function<void(string*, T)> f) : f_(f) {} in Formatter() function
181 template <typename T, typename Formatter>
182 string Join(const T& s, const char* sep, Formatter f) { in Join()
/external/autotest/client/common_lib/
Dlogging_config.py26 class VarLogMessageFormatter(logging.Formatter):
56 file_formatter = logging.Formatter(fmt=FILE_FORMAT, datefmt=DATE_FORMAT)
60 console_formatter = logging.Formatter(fmt=CONSOLE_FORMAT,
89 formatter = logging.Formatter(fmt=self.CONSOLE_FORMAT,
115 formatter = logging.Formatter(fmt=self.FILE_FORMAT, datefmt=datefmt)
173 handler.setFormatter(logging.Formatter(
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/widget/
DNumberPicker.java44 public interface Formatter { interface in NumberPicker
53 public static final NumberPicker.Formatter TWO_DIGIT_FORMATTER = new NumberPicker.Formatter() {
55 final java.util.Formatter mFmt = new java.util.Formatter(mBuilder);
88 private Formatter mFormatter;
142 public void setFormatter(Formatter formatter) { in setFormatter()
/external/chromium-trace/catapult/devil/devil/utils/
Dlogging_common.py31 class CustomFormatter(logging.Formatter):
38 logging.Formatter.__init__(self, fmt=fmt)
45 msg = logging.Formatter.format(self, record)
/external/libnl/python/netlink/
Dutil.py15 from string import Formatter
78 class MyFormatter(Formatter):
103 return Formatter.get_value(self, key, args, kwds)
118 return Formatter.get_value(self, key, args, kwds)
/external/python/cpython2/Lib/test/
Dtest_string.py110 fmt = string.Formatter()
118 class NamespaceFormatter(string.Formatter):
120 string.Formatter.__init__(self)
131 string.Formatter.get_value(key, args, kwds)
138 class CallFormatter(string.Formatter):
147 class XFormatter(string.Formatter):
158 class BarFormatter(string.Formatter):
174 class CheckAllUsedFormatter(string.Formatter):
200 fmt = string.Formatter()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
DFormatter.java40 public abstract class Formatter<PlotType extends Plot> { class
42 public Formatter<PlotType> configure(Context ctx, int xmlCfgId) { in configure()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DTwineTest.cpp113 formatter Formatter(Count); in TEST() local
114 (void)Twine(formatv("{0}", Formatter)); in TEST()
116 (void)Twine(formatv("{0}", Formatter)).str(); in TEST()
/external/guice/core/src/com/google/inject/internal/
DMessages.java38 import java.util.Formatter;
78 Formatter fmt = new Formatter().format(heading).format(":%n%n"); in formatMessages()
214 static void formatSource(Formatter formatter, Object source) { in formatSource()
223 static void formatSource(Formatter formatter, Object source, ElementSource elementSource) { in formatSource()
259 Formatter formatter, in formatInjectionPoint()
DSingletonScope.java17 import java.util.Formatter;
258 Formatter fmt = new Formatter(sb); in scope()
DErrors.java47 import java.util.Formatter;
207 Formatter fmt = new Formatter(); in missingImplementationWithHint()
452 Formatter allSources = new Formatter(); in childBindingAlreadySet()
661 public static void formatSource(Formatter formatter, Object source) {
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DFormatterTest.java23 import java.util.logging.Formatter;
30 Formatter f;
127 public static class MockFormatter extends Formatter {
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DXYSeriesFormatter.java21 import com.androidplot.ui.Formatter;
25 …lass XYSeriesFormatter<XYRegionFormatterType extends XYRegionFormatter> extends Formatter<XYPlot> {
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue148/
DPrintableUnicodeTest.java18 import java.util.Formatter;
172 Formatter formatter = new Formatter(result); in hexdump()
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
DStrftime.java25 class Formatter { in format() class
28 public Formatter( in format() method in Strftime.Formatter
48 Formatter formatter = new Formatter(date, locale, zone); in format()
/external/autotest/client/cros/cellular/pseudomodem/
Dlogging_setup.py16 class ModemManagerFormatter(logging.Formatter):
56 stdout_formatter = logging.Formatter(
/external/autotest/client/cros/cellular/
Dlabconfig_write_stanzas30 class Formatter(object): class
55 f = Formatter()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DStringLiteral.java18 import java.util.Formatter;
59 new Formatter(result).format("\\u%04x", (int) c); in stringLiteral()
DSnippet.java26 import java.util.Formatter;
80 Formatter formatter = new Formatter(appendable);
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/
DPlotTest.java29 import com.androidplot.ui.Formatter;
101 public void doDrawLegendIcon(Canvas canvas, RectF rect, Formatter formatter) { in doDrawLegendIcon()
117 public void doDrawLegendIcon(Canvas canvas, RectF rect, Formatter formatter) { in doDrawLegendIcon()
122 static class MockFormatter1 extends Formatter<MockPlot> {
135 static class MockFormatter2 extends Formatter<MockPlot> {
149 public static class MockPlot extends Plot<MockSeries, Formatter, SeriesRenderer> {

123456