Home
last modified time | relevance | path

Searched refs:format_string (Results 1 – 17 of 17) sorted by relevance

/freebsd-14.2/sbin/camcontrol/
H A Dtimestamp.c334 char *format_string = NULL; in timestamp() local
363 free(format_string); in timestamp()
365 if (format_string == NULL) { in timestamp()
375 free(format_string); in timestamp()
376 format_string = strdup(MIL); in timestamp()
377 if (format_string == NULL) { in timestamp()
419 if ((format_string == NULL) in timestamp()
443 if (format_string == NULL) { in timestamp()
445 if (format_string == NULL) { in timestamp()
481 format_string = strdup(UTC); in timestamp()
[all …]
/freebsd-14.2/contrib/file/src/
H A Dvasprintf.c200 const char *format_string, ...) in print_it() argument
209 va_start(varg, format_string); in print_it()
210 vsprintf_len = vsprintf(s->dest_string, format_string, varg); in print_it()
239 const char *format_string, const char *arg_string) in type_s() argument
255 return print_it(s, string_len, format_string, arg_string); in type_s()
411 format_string[0] = '%'; in dispatch()
412 format_ptr = &(format_string[1]); in dispatch()
498 return print_it(s, (size_t)approx_width, format_string, va_arg(s->vargs, int)); in dispatch()
519 return type_s(s, width, prec, format_string, va_arg(s->vargs, const char*)); in dispatch()
619 int vasprintf(char **ptr, const char *format_string, va_list vargs) in vasprintf() argument
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/src/filesystem/
H A Dfilesystem_error.cpp25 return detail::format_string("filesystem error: %s", derived_what); in __create_what()
27 …return detail::format_string("filesystem error: %s [" PATH_CSTR_FMT "]", derived_what, path1().c_s… in __create_what()
29 return detail::format_string( in __create_what()
H A Dformat_string.h55 inline _LIBCPP_ATTRIBUTE_FORMAT(__printf__, 1, 2) string format_string(const char* msg, ...) { in format_string() function
/freebsd-14.2/contrib/llvm-project/lldb/source/Core/
H A DDumpRegisterValue.cpp77 StreamString format_string; in DumpRegisterValue() local
79 format_string.Printf("%%%us", reg_name_right_align_at); in DumpRegisterValue()
81 format_string.Printf("%%s"); in DumpRegisterValue()
82 std::string fmt = std::string(format_string.GetString()); in DumpRegisterValue()
/freebsd-14.2/bin/date/tests/
H A Dformat_string_test.sh21 local format_string exp_output_1 exp_output_2
23 format_string=${1}
28 date -r ${TEST1} +%${format_string}
30 date -r ${TEST2} +%${format_string}
/freebsd-14.2/contrib/llvm-project/libcxx/include/__format/
H A Dformat_functions.h399 using format_string = basic_format_string<char, type_identity_t<_Args>...>; variable
440 format_to(_OutIt __out_it, format_string<_Args...> __fmt, _Args&&... __args) { in format_to()
476 format(format_string<_Args...> __fmt, _Args&&... __args) { in format()
502 format_to_n(_OutIt __out_it, iter_difference_t<_OutIt> __n, format_string<_Args...> __fmt, _Args&&.… in format_to_n()
524 formatted_size(format_string<_Args...> __fmt, _Args&&... __args) { in formatted_size()
573 format_to(_OutIt __out_it, locale __loc, format_string<_Args...> __fmt, _Args&&... __args) { in format_to()
609 format(locale __loc, format_string<_Args...> __fmt, _Args&&... __args) { in format()
637 …_OutIt __out_it, iter_difference_t<_OutIt> __n, locale __loc, format_string<_Args...> __fmt, _Args… in format_to_n()
662 formatted_size(locale __loc, format_string<_Args...> __fmt, _Args&&... __args) { in formatted_size()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dprint17 void print(format_string<Args...> fmt, Args&&... args);
19 void print(FILE* stream, format_string<Args...> fmt, Args&&... args);
22 void println(format_string<Args...> fmt, Args&&... args);
24 void println(FILE* stream, format_string<Args...> fmt, Args&&... args);
328 _LIBCPP_HIDE_FROM_ABI void print(FILE* __stream, format_string<_Args...> __fmt, _Args&&... __args) {
340 _LIBCPP_HIDE_FROM_ABI void print(format_string<_Args...> __fmt, _Args&&... __args) {
345 _LIBCPP_HIDE_FROM_ABI void println(FILE* __stream, format_string<_Args...> __fmt, _Args&&... __args…
360 _LIBCPP_HIDE_FROM_ABI void println(format_string<_Args...> __fmt, _Args&&... __args) {
H A Dformat39 …using format_string = // since C++23, exposition only before…
205 #include <__format/format_string.h>
H A Dostream164 void print(ostream& os, format_string<Args...> fmt, Args&&... args);
166 void println(ostream& os, format_string<Args...> fmt, Args&&... args);
1144 print(ostream& __os, format_string<_Args...> __fmt, _Args&&... __args) {
1157 println(ostream& __os, format_string<_Args...> __fmt, _Args&&... __args) {
H A Dlibcxx.imp376 { include: [ "<__format/format_string.h>", "private", "<format>", "public" ] },
H A Dmodule.modulemap.in1320 module std_private_format_format_string [system] { header "__format/format_string
/freebsd-14.2/contrib/libexecinfo/
H A Dbacktrace.c114 format_string(char **buf, size_t *bufsiz, size_t offs, const char *fmt, in format_string() function
173 return format_string(buf, bufsiz, offs, fmt, &dli, addr); in format_address()
/freebsd-14.2/bin/date/
H A Ddate.c79 const char *format_string; member
245 strlcat(fmtbuf, it->format_string, sizeof(fmtbuf)); in printisodate()
/freebsd-14.2/contrib/llvm-project/libcxx/modules/std/
H A Dformat.inc27 using std::format_string;
/freebsd-14.2/lib/libc++/
H A DMakefile741 FMT_HEADERS+= format_string.h
H A Dmodule.modulemap1320 module std_private_format_format_string [system] { header "__format/format_string