Searched refs:statbuf (Results 1 - 11 of 11) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dioctl.c143 struct stat statbuf; local
149 if (stat(vol->dev->d_name, &statbuf) == -1) {
165 major(statbuf.st_rdev), minor(statbuf.st_rdev));
/haiku/src/bin/unzip/
H A Dfileio.c257 if (SSTAT(G.filename, &G.statbuf) == 0 || lstat(G.filename,&G.statbuf) == 0)
259 if (SSTAT(G.filename, &G.statbuf) == 0)
330 if (!(G.statbuf.st_mode & S_IWRITE)) {
1839 if (SSTAT(filename, &G.statbuf)) {
1842 FnFilter1(filename), SSTAT(filename, &G.statbuf)));
1847 if (lstat(filename, &G.statbuf) == 0) {
1864 if (lstat(filename, &G.statbuf) == 0 && S_ISLNK(G.statbuf.st_mode)) {
1874 NATIVE_TO_TIMET(G.statbuf
[all...]
H A Dglobals.h256 struct stat statbuf; /* used by main, mapname, check_for_newer */ member in struct:Globals
H A Dbeos.c590 if (stat(buildpath, &G.statbuf)) { /* path doesn't exist */
613 } else if (!S_ISDIR(G.statbuf.st_mode)) {
738 if (rootlen > 0 && (stat(tmproot, &G.statbuf) ||
739 !S_ISDIR(G.statbuf.st_mode)))
H A Dprocess.c549 if (SSTAT(G.zipfn, &G.statbuf) ||
551 (error = S_ISLIB(G.statbuf.st_mode)) != 0 ||
553 (error = S_ISDIR(G.statbuf.st_mode)) != 0)
585 G.ziplen = G.statbuf.st_size;
589 if (G.statbuf.st_mode & S_IEXEC) /* no extension on Unix exes: might */
/haiku/src/system/libnetwork/netresolv/net/
H A Dnsdispatch.c493 struct stat statbuf; local
497 if (stat(_PATH_NS_CONF, &statbuf) == -1) {
507 if (statbuf.st_mtime <= _nsconfmod) {
547 _nsconfmod = statbuf.st_mtime;
/haiku/src/kits/tracker/
H A DFSUtils.cpp1690 StatStruct statbuf; local
1691 srcDir.GetStat(&statbuf);
1692 dev_t sourceDeviceID = statbuf.st_dev;
1705 entry.GetStat(&statbuf);
1707 if (S_ISDIR(statbuf.st_mode)) {
1710 if (statbuf.st_dev != sourceDeviceID) {
1712 statbuf.st_dev, sourceDeviceID));
1720 } else if (S_ISREG(statbuf.st_mode) || S_ISLNK(statbuf.st_mode)) {
1721 CopyFile(&entry, &statbuf,
1779 StatStruct statbuf; local
2643 StatStruct statbuf; local
[all...]
/haiku/src/tests/system/network/
H A Dunix_dgram_test.cpp624 struct stat statbuf; local
625 status = fstat(fd, &statbuf);
638 if (statbuf.st_dev != statbuf1.st_dev) {
642 if (statbuf.st_ino != statbuf1.st_ino) {
/haiku/src/system/libnetwork/netresolv/dst/
H A Ddst_api.c105 struct stat statbuf; local
111 } else if (stat(s, &statbuf) != 0 ||
112 !S_ISDIR(statbuf.st_mode)) {
/haiku/src/add-ons/kernel/file_systems/ntfs/
H A Dkernel_interface.cpp335 struct stat statbuf; local
336 if (ntfs_fuse_getstat(&volume->lowntfs, NULL, ni, &statbuf) != 0)
341 node->uid = statbuf.st_uid;
342 node->gid = statbuf.st_gid;
343 node->mode = statbuf.st_mode;
344 node->size = statbuf.st_size;
/haiku/src/libs/bsd/
H A Dfts.c1079 struct stat statbuf; member in struct:ftsent_withstat
1101 p->fts_statp = &((struct ftsent_withstat *)p)->statbuf;

Completed in 90 milliseconds