Searched refs:ios (Results 1 - 25 of 49) sorted by relevance

12

/haiku/src/libs/stdc++/legacy/
H A Diomanip.cc35 ios & __iomanip_setbase (ios& i, int n)
37 ios::fmtflags b;
41 b = ios::oct; break;
43 b = ios::dec; break;
45 b = ios::hex; break;
49 i.setf(b, ios::basefield);
53 ios & __iomanip_setfill (ios& i, int n)
55 //FIXME if ( i.flags() & ios
[all...]
H A Dioextend.cc29 int ios::xalloc()
34 static ios::fmtflags __used_fmt_flags
35 = ios::skipws | ios::left | ios::right | ios::internal
36 | ios::dec | ios::oct | ios::hex | ios
[all...]
H A Dfilebuf.cc80 filebuf* filebuf::open(const char *filename, ios::openmode mode, int prot)
86 if (mode & ios::app)
87 mode |= ios::out;
88 if ((mode & (ios::in|ios::out)) == (ios::in|ios::out)) {
92 else if (mode & ios::out)
94 else if (mode & (int)ios::in)
98 if (mode & ios
[all...]
H A Diostream.cc78 set(ios::eofbit|ios::failbit);
101 set(ios::eofbit);
142 set(ios::eofbit|ios::failbit);
163 set(ios::failbit|ios::eofbit);
180 setstate (ios::badbit);
189 pos = _strbuf->pubseekpos(pos, ios::in);
191 set(ios
[all...]
H A Dprocbuf.cc36 _IO_proc_open(this, command, (mode & ios::in) ? "r" : "w");
41 return (procbuf*)_IO_proc_open(this, command, (mode & ios::in) ? "r" : "w");
H A Dindstream.cc43 if (_delete_flags & ios::in) delete get_stream();
44 if (_delete_flags & ios::out) delete put_stream();
78 int select = mode == 0 ? (ios::in|ios::out) : mode;
79 streambuf *gbuf = (select & ios::in) ? get_stream() : (streambuf*)NULL;
80 streambuf *pbuf = (select & ios::out) ? put_stream() : (streambuf*)NULL;
85 ret_val = gbuf->seekoff(off, dir, ios::in);
87 ret_val = pbuf->seekoff(off, dir, ios::out);
95 int select = mode == 0 ? (ios::in|ios
[all...]
H A Dsbscan.cc30 int streambuf::vscan(char const *fmt0, _IO_va_list ap, ios* stream /* = NULL*/)
35 stream->setstate((ios::iostate)errcode);
H A Disgetline.cc34 set(ios::failbit);
47 set (_gcount == 0 ? (ios::failbit|ios::eofbit) : ios::eofbit);
50 set(ios::failbit);
69 set(ios::failbit);
80 set(ios::failbit|ios::eofbit);
141 set(ios::eofbit);
143 set(ios
[all...]
H A Dfstream.cc48 _flags &= ~ios::dont_close;
67 set(ios::badbit);
85 set(ios::badbit);
91 set(ios::failbit);
97 set(ios::failbit);
H A Dpfstream.cc44 set(ios::badbit);
64 set(ios::badbit);
73 set(ios::badbit);
85 set(ios::badbit);
90 set(ios::badbit);
H A DSFile.cc79 if (rdbuf()->pubseekoff(i * sz, ios::beg) == EOF)
80 set(ios::badbit);
H A Dstdstreams.cc70 _ios_fields *vb; /* pointer to virtual base class ios */
76 _ios_fields *vb; /* pointer to virtual base class ios */
87 _ios_fields *vb; /* pointer to virtual base class ios */
96 (streambuf*)&SBUF, TIE, 0, ios::skipws|ios::dec|EXTRA_FLAGS, ' ',0,0,6
99 (streambuf*)&SBUF, TIE, 0, ios::dont_close|ios::dec|ios::skipws|EXTRA_FLAGS, ' ',0,0,6
115 OSTREAM_DEF(cerr, CERR_SBUF,(ostream*)&cout, ios::unitbuf, )
129 int ios
[all...]
H A Dstdiostream.cc99 (dir == ios::beg) ? SEEK_SET :
100 (dir == ios::cur) ? SEEK_CUR :
101 (dir == ios::end) ? SEEK_END :
/haiku/headers/cpp/
H A Dpfstream.h44 ipfstream(const char *name, int mode=ios::in, int prot=0664);
55 opfstream(const char *name, int mode=ios::out, int prot=0664);
H A Dsstream46 stringbuf(int which=ios::in|ios::out)
47 : streambuf(), mode(static_cast<ios::open_mode>(which)),
54 stringbuf(const string &str, int which=ios::in|ios::out)
55 : streambuf(), mode(static_cast<ios::open_mode>(which)),
58 if (mode & (ios::in|ios::out))
104 if (mode & ios::out)
141 seekoff(off_type off, ios
[all...]
H A Dindstream.h59 { return _get_stream ? _get_stream : lookup_stream(ios::in); }
61 { return _put_stream ? _put_stream : lookup_stream(ios::out); }
70 virtual streampos seekoff(streamoff, _seek_dir, int mode=ios::in|ios::out);
71 virtual streampos seekpos(streampos pos, int mode = ios::in|ios::out);
H A Dfstream.h33 class fstreambase : virtual public ios {
47 filebuf* rdbuf() const { return (filebuf*) ios::rdbuf(); }
64 ifstream(const char *name, int mode=ios::in, int prot=0664)
65 : fstreambase(name, mode | ios::in, prot) { }
66 void open(const char *name, int mode=ios::in, int prot=0664)
67 { fstreambase::open(name, mode | ios::in, prot); }
75 ofstream(const char *name, int mode=ios::out, int prot=0664)
76 : fstreambase(name, mode | ios::out, prot) { }
77 void open(const char *name, int mode=ios::out, int prot=0664)
78 { fstreambase::open(name, mode | ios
[all...]
H A Dbuiltinbuf.h40 friend ios;
50 virtual streampos seekoff(streamoff, _seek_dir, int mode=ios::in|ios::out);
51 virtual streampos seekpos(streampos pos, int mode = ios::in|ios::out);
H A Dstreambuf.h31 /* #define _G_IO_THROW */ /* Not implemented: ios::failure */
86 { // The data members of an ios.
96 void *_arrays; /* Support for ios::iword and ios::pword. */
126 class ios : public _ios_fields { class in inherits:_ios_fields
127 ios& operator=(ios&); /* Not allowed! */
128 ios (const ios&); /* Not allowed! */
147 bin = _IOS_BIN, // Deprecated - ANSI uses ios
363 pubseekpos(streampos pos, int mode = ios::in|ios::out) argument
479 inline ios::ios(streambuf* sb, ostream* tie_to) { init(sb, tie_to); } function in class:ios
[all...]
H A Diostream.h35 typedef ios& (*__manip)(ios&);
44 class ostream : virtual public ios
55 if (flags() & (ios::unitbuf|ios::stdio))
122 class istream : virtual public ios
163 if (!good()) { set(ios::failbit); return 0; }
167 if (!need && (flags() & ios::skipws)) return _skip_ws();
172 if (!good()) { set(ios::failbit); return 0; }
176 if (flags() & ios
[all...]
H A Diomanip.h45 ios& (*_f)(ios&, TP);
47 sapp(ios& (*f)(ios&, TP)) : _f(f) {}
59 ios& (*_f)(ios&, TP);
62 smanip(ios& (*f)(ios&, TP), TP a) : _f(f), _a(a) {}
72 __extension__ extern template class smanip<ios::fmtflags>;
87 template istream& operator>>(istream&, const smanip<ios
[all...]
H A Dstrstream.h74 virtual streampos seekoff(streamoff, _seek_dir, int mode=ios::in|ios::out);
77 class strstreambase : virtual public ios {
84 strstreambase(char *cp, int n, int mode=ios::out);
95 ostrstream(char *cp, int n, int mode=ios::out) :strstreambase(cp,n,mode){}
105 strstream(char *cp, int n, int mode=ios::out) :strstreambase(cp,n,mode){}
/haiku/src/add-ons/print/drivers/canon_lips/lips3/
H A DCompress3.cpp78 ifstream ifs(*++argv, ios::binary | ios::nocreate);
82 ifs.seekg(0, ios::end);
84 ifs.seekg(0, ios::beg);
93 ofstream ofs("test.bin", ios::binary);
/haiku/src/add-ons/print/transports/shared/
H A DSocketStream.cpp48 ofstream ofs("recv.log", ios::binary | ios::app);
86 ofstream ofs("send.log", ios::binary | ios::app);
104 ios::init(&this->buf);
/haiku/src/add-ons/print/transports/lpr/
H A DLprTransport.cpp71 fStream.open(fFile, ios::in | ios::out | ios::binary | ios::trunc);
112 fStream.seekg(0, ios::beg);

Completed in 178 milliseconds

12