Home
last modified time | relevance | path

Searched refs:formatter (Results 1 – 25 of 28) sorted by relevance

12

/freebsd-13.1/contrib/mandoc/
H A Dmandocd.c121 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()
217 html_reset(formatter); in main()
235 ascii_free(formatter); in main()
238 html_free(formatter); in main()
257 terminal_mdoc(formatter, meta); in process()
260 html_mdoc(formatter, meta); in process()
268 terminal_man(formatter, meta); in process()
[all …]
H A DNEWS319 * eqn(7): Fix NULL dereference in the terminal formatter
571 * eqn(7): Fix NULL pointer accesses in the terminal formatter.
724 * The terminal formatter now supports the \: (optional line break)
732 * The mdoc(7) formatter non partially supports .Bd -centered.
754 * In the terminal formatter, a floating point rounding bug was
756 * In the UTF-8 formatter, rendering of accents, breakable hyphens,
758 * In the HTML formatter, encoding of special characters was
760 * In the mdoc(7) formatter, rendering of .Ex and .Rv was
762 * In the mdoc(7) formatter, handling of empty .Bl -inset item
764 * In the man(7) formatter, some bugs were fixed with respect
[all …]
H A DTODO196 - The "size" keyword is parsed, but ignored by the formatter.
280 - check compatibility with the man(7) formatter
/freebsd-13.1/contrib/kyua/utils/format/
H A Dformatter.hpp79 class formatter { class
101 formatter replace(const std::string&) const;
104 formatter(const std::string&, const std::string&,
108 explicit formatter(const std::string&);
109 ~formatter(void);
114 template< typename Type > formatter operator%(const Type&) const;
115 formatter operator%(const bool&) const;
H A Dformatter.cpp186 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()
246 format::formatter::str(void) const in str()
256 format::formatter::operator const std::string&(void) const in operator const std::string&()
267 format::formatter
268 format::formatter::operator%(const bool& value) const in operator %()
284 format::formatter
285 format::formatter::replace(const std::string& arg) const in replace()
[all …]
H A Dformatter.ipp34 #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 DMakefile.am.inc33 libutils_a_SOURCES += utils/format/formatter.cpp
34 libutils_a_SOURCES += utils/format/formatter.hpp
36 libutils_a_SOURCES += utils/format/formatter.ipp
H A Dformatter_fwd.hpp39 class formatter;
H A Dmacros.hpp55 #define F(fmt) utils::format::formatter(fmt)
H A Dformatter_test.cpp95 #define EQ(expected, formatter) ATF_REQUIRE_EQ(expected, (formatter).str()) argument
/freebsd-13.1/contrib/kyua/cli/
H A Dcmd_help.cpp136 text::table_formatter formatter; in general_help() local
137 formatter.set_column_width(0, first_width); in general_help()
138 formatter.set_column_width(1, text::table_formatter::width_refill); in general_help()
139 formatter.set_separator(" "); in general_help()
144 ui->out_table(options_table, formatter, " "); in general_help()
188 text::table_formatter formatter; in subcommand_help() local
189 formatter.set_column_width(0, first_width); in subcommand_help()
190 formatter.set_column_width(1, text::table_formatter::width_refill); in subcommand_help()
191 formatter.set_separator(" "); in subcommand_help()
196 ui->out_table(general_table, formatter, " "); in subcommand_help()
[all …]
/freebsd-13.1/contrib/kyua/utils/cmdline/
H A Dui_test.cpp311 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()
341 text::table_formatter formatter; in ATF_TEST_CASE_BODY() local
342 formatter.set_separator(" | "); in ATF_TEST_CASE_BODY()
343 formatter.set_column_width(0, 23); in ATF_TEST_CASE_BODY()
344 formatter.set_column_width(1, text::table_formatter::width_refill); in ATF_TEST_CASE_BODY()
347 ui.out_table(table, formatter, " "); in ATF_TEST_CASE_BODY()
H A Dui.cpp223 text::table_formatter formatter, in out_table() argument
231 formatter.set_table_width(max_width.get() - prefix.length()); in out_table()
233 const std::vector< std::string > lines = formatter.format(table); in out_table()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_custom.cpp2236 while (*formatter.fmt_cur) { in format_buffer()
2237 formatter.fmt_start = formatter.fmt_cur; in format_buffer()
2238 formatter.width = -1; in format_buffer()
2241 if (*formatter.fmt_cur != '%') { in format_buffer()
2244 for (; *(formatter.fmt_cur + 1) && *(formatter.fmt_cur + 1) != '%'; in format_buffer()
2245 ++formatter.fmt_cur) {} in format_buffer()
2246 retval = formatter.format(); in format_buffer()
2268 if (formatter.fmt_cur - formatter.fmt_start >= 2 && in format_buffer()
2396 formatter.fmt_cur++; in format_buffer()
2397 formatter.str_off += retval; in format_buffer()
[all …]
/freebsd-13.1/sys/contrib/device-tree/Bindings/sound/
H A Dxlnx,audio-formatter.txt1 Device-Tree bindings for Xilinx PL audio formatter
7 - compatible: "xlnx,audio-formatter-1.0"
22 compatible = "xlnx,audio-formatter-1.0";
H A Damlogic,axg-tdm-formatters.txt21 - resets: phandle to the dedicated reset line of the tdm formatter.
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/DataFormatters/
H A DFormattersContainer.h147 for (auto &formatter : llvm::reverse(m_map)) { in Get()
148 if (formatter.first.Matches(type)) { in Get()
149 entry = formatter.second; in Get()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibStdcppUniquePointer.cpp180 LibStdcppUniquePtrSyntheticFrontEnd formatter(valobj.GetSP()); in LibStdcppUniquePointerSummaryProvider() local
181 return formatter.GetSummary(stream, options); in LibStdcppUniquePointerSummaryProvider()
/freebsd-13.1/contrib/kyua/utils/text/
H A Dtable_test.cpp57 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()
/freebsd-13.1/contrib/libxo/xo/
H A Dxo.c95 formatter (xo_handle_t *xop, char *buf, xo_ssize_t bufsiz, in formatter() function
433 xo_set_formatter(NULL, formatter, checkpoint); in main()
/freebsd-13.1/usr.bin/ee/nls/fr_FR.ISO8859-1/
H A Dee.msg34 24 "formatter le paragraphe"
/freebsd-13.1/contrib/llvm-project/lldb/docs/
H A Dpython_api_enums.rst1122 Options that can be set for a formatter to alter its behavior. Not
1123 all of these are applicable to all formatter types.
/freebsd-13.1/contrib/llvm-project/lldb/source/Commands/
H A DOptions.td1157 let Command = "type formatter delete" in {
1166 let Command = "type formatter clear" in {
1171 let Command = "type formatter list" in {
/freebsd-13.1/contrib/googletest/googletest/docs/
H A Dadvanced.md253 following *predicate-formatter assertions* to *fully* customize how the message
263 a predicate, `(ASSERT|EXPECT)_PRED_FORMAT*` take a *predicate-formatter*
291 // A predicate-formatter for asserting that two integers are mutually prime.
304 With this predicate-formatter, we can use
/freebsd-13.1/contrib/libarchive/
H A DNEWS606 with the buggy ACLs can be read now) and corrects the ACL formatter.

12