Searched defs:formatter (Results 1 - 25 of 48) sorted by relevance

12

/external/proguard/src/proguard/gui/
H A DGUIResources.java35 private static final MessageFormat formatter = new MessageFormat(""); field in class:GUIResources
53 formatter.applyPattern(messages.getString(messageKey));
54 return formatter.format(messageArguments);
/external/apache-http/src/org/apache/http/impl/io/
H A DAbstractMessageWriter.java54 final LineFormatter formatter,
62 this.lineFormatter = (formatter != null) ?
63 formatter : BasicLineFormatter.DEFAULT;
53 AbstractMessageWriter(final SessionOutputBuffer buffer, final LineFormatter formatter, final HttpParams params) argument
H A DHttpRequestWriter.java46 final LineFormatter formatter,
48 super(buffer, formatter, params);
45 HttpRequestWriter(final SessionOutputBuffer buffer, final LineFormatter formatter, final HttpParams params) argument
H A DHttpResponseWriter.java46 final LineFormatter formatter,
48 super(buffer, formatter, params);
45 HttpResponseWriter(final SessionOutputBuffer buffer, final LineFormatter formatter, final HttpParams params) argument
/external/webkit/Source/WebCore/platform/text/
H A DLocalizedNumberICU.cpp48 OwnPtr<NumberFormat> formatter = adoptPtr(NumberFormat::createInstance(status)); local
49 return U_SUCCESS(status) ? formatter.release() : 0;
56 static NumberFormat* formatter = createFormatterForCurrentLocale().leakPtr(); local
57 return formatter;
64 NumberFormat* formatter = numberFormatter();
65 if (!formatter)
70 formatter->parse(numberUnicodeString, result, position);
80 NumberFormat* formatter = numberFormatter(); local
81 if (!formatter)
84 formatter
[all...]
/external/chromium/base/i18n/
H A Dtime_formatting.cc19 string16 TimeFormat(const icu::DateFormat* formatter, argument
21 DCHECK(formatter);
24 formatter->format(static_cast<UDate>(time.ToDoubleT() * 1000), date_string);
36 scoped_ptr<icu::DateFormat> formatter(
38 return TimeFormat(formatter.get(), time);
64 icu::SimpleDateFormat formatter(generated_pattern, status);
66 return TimeFormat(&formatter, time);
70 scoped_ptr<icu::DateFormat> formatter(
72 return TimeFormat(formatter.get(), time);
76 scoped_ptr<icu::DateFormat> formatter(
[all...]
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/
H A Dhtmlutil.py22 import formatter namespace
37 htmllib.HTMLParser.__init__(self, formatter.NullFormatter())
/external/icu4c/i18n/
H A Dudateintervalformat.cpp41 LocalPointer<DateIntervalFormat> formatter(
52 formatter->adoptTimeZone(zone);
54 return (UDateIntervalFormat*)formatter.orphan();
59 udtitvfmt_close(UDateIntervalFormat *formatter) argument
61 delete (DateIntervalFormat*)formatter;
66 udtitvfmt_format(const UDateIntervalFormat* formatter, argument
93 ((const DateIntervalFormat*)formatter)->format( &interval, res, fp, *status );
H A Dnfrule.h101 const RuleBasedNumberFormat* formatter; member in class:NFRule
/external/icu4c/test/intltest/
H A Ditrbnfp.cpp111 // none of these rules should crash the formatter
125 RuleBasedNumberFormat* formatter = new RuleBasedNumberFormat(rule, Locale::getUS(), perr, status); local
130 testfmt(formatter, 20, status);
131 testfmt(formatter, 1.23, status);
132 testfmt(formatter, -123, status);
133 testfmt(formatter, .123, status);
134 testfmt(formatter, 123, status);
140 delete formatter;
146 IntlTestRBNFParse::testfmt(RuleBasedNumberFormat* formatter, double val, UErrorCode& status) { argument
148 formatter
159 testfmt(RuleBasedNumberFormat* formatter, int val, UErrorCode& status) argument
[all...]
H A Ditrbnfrt.cpp64 RuleBasedNumberFormat* formatter local
68 errcheckln(status, "failed to construct formatter - %s", u_errorName(status));
70 doTest(formatter, -12345678, 12345678);
72 delete formatter;
82 RuleBasedNumberFormat* formatter local
86 errcheckln(status, "failed to construct formatter - %s", u_errorName(status));
88 doTest(formatter, 0, 12345678);
90 delete formatter;
100 RuleBasedNumberFormat* formatter local
104 errcheckln(status, "failed to construct formatter
118 RuleBasedNumberFormat* formatter local
136 RuleBasedNumberFormat* formatter local
154 RuleBasedNumberFormat* formatter local
172 RuleBasedNumberFormat* formatter local
190 RuleBasedNumberFormat* formatter local
208 RuleBasedNumberFormat* formatter local
226 RuleBasedNumberFormat* formatter local
244 RuleBasedNumberFormat* formatter local
262 RuleBasedNumberFormat* formatter local
274 doTest(const RuleBasedNumberFormat* formatter, double lowLimit, double highLimit) argument
[all...]
H A Dmiscdtfm.cpp114 SimpleDateFormat *formatter; local
126 formatter = new SimpleDateFormat(dformat[i], status);
131 logln(resultFormatter->format(formatter->parse(dstring[i], status), str, pos));
139 delete formatter;
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
H A DXMLFormatterTest.java38 XMLFormatter formatter = null; field in class:XMLFormatterTest
46 formatter = new XMLFormatter();
59 String result = formatter.format(lr);
65 result = formatter.format(lr);
71 result = formatter.format(lr);
77 result = formatter.format(lr);
94 String output = formatter.format(lr);
115 String output = formatter.format(lr);
135 String result = formatter.getHead(handler);
144 result = formatter
[all...]
H A DFileHandlerTest.java104 props.put("java.util.logging.FileHandler.formatter", className
238 Formatter formatter, String encoding) throws Exception {
239 assertFileContent(homepath, filename, new LogRecord[] { r }, formatter, encoding);
243 LogRecord[] lr, Formatter formatter, String encoding) throws Exception {
246 // if formatter is null, the file content should be empty
248 if (null != formatter) {
250 sb.append(formatter.getHead(handler));
258 sb.append(formatter.getTail(handler));
259 sb.append(formatter.getHead(handler));
261 sb.append(formatter
237 assertFileContent(String homepath, String filename, Formatter formatter, String encoding) argument
242 assertFileContent(String homepath, String filename, LogRecord[] lr, Formatter formatter, String encoding) argument
[all...]
H A DStreamHandlerTest.java98 "java.util.logging.StreamHandler.formatter"));
118 p.put("java.util.logging.StreamHandler.formatter", className
144 p.put("java.util.logging.StreamHandler.formatter", className + "");
173 "java.util.logging.StreamHandler.formatter"));
195 p.put("java.util.logging.StreamHandler.formatter", className
222 p.put("java.util.logging.StreamHandler.formatter", className + "");
240 * Test the constructor with null formatter, and invalid relevant log manager
249 p.put("java.util.logging.StreamHandler.formatter", className
277 p.put("java.util.logging.StreamHandler.formatter", className
785 public MockStreamHandler(OutputStream out, Formatter formatter) { argument
[all...]
/external/apache-http/src/org/apache/http/message/
H A DBasicHeaderValueFormatter.java91 * @param formatter the formatter to use, or <code>null</code>
99 HeaderValueFormatter formatter) {
100 if (formatter == null)
101 formatter = BasicHeaderValueFormatter.DEFAULT;
102 return formatter.formatElements(null, elems, quote).toString();
160 * @param formatter the formatter to use, or <code>null</code>
168 HeaderValueFormatter formatter) {
169 if (formatter
97 formatElements(final HeaderElement[] elems, final boolean quote, HeaderValueFormatter formatter) argument
166 formatHeaderElement(final HeaderElement elem, boolean quote, HeaderValueFormatter formatter) argument
254 formatParameters(final NameValuePair[] nvps, final boolean quote, HeaderValueFormatter formatter) argument
322 formatNameValuePair(final NameValuePair nvp, final boolean quote, HeaderValueFormatter formatter) argument
[all...]
H A DBasicLineFormatter.java49 * The formatted lines are returned in memory, the formatter does not depend
102 * @param formatter the formatter to use, or
110 LineFormatter formatter) {
111 if (formatter == null)
112 formatter = BasicLineFormatter.DEFAULT;
113 return formatter.appendProtocolVersion(null, version).toString();
162 * @param formatter the formatter to use, or
169 LineFormatter formatter) {
109 formatProtocolVersion(final ProtocolVersion version, LineFormatter formatter) argument
168 formatRequestLine(final RequestLine reqline, LineFormatter formatter) argument
228 formatStatusLine(final StatusLine statline, LineFormatter formatter) argument
290 formatHeader(final Header header, LineFormatter formatter) argument
[all...]
/external/smali/util/src/main/java/ds/tree/
H A DRadixTreeImpl.java411 * Writes a textual representation of this tree to the given formatter.
417 public void formatTo(Formatter formatter, int flags, int width, int precision) { argument
418 formatNodeTo(formatter, 0, root);
/external/webkit/Tools/Scripts/webkitpy/common/system/
H A Dautoinstall.py496 formatter = logging.Formatter('%(name)s: %(levelname)-8s %(message)s') variable in class:AutoInstaller
497 console.setFormatter(formatter)
/external/emma/lib/internal/
H A Dstamptool.jar ... text.ParseException String date java.text.SimpleDateFormat formatter java.util.Date start private synchronized void setStartTime ...
/external/chromium/chrome/common/
H A Dtime_format.cc116 const std::vector<icu::PluralFormat*>& formatter(FormatType format_type) { function in class:TimeFormatter
267 g_time_formatter.Get().formatter(format_type);
/external/oprofile/libpp/
H A Dformat_output.h35 // FIXME: should be passed to the derived class formatter ctor
40 /// base class for formatter, handle common options to formatter
41 class formatter { class in namespace:format_output
43 formatter(extra_images const & extra);
44 virtual ~formatter();
100 typedef std::string (formatter::*fct_format)(field_datum const &);
125 : width(w), header_name(h), formatter(f) {}
129 fct_format formatter; member in struct:format_output::formatter::field_description
177 class opreport_formatter : public formatter {
[all...]
H A Dformat_output.cpp94 formatter::formatter(extra_images const & extra) function in class:format_output::formatter
103 format_map[ff_vma] = field_description(9, "vma", &formatter::format_vma);
104 format_map[ff_nr_samples] = field_description(9, "samples", &formatter::format_nr_samples);
105 format_map[ff_nr_samples_cumulated] = field_description(14, "cum. samples", &formatter::format_nr_cumulated_samples);
106 format_map[ff_percent] = field_description(9, "%", &formatter::format_percent);
107 format_map[ff_percent_cumulated] = field_description(11, "cum. %", &formatter::format_cumulated_percent);
108 format_map[ff_linenr_info] = field_description(28, "linenr info", &formatter::format_linenr_info);
109 format_map[ff_image_name] = field_description(25, "image name", &formatter::format_image_name);
110 format_map[ff_app_name] = field_description(25, "app name", &formatter
[all...]
/external/icu4c/test/cintltst/
H A Dcmsgtst.c181 UMessageFormat formatter = umsg_open(testCasePatterns[0],patternLength,"en_US",NULL,&ec); local
197 umsg_applyPattern(formatter,testCasePatterns[i],patternLength,&parseError,&ec);
203 resultLength = umsg_format(formatter,result,resultLength,&ec,1,3456.00,d1);
207 resultLength = umsg_format(formatter,result,resultLength+2,&ec,1,3456.00,d1);
237 umsg_parse(formatter,result,resultLength,&count,&ec,one,two,d2);
249 umsg_parse(formatter,result,resultLength,&count,&ec,&one,&two,&d2);
258 umsg_close(formatter);
H A Dudatpg_test.c229 UDateFormat *formatter; local
328 formatter = udat_open(UDAT_IGNORE, UDAT_DEFAULT, locale, timeZoneGMT, -1,
330 if (formatter==NULL) {
338 resultLen=udat_format(formatter, ucal_getNow(), formatted, formattedCapacity,
343 resultLen=udat_format(formatter, sampleDate, formatted, formattedCapacity,
349 udat_close(formatter);

Completed in 662 milliseconds

12