/external/strace/ |
D | file.c | 836 struct solstat statbuf; in printstatsol() local 838 if (umove(tcp, addr, &statbuf) < 0) { in printstatsol() 844 (unsigned long) ((statbuf.st_dev >> 18) & 0x3fff), in printstatsol() 845 (unsigned long) (statbuf.st_dev & 0x3ffff), in printstatsol() 846 (unsigned long) statbuf.st_ino, in printstatsol() 847 sprintmode(statbuf.st_mode)); in printstatsol() 849 (unsigned long) statbuf.st_nlink, in printstatsol() 850 (unsigned long) statbuf.st_uid, in printstatsol() 851 (unsigned long) statbuf.st_gid); in printstatsol() 852 tprintf("st_blksize=%lu, ", (unsigned long) statbuf.st_blksize); in printstatsol() [all …]
|
D | Android.patch | 93 (unsigned long)statbuf.f_bsize, 94 (unsigned long)statbuf.f_blocks, 95 (unsigned long)statbuf.f_bfree); 98 + (unsigned long)statbuf.f_bavail, 99 + (unsigned long)statbuf.f_files, 100 + (unsigned long)statbuf.f_ffree, 101 + statbuf.f_fsid.val[0], statbuf.f_fsid.val[1]); 104 (unsigned long)statbuf.f_bavail, 105 (unsigned long)statbuf.f_files, 106 (unsigned long)statbuf.f_ffree, [all …]
|
D | strace.c | 510 struct stat statbuf; in startup_child() local 531 else if (stat(filename, &statbuf) == 0) in startup_child() 559 if (stat(pathname, &statbuf) == 0 && in startup_child() 563 S_ISREG(statbuf.st_mode) && in startup_child() 564 (statbuf.st_mode & 0111)) in startup_child() 568 if (stat(pathname, &statbuf) < 0) { in startup_child() 614 if (statbuf.st_mode & S_ISUID) in startup_child() 615 run_euid = statbuf.st_uid; in startup_child() 616 if (statbuf.st_mode & S_ISGID) in startup_child() 617 run_egid = statbuf.st_gid; in startup_child()
|
/external/eigen/bench/spbench/ |
D | spbenchsolver.cpp | 44 std::ofstream statbuf; in main() local 51 statbuf.open(statFile.c_str(), std::ios::out); in main() 52 if(statbuf.good()){ in main() 54 printStatheader(statbuf); in main() 55 statbuf.close(); in main() 81 statbuf.open(statFile.c_str(), std::ios::app); in main() 82 statbuf << "</TABLE> \n"; in main() 84 statbuf.close(); in main()
|
D | spbenchsolver.h | 514 std::ofstream statbuf(statFile.c_str(), std::ios::app); in Browse_Matrices() 515 statbuf << "<TR><TH rowspan=\"4\">" << it.matname() << " <TD rowspan=\"4\"> " in Browse_Matrices() 517 statbuf.close(); in Browse_Matrices()
|
/external/bison/lib/ |
D | open.c | 131 struct stat statbuf; in open() local 132 if (stat (filename, &statbuf) == 0 && S_ISDIR (statbuf.st_mode)) in open() 163 struct stat statbuf; in open() local 165 if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode)) in open()
|
D | fopen.c | 77 struct stat statbuf; in rpl_fopen() local 90 if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode)) in rpl_fopen()
|
/external/chromium/chrome/browser/ |
D | process_singleton_linux_uitest.cc | 43 struct stat statbuf; in TearDown() local 44 bool lock_exists = lstat(lock_path_.value().c_str(), &statbuf) == 0; in TearDown() 107 struct stat statbuf; in TEST_F() local 108 ASSERT_EQ(0, lstat(lock_path_.value().c_str(), &statbuf)); in TEST_F() 109 ASSERT_TRUE(S_ISLNK(statbuf.st_mode)); in TEST_F() 114 ASSERT_EQ(0, lstat(socket_path_.value().c_str(), &statbuf)); in TEST_F() 115 ASSERT_TRUE(S_ISLNK(statbuf.st_mode)); in TEST_F() 121 ASSERT_EQ(0, lstat(socket_target_path.value().c_str(), &statbuf)); in TEST_F() 122 ASSERT_TRUE(S_ISSOCK(statbuf.st_mode)); in TEST_F()
|
/external/e2fsprogs/tests/progs/ |
D | hold_inode.c | 23 struct stat statbuf; in main() local 31 if (stat(filename, &statbuf) < 0) { in main() 35 if (S_ISDIR(statbuf.st_mode)) { in main()
|
/external/dnsmasq/src/ |
D | tftp.c | 242 struct stat statbuf; in tftp_request() local 248 if (stat(daemon->namebuff, &statbuf) == -1 || !S_ISDIR(statbuf.st_mode)) in tftp_request() 294 struct stat statbuf; in check_tftp_fileperm() local 315 if (fstat(fd, &statbuf) == -1) in check_tftp_fileperm() 321 if (!(statbuf.st_mode & S_IROTH)) in check_tftp_fileperm() 325 else if ((daemon->options & OPT_TFTP_SECURE) && uid != statbuf.st_uid) in check_tftp_fileperm() 334 if (t->file->dev == statbuf.st_dev && in check_tftp_fileperm() 335 t->file->inode == statbuf.st_ino && in check_tftp_fileperm() 350 file->size = statbuf.st_size; in check_tftp_fileperm() 351 file->dev = statbuf.st_dev; in check_tftp_fileperm() [all …]
|
D | dnsmasq.c | 915 struct stat statbuf; in poll_resolv() local 921 if (stat(res->name, &statbuf) == -1) in poll_resolv() 930 if (statbuf.st_mtime != res->mtime) in poll_resolv() 932 res->mtime = statbuf.st_mtime; in poll_resolv() 933 if (difftime(statbuf.st_mtime, last_change) > 0.0) in poll_resolv() 935 last_change = statbuf.st_mtime; in poll_resolv()
|
D | option.c | 2542 struct stat statbuf; in one_file() local 2545 if (hard_opt == 0 && stat(file, &statbuf) == 0) in one_file() 2550 if (r->dev == statbuf.st_dev && r->ino == statbuf.st_ino) in one_file() 2556 r->dev = statbuf.st_dev; in one_file() 2557 r->ino = statbuf.st_ino; in one_file()
|
/external/ppp/pppd/ |
D | tty.c | 294 struct stat statbuf; local 309 if (stat(cp, &statbuf) < 0) { 315 if (!S_ISCHR(statbuf.st_mode)) { 323 devstat = statbuf; 445 struct stat statbuf; in tty_check_options() local 488 if (fstat(0, &statbuf) >= 0 && S_ISCHR(statbuf.st_mode) in tty_check_options() 489 && statbuf.st_rdev == devstat.st_rdev) { in tty_check_options() 503 if (log_to_fd >= 0 && fstat(log_to_fd, &statbuf) >= 0 in tty_check_options() 504 && S_ISCHR(statbuf.st_mode) && statbuf.st_rdev == devstat.st_rdev) in tty_check_options() 518 struct stat statbuf; in connect_tty() local [all …]
|
/external/srec/srec/clib/ |
D | voc_read.c | 273 struct stat statbuf; in mmap_zip() local 285 if (fstat(fd, &statbuf) < 0) goto FAILED; in mmap_zip() 288 *size = statbuf.st_size; in mmap_zip() 289 *buf = mmap(0, inflateSize(statbuf.st_size), PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0); in mmap_zip()
|
/external/antlr/antlr-3.4/runtime/C/src/ |
D | antlr3filestream.c | 420 struct _stat statbuf; in antlr3Fsize() local 422 _stat((const char *)fileName, &statbuf); in antlr3Fsize() 424 return (ANTLR3_UINT32)statbuf.st_size; in antlr3Fsize()
|
/external/llvm/lib/Support/ |
D | raw_ostream.cpp | 598 struct stat statbuf; in preferred_buffer_size() local 599 if (fstat(FD, &statbuf) != 0) in preferred_buffer_size() 605 if (S_ISCHR(statbuf.st_mode) && isatty(FD)) in preferred_buffer_size() 608 return statbuf.st_blksize; in preferred_buffer_size()
|
/external/openssh/openbsd-compat/ |
D | bsd-cray.c | 723 struct stat statbuf; in cray_delete_tmpdir() local 728 if (stat(jtmp, &statbuf) == 0 && statbuf.st_uid == uid) in cray_delete_tmpdir()
|
/external/libusb/libusb/os/ |
D | linux_usbfs.c | 234 struct stat statbuf; in op_init() local 257 r = stat(SYSFS_DEVICE_PATH, &statbuf); in op_init() 258 if (r == 0 && S_ISDIR(statbuf.st_mode)) { in op_init() 934 struct stat statbuf; in sysfs_scan_device() local 938 r = stat(filename, &statbuf); in sysfs_scan_device() 939 if (r == 0 && S_ISREG(statbuf.st_mode)) { in sysfs_scan_device()
|
/external/libusb_aah/libusb/os/ |
D | linux_usbfs.c | 306 struct stat statbuf; in sysfs_has_file() local 311 r = stat(path, &statbuf); in sysfs_has_file() 312 if (r == 0 && S_ISREG(statbuf.st_mode)) in sysfs_has_file() 320 struct stat statbuf; in op_init() local 356 r = stat(SYSFS_DEVICE_PATH, &statbuf); in op_init() 357 if (r == 0 && S_ISDIR(statbuf.st_mode)) { in op_init()
|
/external/clang/lib/Frontend/ |
D | CacheTokens.cpp | 66 PTHEntryKeyVariant(struct stat* statbuf, const char* path) in PTHEntryKeyVariant() argument 67 : Path(path), Kind(IsDE), StatBuf(new struct stat(*statbuf)) {} in PTHEntryKeyVariant()
|
/external/libpcap/ |
D | pcap-dlpi.c | 1620 struct stat statbuf; in get_dlpi_ppa() local 1750 if (stat(dname, &statbuf) < 0) { in get_dlpi_ppa() 1755 majdev = major(statbuf.st_rdev); in get_dlpi_ppa()
|
/external/e2fsprogs/debugfs/ |
D | debugfs.c | 1551 struct stat statbuf; in do_write() local 1565 if (fstat(fd, &statbuf) < 0) { in do_write() 1606 inode.i_mode = (statbuf.st_mode & ~LINUX_S_IFMT) | LINUX_S_IFREG; in do_write() 1610 inode.i_size = statbuf.st_size; in do_write()
|
/external/e2fsprogs/misc/ |
D | mke2fs.c | 1145 struct stat statbuf; in get_device_geometry() local 1148 if (!stat(file, &statbuf) && S_ISREG(statbuf.st_mode)) in get_device_geometry()
|
/external/netperf/ |
D | netlib.c | 1527 struct stat statbuf; in alloc_sendfile_buf_ring() local 1604 if (stat(fill_file,&statbuf) != 0) { in alloc_sendfile_buf_ring() 1608 if (statbuf.st_size < (width * buffer_size)) { in alloc_sendfile_buf_ring()
|
/external/valgrind/main/coregrind/m_debuginfo/ |
D | debuginfo.c | 703 struct vg_stat statbuf; in VG_() local 736 statres = VG_(stat)(filename, &statbuf); in VG_() 740 vg_assert(sr_isError(statres) || ! VKI_S_ISLNK(statbuf.mode)); in VG_() 757 if (! VKI_S_ISREG(statbuf.mode)) in VG_()
|