Home | History | Annotate | Download | only in Support

Lines Matching defs:raw_ostream

1 //===--- raw_ostream.cpp - Implement the raw_ostream classes --------------===//
14 #include "llvm/Support/raw_ostream.h"
71 raw_ostream::~raw_ostream() {
72 // raw_ostream's subclasses should take care to flush the buffer
75 "raw_ostream destructor called with non-empty buffer!");
82 void raw_ostream::handle() {}
84 size_t raw_ostream::preferred_buffer_size() const {
89 void raw_ostream::SetBuffered() {
98 void raw_ostream::SetBufferAndMode(char *BufferStart, size_t Size,
117 raw_ostream &raw_ostream::operator<<(unsigned long N) {
122 raw_ostream &raw_ostream::operator<<(long N) {
127 raw_ostream &raw_ostream::operator<<(unsigned long long N) {
132 raw_ostream &raw_ostream::operator<<(long long N) {
137 raw_ostream &raw_ostream::write_hex(unsigned long long N) {
142 raw_ostream &raw_ostream::write_escaped(StringRef Str,
182 raw_ostream &raw_ostream::operator<<(const void *P) {
187 raw_ostream &raw_ostream::operator<<(double N) {
192 void raw_ostream::flush_nonempty() {
199 raw_ostream &raw_ostream::write(unsigned char C) {
219 raw_ostream &raw_ostream::write(const char *Ptr, size_t Size) {
262 void raw_ostream::copy_to_buffer(const char *Ptr, size_t Size) {
282 raw_ostream &raw_ostream::operator<<(const format_object_base &Fmt) {
322 raw_ostream &raw_ostream::operator<<(const formatv_object_base &Obj) {
328 raw_ostream &raw_ostream::operator<<(const FormattedString &FS) {
339 raw_ostream &raw_ostream::operator<<(const FormattedNumber &FN) {
362 raw_ostream &raw_ostream::operator<<(const FormattedBytes &FB) {
435 raw_ostream &raw_ostream::indent(unsigned NumSpaces) {
535 // destructing raw_ostream objects which may have errors.
564 // raw_ostream isn't designed to do non-blocking I/O. However, some
568 // don't use O_NONBLOCK file descriptors with raw_ostream.
637 return raw_ostream::preferred_buffer_size();
641 raw_ostream &raw_fd_ostream::changeColor(enum Colors colors, bool bold,
657 raw_ostream &raw_fd_ostream::resetColor() {
670 raw_ostream &raw_fd_ostream::reverseColor() {
695 /// outs() - This returns a reference to a raw_ostream for standard output.
697 raw_ostream &llvm::outs() {
708 /// errs() - This returns a reference to a raw_ostream for standard error.
710 raw_ostream &llvm::errs() {
716 /// nulls() - This returns a reference to a raw_ostream which discards output.
717 raw_ostream &llvm::nulls() {
755 // ~raw_ostream asserts that the buffer is empty. This isn't necessary