Lines Matching defs:raw_ostream
1 //===--- raw_ostream.cpp - Implement the raw_ostream classes --------------===//
14 #include "llvm/Support/raw_ostream.h"
62 raw_ostream::~raw_ostream() {
63 // raw_ostream's subclasses should take care to flush the buffer
66 "raw_ostream destructor called with non-empty buffer!");
73 void raw_ostream::handle() {}
75 size_t raw_ostream::preferred_buffer_size() const {
80 void raw_ostream::SetBuffered() {
89 void raw_ostream::SetBufferAndMode(char *BufferStart, size_t Size,
108 raw_ostream &raw_ostream::operator<<(unsigned long N) {
124 raw_ostream &raw_ostream::operator<<(long N) {
134 raw_ostream &raw_ostream::operator<<(unsigned long long N) {
150 raw_ostream &raw_ostream::operator<<(long long N) {
160 raw_ostream &raw_ostream::write_hex(unsigned long long N) {
178 raw_ostream &raw_ostream::write_escaped(StringRef Str,
220 raw_ostream &raw_ostream::operator<<(const void *P) {
226 raw_ostream &raw_ostream::operator<<(double N) {
269 void raw_ostream::flush_nonempty() {
276 raw_ostream &raw_ostream::write(unsigned char C) {
296 raw_ostream &raw_ostream::write(const char *Ptr, size_t Size) {
339 void raw_ostream::copy_to_buffer(const char *Ptr, size_t Size) {
359 raw_ostream &raw_ostream::operator<<(const format_object_base &Fmt) {
399 raw_ostream &raw_ostream::operator<<(const FormattedString &FS) {
410 raw_ostream &raw_ostream::operator<<(const FormattedNumber &FN) {
459 raw_ostream &raw_ostream::indent(unsigned NumSpaces) {
560 // destructing raw_ostream objects which may have errors.
577 // raw_ostream isn't designed to do non-blocking I/O. However, some
581 // don't use O_NONBLOCK file descriptors with raw_ostream.
643 return raw_ostream::preferred_buffer_size();
647 raw_ostream &raw_fd_ostream::changeColor(enum Colors colors, bool bold,
663 raw_ostream &raw_fd_ostream::resetColor() {
676 raw_ostream &raw_fd_ostream::reverseColor() {
701 /// outs() - This returns a reference to a raw_ostream for standard output.
703 raw_ostream &llvm::outs() {
713 /// errs() - This returns a reference to a raw_ostream for standard error.
715 raw_ostream &llvm::errs() {
721 /// nulls() - This returns a reference to a raw_ostream which discards output.
722 raw_ostream &llvm::nulls() {
761 // ~raw_ostream asserts that the buffer is empty. This isn't necessary