Home
last modified time | relevance | path

Searched refs:fstat (Results 1 – 25 of 211) sorted by relevance

123456789

/external/bison/lib/
Dfstat.c29 # undef fstat /* avoid warning on mingw64 with _FILE_OFFSET_BITS=64 */
30 # define fstat _fstati64 macro
37 return fstat (fd, buf); in orig_fstat()
Dsys_stat.in.h335 # undef fstat
336 # define fstat rpl_fstat
338 _GL_FUNCDECL_RPL (fstat, int, (int fd, struct stat *buf) _GL_ARG_NONNULL ((2)));
339 _GL_CXXALIAS_RPL (fstat, int, (int fd, struct stat *buf));
341 _GL_CXXALIAS_SYS (fstat, int, (int fd, struct stat *buf));
343 _GL_CXXALIASWARN (fstat);
346 # define fstat _fstati64
348 # undef fstat
350 _GL_WARN_ON_USE (fstat, "fstat has portability problems - "
Dfopen.c90 if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode)) in rpl_fopen()
/external/bison/m4/
Dfstat.m41 # fstat.m4 serial 4
21 dnl Replace fstat() for supporting the gnulib-defined open() on directories.
35 # Prerequisites of lib/fstat.c.
/external/bison/darwin-lib/sys/
Dstat.h647 # undef fstat
648 # define fstat rpl_fstat
650 _GL_FUNCDECL_RPL (fstat, int, (int fd, struct stat *buf) _GL_ARG_NONNULL ((2)));
651 _GL_CXXALIAS_RPL (fstat, int, (int fd, struct stat *buf));
653 _GL_CXXALIAS_SYS (fstat, int, (int fd, struct stat *buf));
655 _GL_CXXALIASWARN (fstat);
658 # define fstat _fstati64 macro
660 # undef fstat
662 _GL_WARN_ON_USE (fstat, "fstat has portability problems - "
/external/bison/linux-lib/sys/
Dstat.h647 # undef fstat
648 # define fstat rpl_fstat
650 _GL_FUNCDECL_RPL (fstat, int, (int fd, struct stat *buf) _GL_ARG_NONNULL ((2)));
651 _GL_CXXALIAS_RPL (fstat, int, (int fd, struct stat *buf));
653 _GL_CXXALIAS_SYS (fstat, int, (int fd, struct stat *buf));
655 _GL_CXXALIASWARN (fstat);
658 # define fstat _fstati64 macro
660 # undef fstat
662 _GL_WARN_ON_USE (fstat, "fstat has portability problems - "
/external/e2fsprogs/lib/e2p/
Dgetflags.c35 if (fstat (fd, &buf) == -1) in getflags()
57 if (!fstat(fd, &buf) && in getflags()
Dsetflags.c63 if (!fstat(fd, &buf) && in setflags()
/external/lldb/test/pexpect-2.4/
Dfdpexpect.py34 os.fstat(fd)
70 os.fstat(self.child_fd)
/external/sqlite/dist/
DAndroid.patch90 + return unixLogError(SQLITE_IOERR_FSTAT, "fstat", ((unixFile*)id)->zPath);
95 struct stat buf; /* Used to hold return values of fstat() */
99 + return unixLogError(SQLITE_IOERR_FSTAT, "fstat", pFile->zPath);
108 + rc = unixLogError(SQLITE_IOERR_FSTAT, "fstat", pDbFd->zPath);
/external/e2fsprogs/lib/blkid/
Dgetsize.c150 if (fstat(fd, &st) >= 0 && in blkid_get_dev_size()
167 if (fstat(fd, &st) == 0) in blkid_get_dev_size()
/external/selinux/libsemanage/tests/
Dtest_semanage_store.c320 fstat(sourcefd, &sb); in test_semanage_nc_sort()
332 fstat(goodfd, &sb); in test_semanage_nc_sort()
343 fstat(badfd, &sb); in test_semanage_nc_sort()
/external/libdrm/libkms/
Dlinux.c71 ret = fstat(fd, &buffer); in linux_name_from_sysfs()
166 ret = fstat(fd, &buffer);
/external/skia/src/ports/
DSkOSFile_posix.cpp42 if (0 != fstat(fd, &status)) { in sk_ino()
63 if (0 != fstat(fd, &status)) { in sk_fdmmap()
/external/mesa3d/src/gbm/main/
Dgbm.c112 if (fd < 0 || fstat(fd, &buf) < 0 || !S_ISCHR(buf.st_mode)) { in _gbm_mesa_get_device()
148 if (fd < 0 || fstat(fd, &buf) < 0 || !S_ISCHR(buf.st_mode)) { in gbm_create_device()
Dcommon.c45 if (fstat(fd, &buf) < 0) { in _gbm_udev_device_new_from_fd()
/external/f2fs-tools/mkfs/
Df2fs_format_utils.c41 if (fstat(config.fd, &stat_buf) < 0 ) { in f2fs_trim_device()
/external/e2fsprogs/include/nonunix/
Dunistd.h21 #define fstat _fstat macro
/external/gptfdisk/
Ddiskio.cc21 #define fstat64 fstat
Ddiskio.h33 #define fstat64 fstat
/external/llvm/lib/Support/Unix/
DProcess.inc217 while (fstat(StandardFD, &st) < 0) {
218 assert(errno && "expected errno to be set if fstat failed!");
219 // fstat should return EBADF if the file descriptor is closed.
222 // retry fstat if we got EINTR, otherwise bubble up the failure.
226 // if fstat succeeds, move on to the next FD.
/external/iproute2/netem/
Dstats.c27 fstat(fileno(fp), &info); in stats()
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Dopj_includes.h85 # define OPJ_FSTAT(fildes,stat_buff) fstat(fildes,stat_buff)
/external/elfutils/src/lib/
Dcrc32_file.c48 if (fstat (fd, &st) == 0) in crc32_file()
/external/vboot_reference/host/lib/
Dfile_keys.c31 if (-1 == fstat(fd, &stat_fd)) { in BufferFromFile()

123456789