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

12345

/macosx-10.10.1/ncurses-44/ncurses/ncurses/tinfo/
H A Dwrite_entry.c171 struct stat statbuf;
173 if ((rc = stat(path, &statbuf)) < 0) {
177 } else if (!(S_ISDIR(statbuf.st_mode))) {
258 struct stat statbuf;
371 stat(filename, &statbuf) >= 0
372 && statbuf.st_mtime >= start_time) {
380 if (stat(filename, &statbuf) < 0
381 || (start_time = statbuf.st_mtime) == 0) {
409 } else if (stat(linkname, &statbuf) >= 0 &&
410 statbuf
[all...]
/macosx-10.10.1/smb-759.0/smbutil/
H A Dstatshares.c268 struct statfs statbuf; local
272 if ((statfs((const char*)share_mp, &statbuf) == -1) || (strncmp(statbuf.f_fstypename, "smbfs", 5) != 0)) {
283 strlcpy(tmp_name, &statbuf.f_mntfromname[2], sizeof(tmp_name));
298 __FUNCTION__, statbuf.f_mntfromname);
/macosx-10.10.1/ppp-786.1.1/Helpers/pppd/
H A Dtty.c373 struct stat statbuf; local
388 if (stat(cp, &statbuf) < 0) {
394 if (!S_ISCHR(statbuf.st_mode)) {
402 devstat = statbuf;
528 struct stat statbuf; local
570 if (fstat(0, &statbuf) >= 0 && S_ISCHR(statbuf.st_mode)
571 && statbuf.st_rdev == devstat.st_rdev) {
585 if (log_to_fd >= 0 && fstat(log_to_fd, &statbuf) >= 0
586 && S_ISCHR(statbuf
603 struct stat statbuf; local
[all...]
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/servers/slapd/
H A Dalock.c337 struct stat statbuf; local
382 res = fstat (info->al_fd, &statbuf);
389 max_slot = (statbuf.st_size + ALOCK_SLOT_SIZE - 1) / ALOCK_SLOT_SIZE;
464 struct stat statbuf; local
479 res = fstat (info->al_fd, &statbuf);
485 max_slot = (statbuf.st_size + ALOCK_SLOT_SIZE - 1) / ALOCK_SLOT_SIZE;
592 struct stat statbuf; local
609 res = fstat (info->al_fd, &statbuf);
615 max_slot = (statbuf.st_size + ALOCK_SLOT_SIZE - 1) / ALOCK_SLOT_SIZE;
/macosx-10.10.1/less-25/less/
H A Dfilename.c950 struct stat statbuf; local
952 r = stat(filename, &statbuf);
953 isdir = (r >= 0 && S_ISDIR(statbuf.st_mode));
995 struct stat statbuf; local
997 r = stat(filename, &statbuf);
1004 } else if (!S_ISREG(statbuf.st_mode))
1027 struct stat statbuf; local
1029 if (fstat(f, &statbuf) >= 0)
1030 return ((POSITION) statbuf.st_size);
H A Dedit.c412 struct stat statbuf; local
413 int r = stat(qopen_filename, &statbuf);
416 curr_ino = statbuf.st_ino;
417 curr_dev = statbuf.st_dev;
/macosx-10.10.1/curl-83.1.2/curl/lib/
H A Dfile.c421 struct_stat statbuf; /* struct_stat instead of struct stat just to allow the local
448 if(-1 != fstat(fd, &statbuf)) {
450 expected_size = statbuf.st_size;
452 data->info.filetime = (long)statbuf.st_mtime;
480 time_t filetime = (time_t)statbuf.st_mtime;
517 data->state.resume_from += (curl_off_t)statbuf.st_size;
/macosx-10.10.1/zsh-61/zsh/Src/Modules/
H A Dstat.c361 struct stat statbuf; local
544 int rval = OPT_ISSET(ops,'f') ? fstat(fd, &statbuf) :
545 OPT_ISSET(ops,'L') ? lstat(unmeta(*args), &statbuf) :
546 stat(unmeta(*args), &statbuf);
569 statprint(&statbuf, outbuf, *args, iwhich, flags);
581 statprint(&statbuf, outbuf, *args, i, flags);
/macosx-10.10.1/tcl-105/tcl_ext/expect/expect/
H A Dpty_sgttyb.c184 struct stat statbuf; local
193 if (stat(master_name, &statbuf) < 0) break;
H A Dexp_pty.c278 struct stat statbuf; local
287 if ((0 == stat(lock,&statbuf)) &&
288 (statbuf.st_mtime+3600 < current_time)) {
/macosx-10.10.1/webdavfs-367/mount.tproj/
H A Dwebdav_network.h68 struct webdav_stat_attr *statbuf); /* <- stat information is returned in this buffer except for st_ino */
73 struct webdav_stat_attr *statbuf); /* <- stat information is returned in this buffer */
H A Dwebdav_parse.h193 extern int parse_stat(const UInt8 *xmlp, CFIndex xmlp_len, struct webdav_stat_attr *statbuf);
/macosx-10.10.1/cxxfilt-11/cxxfilt/bfd/
H A Dcisco-core.c98 struct stat statbuf;
129 if (bfd_stat (abfd, &statbuf) < 0)
252 asect->size = statbuf.st_size;
278 nread = statbuf.st_size - asect->filepos;
96 struct stat statbuf; local
H A Dbinary.c64 struct stat statbuf; local
77 if (bfd_stat (abfd, &statbuf) < 0)
89 sec->size = statbuf.st_size;
H A Dsco5-core.c129 struct stat statbuf; local
131 if (bfd_stat (abfd, &statbuf) < 0)
134 coresize = statbuf.st_size;
H A Dppcboot.c151 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);
148 struct stat statbuf; local
/macosx-10.10.1/cxxfilt-11/cxxfilt/binutils/
H A Dbucomm.c515 struct stat statbuf;
517 if (stat (file_name, &statbuf) < 0)
525 else if (! S_ISREG (statbuf.st_mode))
528 return statbuf.st_size;
511 struct stat statbuf; local
H A Dstrings.c111 typedef struct stat64 statbuf;
114 typedef struct stat statbuf;
437 statbuf st;
110 typedef struct stat64 statbuf; typedef in typeref:struct:stat64
113 typedef struct stat statbuf; typedef in typeref:struct:stat
/macosx-10.10.1/apache-793/httpd/modules/mappers/
H A Dmod_userdir.c205 apr_finfo_t statbuf; local
322 || ((rv = apr_stat(&statbuf, filename, APR_FINFO_MIN,
330 * When statbuf contains info on r->filename we can save a syscall
334 r->finfo = statbuf;
/macosx-10.10.1/emacs-93/emacs/src/
H A Dunexcw.c164 struct stat statbuf; local
165 ret = fstat (fd, &statbuf);
172 (statbuf.st_size +
/macosx-10.10.1/gnutar-453/gnutar/lib/
H A Dfchdir.c103 struct stat statbuf; local
125 && fstat (fd, &statbuf) >= 0 && S_ISDIR (statbuf.st_mode))
/macosx-10.10.1/passwordserver_sasl-193/cyrus_sasl/lib/
H A Dwindlopen.c179 struct stat statbuf; /* filesystem entry information */ local
216 if (stat (cur_dir, &statbuf) < 0) {
219 if ((statbuf.st_mode & S_IFDIR) == 0) {
/macosx-10.10.1/dyld-353.2.1/launch-cache/
H A Ddsc_extractor.cpp475 struct stat statbuf; local
476 if (stat(shared_cache_file_path, &statbuf)) {
487 void* mapped_cache = mmap(NULL, statbuf.st_size, PROT_READ, MAP_PRIVATE, cache_fd, 0);
515 munmap(mapped_cache, statbuf.st_size);
521 __block int result = dyld_shared_cache_iterate(mapped_cache, (uint32_t)statbuf.st_size, ^(const dyld_shared_cache_dylib_info* dylibInfo, const dyld_shared_cache_segment_info* segInfo) {
527 munmap(mapped_cache, statbuf.st_size);
560 struct stat statbuf;
561 if (fstat(fd, &statbuf)) {
568 std::vector<uint8_t> *vec = new std::vector<uint8_t>(statbuf.st_size);
601 munmap(mapped_cache, statbuf
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/Support/
H A Draw_ostream.cpp592 struct stat statbuf; local
593 if (fstat(FD, &statbuf) != 0)
599 if (S_ISCHR(statbuf.st_mode) && isatty(FD))
602 return statbuf.st_blksize;
/macosx-10.10.1/IOKitUser-1050.1.21/
H A DIOSystemConfiguration.c59 struct stat statbuf; local
69 if (0 <= stat(path, &statbuf)) {

Completed in 504 milliseconds

12345