Searched refs:stat (Results 26 - 50 of 4343) sorted by relevance

1234567891011>>

/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/
H A Dvfork-multi-inferior.c39 int stat; local
40 int ret = waitpid (pid, &stat, 0);
42 assert (WIFEXITED (stat));
43 assert (WEXITSTATUS (stat) == 12);
/netbsd-current/external/gpl3/gdb/dist/sim/testsuite/cris/c/
H A Dstat3.c5 #include <sys/stat.h>
15 struct stat buf;
17 if (stat (".", &buf) != 0
23 if (stat (path, &buf) != 0
H A Dstat1.c2 #include <sys/stat.h>
9 struct stat buf;
11 if (stat (".", &buf) != 0
/netbsd-current/tests/usr.bin/stat/
H A DMakefile3 TESTSDIR= ${TESTSBASE}/usr.bin/stat
/netbsd-current/sys/fs/v7fs/
H A Dv7fs_superblock_util.c67 struct v7fs_stat *stat = &fs->stat; local
69 stat->total_blocks = sb->volume_size - sb->datablock_start_sector;
70 stat->total_inode = V7FS_MAX_INODE(sb);
71 stat->free_inode = sb->total_freeinode;
72 stat->free_blocks = sb->total_freeblock;
73 stat->total_files = stat->total_inode - sb->total_freeinode - 1;
75 DPRINTF("block %d/%d, inode %d/%d\n", stat->free_blocks,
76 stat
[all...]
/netbsd-current/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/
H A Dreadlink.c22 #include <sys/stat.h>
37 struct stat statbuf;
39 /* In general we should use lstat() here, not stat(). But on platforms
41 stat(), therefore we can use stat(). This saves us a configure check. */
42 if (stat (path, &statbuf) >= 0)
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dreadlink.c22 #include <sys/stat.h>
37 struct stat statbuf;
39 /* In general we should use lstat() here, not stat(). But on platforms
41 stat(), therefore we can use stat(). This saves us a configure check. */
42 if (stat (path, &statbuf) >= 0)
/netbsd-current/external/gpl3/gdb.old/dist/sim/testsuite/sim/cris/c/
H A Dstat1.c2 #include <sys/stat.h>
9 struct stat buf;
11 if (stat (".", &buf) != 0
/netbsd-current/external/gpl2/grep/dist/lib/
H A Disdir.c25 #include <sys/stat.h>
41 struct stat stats;
43 return stat (path, &stats) == 0 && S_ISDIR (stats.st_mode);
/netbsd-current/external/gpl2/xcvs/dist/lib/
H A Dreadlink.c27 #include <sys/stat.h>
42 struct stat statbuf;
44 /* In general we should use lstat() here, not stat(). But on platforms
46 stat(), therefore we can use stat(). This saves us a configure check. */
47 if (stat (path, &statbuf) >= 0)
/netbsd-current/external/gpl3/binutils/dist/libiberty/
H A Dfdmatch.c50 #include <sys/stat.h>
54 struct stat sbuf1;
55 struct stat sbuf2;
/netbsd-current/external/gpl3/binutils.old/dist/libiberty/
H A Dfdmatch.c50 #include <sys/stat.h>
54 struct stat sbuf1;
55 struct stat sbuf2;
/netbsd-current/external/gpl3/gcc.old/dist/libiberty/
H A Dfdmatch.c50 #include <sys/stat.h>
54 struct stat sbuf1;
55 struct stat sbuf2;
/netbsd-current/external/gpl3/gdb.old/dist/libiberty/
H A Dfdmatch.c50 #include <sys/stat.h>
54 struct stat sbuf1;
55 struct stat sbuf2;
/netbsd-current/external/gpl3/gcc/dist/libiberty/
H A Dfdmatch.c50 #include <sys/stat.h>
54 struct stat sbuf1;
55 struct stat sbuf2;
/netbsd-current/external/gpl3/gdb/dist/libiberty/
H A Dfdmatch.c50 #include <sys/stat.h>
54 struct stat sbuf1;
55 struct stat sbuf2;
/netbsd-current/external/bsd/libarchive/dist/cpio/test/
H A Dtest_option_B_upper.c29 struct stat st;
41 assertEqualInt(0, stat("small.cpio", &st));
48 assertEqualInt(0, stat("large.cpio", &st));
/netbsd-current/external/lgpl3/gmp/dist/tests/rand/
H A DMakefile.am28 EXTRA_PROGRAMS = findlc gen gen.static spect stat
46 manual-test: gen$(EXEEXT) stat$(EXEEXT)
48 | ./stat -i 0xffff | grep '^[0-9]')
50 | ./stat -i 0xffffffff | grep '^[0-9]')
52 | ./stat -i 0x1ffffffff | grep '^[0-9]')
54 | ./stat -i 0xffffffffffffffff | grep '^[0-9]')
56 | ./stat -i 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF | grep '^[0-9]')
59 | ./stat | grep '^[0-9]')
61 | ./stat | grep '^[0-9]')
63 | ./stat | gre
[all...]
/netbsd-current/bin/cp/
H A Dextern.h52 int copy_fifo(struct stat *, int);
55 int copy_special(struct stat *, int);
56 int set_utimes(const char *, struct stat *);
57 int setfile(struct stat *, int);
58 int preserve_dir_acls(struct stat *, char *, char *);
/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/
H A Dreadlink.c24 #include <sys/stat.h>
35 struct stat statbuf;
37 /* In general we should use lstat() here, not stat(). But on platforms
39 stat(), therefore we can use stat(). This saves us a configure check. */
40 if (stat (name, &statbuf) >= 0)
61 both lstat() and stat() must resolve the trailing slash to
63 safely use stat() to distinguish between EINVAL and
65 struct stat st;
66 if (stat (nam
[all...]
/netbsd-current/external/bsd/iscsi/dist/include/
H A Dvirtdir.h32 #include <sys/stat.h>
56 struct stat file; /* stat struct for file entries */
57 struct stat dir; /* stat struct for dir entries */
58 struct stat lnk; /* stat struct for symlinks */
69 int virtdir_init(virtdir_t *, const char *, struct stat *, struct stat *, struct stat *);
[all...]
/netbsd-current/external/bsd/iscsi/dist/src/initiator/
H A Dvirtdir.h32 #include <sys/stat.h>
56 struct stat file; /* stat struct for file entries */
57 struct stat dir; /* stat struct for dir entries */
58 struct stat lnk; /* stat struct for symlinks */
69 int virtdir_init(virtdir_t *, const char *, struct stat *, struct stat *, struct stat *);
[all...]
/netbsd-current/share/examples/refuse/virtdir/
H A Dvirtdir.h32 #include <sys/stat.h>
56 struct stat file; /* stat struct for file entries */
57 struct stat dir; /* stat struct for dir entries */
58 struct stat lnk; /* stat struct for symlinks */
69 int virtdir_init(virtdir_t *, const char *, struct stat *, struct stat *, struct stat *);
[all...]
/netbsd-current/sbin/mount_qemufwcfg/
H A Dvirtdir.h35 #include <sys/stat.h>
56 struct stat file; /* stat struct for file entries */
57 struct stat dir; /* stat struct for dir entries */
58 struct stat lnk; /* stat struct for symlinks */
69 int virtdir_init(virtdir_t *, const char *, const struct stat *,
70 const struct stat *, const struct stat *);
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bus/
H A Dnouveau_nvkm_subdev_bus_gf100.c37 u32 stat = nvkm_rd32(device, 0x001100) & nvkm_rd32(device, 0x001140); local
39 if (stat & 0x0000000e) {
47 (stat & 0x00000002) ? "!ENGINE " : "",
48 (stat & 0x00000004) ? "IBUS " : "",
49 (stat & 0x00000008) ? "TIMEOUT " : "");
52 nvkm_wr32(device, 0x001100, (stat & 0x0000000e));
53 stat &= ~0x0000000e;
56 if (stat) {
57 nvkm_error(subdev, "intr %08x\n", stat);
58 nvkm_mask(device, 0x001140, stat,
[all...]

Completed in 177 milliseconds

1234567891011>>