Home
last modified time | relevance | path

Searched refs:__mode (Results 1 – 25 of 30) sorted by relevance

12

/openbsd/src/gnu/lib/libstdc++/libstdc++/config/io/
Dbasic_file_libio.h82 ios_base::openmode __mode = ios_base::in | ios_base::out) = 0;
86 ios_base::openmode __mode = ios_base::in | ios_base::out) = 0;
133 _M_open_mode(ios_base::openmode __mode, int& __p_mode, int& __rw_mode,
138 open(const char* __name, ios_base::openmode __mode, int __prot = 0664);
147 sys_open(__c_file_type* __file, ios_base::openmode __mode);
200 ios_base::openmode __mode = ios_base::in | ios_base::out);
207 ios_base::openmode __mode = ios_base::in | ios_base::out);
276 ios_base::openmode __mode);
280 __basic_file<char>::seekpos(streamoff __pos, ios_base::openmode __mode);
322 ios_base::openmode __mode);
[all …]
Dbasic_file_libio.cc80 ios_base::openmode __mode) in seekoff() argument
81 { return _IO_file_seekoff(this, __off, __way, __mode); } in seekoff()
84 __basic_file<char>::seekpos(streamoff __pos, ios_base::openmode __mode) in seekpos() argument
85 { return _IO_file_seekoff(this, __pos, ios_base::beg, __mode); } in seekpos()
160 ios_base::openmode __mode) in seekoff() argument
161 { return _IO_wfile_seekoff(this, __off, __way, __mode); } in seekoff()
164 __basic_file<wchar_t>::seekpos(streamoff __pos, ios_base::openmode __mode) in seekpos() argument
165 { return _IO_wfile_seekoff(this, __pos, ios_base::beg, __mode); } in seekpos()
Dbasic_file_stdio.h66 open(const char* __name, ios_base::openmode __mode, int __prot = 0664);
72 sys_open(int __fd, ios_base::openmode __mode, bool __del);
99 ios_base::openmode __mode = ios_base::in | ios_base::out);
103 ios_base::openmode __mode = ios_base::in | ios_base::out);
Dbasic_file_stdio.cc121 __basic_file<char>::sys_open(int __fd, ios_base::openmode __mode, in sys_open() argument
125 const char* __c_mode = __gnu_internal::fopen_mode(__mode); in sys_open()
149 __basic_file<char>::open(const char* __name, ios_base::openmode __mode, in open() argument
153 const char* __c_mode = __gnu_internal::fopen_mode(__mode); in open()
/openbsd/src/gnu/gcc/libstdc++-v3/include/std/
Dstd_sstream.h100 basic_stringbuf(ios_base::openmode __mode = ios_base::in | ios_base::out) in _GLIBCXX_BEGIN_NAMESPACE()
101 : __streambuf_type(), _M_mode(__mode), _M_string() in _GLIBCXX_BEGIN_NAMESPACE()
114 ios_base::openmode __mode = ios_base::in | ios_base::out) in _GLIBCXX_BEGIN_NAMESPACE()
116 { _M_stringbuf_init(__mode); } in _GLIBCXX_BEGIN_NAMESPACE()
162 _M_stringbuf_init(ios_base::openmode __mode) in _GLIBCXX_BEGIN_NAMESPACE()
164 _M_mode = __mode; in _GLIBCXX_BEGIN_NAMESPACE()
224 ios_base::openmode __mode = ios_base::in | ios_base::out); in _GLIBCXX_BEGIN_NAMESPACE()
228 ios_base::openmode __mode = ios_base::in | ios_base::out); in _GLIBCXX_BEGIN_NAMESPACE()
299 basic_istringstream(ios_base::openmode __mode = ios_base::in)
300 : __istream_type(), _M_stringbuf(__mode | ios_base::in) in __istream_type()
[all …]
Dstd_fstream.h286 open(const char* __s, ios_base::openmode __mode); in _GLIBCXX_BEGIN_NAMESPACE()
356 ios_base::openmode __mode = ios_base::in | ios_base::out); in _GLIBCXX_BEGIN_NAMESPACE()
360 ios_base::openmode __mode = ios_base::in | ios_base::out); in _GLIBCXX_BEGIN_NAMESPACE()
464 basic_ifstream(const char* __s, ios_base::openmode __mode = ios_base::in)
468 this->open(__s, __mode); in __istream_type()
517 open(const char* __s, ios_base::openmode __mode = ios_base::in)
519 if (!_M_filebuf.open(__s, __mode | ios_base::in))
594 ios_base::openmode __mode = ios_base::out|ios_base::trunc)
598 this->open(__s, __mode); in __ostream_type()
648 ios_base::openmode __mode = ios_base::out | ios_base::trunc)
[all …]
Dstd_streambuf.h259 ios_base::openmode __mode = ios_base::in | ios_base::out)
260 { return this->seekoff(__off, __way, __mode); }
264 ios_base::openmode __mode = ios_base::in | ios_base::out)
265 { return this->seekpos(__sp, __mode); }
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/std/
Dstd_sstream.h106 basic_stringbuf(ios_base::openmode __mode = ios_base::in | ios_base::out)
108 { _M_stringbuf_init(__mode); } in __streambuf_type()
120 ios_base::openmode __mode = ios_base::in | ios_base::out)
122 { _M_stringbuf_init(__mode); } in __streambuf_type()
174 _M_stringbuf_init(ios_base::openmode __mode) in _M_stringbuf_init() argument
188 _M_mode = __mode; in _M_stringbuf_init()
239 ios_base::openmode __mode = ios_base::in | ios_base::out);
244 ios_base::openmode __mode = ios_base::in | ios_base::out);
332 basic_istringstream(ios_base::openmode __mode = ios_base::in)
333 : __istream_type(NULL), _M_stringbuf(__mode | ios_base::in) in __istream_type()
[all …]
Dstd_fstream.h177 open(const char* __s, ios_base::openmode __mode);
302 ios_base::openmode __mode = ios_base::in | ios_base::out);
307 ios_base::openmode __mode = ios_base::in | ios_base::out);
518 basic_ifstream(const char* __s, ios_base::openmode __mode = ios_base::in)
522 this->open(__s, __mode); in __istream_type()
564 open(const char* __s, ios_base::openmode __mode = ios_base::in)
566 if (!_M_filebuf.open(__s, __mode | ios_base::in))
643 ios_base::openmode __mode = ios_base::out|ios_base::trunc)
647 this->open(__s, __mode); in __ostream_type()
690 ios_base::openmode __mode = ios_base::out | ios_base::trunc)
[all …]
Dstd_streambuf.h413 ios_base::openmode __mode = ios_base::in | ios_base::out)
414 { return this->seekoff(__off, __way, __mode); }
418 ios_base::openmode __mode = ios_base::in | ios_base::out)
419 { return this->seekpos(__sp, __mode); }
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/ext/
Dstdio_filebuf.h78 stdio_filebuf(int __fd, std::ios_base::openmode __mode, bool __del,
91 stdio_filebuf(std::__c_file* __f, std::ios_base::openmode __mode,
120 stdio_filebuf(int __fd, std::ios_base::openmode __mode, bool __del, in stdio_filebuf() argument
123 _M_file.sys_open(__fd, __mode, __del); in stdio_filebuf()
126 _M_mode = __mode; in stdio_filebuf()
145 stdio_filebuf(std::__c_file* __f, std::ios_base::openmode __mode, in stdio_filebuf() argument
148 _M_file.sys_open(__f, __mode); in stdio_filebuf()
151 _M_mode = __mode; in stdio_filebuf()
/openbsd/src/gnu/llvm/libcxx/include/
Dfstream242 basic_filebuf* open(const char* __s, ios_base::openmode __mode);
244 basic_filebuf* open(const wchar_t* __s, ios_base::openmode __mode);
247 basic_filebuf* open(const string& __s, ios_base::openmode __mode);
251 basic_filebuf* open(const _VSTD_FS::path& __p, ios_base::openmode __mode) {
252 return open(__p.c_str(), __mode);
256 basic_filebuf* __open(int __fd, ios_base::openmode __mode);
261 __make_mdstring(ios_base::openmode __mode) _NOEXCEPT;
527 ios_base::openmode __mode) _NOEXCEPT {
528 switch (__mode & ~ios_base::ate) {
567 basic_filebuf<_CharT, _Traits>::open(const char* __s, ios_base::openmode __mode)
[all …]
Dcodecvt96 codecvt_mode __mode)
98 __mode_(__mode) {}
130 codecvt_mode __mode)
132 __mode_(__mode) {}
164 codecvt_mode __mode)
166 __mode_(__mode) {}
221 codecvt_mode __mode)
223 __mode_(__mode) {}
257 codecvt_mode __mode)
259 __mode_(__mode) {}
[all …]
Dstrstream301 ostrstream(char* __s, int __n, ios_base::openmode __mode = ios_base::out)
303 __sb_(__s, __n, __s + (__mode & ios::app ? _VSTD::strlen(__s) : 0))
361 strstream(char* __s, int __n, ios_base::openmode __mode = ios_base::in | ios_base::out)
363 __sb_(__s, __n, __s + (__mode & ios::app ? _VSTD::strlen(__s) : 0))
/openbsd/src/gnu/gcc/libstdc++-v3/include/ext/
Dstdio_filebuf.h78 stdio_filebuf(int __fd, std::ios_base::openmode __mode, in _GLIBCXX_BEGIN_NAMESPACE()
91 stdio_filebuf(std::__c_file* __f, std::ios_base::openmode __mode, in _GLIBCXX_BEGIN_NAMESPACE()
129 stdio_filebuf(int __fd, std::ios_base::openmode __mode, size_t __size) in stdio_filebuf() argument
131 this->_M_file.sys_open(__fd, __mode); in stdio_filebuf()
134 this->_M_mode = __mode; in stdio_filebuf()
145 stdio_filebuf(std::__c_file* __f, std::ios_base::openmode __mode, in stdio_filebuf() argument
148 this->_M_file.sys_open(__f, __mode); in stdio_filebuf()
151 this->_M_mode = __mode; in stdio_filebuf()
Dstdio_sync_filebuf.h182 std::ios_base::openmode __mode = in _GLIBCXX_BEGIN_NAMESPACE()
184 { return seekoff(std::streamoff(__pos), std::ios_base::beg, __mode); } in _GLIBCXX_BEGIN_NAMESPACE()
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/bits/
Dsstream.tcc121 seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __mode) in seekoff() argument
124 bool __testin = (ios_base::in & _M_mode & __mode) != 0; in seekoff()
125 bool __testout = (ios_base::out & _M_mode & __mode) != 0; in seekoff()
127 __testin &= !(__mode & ios_base::out); in seekoff()
128 __testout &= !(__mode & ios_base::in); in seekoff()
181 seekpos(pos_type __sp, ios_base::openmode __mode) in seekpos() argument
190 bool __testin = (ios_base::in & _M_mode & __mode) != 0; in seekpos()
191 bool __testout = (ios_base::out & _M_mode & __mode) != 0; in seekpos()
193 __testin &= !(__mode & ios_base::out); in seekpos()
194 __testout &= !(__mode & ios_base::in); in seekpos()
Dfstream.tcc83 open(const char* __s, ios_base::openmode __mode) in open() argument
88 _M_file.open(__s, __mode); in open()
92 _M_mode = __mode; in open()
97 if ((__mode & ios_base::ate) in open()
98 && this->seekoff(0, ios_base::end, __mode) < 0) in open()
430 seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __mode) in seekoff() argument
433 bool __testin = (ios_base::in & _M_mode & __mode) != 0; in seekoff()
434 bool __testout = (ios_base::out & _M_mode & __mode) != 0; in seekoff()
468 __ret = _M_file.seekoff(__computed_off, __way, __mode); in seekoff()
476 _M_file.seekoff(__off, ios_base::cur, __mode); in seekoff()
[all …]
/openbsd/src/gnu/gcc/libstdc++-v3/include/bits/
Dsstream.tcc155 seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __mode) in seekoff() argument
158 bool __testin = (ios_base::in & this->_M_mode & __mode) != 0; in seekoff()
159 bool __testout = (ios_base::out & this->_M_mode & __mode) != 0; in seekoff()
161 __testin &= !(__mode & ios_base::out); in seekoff()
162 __testout &= !(__mode & ios_base::in); in seekoff()
202 seekpos(pos_type __sp, ios_base::openmode __mode) in seekpos() argument
205 const bool __testin = (ios_base::in & this->_M_mode & __mode) != 0; in seekpos()
206 const bool __testout = (ios_base::out & this->_M_mode & __mode) != 0; in seekpos()
Dfstream.tcc96 open(const char* __s, ios_base::openmode __mode) in open() argument
101 _M_file.open(__s, __mode); in open()
105 _M_mode = __mode; in open()
116 if ((__mode & ios_base::ate) in open()
117 && this->seekoff(0, ios_base::end, __mode) in open()
/openbsd/src/gnu/gcc/libstdc++-v3/config/io/
Dbasic_file_stdio.h68 open(const char* __name, ios_base::openmode __mode, int __prot = 0664);
74 sys_open(int __fd, ios_base::openmode __mode);
Dbasic_file_stdio.cc214 __basic_file<char>::sys_open(int __fd, ios_base::openmode __mode) in sys_open() argument
217 const char* __c_mode = fopen_mode(__mode); in sys_open()
230 __basic_file<char>::open(const char* __name, ios_base::openmode __mode, in open() argument
234 const char* __c_mode = fopen_mode(__mode); in open()
/openbsd/src/gnu/lib/libstdc++/libstdc++/libio/
Dlibio.h481 extern int _IO_fwide (_IO_FILE *__fp, int __mode) __THROW;
485 # define _IO_fwide(__fp, __mode) \ argument
486 ({ int __result = (__mode); \
/openbsd/src/gnu/gcc/libstdc++-v3/include/backward/
Dstrstream95 ios_base::openmode __mode
97 virtual pos_type seekpos(pos_type __pos, ios_base::openmode __mode
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/backward/
Dstrstream95 ios_base::openmode __mode
97 virtual pos_type seekpos(pos_type __pos, ios_base::openmode __mode

12