/external/icu/icu4c/source/i18n/ |
currfmt.h | 92 NumberFormat* fmt; member in class:CurrencyFormat
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
dev_cgroup.c | 18 char fmt[] = " %d:%d \n"; local 22 fmt[0] = 'b'; 25 fmt[0] = 'c'; 28 fmt[0] = '?'; 33 fmt[8] = 'r'; 36 fmt[9] = 'w'; 39 fmt[10] = 'm'; 41 bpf_trace_printk(fmt, sizeof(fmt), ctx->major, ctx->minor);
|
netcnt_prog.c | 29 char fmt[] = "%d %llu %llu\n"; local
|
/external/u-boot/common/ |
log_console.c | 16 int fmt = gd->log_fmt; local 28 if (fmt & (1 << LOGF_LEVEL)) 30 if (fmt & (1 << LOGF_CAT)) 32 if (fmt & (1 << LOGF_FILE)) 34 if (fmt & (1 << LOGF_LINE)) 36 if (fmt & (1 << LOGF_FUNC)) 38 if (fmt & (1 << LOGF_MSG)) 39 printf("%s%s", fmt != (1 << LOGF_MSG) ? " " : "", rec->msg);
|
/external/libcxx/test/std/re/re.results/re.results.form/ |
form4.pass.cpp | 15 // format(const char_type* fmt, 31 const char fmt[] = "prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; local 32 std::string out = m.format(fmt); 40 const char fmt[] = "prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; local 41 std::string out = m.format(fmt, std::regex_constants::format_sed); 49 const char fmt[] = "match: &, m[1]: \\1, m[2]: \\2"; local 50 std::string out = m.format(fmt, std::regex_constants::format_sed); 59 const wchar_t fmt[] = L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; local 60 std::wstring out = m.format(fmt); 68 const wchar_t fmt[] = L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2" local 77 const wchar_t fmt[] = L"match: &, m[1]: \\\\1, m[2]: \\\\2"; local [all...] |
form1.pass.cpp | 33 const char fmt[] = "prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; local 35 fmt, fmt + std::char_traits<char>::length(fmt)).base(); 46 const char fmt[] = "prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; local 48 fmt, fmt + std::char_traits<char>::length(fmt)).base(); 58 const char fmt[] = "prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; local 60 fmt, fmt + std::char_traits<char>::length(fmt)).base() 70 const char fmt[] = "prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; local 83 const char fmt[] = "match: &, m[1]: \\\\1, m[2]: \\\\2"; local 97 const char fmt[] = "match: &, m[1]: \\\\1, m[2]: \\\\2"; local 110 const char fmt[] = "match: &, m[1]: \\\\1, m[2]: \\\\2"; local 124 const wchar_t fmt[] = L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; local 136 const wchar_t fmt[] = L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; local 149 const wchar_t fmt[] = L"match: &, m[1]: \\\\1, m[2]: \\\\2"; local [all...] |
/external/strace/ |
alpha.c | 44 static const char const fmt[] = "%s %ld"; local 45 static char outstr[sizeof(fmt) + 3 * sizeof(rval)]; 46 xsprintf(outstr, fmt, what, rval);
|
/external/compiler-rt/test/asan/TestCases/ |
printf-5.c | 17 volatile char fmt[2]; local 18 memcpy((char *)fmt, "%c %d %f %s\n", sizeof(fmt)); 19 printf((char *)fmt, c, x, f, s);
|
/external/icu/icu4c/source/samples/translit/answers/ |
main_1.cpp | 24 DateFormat *fmt; local 35 fmt = DateFormat::createDateInstance(DateFormat::kFull, greece); 36 fmt->setCalendar(*cal); 61 fmt->format(cal->getTime(status), str, status); 69 delete fmt;
|
main_2.cpp | 24 DateFormat *fmt; local 36 fmt = DateFormat::createDateInstance(DateFormat::kFull, greece); 37 fmt->setCalendar(*cal); 69 fmt->format(cal->getTime(status), str, status); 83 delete fmt;
|
main_3.cpp | 35 DateFormat *fmt; local 48 fmt = DateFormat::createDateInstance(DateFormat::kFull, greece); 49 fmt->setCalendar(*cal); 88 fmt->format(cal->getTime(status), str, status); 109 delete fmt;
|
main_4.cpp | 35 DateFormat *fmt; local 49 fmt = DateFormat::createDateInstance(DateFormat::kFull, greece); 50 fmt->setCalendar(*cal); 92 fmt->format(cal->getTime(status), str, status); 118 delete fmt;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/exception/util/ |
MessageFactory.java | 65 final MessageFormat fmt = new MessageFormat(general.getLocalizedString(locale), locale); local 66 sb.append(fmt.format(arguments)); 72 final MessageFormat fmt = new MessageFormat(specific.getLocalizedString(locale), locale); local 73 sb.append(fmt.format(arguments));
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/util/timescale/ |
PivotDemo.java | 47 MessageFormat fmt = new MessageFormat("{1} = {0, date, full} {0, time, full}"); local 55 System.out.println(fmt.format(arguments)); 59 System.out.println(fmt.format(arguments)); 63 System.out.println(fmt.format(arguments)); 69 System.out.println(fmt.format(arguments)); 73 System.out.println(fmt.format(arguments)); 77 System.out.println(fmt.format(arguments));
|
/external/dtc/tests/ |
utilfdt_test.c | 33 static void check(const char *fmt, int expect_type, int expect_size) 38 if (utilfdt_decode_type(fmt, &type, &size)) 39 FAIL("format '%s': valid format string returned failure", fmt); 41 FAIL("format '%s': expected type='%c', got type='%c'", fmt, 44 FAIL("format '%s': expected size=%d, got size=%d", fmt, 48 static void checkfail(const char *fmt) 53 if (!utilfdt_decode_type(fmt, &type, &size)) 55 fmt); 68 char fmt[10], *ptr; local 71 if (strlen(modifier) + 2 >= sizeof(fmt)) 93 char fmt[10]; local [all...] |
/external/icu/icu4c/source/samples/numfmt/ |
capi.c | 23 UNumberFormat *fmt; local 33 fmt = unum_open( 50 a = unum_parseDouble(fmt, str, u_strlen(str), NULL, &status); 68 needed = unum_formatDouble(fmt, a, buf, 256, NULL, &status); 80 unum_close(fmt);
|
/external/icu/icu4c/source/test/intltest/ |
quantityformattertest.cpp | 39 QuantityFormatter fmt; local 42 fmt.addIfAbsent("a bad variant", "{0} pounds", status)); 47 fmt.addIfAbsent("other", "{0} {1} too many placeholders", status)); 50 assertFalse("isValid with no patterns", fmt.isValid()); 53 fmt.addIfAbsent("zero", "no placeholder", status)); 56 fmt.addIfAbsent("other", "{0} pounds", status)); 57 assertTrue("isValid with other", fmt.isValid()); 60 fmt.addIfAbsent("one", "{0} pound", status)); 64 fmt.getByVariant("bad variant")->getTextWithNoArguments(), 68 fmt.getByVariant("other")->getTextWithNoArguments() [all...] |
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/ |
get_many.pass.cpp | 16 // const char_type *fmt, const char_type *fmtend) const; 42 const char fmt[] = "%Y %b %d, %I:%M%p"; local 45 I i = f.get(I(in), I(in+sizeof(in)-1), ios, err, &t, fmt, fmt+sizeof(fmt)-1); 56 const char fmt[] = "%I:%M%p %b %d, %Y"; local 59 I i = f.get(I(in), I(in+sizeof(in)-1), ios, err, &t, fmt, fmt+sizeof(fmt)-1);
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
fd2_texture.h | 53 enum a2xx_sq_surfaceformat fmt; member in struct:fd2_pipe_sampler_view
|
/external/skia/tools/skqp/ |
find_commit_with_best_gold_results.py | 33 def fmt(s): function in function:get_jobs 40 yield [(k, fmt(m.group(k))) for k in keys]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
SimpleFormatterTest.java | 37 SimpleFormatter fmt = SimpleFormatter.compile("This doesn''t have templates '{0}"); local 41 fmt.getArgumentLimit()); 45 fmt.format("unused")); 49 fmt.format((CharSequence[])null)); 53 fmt.toString()); 58 fmt.formatAndAppend(new StringBuilder(), offsets).toString()); 66 fmt.formatAndAppend(new StringBuilder(), null, (CharSequence[])null).toString()); 70 fmt.formatAndReplace(new StringBuilder(), null, (CharSequence[])null).toString()); 96 SimpleFormatter fmt = SimpleFormatter.compile("a{20}c"); local 97 assertEquals("{20} count", 21, fmt.getArgumentLimit()) 114 SimpleFormatter fmt = SimpleFormatter.compile( local 140 SimpleFormatter fmt = SimpleFormatter.compile( local 165 SimpleFormatter fmt = SimpleFormatter.compile( local 178 SimpleFormatter fmt = SimpleFormatter.compile("{2}, {0}, {1} and {3}"); local 196 SimpleFormatter fmt = SimpleFormatter.compile("boo {2}, {0}, {1} and {3}"); local 213 SimpleFormatter fmt = SimpleFormatter.compile("{2}, {0}, {1} and {3}"); local 230 SimpleFormatter fmt = SimpleFormatter.compile("{2}, {0}, {1} and {3}"); local 244 SimpleFormatter fmt = SimpleFormatter.compile( local 255 SimpleFormatter fmt = SimpleFormatter.compile( local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
SimpleFormatterTest.java | 34 SimpleFormatter fmt = SimpleFormatter.compile("This doesn''t have templates '{0}"); local 38 fmt.getArgumentLimit()); 42 fmt.format("unused")); 46 fmt.format((CharSequence[])null)); 50 fmt.toString()); 55 fmt.formatAndAppend(new StringBuilder(), offsets).toString()); 63 fmt.formatAndAppend(new StringBuilder(), null, (CharSequence[])null).toString()); 67 fmt.formatAndReplace(new StringBuilder(), null, (CharSequence[])null).toString()); 93 SimpleFormatter fmt = SimpleFormatter.compile("a{20}c"); local 94 assertEquals("{20} count", 21, fmt.getArgumentLimit()) 111 SimpleFormatter fmt = SimpleFormatter.compile( local 137 SimpleFormatter fmt = SimpleFormatter.compile( local 162 SimpleFormatter fmt = SimpleFormatter.compile( local 175 SimpleFormatter fmt = SimpleFormatter.compile("{2}, {0}, {1} and {3}"); local 193 SimpleFormatter fmt = SimpleFormatter.compile("boo {2}, {0}, {1} and {3}"); local 210 SimpleFormatter fmt = SimpleFormatter.compile("{2}, {0}, {1} and {3}"); local 227 SimpleFormatter fmt = SimpleFormatter.compile("{2}, {0}, {1} and {3}"); local 241 SimpleFormatter fmt = SimpleFormatter.compile( local 252 SimpleFormatter fmt = SimpleFormatter.compile( local [all...] |
/external/icu/icu4j/samples/src/com/ibm/icu/samples/iuc/ |
Sample40_PopMsg.java | 48 MessageFormat fmt = new MessageFormat(pattern,defaultLocaleID); local 53 System.out.println(fmt.format(msgargs, new StringBuffer(), null));
|
Sample50_PopSort.java | 60 MessageFormat fmt = new MessageFormat(pattern,defaultLocaleID); local 65 System.out.println(fmt.format(msgargs, new StringBuffer(), null));
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/ |
CalculateLimits.java | 53 MessageFormat fmt = new MessageFormat("{0}L, {1}L, {2}L, {3}L"); local 83 System.out.println(fmt.format(limitArgs));
|