/macosx-10.10.1/gnutar-453/gnutar/lib/ |
H A D | rmdir.c | 36 struct stat statbuf; local 38 if (stat (dir, &statbuf) != 0) 41 if (!S_ISDIR (statbuf.st_mode))
|
H A D | readlink.c | 40 struct stat statbuf; local 45 if (stat (path, &statbuf) >= 0)
|
H A D | system.h | 358 # define ST_BLKSIZE(statbuf) DEFAULT_ST_BLKSIZE 360 # define ST_BLKSIZE(statbuf) \ 361 ((statbuf).st_blksize > 0 ? (statbuf).st_blksize : DEFAULT_ST_BLKSIZE) 372 # define ST_NBLOCKS(statbuf) ((statbuf).st_size / ST_NBLOCKSIZE + ((statbuf).st_size % ST_NBLOCKSIZE != 0)) 375 # define ST_NBLOCKS(statbuf) (st_blocks ((statbuf).st_size)) 378 # define ST_NBLOCKS(statbuf) ((statbu [all...] |
/macosx-10.10.1/libiconv-42/libiconv/srclib/ |
H A D | readlink.c | 39 struct stat statbuf; local 44 if (stat (path, &statbuf) >= 0)
|
/macosx-10.10.1/gpatch-3/patch/ |
H A D | rmdir.c | 49 struct stat statbuf; local 51 if (stat (dpath, &statbuf) != 0) 54 if (!S_ISDIR (statbuf.st_mode))
|
/macosx-10.10.1/removefile-35/ |
H A D | removefile_rename_unlink.c | 65 struct stat statbuf; local 91 } while (lstat(new_name, &statbuf) == 0); 93 if (lstat(path, &statbuf) == -1) 96 if (S_ISDIR(statbuf.st_mode) && (empty_directory(path) == -1)) { 106 if (lstat(new_name, &statbuf) == -1) { 111 if (S_ISDIR(statbuf.st_mode))
|
H A D | removefile_sunlink.c | 85 init_write_buffer(struct stat *statbuf, struct statfs *fs_stats, removefile_state_t state) { argument 88 state->file_size = statbuf->st_size; 89 state->buffsize = statbuf->st_blksize; 93 state->buffsize = (u_int32_t)(statbuf->st_size / statbuf->st_blksize) * statbuf->st_blksize; 94 if ((statbuf->st_size % statbuf->st_blksize) != 0) { 96 state->buffsize += statbuf->st_blksize; 97 } else if (state->buffsize < statbuf 294 struct stat statbuf; local [all...] |
H A D | removefile_random.c | 64 struct stat statbuf; 66 if (stat("/dev/urandom", &statbuf) == 0 && S_ISCHR(statbuf.st_mode)) {
|
/macosx-10.10.1/srm-7/srm/src/ |
H A D | rename_unlink.c | 34 struct stat statbuf; local 63 } while (lstat(new_name, &statbuf) == 0); 65 if (lstat(path, &statbuf) == -1) 68 if (S_ISDIR(statbuf.st_mode) && (empty_directory(path) == -1)) { 80 if (lstat(new_name, &statbuf) == -1) { 87 if (S_ISDIR(statbuf.st_mode))
|
H A D | sunlink.c | 70 int init_write_buffer(struct stat *statbuf, struct statfs *fs_stats) { argument 74 file_size = statbuf->st_size; 75 buffsize = statbuf->st_blksize; 79 buffsize = (u_int32_t)(statbuf->st_size / statbuf->st_blksize) * statbuf->st_blksize; 80 if ((statbuf->st_size % statbuf->st_blksize) != 0) { 82 buffsize += statbuf->st_blksize; 83 } else if (buffsize < statbuf 327 struct stat statbuf; local [all...] |
H A D | random.c | 39 struct stat statbuf; 41 if (stat("/dev/urandom", &statbuf) == 0 && S_ISCHR(statbuf.st_mode)) {
|
/macosx-10.10.1/bind9-45.101/bind9/contrib/sdb/dir/ |
H A D | dirdb.c | 70 struct stat statbuf; local 82 CHECKN(lstat(filename, &statbuf)); 84 if (S_ISDIR(statbuf.st_mode)) 86 else if (S_ISCHR(statbuf.st_mode) || S_ISBLK(statbuf.st_mode)) { 89 S_ISCHR(statbuf.st_mode) ? "chr" : "blk", 90 major(statbuf.st_rdev), 91 minor(statbuf.st_rdev))); 93 } else if (S_ISFIFO(statbuf.st_mode)) 95 else if (S_ISSOCK(statbuf [all...] |
/macosx-10.10.1/webdavfs-367/mount.tproj/ |
H A D | webdav_file.c | 450 struct webdav_stat_attr statbuf; local 493 request_lookup->name, request_lookup->name_length, &statbuf); 498 S_ISREG(statbuf.attr_stat.st_mode) ? WEBDAV_FILE_TYPE : WEBDAV_DIR_TYPE, &node); 502 statbuf.attr_stat.st_ino = node->fileid; 504 error = nodecache_add_attributes(node, request_lookup->pcr.pcr_uid, &statbuf, NULL); 554 struct webdav_stat_attr statbuf; local 566 error = network_getattr( request_getattr->pcr.pcr_uid, node, &statbuf); 570 error = nodecache_add_attributes(node, request_getattr->pcr.pcr_uid, &statbuf, NULL); 748 struct webdav_stat_attr statbuf; local 750 bzero((void *)&statbuf, sizeo 849 struct webdav_stat_attr statbuf; local 1163 struct webdav_stat_attr statbuf; local [all...] |
H A D | webdav_parse.c | 1113 struct webdav_stat_attr *statbuf = (struct webdav_stat_attr *)ctx; local 1128 statbuf->attr_stat.st_size = strtoq((const char *)text_ptr, &ep, 10); 1133 statbuf->attr_stat.st_size = -1LL; 1142 statbuf->attr_stat.st_mtimespec.tv_sec = DateBytesToTime(text_ptr, length); 1143 if (statbuf->attr_stat.st_mtimespec.tv_sec == -1) 1145 statbuf->attr_stat.st_mtimespec.tv_sec = 0; 1147 statbuf->attr_stat.st_mtimespec.tv_nsec = 0; 1161 statbuf->attr_create_time.tv_sec = ISO8601ToTime(text_ptr, length); 1163 if (statbuf->attr_create_time.tv_sec == -1) { 1165 statbuf 1619 struct webdav_stat_attr statbuf; local 1860 parse_stat(const UInt8 *xmlp, CFIndex xmlp_len, struct webdav_stat_attr *statbuf) argument [all...] |
/macosx-10.10.1/cxxfilt-11/cxxfilt/bfd/ |
H A D | aix5ppc-core.c | 52 struct stat statbuf; local 69 if (bfd_stat (abfd, &statbuf) < 0) 88 || ((CHECK_FILE_OFFSET (statbuf, core.c_fdsinfox))) 89 || ((CHECK_FILE_OFFSET (statbuf, core.c_loader))) 90 || ((CHECK_FILE_OFFSET (statbuf, core.c_loader + core.c_lsize))) 91 || ((CHECK_FILE_OFFSET (statbuf, core.c_thr))) 92 || ((CHECK_FILE_OFFSET (statbuf, core.c_segregion))) 93 || ((CHECK_FILE_OFFSET (statbuf, core.c_stack))) 94 || ((CHECK_FILE_OFFSET (statbuf, core.c_stack + core.c_size))) 95 || ((CHECK_FILE_OFFSET (statbuf, cor [all...] |
H A D | hppabsd-core.c | 138 struct stat statbuf; local 140 if (bfd_stat (abfd, &statbuf) < 0) 143 if (NBPG * (UPAGES + u.u_dsize + u.u_ssize) > statbuf.st_size) 148 if (clicksz * (UPAGES + u.u_dsize + u.u_ssize) < statbuf.st_size)
|
H A D | trad-core.c | 112 struct stat statbuf; local 114 if (bfd_stat (abfd, &statbuf) < 0) 122 > (ufile_ptr) statbuf.st_size) 134 < (ufile_ptr) statbuf.st_size)
|
/macosx-10.10.1/cxxfilt-11/cxxfilt/binutils/ |
H A D | rename.c | 98 set_times (const char *destination, const struct stat *statbuf) argument 106 tb.actime = statbuf->st_atime; 107 tb.modtime = statbuf->st_mtime; 113 tb[0] = statbuf->st_atime; 114 tb[1] = statbuf->st_mtime; 119 tv[0].tv_sec = statbuf->st_atime; 121 tv[1].tv_sec = statbuf->st_mtime;
|
/macosx-10.10.1/text_cmds-88/sort/ |
H A D | system.h | 251 # define ST_BLKSIZE(statbuf) DEV_BSIZE 253 # define ST_NBLOCKS(statbuf) \ 254 ((statbuf).st_size / ST_NBLOCKSIZE + ((statbuf).st_size % ST_NBLOCKSIZE != 0)) 256 # define ST_NBLOCKS(statbuf) \ 257 (S_ISREG ((statbuf).st_mode) \ 258 || S_ISDIR ((statbuf).st_mode) \ 259 ? st_blocks ((statbuf).st_size) : 0) 268 # define ST_BLKSIZE(statbuf) ((0 < (statbuf) [all...] |
/macosx-10.10.1/cron-39/cron/ |
H A D | database.c | 46 struct stat statbuf; local 58 if (stat(SPOOL_DIR, &statbuf) < OK) { 75 if (old_db->mtime == TMAX(statbuf.st_mtime, syscron_stat.st_mtime)) { 86 new_db.mtime = TMAX(statbuf.st_mtime, syscron_stat.st_mtime); 121 &statbuf, &new_db, old_db); 196 process_crontab(uname, fname, tabname, statbuf, new_db, old_db) 200 struct stat *statbuf; 223 if (fstat(crontab_fd, statbuf) < OK) { 234 if (u->mtime == statbuf->st_mtime) { 255 u->mtime = statbuf [all...] |
/macosx-10.10.1/configd-699.1.5/configd.tproj/ |
H A D | _notifyviafd.c | 130 struct stat statbuf; local 132 bzero(&statbuf, sizeof(statbuf)); 133 if (stat(un.sun_path, &statbuf) == -1) { 138 if (mySession->callerEUID != statbuf.st_uid) {
|
/macosx-10.10.1/configd-699.1.5/SystemConfiguration.fproj/ |
H A D | CaptiveNetwork.c | 49 struct stat statbuf; local 55 if (0 <= stat(path, &statbuf)) {
|
/macosx-10.10.1/Heimdal-398.1.2/lib/otp/ |
H A D | otp_db.c | 55 struct stat statbuf; local 62 if (stat (OTP_DB_LOCK, &statbuf) == 0) { 63 if (time(NULL) - statbuf.st_mtime > OTP_DB_TIMEOUT)
|
/macosx-10.10.1/smb-759.0/lib/smbclient/ |
H A D | netfs.c | 243 struct statfs statbuf; local 262 if (statfs(mountpath, &statbuf) == -1) { 270 smb_ctx_get_user_mount_info(statbuf.f_mntonname, mutableDict); 272 sharepointname = statbuf.f_mntfromname;
|
/macosx-10.10.1/cron-39/crontab/ |
H A D | crontab.c | 386 struct stat statbuf, fsbuf; local 439 if (stat(Filename, &statbuf) < 0) { 444 if (statbuf.st_dev != fsbuf.st_dev || statbuf.st_ino != fsbuf.st_ino) 509 if (stat(Filename, &statbuf) < 0) { 513 if (statbuf.st_dev != fsbuf.st_dev || statbuf.st_ino != fsbuf.st_ino)
|