| /src/external/bsd/kyua-cli/dist/utils/format/ |
| macros.hpp | 40 #include "utils/format/formatter.ipp" 43 /// Constructs a utils::format::formatter object with the given format string. 46 /// utils::format::formatter objects shorter, and thus to allow inlining these 55 #define F(fmt) utils::format::formatter(fmt)
|
| formatter.hpp | 29 /// \file utils/format/formatter.hpp 30 /// Provides the definition of the utils::format::formatter class. 32 /// The utils::format::formatter class is a poor man's replacement for the 58 /// A formatter always maintains the original format string but also holds a 60 /// formatter instance, but calls to operator% return new formatter objects with 66 /// const std::string s = (formatter("%s %s") % "foo" % 5).str(); 72 /// const formatter f1("%s %s"); 73 /// const formatter f2 = f1 % "foo"; 74 /// const formatter f3 = f2 % 5 77 class formatter { class in namespace:utils::format [all...] |
| formatter.cpp | 29 #include "utils/format/formatter.hpp" 62 /// character. We cannot detect any other kind of invalid formatter because 181 /// Performs internal initialization of the formatter. 186 format::formatter::init(void) 201 /// Constructs a new formatter object (internal). 209 format::formatter::formatter(const std::string& format, function in class:format::formatter 221 /// Constructs a new formatter object. 226 format::formatter::formatter(const std::string& format) function in class:format::formatter [all...] |
| formatter_test.cpp | 29 #include "utils/format/formatter.hpp" 47 /// support operator<< to the formatter; 87 /// Calls ATF_REQUIRE_EQ on an expected string and a formatter. 93 /// \param expected The expected string generated by the formatter. 94 /// \param formatter The formatter to test. 95 #define EQ(expected, formatter) ATF_REQUIRE_EQ(expected, (formatter).str())
|
| /src/external/gpl2/lvm2/dist/include/ |
| text_export.h | 24 struct formatter; 28 int out_size(struct formatter *f, uint64_t size, const char *fmt, ...) 31 int out_hint(struct formatter *f, const char *fmt, ...) 34 int out_text(struct formatter *f, const char *fmt, ...) 37 int out_config_node(struct formatter *f, const struct config_node *cn); 39 int out_areas(struct formatter *f, const struct lv_segment *seg, 42 void out_inc_indent(struct formatter *f); 43 void out_dec_indent(struct formatter *f); 44 int out_newline(struct formatter *f);
|
| segtype.h | 27 struct formatter; 69 struct formatter * f);
|
| /src/external/gpl2/lvm2/dist/lib/format_text/ |
| text_export.h | 24 struct formatter; 28 int out_size(struct formatter *f, uint64_t size, const char *fmt, ...) 31 int out_hint(struct formatter *f, const char *fmt, ...) 34 int out_text(struct formatter *f, const char *fmt, ...) 37 int out_config_node(struct formatter *f, const struct config_node *cn); 39 int out_areas(struct formatter *f, const struct lv_segment *seg, 42 void out_inc_indent(struct formatter *f); 43 void out_dec_indent(struct formatter *f); 44 int out_newline(struct formatter *f);
|
| export.c | 31 struct formatter; 32 typedef int (*out_with_comment_fn) (struct formatter * f, const char *comment, 34 typedef int (*nl_fn) (struct formatter * f); 52 struct formatter { struct 95 static void _inc_indent(struct formatter *f) 101 static void _dec_indent(struct formatter *f) 112 static int _nl_file(struct formatter *f) 119 static int _extend_buffer(struct formatter *f) 136 static int _nl_raw(struct formatter *f) 152 static int _out_with_comment_file(struct formatter *f, const char *comment [all...] |
| /src/external/bsd/mdocml/dist/ |
| mandocd.c | 121 void *formatter; local 180 formatter = ascii_alloc(&options); 183 formatter = utf8_alloc(&options); 187 formatter = html_alloc(&options); 214 process(parser, outtype, formatter); 217 html_reset(formatter); 235 ascii_free(formatter); 238 html_free(formatter); 247 process(struct mparse *parser, enum outt outtype, void *formatter) 257 terminal_mdoc(formatter, meta) [all...] |
| /src/external/bsd/kyua-cli/dist/cli/ |
| cmd_help.cpp | 134 text::table_formatter formatter; local 135 formatter.set_column_width(0, first_width); 136 formatter.set_column_width(1, text::table_formatter::width_refill); 137 formatter.set_separator(" "); 142 ui->out_table(options_table, formatter, " "); 152 ui->out_table(command_tables.find(category)->second, formatter, " "); 184 text::table_formatter formatter; local 185 formatter.set_column_width(0, first_width); 186 formatter.set_column_width(1, text::table_formatter::width_refill); 187 formatter.set_separator(" ") [all...] |
| /src/external/gpl3/gdb/dist/gdb/python/lib/gdb/ |
| styling.py | 38 formatter = get_formatter() 39 return highlight(contents, lexer, formatter).encode( 90 formatter = get_formatter() 91 return highlight(content, lexer, formatter).rstrip().encode()
|
| /src/external/gpl3/gdb.old/dist/gdb/python/lib/gdb/ |
| styling.py | 38 formatter = get_formatter() 39 return highlight(contents, lexer, formatter).encode( 90 formatter = get_formatter() 91 return highlight(content, lexer, formatter).rstrip().encode()
|
| /src/external/bsd/top/dist/ |
| display.h | 48 void i_minibar(int (*formatter)(char *, int)); 49 void u_minibar(int (*formatter)(char *, int));
|
| display.c | 992 i_minibar(int (*formatter)(char *, int)) 994 (void)((*formatter)(minibar_buffer, MINIBAR_WIDTH)); 1000 u_minibar(int (*formatter)(char *, int)) 1002 (void)((*formatter)(minibar_buffer, MINIBAR_WIDTH));
|
| /src/external/bsd/kyua-cli/dist/utils/cmdline/ |
| ui_test.cpp | 281 text::table_formatter formatter; local 282 formatter.set_separator(" | "); 283 formatter.set_column_width(0, 23); 284 formatter.set_column_width(1, text::table_formatter::width_refill); 287 ui.out_table(table, formatter, " "); 311 text::table_formatter formatter; local 312 formatter.set_separator(" | "); 313 formatter.set_column_width(0, 23); 314 formatter.set_column_width(1, text::table_formatter::width_refill); 317 ui.out_table(table, formatter, " "); [all...] |
| ui.cpp | 209 /// \param formatter The table formatter to use to convert the table to a 214 text::table_formatter formatter, 222 formatter.set_table_width(max_width.get() - prefix.length()); 224 const std::vector< std::string > lines = formatter.format(table);
|
| /src/usr.sbin/sysinst/arch/mac68k/ |
| msg.md.en | 54 reading the Disk Partition Map which is written by the disk formatter 59 partition structure with any disk formatter. Partitions do not 65 MacOS drivers are installed with a MacOS compatible disk formatter. 129 is probably because your disk formatter didn't reserve additional space
|
| /src/external/gpl2/lvm2/dist/lib/metadata/ |
| segtype.h | 27 struct formatter; 69 struct formatter * f);
|
| /src/external/gpl2/lvm2/dist/lib/unknown/ |
| unknown.c | 60 static int _unknown_text_export(const struct lv_segment *seg, struct formatter *f)
|
| /src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/ |
| std_thread.h | 57 template<typename, typename> class formatter; 126 friend formatter<id, char>; 127 friend formatter<id, wchar_t>;
|
| chrono_io.h | 506 // formatter<duration> passes the correct value of __is_neg 1594 struct formatter<chrono::duration<_Rep, _Period>, _CharT> struct 1635 struct formatter<chrono::day, _CharT> struct 1652 struct formatter<chrono::month, _CharT> struct 1669 struct formatter<chrono::year, _CharT> struct 1686 struct formatter<chrono::weekday, _CharT> struct 1703 struct formatter<chrono::weekday_indexed, _CharT> struct 1720 struct formatter<chrono::weekday_last, _CharT> struct 1737 struct formatter<chrono::month_day, _CharT> struct 1754 struct formatter<chrono::month_day_last, _CharT struct 1771 struct formatter<chrono::month_weekday, _CharT> struct 1788 struct formatter<chrono::month_weekday_last, _CharT> struct 1806 struct formatter<chrono::year_month, _CharT> struct 1823 struct formatter<chrono::year_month_day, _CharT> struct 1840 struct formatter<chrono::year_month_day_last, _CharT> struct 1858 struct formatter<chrono::year_month_weekday, _CharT> struct 1876 struct formatter<chrono::year_month_weekday_last, _CharT> struct 1894 struct formatter<chrono::hh_mm_ss<chrono::duration<_Rep, _Period>>, _CharT> struct 1913 struct formatter<chrono::sys_info, _CharT> struct 1930 struct formatter<chrono::local_info, _CharT> struct 1948 struct formatter<chrono::sys_time<_Duration>, _CharT> struct 1976 struct formatter<chrono::utc_time<_Duration>, _CharT> struct in inherits:__format::__formatter_chrono 2011 struct formatter<chrono::tai_time<_Duration>, _CharT> struct in inherits:__format::__formatter_chrono 2041 struct formatter<chrono::gps_time<_Duration>, _CharT> struct in inherits:__format::__formatter_chrono 2071 struct formatter<chrono::file_time<_Duration>, _CharT> struct 2092 struct formatter<chrono::local_time<_Duration>, _CharT> struct 2110 struct formatter<chrono::__detail::__local_time_fmt<_Duration>, _CharT> struct 2129 struct formatter<chrono::zoned_time<_Duration, _TimeZonePtr>, _CharT> struct in inherits:formatter 2150 struct formatter<chrono::__detail::__utc_leap_second<_Duration>, _CharT> struct in inherits:formatter [all...] |
| /src/external/bsd/kyua-cli/lib/utils/ |
| Makefile | 35 format/formatter.cpp
|
| /src/external/bsd/kyua-cli/dist/utils/text/ |
| table_test.cpp | 53 /// \param formatter The formatter to use. 57 const text::table_formatter& formatter, 60 ATF_REQUIRE_EQ(expected, text::join(formatter.format(table), "\n") + "\n");
|
| /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/ |
| mingw.py | 292 formatter = logging.Formatter('%(message)s') 293 handler.setFormatter(formatter)
|
| /src/external/apache2/llvm/dist/llvm/utils/benchmark/ |
| mingw.py | 292 formatter = logging.Formatter('%(message)s') 293 handler.setFormatter(formatter)
|