Home
last modified time | relevance | path

Searched refs:_M_file (Results 1 – 4 of 4) sorted by relevance

/ndk/sources/cxx-stl/stlport/src/
Dstdio_streambuf.cpp57 _M_file(file) in stdio_streambuf_base()
61 _STLP_VENDOR_CSTD::fflush(_M_file); in ~stdio_streambuf_base()
70 _STLP_VENDOR_CSTD::setvbuf(_M_file, s, (s == 0 && n == 0) ? _IONBF : _IOFBF, __n_size_t); in setbuf()
93 if (off <= numeric_limits<off_type>::max() && FSEEK(_M_file, off, whence) == 0) { in seekoff()
95 FGETPOS(_M_file, &pos); in seekoff()
141 return FSETPOS(_M_file, &p) == 0 ? pos : pos_type(-1); in seekpos()
145 return _STLP_VENDOR_CSTD::fflush(_M_file) == 0 ? 0 : -1; in sync()
159 int c = fgetc(_M_file); in underflow()
161 int c = getc(_M_file); in underflow()
164 _STLP_VENDOR_CSTD::ungetc(c, _M_file); in underflow()
[all …]
Dstdio_streambuf.h70 FILE* _M_file;
/ndk/sources/cxx-stl/stlport/src/details/
Dfstream_stdio.cpp232 _M_file = FOPEN(name, flags); in _M_open()
234 if (_M_file) { in _M_open()
235 file_no = fileno(_M_file); in _M_open()
241 setbuf(_M_file, 0); in _M_open()
246 if (FSEEK(_M_file, 0, SEEK_END) != 0) in _M_open()
308 bool ok = _M_should_close ? (fclose(_M_file) == 0) : true; in _M_close()
318 return fread(buf, 1, n, _M_file); in _M_read()
326 ptrdiff_t written = fwrite(buf, 1, n, _M_file); in _M_write()
364 if ( FSEEK(_M_file, offset, whence) == 0 ) { in _M_seek()
365 return FTELL(_M_file); in _M_seek()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_fstream.h116 FILE* _M_file; variable