/netbsd-current/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/ |
H A D | readlink.c | 37 struct stat statbuf; local 42 if (stat (path, &statbuf) >= 0)
|
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/ |
H A D | readlink.c | 37 struct stat statbuf; local 42 if (stat (path, &statbuf) >= 0)
|
H A D | copy-file.c | 52 struct stat statbuf; local 59 if (src_fd < 0 || fstat (src_fd, &statbuf) < 0) 63 mode = statbuf.st_mode & 07777; 93 ut.actime = statbuf.st_atime; 94 ut.modtime = statbuf.st_mtime; 101 ut[0].tv_sec = statbuf.st_atime; ut[0].tv_usec = 0; 102 ut[1].tv_sec = statbuf.st_mtime; ut[1].tv_usec = 0; 109 chown (dest_filename, statbuf.st_uid, statbuf.st_gid);
|
/netbsd-current/external/gpl2/xcvs/dist/lib/ |
H A D | readlink.c | 42 struct stat statbuf; local 47 if (stat (path, &statbuf) >= 0)
|
/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/ |
H A D | readlink.c | 35 struct stat statbuf; local 40 if (stat (name, &statbuf) >= 0)
|
H A D | open.c | 157 struct stat statbuf; local 158 if (stat (filename, &statbuf) == 0 && S_ISDIR (statbuf.st_mode)) 187 struct stat statbuf; local 189 if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode))
|
/netbsd-current/sbin/mount_umap/ |
H A D | mount_umap.c | 103 struct stat statbuf; local 156 if (fstat(fileno(fp), &statbuf)) 158 if (statbuf.st_mode & S_IWGRP || statbuf.st_mode & S_IWOTH) { 159 strmode(statbuf.st_mode, buf); 163 if (statbuf.st_uid != ROOTUSER) 204 if (fstat(fileno(gfp), &statbuf)) 206 if (statbuf.st_mode & S_IWGRP || statbuf.st_mode & S_IWOTH) { 207 strmode(statbuf [all...] |
/netbsd-current/external/gpl3/binutils/dist/binutils/ |
H A D | rename.c | 169 set_times (const char *destination, const struct stat *statbuf) argument 174 times[0] = get_stat_atime (statbuf); 175 times[1] = get_stat_mtime (statbuf); 180 tv[0].tv_sec = statbuf->st_atime; 181 tv[0].tv_usec = get_stat_atime_ns (statbuf) / 1000; 182 tv[1].tv_sec = statbuf->st_mtime; 183 tv[1].tv_usec = get_stat_mtime_ns (statbuf) / 1000; 188 tb.actime = statbuf->st_atime; 189 tb.modtime = statbuf->st_mtime; 194 tb[0] = statbuf [all...] |
/netbsd-current/external/gpl3/binutils.old/dist/binutils/ |
H A D | rename.c | 91 set_times (const char *destination, const struct stat *statbuf) argument 99 tb.actime = statbuf->st_atime; 100 tb.modtime = statbuf->st_mtime; 106 tb[0] = statbuf->st_atime; 107 tb[1] = statbuf->st_mtime; 112 tv[0].tv_sec = statbuf->st_atime; 114 tv[1].tv_sec = statbuf->st_mtime;
|
/netbsd-current/external/gpl3/gdb.old/dist/binutils/ |
H A D | rename.c | 91 set_times (const char *destination, const struct stat *statbuf) argument 99 tb.actime = statbuf->st_atime; 100 tb.modtime = statbuf->st_mtime; 106 tb[0] = statbuf->st_atime; 107 tb[1] = statbuf->st_mtime; 112 tv[0].tv_sec = statbuf->st_atime; 114 tv[1].tv_sec = statbuf->st_mtime;
|
/netbsd-current/external/gpl3/gdb/dist/gnulib/import/ |
H A D | open.c | 161 struct stat statbuf; local 162 if (stat (filename, &statbuf) == 0 && S_ISDIR (statbuf.st_mode)) 191 struct stat statbuf; local 193 if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode))
|
H A D | readlink.c | 35 struct stat statbuf; local 40 if (stat (file, &statbuf) >= 0)
|
/netbsd-current/external/bsd/libbind/dist/bsd/ |
H A D | writev.c | 25 struct stat statbuf; local 27 if (fstat(fd, &statbuf) < 0) 33 if (statbuf.st_mode & S_IFSOCK) {
|
/netbsd-current/external/gpl2/xcvs/dist/src/ |
H A D | error.c | 116 char statbuf[256]; local 130 buf = statbuf; 135 length = sizeof (statbuf); 137 buf = vasnprintf (statbuf, &length, message, args); 188 if (buf != statbuf) free (buf);
|
/netbsd-current/bin/pax/ |
H A D | ftree.c | 413 struct stat statbuf; local 447 Mftent.fts_statp = &statbuf; 451 if (lstat(Mftent.fts_path, &statbuf) == -1) { 456 memset(&statbuf, 0, sizeof(statbuf)); 457 statbuf.st_dev = MFTENT_DUMMY_DEV; 458 statbuf.st_ino = ftnode->lineno; 459 statbuf.st_size = 0; 467 statbuf.st_mode = nodetoino(ftnode->type); 471 statbuf [all...] |
/netbsd-current/external/mit/libuv/dist/src/ |
H A D | fs-poll.c | 46 uv_stat_t statbuf; member in struct:poll_ctx 186 uv_stat_t* statbuf; local 201 &ctx->statbuf, 208 statbuf = &req->statbuf; 211 if (ctx->busy_polling < 0 || !statbuf_eq(&ctx->statbuf, statbuf)) 212 ctx->poll_cb(ctx->parent_handle, 0, &ctx->statbuf, statbuf); 214 ctx->statbuf [all...] |
/netbsd-current/external/gpl3/binutils/dist/bfd/ |
H A D | aix5ppc-core.c | 57 struct stat statbuf; local 73 if (bfd_stat (abfd, &statbuf) < 0) 92 || ((CHECK_FILE_OFFSET (statbuf, core.c_fdsinfox))) 93 || ((CHECK_FILE_OFFSET (statbuf, core.c_loader))) 94 || ((CHECK_FILE_OFFSET (statbuf, core.c_loader + core.c_lsize))) 95 || ((CHECK_FILE_OFFSET (statbuf, core.c_thr))) 96 || ((CHECK_FILE_OFFSET (statbuf, core.c_segregion))) 97 || ((CHECK_FILE_OFFSET (statbuf, core.c_stack))) 98 || ((CHECK_FILE_OFFSET (statbuf, core.c_stack + core.c_size))) 99 || ((CHECK_FILE_OFFSET (statbuf, cor [all...] |
/netbsd-current/external/gpl3/binutils.old/dist/bfd/ |
H A D | aix5ppc-core.c | 57 struct stat statbuf; local 74 if (bfd_stat (abfd, &statbuf) < 0) 93 || ((CHECK_FILE_OFFSET (statbuf, core.c_fdsinfox))) 94 || ((CHECK_FILE_OFFSET (statbuf, core.c_loader))) 95 || ((CHECK_FILE_OFFSET (statbuf, core.c_loader + core.c_lsize))) 96 || ((CHECK_FILE_OFFSET (statbuf, core.c_thr))) 97 || ((CHECK_FILE_OFFSET (statbuf, core.c_segregion))) 98 || ((CHECK_FILE_OFFSET (statbuf, core.c_stack))) 99 || ((CHECK_FILE_OFFSET (statbuf, core.c_stack + core.c_size))) 100 || ((CHECK_FILE_OFFSET (statbuf, cor [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/bfd/ |
H A D | aix5ppc-core.c | 57 struct stat statbuf; local 73 if (bfd_stat (abfd, &statbuf) < 0) 92 || ((CHECK_FILE_OFFSET (statbuf, core.c_fdsinfox))) 93 || ((CHECK_FILE_OFFSET (statbuf, core.c_loader))) 94 || ((CHECK_FILE_OFFSET (statbuf, core.c_loader + core.c_lsize))) 95 || ((CHECK_FILE_OFFSET (statbuf, core.c_thr))) 96 || ((CHECK_FILE_OFFSET (statbuf, core.c_segregion))) 97 || ((CHECK_FILE_OFFSET (statbuf, core.c_stack))) 98 || ((CHECK_FILE_OFFSET (statbuf, core.c_stack + core.c_size))) 99 || ((CHECK_FILE_OFFSET (statbuf, cor [all...] |
/netbsd-current/external/gpl3/gdb/dist/bfd/ |
H A D | aix5ppc-core.c | 57 struct stat statbuf; local 73 if (bfd_stat (abfd, &statbuf) < 0) 92 || ((CHECK_FILE_OFFSET (statbuf, core.c_fdsinfox))) 93 || ((CHECK_FILE_OFFSET (statbuf, core.c_loader))) 94 || ((CHECK_FILE_OFFSET (statbuf, core.c_loader + core.c_lsize))) 95 || ((CHECK_FILE_OFFSET (statbuf, core.c_thr))) 96 || ((CHECK_FILE_OFFSET (statbuf, core.c_segregion))) 97 || ((CHECK_FILE_OFFSET (statbuf, core.c_stack))) 98 || ((CHECK_FILE_OFFSET (statbuf, core.c_stack + core.c_size))) 99 || ((CHECK_FILE_OFFSET (statbuf, cor [all...] |
/netbsd-current/external/bsd/cron/dist/ |
H A D | database.c | 250 struct stat *statbuf, cron_db *new_db, cron_db *old_db) 279 if (fstat(crontab_fd, statbuf) < OK) { 283 if (!S_ISREG(statbuf->st_mode)) { 287 if ((eqmode && (statbuf->st_mode & 07577) != eqmode) || 288 (badmode && (statbuf->st_mode & badmode) != 0)) { 292 if (statbuf->st_uid != ROOT_UID && (pw == NULL || 293 statbuf->st_uid != pw->pw_uid || strcmp(uname, pw->pw_name) != 0)) { 297 if (statbuf->st_nlink != 1) { 308 if (u->mtime == statbuf->st_mtime) { 329 u->mtime = statbuf 249 process_crontab(const char *uname, const char *fname, const char *tabname, struct stat *statbuf, cron_db *new_db, cron_db *old_db) argument [all...] |
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
H A D | sanitizer_common_syscalls.inc | 822 PRE_SYSCALL(stat)(const void *filename, void *statbuf) { 828 POST_SYSCALL(stat)(long res, const void *filename, void *statbuf) { 830 if (statbuf) POST_WRITE(statbuf, struct___old_kernel_stat_sz); 874 PRE_SYSCALL(lstat)(const void *filename, void *statbuf) { 880 POST_SYSCALL(lstat)(long res, const void *filename, void *statbuf) { 882 if (statbuf) POST_WRITE(statbuf, struct___old_kernel_stat_sz); 886 PRE_SYSCALL(fstat)(long fd, void *statbuf) {} 888 POST_SYSCALL(fstat)(long res, long fd, void *statbuf) { [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_common_syscalls.inc | 820 PRE_SYSCALL(stat)(const void *filename, void *statbuf) { 826 POST_SYSCALL(stat)(long res, const void *filename, void *statbuf) { 828 if (statbuf) POST_WRITE(statbuf, struct___old_kernel_stat_sz); 872 PRE_SYSCALL(lstat)(const void *filename, void *statbuf) { 878 POST_SYSCALL(lstat)(long res, const void *filename, void *statbuf) { 880 if (statbuf) POST_WRITE(statbuf, struct___old_kernel_stat_sz); 884 PRE_SYSCALL(fstat)(long fd, void *statbuf) {} 886 POST_SYSCALL(fstat)(long res, long fd, void *statbuf) { [all...] |
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_common_syscalls.inc | 887 PRE_SYSCALL(stat)(const void *filename, void *statbuf) { 893 POST_SYSCALL(stat)(long res, const void *filename, void *statbuf) { 895 if (statbuf) 896 POST_WRITE(statbuf, struct___old_kernel_stat_sz); 944 PRE_SYSCALL(lstat)(const void *filename, void *statbuf) { 950 POST_SYSCALL(lstat)(long res, const void *filename, void *statbuf) { 952 if (statbuf) 953 POST_WRITE(statbuf, struct___old_kernel_stat_sz); 957 PRE_SYSCALL(fstat)(long fd, void *statbuf) {} 959 POST_SYSCALL(fstat)(long res, long fd, void *statbuf) { [all...] |
/netbsd-current/external/gpl3/gcc/dist/libcody/ |
H A D | resolver.cc | 177 struct stat statbuf; local 182 && fstatat (fd_dir, cmi.c_str (), &statbuf, 0) == 0 183 && S_ISREG (statbuf.st_mode)) 193 if (stat (append.c_str (), &statbuf) == 0 194 || S_ISREG (statbuf.st_mode))
|