Searched refs:statbuf (Results 26 - 50 of 52) sorted by relevance

123

/haiku-fatelf/src/bin/coreutils/lib/
H A Dset-mode-acl.c408 struct stat statbuf;
413 ret = fstat (desc, &statbuf);
415 ret = stat (name, &statbuf);
419 entries[0].uid = statbuf.st_uid;
423 entries[1].gid = statbuf.st_gid;
H A Dfile-has-acl.c521 struct stat statbuf;
523 if (stat (name, &statbuf) < 0)
526 return acl_nontrivial (count, entries, &statbuf);
H A Dmountlist.c524 struct stat statbuf; local
538 if (lstat (name, &statbuf) >= 0 && S_ISDIR (statbuf.st_mode))
542 re->dev = statbuf.st_dev;
543 re->ino = statbuf.st_ino;
/haiku-fatelf/src/bin/gdb/bfd/
H A Dbinary.c78 struct stat statbuf; local
90 if (bfd_stat (abfd, &statbuf) < 0)
102 sec->size = statbuf.st_size;
H A Dsco5-core.c130 struct stat statbuf; local
132 if (fstat (fileno (stream), &statbuf) < 0)
137 coresize = statbuf.st_size;
H A Dppcboot.c152 struct stat statbuf;
167 if (bfd_stat (abfd, &statbuf) < 0)
173 if ((size_t) statbuf.st_size < sizeof (ppcboot_hdr_t))
216 sec->size = statbuf.st_size - sizeof (ppcboot_hdr_t);
149 struct stat statbuf; local
H A Drs6000-core.c311 struct stat statbuf; local
369 if (bfd_stat (abfd, &statbuf) < 0)
408 if (c_stack + (file_ptr) c_size != statbuf.st_size)
417 c_loader >= statbuf.st_size ||
H A Dbfdio.c224 bfd_stat (bfd *abfd, struct stat *statbuf) argument
232 result = abfd->iovec->bstat (abfd, statbuf);
H A Dmmo.c545 struct stat statbuf; local
550 if (bfd_stat (abfd, &statbuf) < 0
557 if ((statbuf.st_size % 4) != 0
562 if (bfd_seek (abfd, (file_ptr) statbuf.st_size - 4, SEEK_SET) != 0
2024 struct stat statbuf; local
2027 if (bfd_stat (abfd, &statbuf) < 0)
2030 if (statbuf.st_size != curpos)
H A Darchive.c1939 struct stat statbuf;
1944 stat (arch->filename, &statbuf);
1948 bfd_ardata (arch)->armap_timestamp = statbuf.st_mtime + ARMAP_TIME_OFFSET;
1931 struct stat statbuf; local
H A Dsom.c6237 struct stat statbuf;
6245 if (stat (abfd->filename, &statbuf) != 0)
6251 bfd_ardata (abfd)->armap_timestamp = statbuf.st_mtime + 60;
6324 sprintf (hdr.ar_mode, "%-8o", (unsigned int) statbuf.st_mode);
6236 struct stat statbuf; local
/haiku-fatelf/src/bin/less/
H A Dedit.c401 struct stat statbuf; local
402 int r = stat(qopen_filename, &statbuf);
405 curr_ino = statbuf.st_ino;
406 curr_dev = statbuf.st_dev;
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dmountlist.c528 struct stat statbuf; local
542 if (lstat (name, &statbuf) >= 0 && S_ISDIR (statbuf.st_mode))
546 re->dev = statbuf.st_dev;
547 re->ino = statbuf.st_ino;
/haiku-fatelf/src/kits/tracker/
H A DFSUtils.cpp1515 StatStruct statbuf; local
1516 srcDir.GetStat(&statbuf);
1517 dev_t sourceDeviceID = statbuf.st_dev;
1530 entry.GetStat(&statbuf);
1532 if (S_ISDIR(statbuf.st_mode)) {
1535 if (statbuf.st_dev != sourceDeviceID) {
1537 statbuf.st_dev, sourceDeviceID));
1546 CopyFile(&entry, &statbuf, &newDir, loopControl, 0, false, undo);
1604 StatStruct statbuf; local
1605 MoveError::FailOnError(entry->GetStat(&statbuf));
2446 StatStruct statbuf; local
[all...]
/haiku-fatelf/src/bin/unzip/
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-fatelf/src/kits/network/libbind/dst/
H A Ddst_api.c103 struct stat statbuf; local
109 } else if (stat(s, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) {
/haiku-fatelf/src/bin/network/tcpdump/libpcap/
H A Dpcap-dlpi.c1620 struct stat statbuf; local
1750 if (stat(dname, &statbuf) < 0) {
1755 majdev = major(statbuf.st_rdev);
/haiku-fatelf/src/bin/patch/
H A Dpatch.c196 struct stat statbuf; local
197 if (stat (TMPOUTNAME, &statbuf) != 0)
199 outstate.zero_output = statbuf.st_size == 0;
/haiku-fatelf/src/bin/rcs/
H A Drcsedit.c1312 struct stat statbuf; local
1319 stat(RCSbuf->string, &statbuf) == 0 ? 1
1449 if (e == EACCES && stat(sp,&statbuf) == 0)
/haiku-fatelf/src/bin/gdb/gdb/
H A Dsomsolib.c562 struct stat statbuf; local
601 status = stat (name, &statbuf);
/haiku-fatelf/src/system/libroot/posix/
H A Dfts.c1026 struct stat statbuf; member in struct:ftsent_withstat
1048 p->fts_statp = &((struct ftsent_withstat *)p)->statbuf;
/haiku-fatelf/src/bin/findutils/find/
H A Ddefs.h560 int (*xstat) (const char *name, struct stat *statbuf);
/haiku-fatelf/src/tests/kits/net/netperf/
H A Dnetlib.c1542 struct stat statbuf;
1619 if (stat(fill_file,&statbuf) != 0) {
1623 if (statbuf.st_size < (width * buffer_size)) {
1527 struct stat statbuf; local

Completed in 304 milliseconds

123