Home
last modified time | relevance | path

Searched defs:fmt (Results 1 – 25 of 697) sorted by relevance

12345678910>>...28

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java86 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance(new ULocale("en_US")); in TestRelativeDateWithQuantity() local
156 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance( in TestRelativeDateWithQuantityCaps() local
230 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance( in TestRelativeDateWithQuantityShort() local
304 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance( in TestRelativeDateWithQuantityNarrow() local
324 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance(new ULocale("sr")); in TestRelativeDateWithQuantitySr() local
338 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance( in TestRelativeDateWithQuantitySrFallback() local
406 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance(new ULocale("en_US")); in TestRelativeDateWithoutQuantity() local
471 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance( in TestRelativeDateWithoutQuantityCaps() local
544 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance( in TestRelativeDateWithoutQuantityShort() local
617 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance( in TestRelativeDateWithoutQuantityNarrow() local
[all …]
DScientificNumberFormatterTest.java40 ScientificNumberFormatter fmt = ScientificNumberFormatter.getMarkupInstance( in TestFarsi() local
52 ScientificNumberFormatter fmt = ScientificNumberFormatter.getMarkupInstance( in TestPlusSignInExponentMarkup() local
65 ScientificNumberFormatter fmt = ScientificNumberFormatter.getSuperscriptInstance( in TestPlusSignInExponentSuperscript() local
75 ScientificNumberFormatter fmt = ScientificNumberFormatter.getMarkupInstance( in TestFixedDecimalMarkup() local
85 ScientificNumberFormatter fmt = ScientificNumberFormatter.getSuperscriptInstance(decfmt); in TestFixedDecimalSuperscript() local
DBigNumberFormatTest.java63 private void expectPad(DecimalFormat fmt, String pat, int pos) { in expectPad()
67 private void expectPad(DecimalFormat fmt, String pat, in expectPad()
95 DecimalFormat fmt = new DecimalFormat("#", US); in TestPatterns() local
147 private void expectPat(DecimalFormat fmt, String exp) { in expectPat()
283 private void expect(NumberFormat fmt, Object[] data) { in expect()
290 NumberFormat fmt = null, fmts[] = null; in expect() local
335 private void expect(NumberFormat fmt, Number n, String exp) { in expect()
349 private void expect(NumberFormat fmt, String str, Number exp) { in expect()
407 NumberFormat fmt = NumberFormat.getScientificInstance(Locale.US); in TestBigDecimalJ28() local
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java90 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance(new ULocale("en_US")); in TestRelativeDateWithQuantity() local
160 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance( in TestRelativeDateWithQuantityCaps() local
234 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance( in TestRelativeDateWithQuantityShort() local
308 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance( in TestRelativeDateWithQuantityNarrow() local
328 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance(new ULocale("sr")); in TestRelativeDateWithQuantitySr() local
342 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance( in TestRelativeDateWithQuantitySrFallback() local
410 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance(new ULocale("en_US")); in TestRelativeDateWithoutQuantity() local
475 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance( in TestRelativeDateWithoutQuantityCaps() local
548 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance( in TestRelativeDateWithoutQuantityShort() local
621 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance( in TestRelativeDateWithoutQuantityNarrow() local
[all …]
DScientificNumberFormatterTest.java44 ScientificNumberFormatter fmt = ScientificNumberFormatter.getMarkupInstance( in TestFarsi() local
56 ScientificNumberFormatter fmt = ScientificNumberFormatter.getMarkupInstance( in TestPlusSignInExponentMarkup() local
69 ScientificNumberFormatter fmt = ScientificNumberFormatter.getSuperscriptInstance( in TestPlusSignInExponentSuperscript() local
79 ScientificNumberFormatter fmt = ScientificNumberFormatter.getMarkupInstance( in TestFixedDecimalMarkup() local
89 ScientificNumberFormatter fmt = ScientificNumberFormatter.getSuperscriptInstance(decfmt); in TestFixedDecimalSuperscript() local
DBigNumberFormatTest.java67 private void expectPad(DecimalFormat fmt, String pat, int pos) { in expectPad()
71 private void expectPad(DecimalFormat fmt, String pat, in expectPad()
99 DecimalFormat fmt = new DecimalFormat("#", US); in TestPatterns() local
151 private void expectPat(DecimalFormat fmt, String exp) { in expectPat()
287 private void expect(NumberFormat fmt, Object[] data) { in expect()
294 NumberFormat fmt = null, fmts[] = null; in expect() local
339 private void expect(NumberFormat fmt, Number n, String exp) { in expect()
353 private void expect(NumberFormat fmt, String str, Number exp) { in expect()
411 NumberFormat fmt = NumberFormat.getScientificInstance(Locale.US); in TestBigDecimalJ28() local
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DSimplePatternFormatterTest.java36 … SimplePatternFormatter fmt = SimplePatternFormatter.compile("This doesn''t have templates '{0}"); in TestWithNoPlaceholders() local
92 SimplePatternFormatter fmt = SimplePatternFormatter.compile("a{20}c"); in TestBigPlaceholder() local
108 SimplePatternFormatter fmt = SimplePatternFormatter.compile( in TestTooFewPlaceholderValues() local
133 SimplePatternFormatter fmt = SimplePatternFormatter.compile( in TestWithPlaceholders() local
157 SimplePatternFormatter fmt = SimplePatternFormatter.compile( in TestFormatUseAppendToAsPlaceholder() local
169 SimplePatternFormatter fmt = SimplePatternFormatter.compile("{2}, {0}, {1} and {3}"); in TestFormatReplaceNoOptimization() local
186 SimplePatternFormatter fmt = SimplePatternFormatter.compile("boo {2}, {0}, {1} and {3}"); in TestFormatReplaceNoOptimizationLeadingText() local
202 SimplePatternFormatter fmt = SimplePatternFormatter.compile("{2}, {0}, {1} and {3}"); in TestFormatReplaceOptimization() local
218 SimplePatternFormatter fmt = SimplePatternFormatter.compile("{2}, {0}, {1} and {3}"); in TestFormatReplaceOptimizationNoOffsets() local
231 SimplePatternFormatter fmt = SimplePatternFormatter.compile( in TestFormatReplaceNoOptimizationNoOffsets() local
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DSimplePatternFormatterTest.java40 … SimplePatternFormatter fmt = SimplePatternFormatter.compile("This doesn''t have templates '{0}"); in TestWithNoPlaceholders() local
96 SimplePatternFormatter fmt = SimplePatternFormatter.compile("a{20}c"); in TestBigPlaceholder() local
112 SimplePatternFormatter fmt = SimplePatternFormatter.compile( in TestTooFewPlaceholderValues() local
137 SimplePatternFormatter fmt = SimplePatternFormatter.compile( in TestWithPlaceholders() local
161 SimplePatternFormatter fmt = SimplePatternFormatter.compile( in TestFormatUseAppendToAsPlaceholder() local
173 SimplePatternFormatter fmt = SimplePatternFormatter.compile("{2}, {0}, {1} and {3}"); in TestFormatReplaceNoOptimization() local
190 SimplePatternFormatter fmt = SimplePatternFormatter.compile("boo {2}, {0}, {1} and {3}"); in TestFormatReplaceNoOptimizationLeadingText() local
206 SimplePatternFormatter fmt = SimplePatternFormatter.compile("{2}, {0}, {1} and {3}"); in TestFormatReplaceOptimization() local
222 SimplePatternFormatter fmt = SimplePatternFormatter.compile("{2}, {0}, {1} and {3}"); in TestFormatReplaceOptimizationNoOffsets() local
235 SimplePatternFormatter fmt = SimplePatternFormatter.compile( in TestFormatReplaceNoOptimizationNoOffsets() local
[all …]
/external/ppp/pppd/
Dutils.c129 slprintf __V((char *buf, int buflen, char *fmt, ...)) in slprintf()
139 char *fmt; in slprintf() local
156 vslprintf(buf, buflen, fmt, args) in vslprintf() argument
426 vslp_printer __V((void *arg, char *fmt, ...)) in vslp_printer()
436 char *fmt; in vslp_printer() local
552 pr_log __V((void *arg, char *fmt, ...)) in pr_log()
563 char *fmt; in pr_log() local
649 logit(level, fmt, args) in logit() argument
681 fatal __V((char *fmt, ...)) in fatal()
688 char *fmt; in fatal() local
[all …]
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.h234 void expect2(NumberFormat& fmt, const Formattable& n, const char* str) { in expect2()
240 void expect2(NumberFormat* fmt, const Formattable& n, const char* str, UErrorCode ec) { in expect2()
246 void expect(NumberFormat& fmt, const char *str, const Formattable& n) { in expect()
261 void expect(NumberFormat* fmt, const Formattable& n, in expect()
266 void expect(NumberFormat* fmt, const Formattable& n, in expect()
271 void expect(NumberFormat* fmt, const Formattable& n, in expect()
282 void expectPad(DecimalFormat& fmt, const char *pat, in expectPad()
290 void expectPad(DecimalFormat& fmt, const char *pat, in expectPad()
297 void expectPat(DecimalFormat& fmt, const char *exp) { in expectPat()
304 void expectPad(DecimalFormat& fmt, const char *pat, in expectPad()
Dreldatefmttest.cpp570 RelativeDateTimeFormatter fmt( in TestEnglishCaps() local
611 RelativeDateTimeFormatter fmt( in TestEnglishNoQuantityCaps() local
649 RelativeDateTimeFormatter fmt("en", status); in TestFormatWithQuantityIllegalArgument() local
660 RelativeDateTimeFormatter fmt("en", status); in TestFormatWithoutQuantityIllegalArgument() local
674 RelativeDateTimeFormatter fmt("en", status); in TestCustomNumberFormat() local
684 RelativeDateTimeFormatter fmt("en", nf, status); in TestCustomNumberFormat() local
698 RelativeDateTimeFormatter fmt( in TestGetters() local
723 RelativeDateTimeFormatter fmt("en", status); in TestCombineDateAndTime() local
742 RelativeDateTimeFormatter fmt( in TestBadDisplayContext() local
756 RelativeDateTimeFormatter fmt(locale, status); in RunTest() local
[all …]
Dsimplepatternformattertest.cpp67 SimplePatternFormatter fmt("This doesn''t have templates '{0}", status); in TestNoPlaceholders() local
90 SimplePatternFormatter fmt("{}", status); in TestSyntaxErrors() local
99 SimplePatternFormatter fmt; in TestOnePlaceholder() local
132 SimplePatternFormatter fmt("a{20}c", status); in TestBigPlaceholder() local
150 SimplePatternFormatter fmt; in TestManyPlaceholders() local
247 SimplePatternFormatter fmt("{0} and {1}", status); in TestTooFewPlaceholderValues() local
275 SimplePatternFormatter fmt("pickle", status); in TestBadArguments() local
331 SimplePatternFormatter fmt("{0} has no {1} placeholders.", status); in TestTextWithNoPlaceholders() local
338 SimplePatternFormatter fmt; in TestFormatReplaceNoOptimization() local
368 SimplePatternFormatter fmt; in TestFormatReplaceNoOptimizationLeadingText() local
[all …]
Dscientificnumberformattertest.cpp53 LocalPointer<ScientificNumberFormatter> fmt( in TestBasic() local
101 LocalPointer<ScientificNumberFormatter> fmt( in TestFarsi() local
128 LocalPointer<ScientificNumberFormatter> fmt( in TestPlusSignInExponentMarkup() local
155 LocalPointer<ScientificNumberFormatter> fmt( in TestPlusSignInExponentSuperscript() local
176 LocalPointer<ScientificNumberFormatter> fmt( in TestFixedDecimalMarkup() local
198 LocalPointer<ScientificNumberFormatter> fmt( in TestFixedDecimalSuperscript() local
/external/icu/icu4c/source/i18n/
Dunum.cpp140 unum_close(UNumberFormat* fmt) in unum_close()
146 unum_clone(const UNumberFormat *fmt, in unum_clone()
172 unum_format( const UNumberFormat* fmt, in unum_format()
183 unum_formatInt64(const UNumberFormat* fmt, in unum_formatInt64()
216 unum_formatDouble( const UNumberFormat* fmt, in unum_formatDouble()
250 unum_formatDecimal(const UNumberFormat* fmt, in unum_formatDecimal()
294 unum_formatDoubleCurrency(const UNumberFormat* fmt, in unum_formatDoubleCurrency()
333 const UNumberFormat* fmt, in parseRes()
361 unum_parse( const UNumberFormat* fmt, in unum_parse()
373 unum_parseInt64( const UNumberFormat* fmt, in unum_parseInt64()
[all …]
Dfmtable.cpp907 UFormattable *fmt = (new Formattable())->toUFormattable(); in ufmt_open() local
916 ufmt_close(UFormattable *fmt) { in ufmt_close()
923 ufmt_getType(const UFormattable *fmt, UErrorCode *status) { in ufmt_getType()
933 ufmt_isNumeric(const UFormattable *fmt) { in ufmt_isNumeric()
939 ufmt_getDate(const UFormattable *fmt, UErrorCode *status) { in ufmt_getDate()
946 ufmt_getDouble(UFormattable *fmt, UErrorCode *status) { in ufmt_getDouble()
953 ufmt_getLong(UFormattable *fmt, UErrorCode *status) { in ufmt_getLong()
961 ufmt_getObject(const UFormattable *fmt, UErrorCode *status) { in ufmt_getObject()
974 ufmt_getUChars(UFormattable *fmt, int32_t *len, UErrorCode *status) { in ufmt_getUChars()
994 ufmt_getArrayLength(const UFormattable* fmt, UErrorCode *status) { in ufmt_getArrayLength()
[all …]
/external/libevent/
Dlog.c85 event_err(int eval, const char *fmt, ...) in event_err()
96 event_warn(const char *fmt, ...) in event_warn()
106 event_sock_err(int eval, evutil_socket_t sock, const char *fmt, ...) in event_sock_err()
118 event_sock_warn(evutil_socket_t sock, const char *fmt, ...) in event_sock_warn()
129 event_errx(int eval, const char *fmt, ...) in event_errx()
140 event_warnx(const char *fmt, ...) in event_warnx()
150 event_msgx(const char *fmt, ...) in event_msgx()
160 _event_debugx(const char *fmt, ...) in _event_debugx()
170 _warn_helper(int severity, const char *errstr, const char *fmt, va_list ap) in _warn_helper()
/external/tlsdate/src/
Dutil-plan9.h27 #define info(fmt, ...) logat(1, fmt, ## __VA_ARGS__) argument
28 #define pinfo(fmt, ...) logat(1, fmt ": %s", ## __VA_ARGS__, strerror(errno)) argument
29 #define error(fmt, ...) logat(0, fmt, ## __VA_ARGS__) argument
30 #define perror(fmt, ...) logat(0, fmt ": %s", ## __VA_ARGS__, strerror(errno)) argument
31 #define fatal(fmt, ...) do { logat(0, fmt, ## __VA_ARGS__); exit(1); } while (0) argument
32 #define pfatal(fmt, ...) do { \ argument
Dutil.h50 #define debug(fmt, ...) if (verbose_debug) logat(1, fmt, ## __VA_ARGS__) argument
51 #define info(fmt, ...) logat(0, fmt, ## __VA_ARGS__) argument
52 #define pinfo(fmt, ...) logat(1, fmt ": %s", ## __VA_ARGS__, strerror(errno)) argument
53 #define error(fmt, ...) logat(0, fmt, ## __VA_ARGS__) argument
54 #define perror(fmt, ...) logat(0, fmt ": %s", ## __VA_ARGS__, strerror(errno)) argument
55 #define fatal(fmt, ...) do { logat(0, fmt, ## __VA_ARGS__); exit(1); } while (0) argument
56 #define pfatal(fmt, ...) do { \ argument
/external/libcxx/test/std/re/re.results/re.results.form/
Dform4.pass.cpp30 const char fmt[] = "prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; in main() local
39 const char fmt[] = "prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; in main() local
48 const char fmt[] = "match: &, m[1]: \\1, m[2]: \\2"; in main() local
58 const wchar_t fmt[] = L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; in main() local
67 const wchar_t fmt[] = L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; in main() local
76 const wchar_t fmt[] = L"match: &, m[1]: \\1, m[2]: \\2"; in main() local
Dform3.pass.cpp35 nstr fmt("prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main() local
44 nstr fmt("prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main() local
53 nstr fmt("match: &, m[1]: \\1, m[2]: \\2"); in main() local
63 wstr fmt(L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main() local
72 wstr fmt(L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main() local
81 wstr fmt(L"match: &, m[1]: \\1, m[2]: \\2"); in main() local
Dform1.pass.cpp32 const char fmt[] = "prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; in main() local
44 const char fmt[] = "prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; in main() local
57 const char fmt[] = "match: &, m[1]: \\1, m[2]: \\2"; in main() local
71 const wchar_t fmt[] = L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; in main() local
83 const wchar_t fmt[] = L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; in main() local
96 const wchar_t fmt[] = L"match: &, m[1]: \\1, m[2]: \\2"; in main() local
Dform2.pass.cpp37 nstr fmt("prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main() local
48 nstr fmt("prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main() local
60 nstr fmt("match: &, m[1]: \\1, m[2]: \\2"); in main() local
73 wstr fmt(L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main() local
84 wstr fmt(L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main() local
96 wstr fmt(L"match: &, m[1]: \\1, m[2]: \\2"); in main() local
/external/autotest/client/tests/monotonic_time/src/
Dlogging.h20 #define DEBUG(level, fmt, args...) msg(MSG_DEBUG, level, fmt, ##args) argument
21 #define INFO(fmt, args...) msg(MSG_INFO, 0, fmt, ##args) argument
22 #define WARN(err, fmt, args...) msg(MSG_WARN, err, fmt, ##args) argument
23 #define ERROR(err, fmt, args...) msg(MSG_ERROR, err, fmt, ##args) argument
24 #define FATAL(err, fmt, args...) msg(MSG_FATAL, err, fmt, ##args) argument
/external/fonttools/Lib/fontTools/misc/
Dsstruct.py62 def pack(fmt, obj): argument
78 def unpack(fmt, data, obj=None): argument
102 def unpack2(fmt, data, obj=None): argument
106 def calcsize(fmt): argument
135 def getformat(fmt): argument
/external/icu/icu4c/source/common/
Dutracimp.h235 #define UTRACE_DATA0(level, fmt) \ argument
248 #define UTRACE_DATA1(level, fmt, a) \ argument
261 #define UTRACE_DATA2(level, fmt, a, b) \ argument
274 #define UTRACE_DATA3(level, fmt, a, b, c) \ argument
287 #define UTRACE_DATA4(level, fmt, a, b, c, d) \ argument
300 #define UTRACE_DATA5(level, fmt, a, b, c, d, e) \ argument
313 #define UTRACE_DATA6(level, fmt, a, b, c, d, e, f) \ argument
326 #define UTRACE_DATA7(level, fmt, a, b, c, d, e, f, g) \ argument
339 #define UTRACE_DATA8(level, fmt, a, b, c, d, e, f, g, h) \ argument
352 #define UTRACE_DATA9(level, fmt, a, b, c, d, e, f, g, h, i) \ argument

12345678910>>...28