Home
last modified time | relevance | path

Searched refs:_file (Results 1 – 17 of 17) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dmakebuf.c71 if (couldbetty && isatty(fp->_file)) in __smakebuf()
84 if (fp->_file < 0 || fstat(fp->_file, &st) < 0) { in __swhatbuf()
Dvsprintf.c52 f._file = -1; in vsprintf()
Dvsnprintf.c57 f._file = -1; in vsnprintf()
Dvdprintf.c63 f._file = -1; in vdprintf()
Dvasprintf.c34 f._file = -1; in vasprintf()
Dasprintf.c36 f._file = -1; in asprintf()
Dvswprintf.c56 f._file = -1; in vswprintf()
Dopen_memstream.c149 fp->_file = -1; in open_memstream()
Dfmemopen.c175 fp->_file = -1; in fmemopen()
Dopen_wmemstream.c160 fp->_file = -1; in open_wmemstream()
Dvfprintf.c129 fake._file = fp->_file; in __sbprintf()
468 fp->_file >= 0) in __vfprintf()
Dvfwprintf.c107 fake._file = fp->_file; in __sbprintf()
456 fp->_file >= 0) in __vfwprintf()
/bionic/libc/stdio/
Dstdio.cpp157 fp->_file = -1; /* no file */ in __sfp()
186 fp->_file = fd; in __fopen()
286 if ((wantfd = fp->_file) < 0 && isopen) { in freopen()
346 fp->_file = fd; in freopen()
382 fp->_file = -1; in fclose()
397 return TEMP_FAILURE_RETRY(read(fp->_file, buf, n)); in __sread()
406 TEMP_FAILURE_RETRY(lseek64(fp->_file, 0, SEEK_END)); in __swrite()
408 return TEMP_FAILURE_RETRY(write(fp->_file, buf, n)); in __swrite()
413 return TEMP_FAILURE_RETRY(lseek(fp->_file, offset, whence)); in __sseek()
418 return TEMP_FAILURE_RETRY(lseek64(fp->_file, offset, whence)); in __sseek64()
[all …]
Dsprintf.c55 f._file = -1; in sprintf()
Dsnprintf.c59 f._file = -1; in snprintf()
Dstdio_ext.cpp106 int fd = fp->_file; in fileno_unlocked()
Dlocal.h65 int _file; /* fileno, if Unix descriptor, else -1 */ member
68 short _file; /* fileno, if Unix descriptor, else -1 */ member