Home
last modified time | relevance | path

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

12

/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/
H A Dfstream271 * @param __mode The open mode flags.
276 * given in @a __mode.
310 open(const char* __s, ios_base::openmode __mode);
316 * @param __mode The open mode flags.
320 open(const wchar_t* __s, ios_base::openmode __mode);
327 * @param __mode The open mode flags.
331 open(const std::string& __s, ios_base::openmode __mode)
332 { return open(__s.c_str(), __mode); }
338 * @param __mode The open mode flags.
343 open(const _Path& __s, ios_base::openmode __mode)
[all …]
H A Dsstream105 * @param __mode Whether the buffer can read, or write, or both.
111 basic_stringbuf(ios_base::openmode __mode)
112 : __streambuf_type(), _M_mode(__mode), _M_string()
118 * @param __mode Whether the buffer can read, or write, or both.
125 ios_base::openmode __mode = ios_base::in | ios_base::out)
128 { _M_stringbuf_init(__mode); }
213 _M_stringbuf_init(ios_base::openmode __mode)
215 _M_mode = __mode;
275 ios_base::openmode __mode = ios_base::in | ios_base::out);
279 ios_base::openmode __mode = ios_base::in | ios_base::out);
[all …]
H A Dcodecvt98 _NAME(unsigned long __maxcode, codecvt_mode __mode, size_t __refs) \
99 : codecvt(__refs), _M_maxcode(__maxcode), _M_mode(__mode) { } \
H A Dstreambuf253 * @param __mode Value for ios_base::openmode.
259 ios_base::openmode __mode = ios_base::in | ios_base::out)
260 { return this->seekoff(__off, __way, __mode); }
265 * @param __mode Value for ios_base::openmode.
271 ios_base::openmode __mode = ios_base::in | ios_base::out)
272 { return this->seekpos(__sp, __mode); }
610 ios_base::openmode /*__mode*/ = ios_base::in | ios_base::out)
622 ios_base::openmode /*__mode*/ = ios_base::in | ios_base::out)
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/
H A Dfstream276 * @param __mode The open mode flags.
281 * given in @a __mode.
315 open(const char* __s, ios_base::openmode __mode);
321 * @param __mode The open mode flags.
325 open(const wchar_t* __s, ios_base::openmode __mode);
332 * @param __mode The open mode flags.
336 open(const std::string& __s, ios_base::openmode __mode)
337 { return open(__s.c_str(), __mode); }
343 * @param __mode The open mode flags.
348 open(const _Path& __s, ios_base::openmode __mode)
[all …]
H A Dsstream125 * @param __mode Whether the buffer can read, or write, or both.
131 basic_stringbuf(ios_base::openmode __mode)
132 : __streambuf_type(), _M_mode(__mode), _M_string()
138 * @param __mode Whether the buffer can read, or write, or both.
145 ios_base::openmode __mode = ios_base::in | ios_base::out)
148 { _M_stringbuf_init(__mode); }
163 basic_stringbuf(ios_base::openmode __mode,
165 : __streambuf_type(), _M_mode(__mode), _M_string(__a)
170 ios_base::openmode __mode = ios_base::in
172 : __streambuf_type(), _M_mode(__mode), _M_string(std::move(__s))
[all …]
H A Dcodecvt98 _NAME(unsigned long __maxcode, codecvt_mode __mode, size_t __refs) \
99 : codecvt(__refs), _M_maxcode(__maxcode), _M_mode(__mode) { } \
H A Dstreambuf251 * @param __mode Value for ios_base::openmode.
257 ios_base::openmode __mode = ios_base::in | ios_base::out)
258 { return this->seekoff(__off, __way, __mode); }
263 * @param __mode Value for ios_base::openmode.
269 ios_base::openmode __mode = ios_base::in | ios_base::out)
270 { return this->seekpos(__sp, __mode); }
608 ios_base::openmode /*__mode*/ = ios_base::in | ios_base::out)
620 ios_base::openmode /*__mode*/ = ios_base::in | ios_base::out)
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Dfstream238 basic_filebuf* open(const char* __s, ios_base::openmode __mode);
240 basic_filebuf* open(const wchar_t* __s, ios_base::openmode __mode);
243 basic_filebuf* open(const string& __s, ios_base::openmode __mode);
247 basic_filebuf* open(const _VSTD_FS::path& __p, ios_base::openmode __mode) {
248 return open(__p.c_str(), __mode);
252 basic_filebuf* __open(int __fd, ios_base::openmode __mode);
258 __make_mdstring(ios_base::openmode __mode) _NOEXCEPT;
515 ios_base::openmode __mode) _NOEXCEPT {
516 switch (__mode & ~ios_base::ate) {
556 basic_filebuf<_CharT, _Traits>::open(const char* __s, ios_base::openmode __mode)
[all …]
H A Dstrstream299 ostrstream(char* __s, int __n, ios_base::openmode __mode = ios_base::out)
301 __sb_(__s, __n, __s + (__mode & ios::app ? _VSTD::strlen(__s) : 0))
359 strstream(char* __s, int __n, ios_base::openmode __mode = ios_base::in | ios_base::out)
361 __sb_(__s, __n, __s + (__mode & ios::app ? _VSTD::strlen(__s) : 0))
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/
H A Dstdio_filebuf.h77 stdio_filebuf(int __fd, std::ios_base::openmode __mode, in _GLIBCXX_VISIBILITY()
90 stdio_filebuf(std::__c_file* __f, std::ios_base::openmode __mode, in _GLIBCXX_VISIBILITY()
137 stdio_filebuf(int __fd, std::ios_base::openmode __mode, size_t __size) in _GLIBCXX_VISIBILITY()
139 this->_M_file.sys_open(__fd, __mode); in _GLIBCXX_VISIBILITY()
142 this->_M_mode = __mode; in _GLIBCXX_VISIBILITY()
153 stdio_filebuf(std::__c_file* __f, std::ios_base::openmode __mode, in _GLIBCXX_VISIBILITY()
156 this->_M_file.sys_open(__f, __mode); in _GLIBCXX_VISIBILITY()
159 this->_M_mode = __mode; in _GLIBCXX_VISIBILITY()
H A Dstdio_sync_filebuf.h216 std::ios_base::openmode __mode = in _GLIBCXX_VISIBILITY()
218 { return seekoff(std::streamoff(__pos), std::ios_base::beg, __mode); } in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/
H A Dstdio_filebuf.h77 stdio_filebuf(int __fd, std::ios_base::openmode __mode, in _GLIBCXX_VISIBILITY()
90 stdio_filebuf(std::__c_file* __f, std::ios_base::openmode __mode, in _GLIBCXX_VISIBILITY()
137 stdio_filebuf(int __fd, std::ios_base::openmode __mode, size_t __size) in _GLIBCXX_VISIBILITY()
139 this->_M_file.sys_open(__fd, __mode); in _GLIBCXX_VISIBILITY()
142 this->_M_mode = __mode; in _GLIBCXX_VISIBILITY()
153 stdio_filebuf(std::__c_file* __f, std::ios_base::openmode __mode, in _GLIBCXX_VISIBILITY()
156 this->_M_file.sys_open(__f, __mode); in _GLIBCXX_VISIBILITY()
159 this->_M_mode = __mode; in _GLIBCXX_VISIBILITY()
H A Dstdio_sync_filebuf.h217 std::ios_base::openmode __mode = in _GLIBCXX_VISIBILITY()
219 { return seekoff(std::streamoff(__pos), std::ios_base::beg, __mode); } in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/
H A Dsstream.tcc168 seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __mode) in seekoff() argument
171 bool __testin = (ios_base::in & this->_M_mode & __mode) != 0; in seekoff()
172 bool __testout = (ios_base::out & this->_M_mode & __mode) != 0; in seekoff()
174 __testin &= !(__mode & ios_base::out); in seekoff()
175 __testout &= !(__mode & ios_base::in); in seekoff()
216 seekpos(pos_type __sp, ios_base::openmode __mode) in seekpos() argument
219 const bool __testin = (ios_base::in & this->_M_mode & __mode) != 0; in seekpos()
220 const bool __testout = (ios_base::out & this->_M_mode & __mode) != 0; in seekpos()
H A Dfstream.tcc180 open(const char* __s, ios_base::openmode __mode) in open() argument
185 _M_file.open(__s, __mode); in open()
189 _M_mode = __mode; in open()
200 if ((__mode & ios_base::ate) in open()
201 && this->seekoff(0, ios_base::end, __mode) in open()
215 open(const wchar_t* __s, ios_base::openmode __mode) in open() argument
220 _M_file.open(__s, __mode); in open()
224 _M_mode = __mode; in open()
235 if ((__mode & ios_base::ate) in open()
236 && this->seekoff(0, ios_base::end, __mode) in open()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
H A Dsstream.tcc168 seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __mode) in seekoff() argument
171 bool __testin = (ios_base::in & this->_M_mode & __mode) != 0; in seekoff()
172 bool __testout = (ios_base::out & this->_M_mode & __mode) != 0; in seekoff()
174 __testin &= !(__mode & ios_base::out); in seekoff()
175 __testout &= !(__mode & ios_base::in); in seekoff()
216 seekpos(pos_type __sp, ios_base::openmode __mode) in seekpos() argument
219 const bool __testin = (ios_base::in & this->_M_mode & __mode) != 0; in seekpos()
220 const bool __testout = (ios_base::out & this->_M_mode & __mode) != 0; in seekpos()
H A Dfstream.tcc180 open(const char* __s, ios_base::openmode __mode) in open() argument
185 _M_file.open(__s, __mode); in open()
189 _M_mode = __mode; in open()
200 if ((__mode & ios_base::ate) in open()
201 && this->seekoff(0, ios_base::end, __mode) in open()
215 open(const wchar_t* __s, ios_base::openmode __mode) in open() argument
220 _M_file.open(__s, __mode); in open()
224 _M_mode = __mode; in open()
235 if ((__mode & ios_base::ate) in open()
236 && this->seekoff(0, ios_base::end, __mode) in open()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/config/io/
H A Dbasic_file_stdio.cc193 __basic_file<char>::sys_open(__c_file* __file, ios_base::openmode __mode) in sys_open() argument
202 __err = (__mode == std::ios_base::in ? 0 : fflush(__file)); in sys_open()
216 __basic_file<char>::sys_open(int __fd, ios_base::openmode __mode) throw () in sys_open() argument
219 const char* __c_mode = fopen_mode(__mode); in sys_open()
232 __basic_file<char>::open(const char* __name, ios_base::openmode __mode, in open() argument
236 const char* __c_mode = fopen_mode(__mode); in open()
254 __basic_file<char>::open(const wchar_t* __name, ios_base::openmode __mode) in open() argument
257 const char* __c_mode = fopen_mode(__mode); in open()
H A Dbasic_file_stdio.h85 open(const char* __name, ios_base::openmode __mode, int __prot = 0664); in _GLIBCXX_VISIBILITY()
89 open(const wchar_t* __name, ios_base::openmode __mode); in _GLIBCXX_VISIBILITY()
96 sys_open(int __fd, ios_base::openmode __mode) throw (); in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/config/io/
H A Dbasic_file_stdio.cc207 __basic_file<char>::sys_open(__c_file* __file, ios_base::openmode __mode) in sys_open() argument
216 __err = (__mode == std::ios_base::in ? 0 : fflush(__file)); in sys_open()
230 __basic_file<char>::sys_open(int __fd, ios_base::openmode __mode) throw () in sys_open() argument
233 const char* __c_mode = fopen_mode(__mode); in sys_open()
246 __basic_file<char>::open(const char* __name, ios_base::openmode __mode, in open() argument
250 const char* __c_mode = fopen_mode(__mode); in open()
268 __basic_file<char>::open(const wchar_t* __name, ios_base::openmode __mode) in open() argument
271 const char* __c_mode = fopen_mode(__mode); in open()
H A Dbasic_file_stdio.h85 open(const char* __name, ios_base::openmode __mode, int __prot = 0664); in _GLIBCXX_VISIBILITY()
89 open(const wchar_t* __name, ios_base::openmode __mode); in _GLIBCXX_VISIBILITY()
96 sys_open(int __fd, ios_base::openmode __mode) throw (); in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/
H A Dsocket465 non_blocking(bool __mode, error_code&)
466 { _M_bits.non_blocking = __mode; }
471 native_non_blocking(bool __mode, error_code& __ec)
477 if (__mode)
488 _M_bits.native_non_blocking = __mode;
795 non_blocking(bool __mode)
796 { non_blocking(__mode, __throw_on_error{"basic_socket::non_blocking"}); }
799 non_blocking(bool __mode, error_code& __ec)
800 { __base::non_blocking(__mode, __ec); }
805 native_non_blocking(bool __mode)
[all …]
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/experimental/
H A Dsocket488 non_blocking(bool __mode, error_code&)
489 { _M_bits.non_blocking = __mode; }
494 native_non_blocking(bool __mode, error_code& __ec)
500 if (__mode)
511 _M_bits.native_non_blocking = __mode;
831 non_blocking(bool __mode)
832 { non_blocking(__mode, __throw_on_error{"basic_socket::non_blocking"}); }
835 non_blocking(bool __mode, error_code& __ec)
836 { __base::non_blocking(__mode, __ec); }
841 native_non_blocking(bool __mode)
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/backward/
H A Dstrstream127 ios_base::openmode __mode
129 virtual pos_type seekpos(pos_type __pos, ios_base::openmode __mode

12