/external/e2fsprogs/tests/progs/ |
hold_inode.c | 23 struct stat statbuf; local 31 if (stat(filename, &statbuf) < 0) { 35 if (S_ISDIR(statbuf.st_mode)) {
|
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3filestream.c | 420 struct _stat statbuf; local 422 _stat((const char *)fileName, &statbuf); 424 return (ANTLR3_UINT32)statbuf.st_size;
|
/external/chromium/chrome/browser/ |
process_singleton_linux_uitest.cc | 43 struct stat statbuf; local 44 bool lock_exists = lstat(lock_path_.value().c_str(), &statbuf) == 0; 107 struct stat statbuf; local 108 ASSERT_EQ(0, lstat(lock_path_.value().c_str(), &statbuf)); 109 ASSERT_TRUE(S_ISLNK(statbuf.st_mode)); 114 ASSERT_EQ(0, lstat(socket_path_.value().c_str(), &statbuf)); 115 ASSERT_TRUE(S_ISLNK(statbuf.st_mode)); 121 ASSERT_EQ(0, lstat(socket_target_path.value().c_str(), &statbuf)); 122 ASSERT_TRUE(S_ISSOCK(statbuf.st_mode));
|
/external/srec/srec/clib/ |
voc_read.c | 273 struct stat statbuf; local 285 if (fstat(fd, &statbuf) < 0) goto FAILED; 288 *size = statbuf.st_size; 289 *buf = mmap(0, inflateSize(statbuf.st_size), PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0);
|
/frameworks/av/media/libmedia/ |
MediaScanner.cpp | 175 struct stat statbuf; local 195 if (stat(path, &statbuf) == 0) { 196 if (S_ISREG(statbuf.st_mode)) { 198 } else if (S_ISDIR(statbuf.st_mode)) { 213 if (stat(path, &statbuf) == 0) { 214 status_t status = client.scanFile(path, statbuf.st_mtime, 0, 229 stat(path, &statbuf); 230 status_t status = client.scanFile(path, statbuf.st_mtime, statbuf.st_size,
|
/ndk/sources/host-tools/sed-4.2.1/sed/ |
utils.c | 353 struct stat statbuf; 364 while ((rc = lstat (buf, &statbuf)) == 0 365 && (statbuf.st_mode & S_IFLNK) == S_IFLNK) 351 struct stat statbuf; local
|
/external/dnsmasq/src/ |
tftp.c | 242 struct stat statbuf; local 248 if (stat(daemon->namebuff, &statbuf) == -1 || !S_ISDIR(statbuf.st_mode)) 294 struct stat statbuf; local 315 if (fstat(fd, &statbuf) == -1) 321 if (!(statbuf.st_mode & S_IROTH)) 325 else if ((daemon->options & OPT_TFTP_SECURE) && uid != statbuf.st_uid) 334 if (t->file->dev == statbuf.st_dev && 335 t->file->inode == statbuf.st_ino && 350 file->size = statbuf.st_size [all...] |
dnsmasq.c | 909 struct stat statbuf; local 915 if (stat(res->name, &statbuf) == -1) 924 if (statbuf.st_mtime != res->mtime) 926 res->mtime = statbuf.st_mtime; 927 if (difftime(statbuf.st_mtime, last_change) > 0.0) 929 last_change = statbuf.st_mtime; [all...] |
option.c | 2542 struct stat statbuf; local [all...] |
/external/llvm/lib/Support/ |
raw_ostream.cpp | 592 struct stat statbuf; local 593 if (fstat(FD, &statbuf) != 0) 599 if (S_ISCHR(statbuf.st_mode) && isatty(FD)) 602 return statbuf.st_blksize;
|
/external/openssh/openbsd-compat/ |
bsd-cray.c | 723 struct stat statbuf; local 728 if (stat(jtmp, &statbuf) == 0 && statbuf.st_uid == uid)
|
/ndk/sources/host-tools/make-3.81/ |
arscan.c | 769 struct stat statbuf; 790 EINTRLOOP (i, fstat (fd, &statbuf)); 797 sprintf (ar_hdr.ar_date, "%ld", (long int) statbuf.st_mtime); 802 ar_hdr.ar_date = statbuf.st_mtime; 765 struct stat statbuf; local
|
remake.c | 1068 struct stat statbuf; 1072 EINTRLOOP (e, fstat (fd, &statbuf)); 1084 if (statbuf.st_size == 0) 1062 struct stat statbuf; local [all...] |
/external/libpcap/ |
pcap-dlpi.c | 1620 struct stat statbuf; local [all...] |
/external/ppp/pppd/ |
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; local 488 if (fstat(0, &statbuf) >= 0 && S_ISCHR(statbuf.st_mode) 489 && statbuf.st_rdev == devstat.st_rdev) { 503 if (log_to_fd >= 0 && fstat(log_to_fd, &statbuf) >= 0 504 && S_ISCHR(statbuf.st_mode) && statbuf.st_rdev == devstat.st_rdev 518 struct stat statbuf; local [all...] |
/frameworks/av/media/mtp/ |
MtpServer.cpp | 1030 struct stat statbuf; local [all...] |
/frameworks/wilhelm/tests/examples/ |
slesTestDecodeAac.cpp | 418 struct stat statbuf; local 419 ok = fstat(fd, &statbuf); 426 if (!S_ISREG(statbuf.st_mode)) { 432 ptr = mmap(NULL, statbuf.st_size, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, (off_t) 0); 438 filelen = statbuf.st_size; [all...] |
/frameworks/wilhelm/tests/sandbox/ |
xaplay.c | 322 struct stat statbuf; local 323 ok = fstat(fd, &statbuf); 328 if (!S_ISREG(statbuf.st_mode)) { 333 ptr = mmap(NULL, statbuf.st_size, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, (off_t) 0); 338 size_t filelen = statbuf.st_size; [all...] |
/system/core/logcat/ |
logcat.cpp | 379 struct stat statbuf; local 388 fstat(g_outFD, &statbuf); 390 g_outByteCount = statbuf.st_size;
|
/external/libusb/libusb/os/ |
linux_usbfs.c | 234 struct stat statbuf; local 257 r = stat(SYSFS_DEVICE_PATH, &statbuf); 258 if (r == 0 && S_ISDIR(statbuf.st_mode)) { 934 struct stat statbuf; local 938 r = stat(filename, &statbuf); 939 if (r == 0 && S_ISREG(statbuf.st_mode)) { [all...] |
/frameworks/wilhelm/src/android/ |
AudioPlayer_to_android.cpp | 1519 struct stat statbuf; local [all...] |
/system/vold/ |
cryptfs.c | 154 struct stat statbuf; local 226 fstat(fd, &statbuf); 228 if (S_ISREG(statbuf.st_mode) && (key_loc[0] == '/')) { 253 struct stat statbuf; local 287 fstat(fd, &statbuf); 288 if (S_ISREG(statbuf.st_mode) && (statbuf.st_size != 0x4000)) { 656 struct stat statbuf; local 887 struct stat statbuf; local 908 stat(crypto_blkdev, &statbuf); [all...] |
/external/e2fsprogs/debugfs/ |
debugfs.c | 1551 struct stat statbuf; local [all...] |
/external/e2fsprogs/misc/ |
mke2fs.c | 1145 struct stat statbuf; local 1148 if (!stat(file, &statbuf) && S_ISREG(statbuf.st_mode)) [all...] |
/external/strace/ |
file.c | 836 struct solstat statbuf; local 838 if (umove(tcp, addr, &statbuf) < 0) { 844 (unsigned long) ((statbuf.st_dev >> 18) & 0x3fff), 845 (unsigned long) (statbuf.st_dev & 0x3ffff), 846 (unsigned long) statbuf.st_ino, 847 sprintmode(statbuf.st_mode)); 849 (unsigned long) statbuf.st_nlink, 850 (unsigned long) statbuf.st_uid, 851 (unsigned long) statbuf.st_gid); 852 tprintf("st_blksize=%lu, ", (unsigned long) statbuf.st_blksize) 880 struct stat_sparc64 statbuf; local 951 struct stat_powerpc32 statbuf; local 1106 struct stat statbuf; local 1182 struct stat64 statbuf; local 1321 struct __old_kernel_stat statbuf; local 1764 struct statfs statbuf; local 1840 struct statfs64 statbuf; local 1940 struct ustat statbuf; local [all...] |