Home
last modified time | relevance | path

Searched refs:openmode (Results 1 – 25 of 32) sorted by relevance

12

/ndk/sources/cxx-stl/stlport/src/details/
Dfstream_unistd.cpp78 static ios_base::openmode flag_to_openmode(int mode) in flag_to_openmode()
80 ios_base::openmode ret = ios_base::__default_mode; in flag_to_openmode()
155 bool _Filebuf_base::_M_open(const char* name, ios_base::openmode openmode, in _M_open() argument
166 switch ( openmode & (~ios_base::ate & ~ios_base::binary) ) { in _M_open()
200 if ((openmode & (ios_base::ate | ios_base::app)) && (LSEEK(file_no, 0, SEEK_END) == -1)) { in _M_open()
206 _M_openmode = openmode; in _M_open()
215 bool _Filebuf_base::_M_open(const char* name, ios_base::openmode openmode) in _M_open() argument
220 return this->_M_open(name, openmode, S_IRUSR | S_IWUSR | S_IRGRP | in _M_open()
227 bool _Filebuf_base::_M_open(int file_no, ios_base::openmode) in _M_open() argument
Dfstream_stdio.cpp172 bool _Filebuf_base::_M_open(const char* name, ios_base::openmode openmode, in _M_open() argument
183 switch (openmode & (~ios_base::ate)) { in _M_open()
245 if (openmode & ios_base::ate) { in _M_open()
252 _M_openmode = openmode; in _M_open()
261 bool _Filebuf_base::_M_open(const char* name, ios_base::openmode openmode) in _M_open() argument
266 return this->_M_open(name, openmode, S_IRUSR | S_IWUSR | S_IRGRP | in _M_open()
273 bool _Filebuf_base::_M_open( int file_no, ios_base::openmode ) in _M_open() argument
Dfstream_win32io.cpp46 static ios_base::openmode flag_to_openmode(int mode) { in flag_to_openmode()
47 ios_base::openmode ret = ios_base::__default_mode; in flag_to_openmode()
129 static ios_base::openmode _get_osfflags(int fd, HANDLE oshandle) {
168 static ios_base::openmode _get_osfflags(int fd, HANDLE oshandle) {
218 bool _Filebuf_base::_M_open(const char* name, ios_base::openmode openmode, in _M_open() argument
228 switch (openmode & (~ios_base::ate & ~ios_base::binary)) { in _M_open()
277 (((openmode & ios_base::ate) != 0) && in _M_open()
286 _M_openmode = openmode; in _M_open()
294 bool _Filebuf_base::_M_open(const char* name, ios_base::openmode openmode) { in _M_open() argument
298 return this->_M_open(name, openmode, FILE_ATTRIBUTE_NORMAL); in _M_open()
[all …]
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_fstream.h59 bool _M_open(const char*, ios_base::openmode, long __protection);
60 bool _M_open(const char*, ios_base::openmode);
61 bool _M_open(int __id, ios_base::openmode = ios_base::__default_mode);
63 bool _M_open(_STLP_fd __id, ios_base::openmode = ios_base::__default_mode);
118 ios_base::openmode _M_openmode ;
168 _Self* open(const char* __s, ios_base::openmode __m) { in open()
174 _Self* open(const char* __s, ios_base::openmode __m, in open()
181 _Self* open(int __id, ios_base::openmode _Init_mode = ios_base::__default_mode) {
186 _Self* open(_STLP_fd __id, ios_base::openmode _Init_mode = ios_base::__default_mode) {
193 _Self* _M_open(int __id, ios_base::openmode _Init_mode = ios_base::__default_mode) {
[all …]
D_sstream.h68 explicit basic_stringbuf(ios_base::openmode __mode
70 explicit basic_stringbuf(const _String& __s, ios_base::openmode __mode
91 ios_base::openmode __mode
93 virtual pos_type seekpos(pos_type __pos, ios_base::openmode __mode
102 ios_base::openmode _M_mode;
131 basic_istringstream(ios_base::openmode __mode = ios_base::in);
133 ios_base::openmode __mode = ios_base::in);
174 basic_ostringstream(ios_base::openmode __mode = ios_base::out);
176 ios_base::openmode __mode = ios_base::out);
217 typedef ios_base::openmode openmode; typedef
[all …]
D_strstream.h79 ios_base::openmode __mode
81 virtual pos_type seekpos(pos_type __pos, ios_base::openmode __mode
124 ostrstream(char*, int, ios_base::openmode = ios_base::out);
147 strstream(char*, int, ios_base::openmode = ios_base::in | ios_base::out);
D_sstream.c45 ::basic_stringbuf(ios_base::openmode __mode) in basic_stringbuf()
51 ::basic_stringbuf(const basic_string<_CharT, _Traits, _Alloc>& __s, ios_base::openmode __mode) in basic_stringbuf()
302 ios_base::openmode __mode) { in seekoff()
358 ::seekpos(pos_type __pos, ios_base::openmode __mode) { in seekpos()
394 ::basic_istringstream(ios_base::openmode __mode) in basic_istringstream()
402 ::basic_istringstream(const _String& __str,ios_base::openmode __mode) in basic_istringstream()
417 ::basic_ostringstream(ios_base::openmode __mode) in basic_ostringstream()
425 ::basic_ostringstream(const _String& __str, ios_base::openmode __mode) in basic_ostringstream()
440 ::basic_stringstream(ios_base::openmode __mode) in basic_stringstream()
447 ::basic_stringstream(const _String& __str, ios_base::openmode __mode) in basic_stringstream()
D_streambuf.h129 ios_base::openmode = ios_base::in | ios_base::out);
134 seekpos(pos_type, ios_base::openmode = ios_base::in | ios_base::out);
146 ios_base::openmode __mod = ios_base::in | ios_base::out)
150 ios_base::openmode __mod = ios_base::in | ios_base::out)
D_ios_base.h61 typedef int openmode; typedef
215 openmode _M_openmode;
257 typedef openmode open_mode;
/ndk/sources/cxx-stl/llvm-libc++/include/
Dfstream39 basic_filebuf* open(const char* s, ios_base::openmode mode);
40 basic_filebuf* open(const string& s, ios_base::openmode mode);
52 ios_base::openmode which = ios_base::in | ios_base::out);
54 ios_base::openmode which = ios_base::in | ios_base::out);
78 explicit basic_ifstream(const char* s, ios_base::openmode mode = ios_base::in);
79 explicit basic_ifstream(const string& s, ios_base::openmode mode = ios_base::in);
87 void open(const char* s, ios_base::openmode mode = ios_base::in);
88 void open(const string& s, ios_base::openmode mode = ios_base::in);
111 explicit basic_ofstream(const char* s, ios_base::openmode mode = ios_base::out);
112 explicit basic_ofstream(const string& s, ios_base::openmode mode = ios_base::out);
[all …]
Dsstream30 explicit basic_stringbuf(ios_base::openmode which = ios_base::in | ios_base::out);
32 ios_base::openmode which = ios_base::in | ios_base::out);
50 ios_base::openmode which = ios_base::in | ios_base::out);
52 ios_base::openmode which = ios_base::in | ios_base::out);
75 explicit basic_istringstream(ios_base::openmode which = ios_base::in);
77 ios_base::openmode which = ios_base::in);
111 explicit basic_ostringstream(ios_base::openmode which = ios_base::out);
113 ios_base::openmode which = ios_base::out);
147 explicit basic_stringstream(ios_base::openmode which = ios_base::out|ios_base::in);
149 ios_base::openmode which = ios_base::out|ios_base::in);
[all …]
Dstreambuf40 ios_base::openmode which = ios_base::in | ios_base::out);
42 ios_base::openmode which = ios_base::in | ios_base::out);
88 ios_base::openmode which = ios_base::in | ios_base::out);
90 ios_base::openmode which = ios_base::in | ios_base::out);
141 ios_base::openmode __which = ios_base::in | ios_base::out);
143 ios_base::openmode __which = ios_base::in | ios_base::out);
189 ios_base::openmode __which = ios_base::in | ios_base::out);
191 ios_base::openmode __which = ios_base::in | ios_base::out);
254 ios_base::openmode __which)
263 ios_base::openmode __which)
[all …]
Dstrstream47 ios_base::openmode which = ios_base::in | ios_base::out);
49 ios_base::openmode which = ios_base::in | ios_base::out);
87 ostrstream(char* s, int n, ios_base::openmode mode = ios_base::out);
112 strstream(char* s, int n, ios_base::openmode mode = ios_base::in | ios_base::out);
174 ios_base::openmode __which = ios_base::in | ios_base::out);
176 ios_base::openmode __which = ios_base::in | ios_base::out);
292 ostrstream(char* __s, int __n, ios_base::openmode __mode = ios_base::out)
352 strstream(char* __s, int __n, ios_base::openmode __mode = ios_base::in | ios_base::out)
Dios57 typedef T3 openmode;
58 static constexpr openmode app;
59 static constexpr openmode ate;
60 static constexpr openmode binary;
61 static constexpr openmode in;
62 static constexpr openmode out;
63 static constexpr openmode trunc;
259 typedef unsigned int openmode;
260 typedef openmode open_mode;
261 static const openmode app = 0x01;
[all …]
/ndk/sources/cxx-stl/stlport/src/
Dios.cpp72 const ios_base::openmode ios_base::app;
73 const ios_base::openmode ios_base::ate;
74 const ios_base::openmode ios_base::binary;
75 const ios_base::openmode ios_base::in;
76 const ios_base::openmode ios_base::out;
77 const ios_base::openmode ios_base::trunc;
Dstdio_streambuf.h62 ios_base::openmode
65 ios_base::openmode
Dstrstream.cpp193 ios_base::seekdir dir, ios_base::openmode mode) { in seekoff()
256 strstreambuf::seekpos(pos_type pos, ios_base::openmode mode) { in seekpos()
330 ostrstream::ostrstream(char* s, int n, ios_base::openmode mode) in ostrstream()
363 strstream::strstream(char* s, int n, ios_base::openmode mode) in strstream()
Dstdio_streambuf.cpp77 ios_base::openmode /* mode */) { in seekoff() argument
114 stdio_streambuf_base::seekpos(pos_type pos, ios_base::openmode /* mode */) { in seekpos() argument
/ndk/sources/cxx-stl/llvm-libc++/src/
Dios.cpp112 const ios_base::openmode ios_base::app;
113 const ios_base::openmode ios_base::ate;
114 const ios_base::openmode ios_base::binary;
115 const ios_base::openmode ios_base::in;
116 const ios_base::openmode ios_base::out;
117 const ios_base::openmode ios_base::trunc;
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/iostream.format/output.streams/ostream.seeks/
Dtellp.pass.cpp32 seekoff(typename base::off_type off, std::ios_base::seekdir way, std::ios_base::openmode which) in seekoff()
Dseekp.pass.cpp32 seekpos(typename base::pos_type sp, std::ios_base::openmode which) in seekpos()
Dseekp2.pass.cpp33 std::ios_base::openmode which) in seekoff()
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/iostream.format/input.streams/istream.unformatted/
Dtellg.pass.cpp42 std::ios_base::openmode which) in seekoff()
Dseekg.pass.cpp41 std::ios_base::openmode which) in seekpos()
Dseekg_off.pass.cpp44 std::ios_base::openmode which) in seekoff()

12