/external/bison/lib/ |
strerror.c | 57 static char const fmt[] = "Unknown error %d"; local 58 verify (sizeof buf >= sizeof (fmt) + INT_STRLEN_BOUND (n)); 59 sprintf (buf, fmt, n);
|
/external/fmtlib/test/ |
ostream-test.cc | 28 #include "fmt/ostream.h" 35 using fmt::format; 36 using fmt::FormatError; 56 EXPECT_FALSE(fmt::internal::ConvertToInt<TestEnum>::value); 57 EXPECT_EQ("TestEnum", fmt::format("{}", TestEnum())); 58 EXPECT_EQ("0", fmt::format("{}", A)); 61 struct TestArgFormatter : fmt::BasicArgFormatter<TestArgFormatter, char> { 62 TestArgFormatter(fmt::BasicFormatter<char, TestArgFormatter> &f, 63 fmt::FormatSpec &s, const char *fmt) [all...] |
/external/libcxx/test/std/re/re.results/re.results.form/ |
form2.pass.cpp | 16 // format(OutputIter out, const basic_string<char_type, ST, SA>& fmt, 38 nstr fmt("prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); 39 char* r = m.format(output_iterator<char*>(out), fmt).base(); 49 nstr fmt("prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); 51 fmt, std::regex_constants::format_sed).base(); 61 nstr fmt("match: &, m[1]: \\1, m[2]: \\2"); 63 fmt, std::regex_constants::format_sed).base(); 74 wstr fmt(L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); 75 wchar_t* r = m.format(output_iterator<wchar_t*>(out), fmt).base(); 85 wstr fmt(L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2") [all...] |
form3.pass.cpp | 16 // format(const basic_string<char_type, ST, SA>& fmt, 36 nstr fmt("prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); 37 nstr out = m.format(fmt); 45 nstr fmt("prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); 46 nstr out = m.format(fmt, std::regex_constants::format_sed); 54 nstr fmt("match: &, m[1]: \\1, m[2]: \\2"); 55 nstr out = m.format(fmt, std::regex_constants::format_sed); 64 wstr fmt(L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); 65 wstr out = m.format(fmt); 73 wstr fmt(L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2") [all...] |
/external/strace/tests/ |
sprintrc.c | 41 * @param fmt Output format. Currently, raw (used for diff matching) and grep 49 sprintrc_ex(long rc, enum sprintrc_fmt fmt) 57 if (fmt >= ARRAY_SIZE(formats)) 64 ? snprintf(buf, sizeof(buf), formats[fmt], errno2name())
|
/external/strace/tests-m32/ |
sprintrc.c | 41 * @param fmt Output format. Currently, raw (used for diff matching) and grep 49 sprintrc_ex(long rc, enum sprintrc_fmt fmt) 57 if (fmt >= ARRAY_SIZE(formats)) 64 ? snprintf(buf, sizeof(buf), formats[fmt], errno2name())
|
/external/strace/tests-mx32/ |
sprintrc.c | 41 * @param fmt Output format. Currently, raw (used for diff matching) and grep 49 sprintrc_ex(long rc, enum sprintrc_fmt fmt) 57 if (fmt >= ARRAY_SIZE(formats)) 64 ? snprintf(buf, sizeof(buf), formats[fmt], errno2name())
|
/external/syslinux/gnu-efi/gnu-efi-3.0/apps/ |
printenv.c | 8 CHAR16 name[256], *val, fmt[20]; local 20 StrCpy(fmt, L"%.-35g %.-20s %s\n"); 28 Print(fmt, &vendor, name, val);
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/utils/ |
Dump.cpp | 36 void Dump::append(const char *fmt, ...) 44 va_start(ap, fmt); 45 len = vsnprintf(mBuf, mLen, fmt, ap);
|
/prebuilts/go/darwin-x86/src/runtime/testdata/testprog/ |
memprof.go | 9 "fmt" 25 fmt.Fprintf(&memProfBuf, "%*d\n", i, i) 33 fmt.Fprintln(os.Stderr, err) 38 fmt.Fprintln(os.Stderr, err) 44 fmt.Fprintln(os.Stderr, err) 48 fmt.Println(name)
|
/prebuilts/go/darwin-x86/test/ |
crlf.go | 12 "fmt" 19 fmt.Print(prog) 26 import "fmt" 41 fmt.Printf("s=%q, want %q", s, golden) 44 fmt.Printf("t=%q, want %q", t, golden) 47 fmt.Printf("u=%q, want %q", u, golden)
|
/prebuilts/go/linux-x86/src/runtime/testdata/testprog/ |
memprof.go | 9 "fmt" 25 fmt.Fprintf(&memProfBuf, "%*d\n", i, i) 33 fmt.Fprintln(os.Stderr, err) 38 fmt.Fprintln(os.Stderr, err) 44 fmt.Fprintln(os.Stderr, err) 48 fmt.Println(name)
|
/prebuilts/go/linux-x86/test/ |
crlf.go | 12 "fmt" 19 fmt.Print(prog) 26 import "fmt" 41 fmt.Printf("s=%q, want %q", s, golden) 44 fmt.Printf("t=%q, want %q", t, golden) 47 fmt.Printf("u=%q, want %q", u, golden)
|
/prebuilts/ndk/r10/platforms/android-12/arch-arm/usr/include/android/ |
log.h | 97 * Send a formatted string to the log, used like printf(fmt,...) 99 int __android_log_print(int prio, const char *tag, const char *fmt, ...) 110 const char *fmt, va_list ap); 117 const char *fmt, ...)
|
/prebuilts/ndk/r10/platforms/android-12/arch-mips/usr/include/android/ |
log.h | 97 * Send a formatted string to the log, used like printf(fmt,...) 99 int __android_log_print(int prio, const char *tag, const char *fmt, ...) 110 const char *fmt, va_list ap); 117 const char *fmt, ...)
|
/prebuilts/ndk/r10/platforms/android-12/arch-x86/usr/include/android/ |
log.h | 97 * Send a formatted string to the log, used like printf(fmt,...) 99 int __android_log_print(int prio, const char *tag, const char *fmt, ...) 110 const char *fmt, va_list ap); 117 const char *fmt, ...)
|
/prebuilts/ndk/r10/platforms/android-13/arch-arm/usr/include/android/ |
log.h | 97 * Send a formatted string to the log, used like printf(fmt,...) 99 int __android_log_print(int prio, const char *tag, const char *fmt, ...) 110 const char *fmt, va_list ap); 117 const char *fmt, ...)
|
/prebuilts/ndk/r10/platforms/android-13/arch-mips/usr/include/android/ |
log.h | 97 * Send a formatted string to the log, used like printf(fmt,...) 99 int __android_log_print(int prio, const char *tag, const char *fmt, ...) 110 const char *fmt, va_list ap); 117 const char *fmt, ...)
|
/prebuilts/ndk/r10/platforms/android-13/arch-x86/usr/include/android/ |
log.h | 97 * Send a formatted string to the log, used like printf(fmt,...) 99 int __android_log_print(int prio, const char *tag, const char *fmt, ...) 110 const char *fmt, va_list ap); 117 const char *fmt, ...)
|
/prebuilts/ndk/r10/platforms/android-14/arch-arm/usr/include/android/ |
log.h | 97 * Send a formatted string to the log, used like printf(fmt,...) 99 int __android_log_print(int prio, const char *tag, const char *fmt, ...) 110 const char *fmt, va_list ap); 117 const char *fmt, ...)
|
/prebuilts/ndk/r10/platforms/android-14/arch-mips/usr/include/android/ |
log.h | 97 * Send a formatted string to the log, used like printf(fmt,...) 99 int __android_log_print(int prio, const char *tag, const char *fmt, ...) 110 const char *fmt, va_list ap); 117 const char *fmt, ...)
|
/prebuilts/ndk/r10/platforms/android-14/arch-x86/usr/include/android/ |
log.h | 97 * Send a formatted string to the log, used like printf(fmt,...) 99 int __android_log_print(int prio, const char *tag, const char *fmt, ...) 110 const char *fmt, va_list ap); 117 const char *fmt, ...)
|
/prebuilts/ndk/r10/platforms/android-15/arch-arm/usr/include/android/ |
log.h | 97 * Send a formatted string to the log, used like printf(fmt,...) 99 int __android_log_print(int prio, const char *tag, const char *fmt, ...) 110 const char *fmt, va_list ap); 117 const char *fmt, ...)
|
/prebuilts/ndk/r10/platforms/android-15/arch-mips/usr/include/android/ |
log.h | 97 * Send a formatted string to the log, used like printf(fmt,...) 99 int __android_log_print(int prio, const char *tag, const char *fmt, ...) 110 const char *fmt, va_list ap); 117 const char *fmt, ...)
|
/prebuilts/ndk/r10/platforms/android-15/arch-x86/usr/include/android/ |
log.h | 97 * Send a formatted string to the log, used like printf(fmt,...) 99 int __android_log_print(int prio, const char *tag, const char *fmt, ...) 110 const char *fmt, va_list ap); 117 const char *fmt, ...)
|