Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 37) sorted by relevance

12

/ndk/sources/cxx-stl/llvm-libc++/test/re/re.results/re.results.form/
Dform1.pass.cpp32 const char fmt[] = "prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; in main() local
34 fmt, fmt + std::char_traits<char>::length(fmt)).base(); in main()
44 const char fmt[] = "prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; in main() local
46 fmt, fmt + std::char_traits<char>::length(fmt), in main()
57 const char fmt[] = "match: &, m[1]: \\1, m[2]: \\2"; in main() local
59 fmt, fmt + std::char_traits<char>::length(fmt), in main()
71 const wchar_t fmt[] = L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; in main() local
73 fmt, fmt + std::char_traits<wchar_t>::length(fmt)).base(); in main()
83 const wchar_t fmt[] = L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; in main() local
85 fmt, fmt + std::char_traits<wchar_t>::length(fmt), in main()
[all …]
Dform4.pass.cpp30 const char fmt[] = "prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; in main() local
31 std::string out = m.format(fmt); in main()
39 const char fmt[] = "prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; in main() local
40 std::string out = m.format(fmt, std::regex_constants::format_sed); in main()
48 const char fmt[] = "match: &, m[1]: \\1, m[2]: \\2"; in main() local
49 std::string out = m.format(fmt, std::regex_constants::format_sed); in main()
58 const wchar_t fmt[] = L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; in main() local
59 std::wstring out = m.format(fmt); in main()
67 const wchar_t fmt[] = L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; in main() local
68 std::wstring out = m.format(fmt, std::regex_constants::format_sed); in main()
[all …]
Dform3.pass.cpp35 nstr fmt("prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main() local
36 nstr out = m.format(fmt); in main()
44 nstr fmt("prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main() local
45 nstr out = m.format(fmt, std::regex_constants::format_sed); in main()
53 nstr fmt("match: &, m[1]: \\1, m[2]: \\2"); in main() local
54 nstr out = m.format(fmt, std::regex_constants::format_sed); in main()
63 wstr fmt(L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main() local
64 wstr out = m.format(fmt); in main()
72 wstr fmt(L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main() local
73 wstr out = m.format(fmt, std::regex_constants::format_sed); in main()
[all …]
Dform2.pass.cpp37 nstr fmt("prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main() local
38 char* r = m.format(output_iterator<char*>(out), fmt).base(); in main()
48 nstr fmt("prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main() local
50 fmt, std::regex_constants::format_sed).base(); in main()
60 nstr fmt("match: &, m[1]: \\1, m[2]: \\2"); in main() local
62 fmt, std::regex_constants::format_sed).base(); in main()
73 wstr fmt(L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main() local
74 wchar_t* r = m.format(output_iterator<wchar_t*>(out), fmt).base(); in main()
84 wstr fmt(L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main() local
86 fmt, std::regex_constants::format_sed).base(); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/
Dget_many.pass.cpp42 const char fmt[] = "%Y %b %d, %I:%M%p"; in main() local
45 I i = f.get(I(in), I(in+sizeof(in)-1), ios, err, &t, fmt, fmt+sizeof(fmt)-1); in main()
56 const char fmt[] = "%I:%M%p %b %d, %Y"; in main() local
59 I i = f.get(I(in), I(in+sizeof(in)-1), ios, err, &t, fmt, fmt+sizeof(fmt)-1); in main()
/ndk/sources/cxx-stl/llvm-libc++/src/support/win32/
Dsupport.cpp18 int asprintf(char **sptr, const char *__restrict fmt, ...) in asprintf() argument
21 va_start(ap, fmt); in asprintf()
22 int result = vasprintf(sptr, fmt, ap); in asprintf()
26 int vasprintf( char **sptr, const char *__restrict fmt, va_list ap ) in vasprintf() argument
29 int count = vsnprintf( *sptr, 0, fmt, ap ); in vasprintf()
32 vsprintf( *sptr, fmt, ap ); in vasprintf()
/ndk/sources/cxx-stl/llvm-libc++/src/support/android/
Dlocale_support.c100 int vasprintf_l(char** strp, locale_t l, const char* fmt, va_list args) { in vasprintf_l() argument
102 return vasprintf(strp, fmt, args); in vasprintf_l()
105 int asprintf_l(char** strp, locale_t locale, const char* fmt, ...) { in asprintf_l() argument
107 va_start(args, fmt); in asprintf_l()
108 int result = vasprintf_l(strp, locale, fmt, args); in asprintf_l()
113 int vsprintf_l(char* str, locale_t l, const char* fmt, va_list args) { in vsprintf_l() argument
115 return vsprintf(str, fmt, args); in vsprintf_l()
118 int sprintf_l(char* str, locale_t l, const char* fmt, ...) { in sprintf_l() argument
120 va_start(args, fmt); in sprintf_l()
121 int result = vsprintf_l(str, l, fmt, args); in sprintf_l()
[all …]
/ndk/sources/host-tools/make-3.81/
Dmisc.c191 message (int prefix, const char *fmt, ...) in message() argument
193 message (prefix, fmt, va_alist) in message()
195 const char *fmt;
205 if (fmt != 0)
214 VA_START (args, fmt);
215 VA_PRINTF (stdout, fmt, args);
227 error (const struct floc *flocp, const char *fmt, ...) in error() argument
229 error (flocp, fmt, va_alist) in error()
231 const char *fmt;
248 VA_START(args, fmt);
[all …]
Dmake.h401 extern void message (int prefix, const char *fmt, ...)
403 extern void error (const struct floc *flocp, const char *fmt, ...)
405 extern void fatal (const struct floc *flocp, const char *fmt, ...)
Dremake.c672 const char *fmt = 0; in update_file_1() local
677 fmt = _("Prerequisite `%s' is order-only for target `%s'.\n"); in update_file_1()
682 fmt = _("Prerequisite `%s' of target `%s' does not exist.\n"); in update_file_1()
687 fmt = _("Prerequisite `%s' is newer than target `%s'.\n"); in update_file_1()
690 fmt = _("Prerequisite `%s' is older than target `%s'.\n"); in update_file_1()
692 if (fmt) in update_file_1()
695 printf (fmt, dep_name (d), file->name); in update_file_1()
/ndk/sources/cxx-stl/stlport/src/
Dtime_facets.cpp465 const char * fmt = _Locale_d_fmt(time); in __get_date_order() local
468 while (*fmt != 0 && *fmt != '%') ++fmt; in __get_date_order()
469 if (*fmt == 0) in __get_date_order()
471 first = *++fmt; in __get_date_order()
472 while (*fmt != 0 && *fmt != '%') ++fmt; in __get_date_order()
473 if (*fmt == 0) in __get_date_order()
475 second = *++fmt; in __get_date_order()
476 while (*fmt != 0 && *fmt != '%') ++fmt; in __get_date_order()
477 if (*fmt == 0) in __get_date_order()
479 third = *++fmt; in __get_date_order()
/ndk/tests/device/test-stlport_shared-exception/jni/
Deh-vararg-1.cpp30 foo (const char *fmt, ...) throw (B,A) in foo() argument
38 va_start (arg, fmt); in foo()
Deh-vararg-2.cpp64 foo (const char *fmt, ...) in foo() argument
67 va_start (arg, fmt); in foo()
/ndk/tests/device/test-stlport_static-exception/jni/
Deh-vararg-1.cpp30 foo (const char *fmt, ...) throw (B,A) in foo() argument
38 va_start (arg, fmt); in foo()
Deh-vararg-2.cpp64 foo (const char *fmt, ...) in foo() argument
67 va_start (arg, fmt); in foo()
/ndk/sources/host-tools/sed-4.2.1/lib/
Dstrerror.c337 static char const fmt[] = "Unknown error (%d)"; in rpl_strerror() local
338 static char msg_buf[sizeof fmt + INT_STRLEN_BOUND (n)]; in rpl_strerror()
339 sprintf (msg_buf, fmt, n); in rpl_strerror()
/ndk/sources/host-tools/nawk-20071023/
Dlib.c497 void SYNTAX(const char *fmt, ...) in SYNTAX() argument
506 va_start(varg, fmt); in SYNTAX()
507 vfprintf(stderr, fmt, varg); in SYNTAX()
552 void FATAL(const char *fmt, ...) in FATAL() argument
559 va_start(varg, fmt); in FATAL()
560 vfprintf(stderr, fmt, varg); in FATAL()
568 void WARNING(const char *fmt, ...) in WARNING() argument
575 va_start(varg, fmt); in WARNING()
576 vfprintf(stderr, fmt, varg); in WARNING()
Drun.c809 char *fmt; in format() local
821 if ((fmt = (char *) malloc(fmtsz)) == NULL) in format()
839 for (t = fmt; (*t++ = *s) != '\0'; s++) { in format()
840 if (!adjbuf(&fmt, &fmtsz, MAXNUMSIZE+1+t-fmt, recsize, &t, "format3")) in format()
851 t = fmt + strlen(fmt); in format()
881 WARNING("weird printf conversion %s", fmt); in format()
894 case '?': sprintf(p, "%s", fmt); /* unknown, so dump it too */ in format()
903 case 'f': sprintf(p, fmt, getfval(x)); break; in format()
904 case 'd': sprintf(p, fmt, (long) getfval(x)); break; in format()
905 case 'u': sprintf(p, fmt, (int) getfval(x)); break; in format()
[all …]
Dtran.c362 static char *get_str_val(Cell *vp, char **fmt) /* get string val of a Cell */ in get_str_val() argument
379 sprintf(s, *fmt, vp->fval); in get_str_val()
/ndk/sources/host-tools/sed-4.2.1/sed/
DMakefile.am6 sed_SOURCES = sed.c compile.c execute.c regexp.c fmt.c mbcs.c utils.c
Dsed.h210 extern void fmt P_ ((const char *line, const char *line_end, int max_length, FILE *output_file));
/ndk/sources/cxx-stl/llvm-libc++/include/support/win32/
Dsupport.h25 int vasprintf( char **sptr, const char *__restrict fmt , va_list ap );
26 int asprintf( char **sptr, const char *__restrict fmt, ...);
/ndk/sources/host-tools/sed-4.2.1/
Dbootstrap.sh.in140 ${CC} -DHAVE_CONFIG_H -I.. -I. -I../lib -c fmt.c || exit 1
Dbootstrap.sh140 ${CC} -DHAVE_CONFIG_H -I.. -I. -I../lib -c fmt.c || exit 1
/ndk/sources/cxx-stl/llvm-libc++/include/
Diomanip26 template <class charT> T9 get_time(struct tm* tmb, const charT* fmt);
27 template <class charT> T10 put_time(const struct tm* tmb, const charT* fmt);

12