Searched refs:statbuf (Results 51 - 75 of 108) sorted by relevance

12345

/macosx-10.10.1/cxxfilt-11/cxxfilt/bfd/
H A Dbfdio.c244 bfd_stat (bfd *abfd, struct stat *statbuf) argument
252 result = abfd->iovec->bstat (abfd, statbuf);
H A Drs6000-core.c316 struct stat statbuf; local
374 if (bfd_stat (abfd, &statbuf) < 0)
413 if (c_stack + (file_ptr) c_size != statbuf.st_size)
422 c_loader >= statbuf.st_size ||
/macosx-10.10.1/file_cmds-242/mtree/
H A Dverify.c171 struct stat statbuf; local
173 if (qflag && stat(path, &statbuf) == 0)
/macosx-10.10.1/dyld-353.2.1/launch-cache/
H A Ddyld_shared_cache_util.cpp435 struct stat statbuf; local
436 if ( ::stat(sharedCachePath, &statbuf) == -1 ) {
446 options.mappedCache = ::mmap(NULL, statbuf.st_size, PROT_READ, MAP_PRIVATE, cache_fd, 0);
500 uint64_t size = statbuf.st_size - header->codeSignatureOffset();
608 int iterateResult = dyld_shared_cache_iterate(options.mappedCache, (uint32_t)statbuf.st_size,
/macosx-10.10.1/ppp-786.1.1/Drivers/PPPSerial/PPPSerial-plugin/
H A Dmain.c263 struct stat statbuf; local
282 if (stat(devnam, &statbuf) < 0) {
345 struct stat statbuf; local
446 if (stat((char*)fullmodemscript, &statbuf) < 0) {
448 err = stat((char*)fullmodemscript, &statbuf);
453 err = stat((char*)fullmodemscript, &statbuf);
604 err = stat((char*)fullterminalscript, &statbuf);
/macosx-10.10.1/bind9-45.101/bind9/lib/isc/
H A Dlog.c1319 struct stat statbuf; local
1337 if (stat(path, &statbuf) == 0) {
1338 regular_file = S_ISREG(statbuf.st_mode) ? ISC_TRUE : ISC_FALSE;
1343 statbuf.st_size >= FILE_MAXSIZE(channel)))
1413 struct stat statbuf; local
1666 (stat(FILE_NAME(channel), &statbuf) != 0 &&
1668 statbuf.st_size < FILE_MAXSIZE(channel)) {
1724 &statbuf) >= 0 &&
1725 statbuf.st_size > FILE_MAXSIZE(channel))
/macosx-10.10.1/ntp-92/lib/isc/
H A Dlog.c1319 struct stat statbuf; local
1337 if (stat(path, &statbuf) == 0) {
1338 regular_file = S_ISREG(statbuf.st_mode) ? ISC_TRUE : ISC_FALSE;
1343 statbuf.st_size >= FILE_MAXSIZE(channel)))
1412 struct stat statbuf; local
1665 (stat(FILE_NAME(channel), &statbuf) != 0 &&
1667 statbuf.st_size < FILE_MAXSIZE(channel)) {
1723 &statbuf) >= 0 &&
1724 statbuf.st_size > FILE_MAXSIZE(channel))
/macosx-10.10.1/configd-699.1.5/SystemConfiguration.fproj/
H A DSCPLock.c238 struct statfs statbuf; local
248 ret = fstatfs(fd, &statbuf);
262 ret = getattrlist(statbuf.f_mntonname, // path (of mount point)
H A Ddy_framework.c48 struct stat statbuf; local
54 if (0 <= stat(path, &statbuf)) {
390 struct stat statbuf; local
396 if (0 <= stat(path, &statbuf)) {
H A DSCPrivate.h837 struct stat statbuf; local
839 ret = stat("/AppleInternal", &statbuf);
/macosx-10.10.1/configd-699.1.5/configd.tproj/
H A Dconfigd.m410 struct stat statbuf;
420 if (stat("/etc/rc.cdrom", &statbuf) == 0) {
/macosx-10.10.1/gnutar-453/gnutar/src/
H A Dnames.c806 struct stat statbuf;
829 if (deref_stat (dereference_option, name->name, &statbuf) != 0)
834 if (S_ISDIR (statbuf.st_mode))
837 add_hierarchy_to_namelist (name, statbuf.st_dev);
800 struct stat statbuf; local
/macosx-10.10.1/srm-7/srm/src/
H A Dtree_walker.c171 int ftw_process_path(const char *opath, const struct stat *statbuf, int flag, argument
/macosx-10.10.1/file_cmds-242/cp/
H A Dcp.c329 struct stat statbuf; local
340 if (!lstat(path, &statbuf)) {
/macosx-10.10.1/Libc-1044.1.2/db/hash/FreeBSD/
H A Dhash.c102 struct stat statbuf; local
126 new_table = _fstat(hashp->fp, &statbuf) == 0 &&
127 statbuf.st_size == 0 &&
275 struct stat statbuf; local
293 if (stat(file, &statbuf))
295 hashp->BSIZE = statbuf.st_blksize;
/macosx-10.10.1/tcsh-65/tcsh/
H A Dsh.dir.c1119 struct stat statbuf; local
1127 stat(short2str(p1), &statbuf) != -1) {
1128 home_dev = statbuf.st_dev;
1129 home_ino = statbuf.st_ino;
1137 while (*p2 && stat(short2str(p2), &statbuf) != -1) {
1138 if (DEV_DEV_COMPARE(statbuf.st_dev, home_dev) &&
1139 statbuf.st_ino == home_ino) {
/macosx-10.10.1/vim-55/src/
H A Dif_cscope.c542 struct stat statbuf; local
554 ret = stat(fname, &statbuf);
578 if ((statbuf.st_mode & S_IFMT) == S_IFDIR)
599 ret = stat(fname2, &statbuf);
607 i = cs_insert_filelist(fname2, ppath, flags, &statbuf);
610 else if (S_ISREG(statbuf.st_mode) || S_ISLNK(statbuf.st_mode))
613 else if (((statbuf.st_mode) & S_IFMT) == S_IFREG)
616 i = cs_insert_filelist(fname, ppath, flags, &statbuf);
/macosx-10.10.1/OpenSSH-189/openssh/openbsd-compat/
H A Dbsd-cray.c723 struct stat statbuf; local
728 if (stat(jtmp, &statbuf) == 0 && statbuf.st_uid == uid)
/macosx-10.10.1/emacs-93/
H A Ddumpemacs.c483 struct stat statbuf; local
484 fstat(fd, &statbuf);
485 *psize = statbuf.st_size;
/macosx-10.10.1/libresolv-57/
H A Ddst_api.c112 struct stat statbuf; local
118 } else if (stat(s, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) {
/macosx-10.10.1/patch_cmds-17/patch/
H A Dpatch.c355 struct stat statbuf; local
367 stat(realout, &statbuf) == 0 &&
368 statbuf.st_size == 0) {
/macosx-10.10.1/smb-759.0/lib/smbclient/
H A Dserver.c597 struct statfs statbuf; local
607 err = statfs(pTargetMountPath, &statbuf);
613 status = SMBAllocateServer(outConnection, statbuf.f_mntfromname);
/macosx-10.10.1/pcre-7/pcre/
H A Dpcregrep.c290 struct stat statbuf; local
291 if (stat(filename, &statbuf) < 0)
293 return ((statbuf.st_mode & S_IFMT) == S_IFDIR)? '/' : 0;
327 struct stat statbuf; local
328 if (stat(filename, &statbuf) < 0)
330 return (statbuf.st_mode & S_IFMT) == S_IFREG;
/macosx-10.10.1/remote_cmds-47/telnetd.tproj/
H A Dtelnetd.c809 struct stat statbuf; local
1000 fstat (if_fd, &statbuf);
1001 if_buf = (char *) mmap (0, statbuf.st_size, PROT_READ,
1004 munmap (if_buf, statbuf.st_size);
/macosx-10.10.1/zsh-61/zsh/Src/
H A Dhashtable.c653 struct stat statbuf; local
668 stat(pathbuf, &statbuf) == 0 &&
669 S_ISREG(statbuf.st_mode) && (statbuf.st_mode & S_IXUGO)))

Completed in 318 milliseconds

12345