Home
last modified time | relevance | path

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

/freebsd/sbin/camcontrol/
H A Dtimestamp.c67 static int set_timestamp(struct cam_device *device, char *format_string,
243 set_timestamp(struct cam_device *device, char *format_string, in set_timestamp() argument
270 if (strcmp(format_string, UTC) == 0) { in set_timestamp()
275 if (strptime(timestamp_string, format_string, in set_timestamp()
333 char *format_string = NULL; in timestamp() local
362 free(format_string); in timestamp()
363 format_string = strdup(optarg); in timestamp()
364 if (format_string == NULL) { in timestamp()
374 free(format_string); in timestamp()
375 format_string = strdup(MIL); in timestamp()
[all …]
/freebsd/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()
295 char format_string[24]; /* max length may be something like "% +-#032768.32768Ld" */ in dispatch() local
411 format_string[0] = '%'; in dispatch()
412 format_ptr = &(format_string[1]); in dispatch()
478 return print_it(s, (size_t)approx_width, format_string, va_arg(s->vargs, int)); in dispatch()
480 return print_it(s, (size_t)approx_width, format_string, va_arg(s->vargs, long long int)); in dispatch()
[all …]
/freebsd/contrib/llvm-project/libcxx/src/filesystem/
H A Dfilesystem_error.cpp14 #include "format_string.h"
25 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_str()); 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/contrib/llvm-project/lldb/source/Core/
H A DDumpRegisterValue.cpp78 StreamString format_string; in DumpRegisterValue() local
80 format_string.Printf("%%%us", reg_name_right_align_at); in DumpRegisterValue()
82 format_string.Printf("%%s"); in DumpRegisterValue()
83 std::string fmt = std::string(format_string.GetString()); in DumpRegisterValue()
/freebsd/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/contrib/llvm-project/libcxx/include/__format/
H A Dformat_functions.h398 using format_string = basic_format_string<char, type_identity_t<_Args>...>; variable
439 format_to(_OutIt __out_it, format_string<_Args...> __fmt, _Args&&... __args) { in format_to()
474 format(format_string<_Args...> __fmt, _Args&&... __args) { in format()
500 format_to_n(_OutIt __out_it, iter_difference_t<_OutIt> __n, format_string<_Args...> __fmt, _Args&&.… in format_to_n()
522 formatted_size(format_string<_Args...> __fmt, _Args&&... __args) { in formatted_size()
571 format_to(_OutIt __out_it, locale __loc, format_string<_Args...> __fmt, _Args&&... __args) { in format_to()
607 format(locale __loc, format_string<_Args...> __fmt, _Args&&... __args) { in format()
635 …_OutIt __out_it, iter_difference_t<_OutIt> __n, locale __loc, format_string<_Args...> __fmt, _Args… in format_to_n()
660 formatted_size(locale __loc, format_string<_Args...> __fmt, _Args&&... __args) { in formatted_size()
/freebsd/contrib/llvm-project/libcxx/include/__ostream/
H A Dprint.h144 _LIBCPP_HIDE_FROM_ABI void print(ostream& __os, format_string<_Args...> __fmt, _Args&&... __args) { in print()
156 _LIBCPP_HIDE_FROM_ABI void println(ostream& __os, format_string<_Args...> __fmt, _Args&&... __args)… in println()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dprint17 void print(format_string<Args...> fmt, Args&&... args);
20 void print(FILE* stream, format_string<Args...> fmt, Args&&... args);
24 void println(format_string<Args...> fmt, Args&&... args);
26 void println(FILE* stream, format_string<Args...> fmt, Args&&... args);
329 _LIBCPP_HIDE_FROM_ABI void print(FILE* __stream, format_string<_Args...> __fmt, _Args&&... __args) {
341 _LIBCPP_HIDE_FROM_ABI void print(format_string<_Args...> __fmt, _Args&&... __args) {
346 _LIBCPP_HIDE_FROM_ABI void println(FILE* __stream, format_string<_Args...> __fmt, _Args&&... __args…
371 _LIBCPP_HIDE_FROM_ABI void println(format_string<_Args...> __fmt, _Args&&... __args) {
H A Dostream164 void print(ostream& os, format_string<Args...> fmt, Args&&... args);
166 void println(ostream& os, format_string<Args...> fmt, Args&&... args);
H A Dformat39 …using format_string = // since C++23, exposition only before…
207 # include <__format/format_string.h>
H A Dmodule.modulemap1304 module std_private_format_format_string [system] { header "__format/format_string
/freebsd/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/bin/date/
H A Ddate.c66 const char *format_string; member
232 strlcat(fmtbuf, it->format_string, sizeof(fmtbuf)); in printisodate()
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dformat.cppm
/freebsd/lib/libc++/
H A DMakefile726 FMT_HEADERS+= format_string.h
H A Dlibcxx.imp365 { include: [ "<__format/format_string.h>", "private", "<format>", "public" ] },