HomeSort by relevance Sort by last modified time
    Searched refs:statbuf (Results 26 - 50 of 152) sorted by null

12 3 4 5 6 7

  /external/ltp/testcases/kernel/mem/mmapstress/
mmapstress01.c 462 struct stat64 statbuf; local
466 struct stat statbuf;
485 if (stat64(file, &statbuf) == -1) {
487 if (stat(file, &statbuf) == -1) {
492 filesize = statbuf.st_size;
503 if (statbuf.st_size - sparseoffset > SIZE_MAX) {
507 mapsize = (size_t) (statbuf.st_size - sparseoffset);
600 struct stat64 statbuf; local
602 struct stat statbuf;
625 if (fstat64(fd, &statbuf) == -1)
    [all...]
mmapstress10.c 527 struct stat64 statbuf; local
531 struct stat statbuf;
571 if (fstat64(fd_mapper, &statbuf) == -1) {
573 if (fstat(fd_mapper, &statbuf) == -1) {
578 filesize = statbuf.st_size;
580 if (statbuf.st_size - sparseoffset > SIZE_MAX) {
584 mapsize_mapper = (size_t) (statbuf.st_size - sparseoffset);
706 struct stat64 statbuf; local
709 struct stat statbuf; local
735 if (fstat64(fd_writer, &statbuf) == -1)
790 struct stat64 statbuf; local
    [all...]
  /external/ltp/testcases/kernel/fs/proc/
proc01.c 246 struct stat statbuf; /* used to hold stat information */ local
253 if (lstat(obj, &statbuf) < 0) {
265 if (S_ISLNK(statbuf.st_mode) && strcmp(obj, selfpath))
271 if (S_ISDIR(statbuf.st_mode) || !strcmp(obj, selfpath)) {
336 if (!S_ISREG(statbuf.st_mode))
364 if ((statbuf.st_mode & S_IRUSR) == 0 &&
365 (statbuf.st_mode & S_IWUSR) != 0) {
  /external/ltp/testcases/kernel/containers/mqns/
mqns_04.c 100 struct stat statbuf; local
146 rc = stat(FNAM1, &statbuf);
166 rc = stat(FNAM1, &statbuf);
  /external/brotli/tools/
bro.c 216 struct stat statbuf; local
217 if (stat(output_path, &statbuf) == 0) {
249 struct stat statbuf; local
255 if (stat(input_path, &statbuf) != 0) {
258 times.actime = statbuf.st_atime;
259 times.modtime = statbuf.st_mtime;
261 res = chmod(output_path, statbuf.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO));
264 res = chown(output_path, (uid_t)-1, statbuf.st_gid);
267 res = chown(output_path, statbuf.st_uid, (gid_t)-1);
  /external/vboot_reference/cgpt/
cgpt_find.c 180 struct stat statbuf; local
188 if (0 != stat(pathname, &statbuf))
191 if (!S_ISBLK(statbuf.st_mode))
197 if (0 != lstat(tmpname, &statbuf))
200 if (!S_ISLNK(statbuf.st_mode))
  /external/ltp/lib/
tst_tmpdir.c 127 struct stat statbuf; local
182 if (lstat(obj, &statbuf) < 0) {
193 if (statbuf.st_nlink >= 3) {
  /system/update_engine/
hardware_chromeos.cc 128 struct stat statbuf; local
129 if (stat(kOOBECompletedMarker, &statbuf) != 0) {
138 *out_time_of_oobe = base::Time::FromTimeT(statbuf.st_mtime);
  /external/dtc/
dtc.c 140 struct stat statbuf; local
144 if (stat(fname, &statbuf) != 0)
147 if (S_ISDIR(statbuf.st_mode))
150 if (!S_ISREG(statbuf.st_mode))
  /toolchain/binutils/binutils-2.25/bfd/
elfcore.h 288 struct stat statbuf; local
299 if (bfd_stat (abfd, &statbuf) == 0)
301 if ((bfd_size_type) statbuf.st_size < high)
306 abfd, (unsigned long) high, (unsigned long) statbuf.st_size);
hppabsd-core.c 126 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)
trad-core.c 111 struct stat statbuf; local
113 if (bfd_stat (abfd, &statbuf) < 0)
121 > (ufile_ptr) statbuf.st_size)
133 < (ufile_ptr) statbuf.st_size)
bfdio.c 261 bfd_stat (bfd *abfd, struct stat *statbuf)
266 result = abfd->iovec->bstat (abfd, statbuf);
597 memory_bstat (bfd *abfd, struct stat *statbuf)
601 memset (statbuf, 0, sizeof (*statbuf));
602 statbuf->st_size = bim->size;
  /external/ppp/pppd/
tty.c 299 struct stat statbuf; local
314 if (stat(cp, &statbuf) < 0) {
320 if (!S_ISCHR(statbuf.st_mode)) {
328 devstat = statbuf;
450 struct stat statbuf; local
493 if (fstat(0, &statbuf) >= 0 && S_ISCHR(statbuf.st_mode)
494 && statbuf.st_rdev == devstat.st_rdev) {
508 if (log_to_fd >= 0 && fstat(log_to_fd, &statbuf) >= 0
509 && S_ISCHR(statbuf.st_mode) && statbuf.st_rdev == devstat.st_rdev
523 struct stat statbuf; local
    [all...]
  /external/curl/lib/
file.c 429 struct_stat statbuf; /* struct_stat instead of struct stat just to allow the local
457 if(-1 != fstat(fd, &statbuf)) {
459 expected_size = statbuf.st_size;
461 data->info.filetime = (long)statbuf.st_mtime;
490 filetime = (time_t)statbuf.st_mtime;
523 data->state.resume_from += (curl_off_t)statbuf.st_size;
  /external/ltp/testcases/kernel/fs/scsi/ltpfs/
main.c 72 struct stat statBuf;
110 rc = fstat(tmpHandle, &statBuf);
113 fileBuf = malloc(statBuf.st_size);
118 statBuf.st_size);
121 statBuf.st_size);
125 statBuf.st_size * i);
127 statBuf.st_size * i);
393 struct stat statbuf; local
405 rc = stat(LTP_FS_DEV_NODE_PATH, &statbuf);
420 if (!(statbuf.st_mode & S_IFDIR))
    [all...]
  /external/compiler-rt/include/sanitizer/
linux_syscall_hooks.h 478 #define __sanitizer_syscall_pre_stat(filename, statbuf) \
479 __sanitizer_syscall_pre_impl_stat((long)(filename), (long)(statbuf))
480 #define __sanitizer_syscall_post_stat(res, filename, statbuf) \
481 __sanitizer_syscall_post_impl_stat(res, (long)(filename), (long)(statbuf))
500 #define __sanitizer_syscall_pre_lstat(filename, statbuf) \
501 __sanitizer_syscall_pre_impl_lstat((long)(filename), (long)(statbuf))
502 #define __sanitizer_syscall_post_lstat(res, filename, statbuf) \
503 __sanitizer_syscall_post_impl_lstat(res, (long)(filename), (long)(statbuf))
504 #define __sanitizer_syscall_pre_fstat(fd, statbuf) \
505 __sanitizer_syscall_pre_impl_fstat((long)(fd), (long)(statbuf))
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-2812033/lib64/clang/3.8/include/sanitizer/
linux_syscall_hooks.h 478 #define __sanitizer_syscall_pre_stat(filename, statbuf) \
479 __sanitizer_syscall_pre_impl_stat((long)(filename), (long)(statbuf))
480 #define __sanitizer_syscall_post_stat(res, filename, statbuf) \
481 __sanitizer_syscall_post_impl_stat(res, (long)(filename), (long)(statbuf))
500 #define __sanitizer_syscall_pre_lstat(filename, statbuf) \
501 __sanitizer_syscall_pre_impl_lstat((long)(filename), (long)(statbuf))
502 #define __sanitizer_syscall_post_lstat(res, filename, statbuf) \
503 __sanitizer_syscall_post_impl_lstat(res, (long)(filename), (long)(statbuf))
504 #define __sanitizer_syscall_pre_fstat(fd, statbuf) \
505 __sanitizer_syscall_pre_impl_fstat((long)(fd), (long)(statbuf))
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3289846/lib64/clang/3.8/include/sanitizer/
linux_syscall_hooks.h 478 #define __sanitizer_syscall_pre_stat(filename, statbuf) \
479 __sanitizer_syscall_pre_impl_stat((long)(filename), (long)(statbuf))
480 #define __sanitizer_syscall_post_stat(res, filename, statbuf) \
481 __sanitizer_syscall_post_impl_stat(res, (long)(filename), (long)(statbuf))
500 #define __sanitizer_syscall_pre_lstat(filename, statbuf) \
501 __sanitizer_syscall_pre_impl_lstat((long)(filename), (long)(statbuf))
502 #define __sanitizer_syscall_post_lstat(res, filename, statbuf) \
503 __sanitizer_syscall_post_impl_lstat(res, (long)(filename), (long)(statbuf))
504 #define __sanitizer_syscall_pre_fstat(fd, statbuf) \
505 __sanitizer_syscall_pre_impl_fstat((long)(fd), (long)(statbuf))
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3362437/lib64/clang/3.8/include/sanitizer/
linux_syscall_hooks.h 478 #define __sanitizer_syscall_pre_stat(filename, statbuf) \
479 __sanitizer_syscall_pre_impl_stat((long)(filename), (long)(statbuf))
480 #define __sanitizer_syscall_post_stat(res, filename, statbuf) \
481 __sanitizer_syscall_post_impl_stat(res, (long)(filename), (long)(statbuf))
500 #define __sanitizer_syscall_pre_lstat(filename, statbuf) \
501 __sanitizer_syscall_pre_impl_lstat((long)(filename), (long)(statbuf))
502 #define __sanitizer_syscall_post_lstat(res, filename, statbuf) \
503 __sanitizer_syscall_post_impl_lstat(res, (long)(filename), (long)(statbuf))
504 #define __sanitizer_syscall_pre_fstat(fd, statbuf) \
505 __sanitizer_syscall_pre_impl_fstat((long)(fd), (long)(statbuf))
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3859424/lib64/clang/4.0/include/sanitizer/
linux_syscall_hooks.h 478 #define __sanitizer_syscall_pre_stat(filename, statbuf) \
479 __sanitizer_syscall_pre_impl_stat((long)(filename), (long)(statbuf))
480 #define __sanitizer_syscall_post_stat(res, filename, statbuf) \
481 __sanitizer_syscall_post_impl_stat(res, (long)(filename), (long)(statbuf))
500 #define __sanitizer_syscall_pre_lstat(filename, statbuf) \
501 __sanitizer_syscall_pre_impl_lstat((long)(filename), (long)(statbuf))
502 #define __sanitizer_syscall_post_lstat(res, filename, statbuf) \
503 __sanitizer_syscall_post_impl_lstat(res, (long)(filename), (long)(statbuf))
504 #define __sanitizer_syscall_pre_fstat(fd, statbuf) \
505 __sanitizer_syscall_pre_impl_fstat((long)(fd), (long)(statbuf))
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3957855/lib64/clang/5.0/include/sanitizer/
linux_syscall_hooks.h 478 #define __sanitizer_syscall_pre_stat(filename, statbuf) \
479 __sanitizer_syscall_pre_impl_stat((long)(filename), (long)(statbuf))
480 #define __sanitizer_syscall_post_stat(res, filename, statbuf) \
481 __sanitizer_syscall_post_impl_stat(res, (long)(filename), (long)(statbuf))
500 #define __sanitizer_syscall_pre_lstat(filename, statbuf) \
501 __sanitizer_syscall_pre_impl_lstat((long)(filename), (long)(statbuf))
502 #define __sanitizer_syscall_post_lstat(res, filename, statbuf) \
503 __sanitizer_syscall_post_impl_lstat(res, (long)(filename), (long)(statbuf))
504 #define __sanitizer_syscall_pre_fstat(fd, statbuf) \
505 __sanitizer_syscall_pre_impl_fstat((long)(fd), (long)(statbuf))
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/compiler-rt/include/sanitizer/
linux_syscall_hooks.h 478 #define __sanitizer_syscall_pre_stat(filename, statbuf) \
479 __sanitizer_syscall_pre_impl_stat((long)(filename), (long)(statbuf))
480 #define __sanitizer_syscall_post_stat(res, filename, statbuf) \
481 __sanitizer_syscall_post_impl_stat(res, (long)(filename), (long)(statbuf))
500 #define __sanitizer_syscall_pre_lstat(filename, statbuf) \
501 __sanitizer_syscall_pre_impl_lstat((long)(filename), (long)(statbuf))
502 #define __sanitizer_syscall_post_lstat(res, filename, statbuf) \
503 __sanitizer_syscall_post_impl_lstat(res, (long)(filename), (long)(statbuf))
504 #define __sanitizer_syscall_pre_fstat(fd, statbuf) \
505 __sanitizer_syscall_pre_impl_fstat((long)(fd), (long)(statbuf))
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3960126/lib64/clang/5.0/include/sanitizer/
linux_syscall_hooks.h 478 #define __sanitizer_syscall_pre_stat(filename, statbuf) \
479 __sanitizer_syscall_pre_impl_stat((long)(filename), (long)(statbuf))
480 #define __sanitizer_syscall_post_stat(res, filename, statbuf) \
481 __sanitizer_syscall_post_impl_stat(res, (long)(filename), (long)(statbuf))
500 #define __sanitizer_syscall_pre_lstat(filename, statbuf) \
501 __sanitizer_syscall_pre_impl_lstat((long)(filename), (long)(statbuf))
502 #define __sanitizer_syscall_post_lstat(res, filename, statbuf) \
503 __sanitizer_syscall_post_impl_lstat(res, (long)(filename), (long)(statbuf))
504 #define __sanitizer_syscall_pre_fstat(fd, statbuf) \
505 __sanitizer_syscall_pre_impl_fstat((long)(fd), (long)(statbuf))
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/compiler-rt/include/sanitizer/
linux_syscall_hooks.h 478 #define __sanitizer_syscall_pre_stat(filename, statbuf) \
479 __sanitizer_syscall_pre_impl_stat((long)(filename), (long)(statbuf))
480 #define __sanitizer_syscall_post_stat(res, filename, statbuf) \
481 __sanitizer_syscall_post_impl_stat(res, (long)(filename), (long)(statbuf))
500 #define __sanitizer_syscall_pre_lstat(filename, statbuf) \
501 __sanitizer_syscall_pre_impl_lstat((long)(filename), (long)(statbuf))
502 #define __sanitizer_syscall_post_lstat(res, filename, statbuf) \
503 __sanitizer_syscall_post_impl_lstat(res, (long)(filename), (long)(statbuf))
504 #define __sanitizer_syscall_pre_fstat(fd, statbuf) \
505 __sanitizer_syscall_pre_impl_fstat((long)(fd), (long)(statbuf))
    [all...]

Completed in 1068 milliseconds

12 3 4 5 6 7