Home
last modified time | relevance | path

Searched refs:file_no (Results 1 – 3 of 3) sorted by relevance

/ndk/sources/cxx-stl/stlport/src/details/
Dfstream_unistd.cpp158 _STLP_fd file_no; in _M_open() local
193 file_no = OPEN(name, flags, permission); in _M_open()
195 if (file_no < 0) in _M_open()
200 if ((openmode & (ios_base::ate | ios_base::app)) && (LSEEK(file_no, 0, SEEK_END) == -1)) { in _M_open()
204 _M_file_id = file_no; in _M_open()
227 bool _Filebuf_base::_M_open(int file_no, ios_base::openmode) in _M_open() argument
229 if (_M_is_open || file_no < 0) in _M_open()
232 int mode = fcntl(file_no, F_GETFL); in _M_open()
238 _M_file_id = file_no; in _M_open()
Dfstream_stdio.cpp175 _STLP_fd file_no; in _M_open() local
235 file_no = fileno(_M_file); in _M_open()
250 _M_file_id = file_no; in _M_open()
273 bool _Filebuf_base::_M_open( int file_no, ios_base::openmode ) in _M_open() argument
275 if (_M_is_open || file_no < 0) in _M_open()
279 if (FSTAT(file_no, &buf) != 0) in _M_open()
296 _M_file_id = file_no; in _M_open()
Dfstream_win32io.cpp220 _STLP_fd file_no; in _M_open() local
262 file_no = CreateFile (_STLP_PRIV __ASCIIToWide(name).c_str(), in _M_open()
264 file_no = CreateFileA(name, in _M_open()
269 if (file_no == INVALID_STLP_FD) in _M_open()
274 GetFileType(file_no) == FILE_TYPE_DISK && in _M_open()
276 ((doTruncate && SetEndOfFile(file_no) == 0) || in _M_open()
278 (SetFilePointer(file_no, 0, NULL, FILE_END) == INVALID_SET_FILE_POINTER)))) { in _M_open()
279 CloseHandle(file_no); in _M_open()
284 _M_file_id = file_no; in _M_open()
332 bool _Filebuf_base::_M_open(int file_no, ios_base::openmode init_mode) { in _M_open() argument
[all …]