Lines Matching refs:ios
46 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::seek_dir way, int which = ios::in | ios::out)
144 bool testin = which & ios::in && mode & ios::in;
145 bool testout = which & ios::out && mode & ios::out;
146 bool testboth = testin && testout && way != ios::cur;
169 if (way == ios::beg)
174 else if (way == ios::end)
197 seekpos(pos_type sp, int which = ios::in | ios::out)
199 pos_type ret = seekoff(sp, ios::beg, which);
207 if (mode & ios::in)
209 if (mode & ios::out)
218 if (mode & ios::ate)
225 ios::open_mode mode;
238 istringstream(int which=ios::in)
239 : istream(&sb), sb(which | ios::in)
243 istringstream(const string& str, int which=ios::in)
244 : istream(&sb), sb(str, which | ios::in)
275 ostringstream(int which=ios::out)
276 : ostream(&sb), sb(which | ios::out)
280 ostringstream(const string& str, int which=ios::out)
281 : ostream(&sb), sb(str, which | ios::out)
312 stringstream(int which=ios::out|ios::in)
317 stringstream(const string& str, int which=ios::out|ios::in)