| /netbsd-src/external/gpl2/lvm2/dist/lib/format_text/ |
| H A D | 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) in _inc_indent() 101 static void _dec_indent(struct formatter *f) in _dec_indent() 112 static int _nl_file(struct formatter *f) in _nl_file() 119 static int _extend_buffer(struct formatter *f) in _extend_buffer() 136 static int _nl_raw(struct formatter *f) in _nl_raw() 152 static int _out_with_comment_file(struct formatter *f, const char *comment, in _out_with_comment_file() [all …]
|
| H A D | 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);
|
| /netbsd-src/external/gpl2/lvm2/dist/include/ |
| H A D | 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);
|
| H A D | segtype.h | 27 struct formatter; 69 struct formatter * f);
|
| /netbsd-src/external/bsd/mdocml/dist/ |
| H A D | mandocd.c | 121 void *formatter; in main() local 180 formatter = ascii_alloc(&options); in main() 183 formatter = utf8_alloc(&options); in main() 187 formatter = html_alloc(&options); in main() 214 process(parser, outtype, formatter); in main() 217 html_reset(formatter); in main() 235 ascii_free(formatter); in main() 238 html_free(formatter); in main() 247 process(struct mparse *parser, enum outt outtype, void *formatter) in process() argument 257 terminal_mdoc(formatter, meta); in process() [all …]
|
| /netbsd-src/external/bsd/kyua-cli/dist/utils/format/ |
| H A D | formatter.cpp | 186 format::formatter::init(void) in init() 209 format::formatter::formatter(const std::string& format, in formatter() function in format::formatter 226 format::formatter::formatter(const std::string& format) : in formatter() function in format::formatter 236 format::formatter::~formatter(void) in ~formatter() 244 format::formatter::str(void) const in str() 254 format::formatter::operator const std::string&(void) const in operator const std::string&() 265 format::formatter 266 format::formatter::operator%(const bool& value) const in operator %() 282 format::formatter 283 format::formatter::replace(const std::string& arg) const in replace() [all …]
|
| H A D | formatter.hpp | 77 class formatter { class 99 formatter replace(const std::string&) const; 102 formatter(const std::string&, const std::string&, 106 explicit formatter(const std::string&); 107 ~formatter(void); 112 template< typename Type > formatter operator%(const Type&) const; 113 formatter operator%(const bool&) const;
|
| H A D | formatter.ipp | 34 #include "utils/format/formatter.hpp" 40 /// Replaces the first format placeholder in a formatter. 42 /// Constructs a new formatter object that has one less formatting placeholder, 49 /// \return A new formatter that has one less format placeholder. 51 inline formatter 52 formatter::operator%(const Type& arg) const 59 /// Inserts a formatter string into a stream. 62 /// \param f The formatter to process and inject into the stream. 66 operator<<(std::ostream& os, const formatter& f)
|
| H A D | formatter_test.cpp | 95 #define EQ(expected, formatter) ATF_REQUIRE_EQ(expected, (formatter).str()) argument
|
| H A D | macros.hpp | 55 #define F(fmt) utils::format::formatter(fmt)
|
| /netbsd-src/external/bsd/kyua-cli/dist/cli/ |
| H A D | cmd_help.cpp | 134 text::table_formatter formatter; in general_help() local 135 formatter.set_column_width(0, first_width); in general_help() 136 formatter.set_column_width(1, text::table_formatter::width_refill); in general_help() 137 formatter.set_separator(" "); in general_help() 142 ui->out_table(options_table, formatter, " "); in general_help() 152 ui->out_table(command_tables.find(category)->second, formatter, " "); in general_help() 184 text::table_formatter formatter; in subcommand_help() local 185 formatter.set_column_width(0, first_width); in subcommand_help() 186 formatter.set_column_width(1, text::table_formatter::width_refill); in subcommand_help() 187 formatter.set_separator(" "); in subcommand_help() [all …]
|
| /netbsd-src/external/bsd/kyua-cli/dist/utils/cmdline/ |
| H A D | ui_test.cpp | 281 text::table_formatter formatter; in ATF_TEST_CASE_BODY() local 282 formatter.set_separator(" | "); in ATF_TEST_CASE_BODY() 283 formatter.set_column_width(0, 23); in ATF_TEST_CASE_BODY() 284 formatter.set_column_width(1, text::table_formatter::width_refill); in ATF_TEST_CASE_BODY() 287 ui.out_table(table, formatter, " "); in ATF_TEST_CASE_BODY() 311 text::table_formatter formatter; in ATF_TEST_CASE_BODY() local 312 formatter.set_separator(" | "); in ATF_TEST_CASE_BODY() 313 formatter.set_column_width(0, 23); in ATF_TEST_CASE_BODY() 314 formatter.set_column_width(1, text::table_formatter::width_refill); in ATF_TEST_CASE_BODY() 317 ui.out_table(table, formatter, " "); in ATF_TEST_CASE_BODY()
|
| H A D | ui.cpp | 214 text::table_formatter formatter, in out_table() argument 222 formatter.set_table_width(max_width.get() - prefix.length()); in out_table() 224 const std::vector< std::string > lines = formatter.format(table); in out_table()
|
| /netbsd-src/external/apache2/llvm/dist/libcxx/docs/ |
| H A D | FormatProposalStatus.csv | 12 [format.formatter.spec],"Formatter specializations - character types",,Mark de Wever,`D96664 <https… 13 [format.formatter.spec],"Formatter specializations - string types",,Mark de Wever,`D96664 <https://… 14 [format.formatter.spec],"Formatter specializations - boolean type",,Mark de Wever,`D96664 <https://… 15 [format.formatter.spec],"Formatter specializations - integral types",,Mark de Wever,`D96664 <https:… 16 [format.formatter.spec],"Formatter specializations - floating-point types",`D70631 <https://llvm.or… 17 [format.formatter.spec],"Formatter specializations - pointer types",,,,,,
|
| /netbsd-src/external/bsd/top/dist/ |
| H A D | display.h | 48 void i_minibar(int (*formatter)(char *, int)); 49 void u_minibar(int (*formatter)(char *, int));
|
| H A D | display.c | 992 i_minibar(int (*formatter)(char *, int)) in i_minibar() 994 (void)((*formatter)(minibar_buffer, MINIBAR_WIDTH)); in i_minibar() 1000 u_minibar(int (*formatter)(char *, int)) in u_minibar() 1002 (void)((*formatter)(minibar_buffer, MINIBAR_WIDTH)); in u_minibar()
|
| /netbsd-src/external/gpl2/lvm2/dist/lib/metadata/ |
| H A D | segtype.h | 27 struct formatter; 69 struct formatter * f);
|
| /netbsd-src/usr.sbin/sysinst/arch/mac68k/ |
| H A D | 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
|
| /netbsd-src/external/historical/nawk/dist/testdir/ |
| H A D | p.table | 1 # table - simple table formatter
|
| /netbsd-src/external/bsd/kyua-cli/dist/utils/text/ |
| H A D | table_test.cpp | 57 const text::table_formatter& formatter, in table_formatter_check() argument 60 ATF_REQUIRE_EQ(expected, text::join(formatter.format(table), "\n") + "\n"); in table_formatter_check()
|
| /netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/ |
| H A D | mingw.py | 292 formatter = logging.Formatter('%(message)s') 293 handler.setFormatter(formatter)
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/ |
| H A D | mingw.py | 292 formatter = logging.Formatter('%(message)s') 293 handler.setFormatter(formatter)
|
| /netbsd-src/external/gpl2/lvm2/dist/lib/unknown/ |
| H A D | unknown.c | 60 static int _unknown_text_export(const struct lv_segment *seg, struct formatter *f) in _unknown_text_export()
|
| /netbsd-src/external/bsd/kyua-cli/lib/utils/ |
| H A D | Makefile | 35 format/formatter.cpp
|
| /netbsd-src/external/ibm-public/postfix/dist/mantools/ |
| H A D | README | 4 ccformat c code formatter
|