Searched refs:statbuf (Results 1 - 25 of 57) sorted by relevance

123

/haiku-buildtools/binutils/binutils/
H A Drename.c91 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;
/haiku-buildtools/jam/
H A Dfileos2.c115 struct stat statbuf; local
117 if( stat( filename, &statbuf ) < 0 )
120 *time = statbuf.st_mtime;
H A Dfilemac.c144 struct stat statbuf; local
146 if( stat( filename, &statbuf ) < 0 )
149 *time = statbuf.st_mtime;
H A Dfilent.c147 struct stat statbuf; local
149 if( stat( filename, &statbuf ) < 0 )
152 *time = statbuf.st_mtime;
H A Dfileunix.c178 struct stat statbuf; local
181 if( beos_stat_cache_stat( filename, &statbuf ) < 0 )
184 if( stat( filename, &statbuf ) < 0 )
188 *time = statbuf.st_mtime;
/haiku-buildtools/legacy/binutils/bfd/
H A Daix5ppc-core.c52 struct stat statbuf; local
68 if (bfd_stat (abfd, &statbuf) < 0)
87 || ((CHECK_FILE_OFFSET (statbuf, core.c_fdsinfox)))
88 || ((CHECK_FILE_OFFSET (statbuf, core.c_loader)))
89 || ((CHECK_FILE_OFFSET (statbuf, core.c_loader + core.c_lsize)))
90 || ((CHECK_FILE_OFFSET (statbuf, core.c_thr)))
91 || ((CHECK_FILE_OFFSET (statbuf, core.c_segregion)))
92 || ((CHECK_FILE_OFFSET (statbuf, core.c_stack)))
93 || ((CHECK_FILE_OFFSET (statbuf, core.c_stack + core.c_size)))
94 || ((CHECK_FILE_OFFSET (statbuf, cor
[all...]
H A Dhppabsd-core.c139 struct stat statbuf; local
141 if (bfd_stat (abfd, &statbuf) < 0)
144 if (NBPG * (UPAGES + u.u_dsize + u.u_ssize) > statbuf.st_size)
149 if (clicksz * (UPAGES + u.u_dsize + u.u_ssize) < statbuf.st_size)
H A Dtrad-core.c111 struct stat statbuf; local
113 if (bfd_stat (abfd, &statbuf) < 0)
121 > (unsigned long) statbuf.st_size)
133 < (unsigned long) statbuf.st_size)
H A Dcisco-core.c98 struct stat statbuf;
128 if (bfd_stat (abfd, &statbuf) < 0)
251 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
76 if (bfd_stat (abfd, &statbuf) < 0)
88 sec->size = statbuf.st_size;
/haiku-buildtools/binutils/bfd/
H A Daix5ppc-core.c57 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...]
H A Dtrad-core.c111 struct stat statbuf; local
113 if (bfd_stat (abfd, &statbuf) < 0)
121 > (ufile_ptr) statbuf.st_size)
133 < (ufile_ptr) statbuf.st_size)
H A Delfcore.h283 struct stat statbuf; local
294 if (bfd_stat (abfd, &statbuf) == 0)
296 if ((bfd_size_type) statbuf.st_size < high)
302 abfd, (unsigned long) high, (unsigned long) statbuf.st_size);
H A Dhppabsd-core.c126 struct stat statbuf; local
128 if (bfd_stat (abfd, &statbuf) < 0)
131 if (NBPG * (UPAGES + u.u_dsize + u.u_ssize) > statbuf.st_size)
136 if (clicksz * (UPAGES + u.u_dsize + u.u_ssize) < statbuf.st_size)
H A Dbfdio.c262 bfd_stat (bfd *abfd, struct stat *statbuf) argument
267 result = abfd->iovec->bstat (abfd, statbuf);
599 memory_bstat (bfd *abfd, struct stat *statbuf) argument
603 memset (statbuf, 0, sizeof (*statbuf));
604 statbuf->st_size = bim->size;
H A Dcisco-core.c96 struct stat statbuf;
127 if (bfd_stat (abfd, &statbuf) < 0)
250 asect->size = statbuf.st_size;
276 nread = statbuf.st_size - asect->filepos;
94 struct stat statbuf; local
/haiku-buildtools/legacy/binutils/binutils/
H A Drename.c98 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;
H A Dbucomm.c466 struct stat statbuf;
468 if (stat (file_name, &statbuf) < 0)
476 else if (! S_ISREG (statbuf.st_mode))
479 return statbuf.st_size;
462 struct stat statbuf; local
/haiku-buildtools/gcc/libsanitizer/sanitizer_common/
H A Dsanitizer_common_syscalls.inc820 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...]
/haiku-buildtools/legacy/gcc/gcc/config/winnt/
H A Dfixinc-nt.c134 struct _stat statbuf; local
148 _stat (intempbuf, &statbuf);
151 if (statbuf.st_mode & _S_IFDIR)
155 if (statbuf.st_mode & _S_IFREG)
156 doheader (intempbuf, outtempbuf, statbuf.st_size);
179 struct _stat statbuf; local
205 _stat (fp, &statbuf);
206 if (statbuf.st_mode & _S_IFDIR)
H A Dld.c165 struct stat statbuf; local
167 ret = stat(name, &statbuf);
168 return !ret && S_ISREG (statbuf.st_mode);
/haiku-buildtools/gcc/gcc/ada/
H A Dadaint.c1023 GNAT_STRUCT_STAT statbuf;
1028 ret = GNAT_FSTAT (fd, &statbuf);
1033 error = __gnat_stat (name, &statbuf);
1047 attr->regular = (!ret && S_ISREG (statbuf.st_mode));
1048 attr->directory = (!ret && S_ISDIR (statbuf.st_mode));
1056 attr->file_length = statbuf.st_size; /* all systems */
1062 attr->readable = (!ret && (statbuf.st_mode & S_IRUSR));
1063 attr->writable = (!ret && (statbuf.st_mode & S_IWUSR));
1064 attr->executable = (!ret && (statbuf.st_mode & S_IXUSR));
1070 attr->timestamp = (OS_Time)statbuf
1022 GNAT_STRUCT_STAT statbuf; local
1494 __gnat_stat(char *name, GNAT_STRUCT_STAT *statbuf) argument
1647 GNAT_STRUCT_STAT statbuf; local
[all...]
/haiku-buildtools/gcc/libsanitizer/include/sanitizer/
H A Dlinux_syscall_hooks.h476 #define __sanitizer_syscall_pre_stat(filename, statbuf) \
477 __sanitizer_syscall_pre_impl_stat((long)(filename), (long)(statbuf))
478 #define __sanitizer_syscall_post_stat(res, filename, statbuf) \
479 __sanitizer_syscall_post_impl_stat(res, (long)(filename), (long)(statbuf))
498 #define __sanitizer_syscall_pre_lstat(filename, statbuf) \
499 __sanitizer_syscall_pre_impl_lstat((long)(filename), (long)(statbuf))
500 #define __sanitizer_syscall_post_lstat(res, filename, statbuf) \
501 __sanitizer_syscall_post_impl_lstat(res, (long)(filename), (long)(statbuf))
502 #define __sanitizer_syscall_pre_fstat(fd, statbuf) \
503 __sanitizer_syscall_pre_impl_fstat((long)(fd), (long)(statbuf))
[all...]
/haiku-buildtools/legacy/gcc/libio/dbz/
H A Dfake.c44 struct stat statbuf; local
/haiku-buildtools/binutils/gas/
H A Dhash.c423 int statbuf[STATBUFSIZE];
525 hash_say (h, statbuf, STATBUFSIZE);
526 for (ip = statbuf; ip < statbuf + STATBUFSIZE; ip++)
422 int statbuf[STATBUFSIZE]; variable

Completed in 149 milliseconds

123