Home | History | Annotate | Download | only in fmt

Lines Matching defs:out

24  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1061 FMT_API void format_windows_error(fmt::Writer &out, int error_code,
1811 MemoryWriter out;
1812 out << pad(hex(0xcafe), 8, '0');
1813 // out.str() == "0000cafe"
1982 CharPtr out = CharPtr();
1985 out = writer_.grow_buffer(spec_.width_);
1987 std::uninitialized_fill_n(out, spec_.width_ - CHAR_SIZE, fill);
1988 out += spec_.width_ - CHAR_SIZE;
1990 out = writer_.fill_padding(out, spec_.width_,
1993 std::uninitialized_fill_n(out + CHAR_SIZE,
1997 out = writer_.grow_buffer(CHAR_SIZE);
1999 *out = internal::CharTraits<Char>::cast(value);
2400 for example a file opening error, and writes it to *out* in the following
2413 FMT_API void format_system_error(fmt::Writer &out, int error_code,
2591 MemoryWriter out;
2592 out.write("Current point:\n");
2593 out.write("({:+f}, {:+f})", -3.14, 3.14);
2595 This will write the following output to the ``out`` object:
2712 CharPtr out = CharPtr();
2714 out = grow_buffer(spec.width());
2717 std::uninitialized_fill_n(out, spec.width() - size, fill);
2718 out += spec.width() - size;
2720 out = fill_padding(out, spec.width(), size, fill);
2722 std::uninitialized_fill_n(out + size, spec.width() - size, fill);
2725 out = grow_buffer(size);
2727 std::uninitialized_copy(s, s + size, out);
2728 return out;
2970 CharPtr out = write_str(nan, nan_size, spec);
2972 *out = sign;
2985 CharPtr out = write_str(inf, inf_size, spec);
2987 *out = sign;
3099 MemoryWriter out;
3100 out << "The answer is " << 42 << "\n";
3101 out.write("({:+f}, {:+f})", -3.14, 3.14);
3103 This will write the following output to the ``out`` object:
3110 The output can be converted to an ``std::string`` with ``out.str()`` or
3111 accessed as a C string with ``out.c_str()``.