/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)) {
|
/frameworks/base/media/libmedia/ |
MediaScanner.cpp | 141 struct stat statbuf; local 142 if (stat(path, &statbuf) == 0) { 143 if (S_ISREG(statbuf.st_mode)) { 145 } else if (S_ISDIR(statbuf.st_mode)) { 176 struct stat statbuf; local 177 stat(path, &statbuf); 178 if (statbuf.st_size > 0) { 179 client.scanFile(path, statbuf.st_mtime, statbuf.st_size);
|
/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);
|
/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/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...] |
/system/core/logcat/ |
logcat.cpp | 374 struct stat statbuf; local 383 fstat(g_outFD, &statbuf); 385 g_outByteCount = statbuf.st_size;
|
/external/bluetooth/glib/gio/ |
glocalfileinfo.c | 119 _g_local_file_info_create_etag (GLocalFileStat *statbuf) 123 tv.tv_sec = statbuf->st_mtime; 125 tv.tv_usec = statbuf->st_mtimensec / 1000; 127 tv.tv_usec = statbuf->st_mtim.tv_nsec / 1000; 136 _g_local_file_info_create_file_id (GLocalFileStat *statbuf) 139 (guint64) statbuf->st_dev, 140 (guint64) statbuf->st_ino); 144 _g_local_file_info_create_fs_id (GLocalFileStat *statbuf) 147 (guint64) statbuf->st_dev); 792 struct stat statbuf; local 1411 GLocalFileStat statbuf; local 1898 struct stat statbuf; local 1986 struct stat statbuf; local [all...] |
gunixmounts.c | 628 struct statvfs statbuf; local 638 if (statvfs (filename, &statbuf) == 0) 642 mount_entry->mount_path = g_strdup (statbuf.f_mntonname); 643 mount_entry->device_path = g_strdup (statbuf.f_mntfromname); 644 mount_entry->filesystem_type = g_strdup (statbuf.f_fstypename); 646 if (statbuf.f_flag & ST_RDONLY) 2120 struct stat statbuf; local [all...] |
glocalfile.c | 1118 struct stat statbuf; local 1138 if (g_lstat (new_local->filename, &statbuf) == -1) 2110 struct stat statbuf; local [all...] |
/external/e2fsprogs/debugfs/ |
debugfs.c | 1292 struct stat statbuf; local 1306 if (fstat(fd, &statbuf) < 0) { 1346 inode.i_mode = (statbuf.st_mode & ~LINUX_S_IFMT) | LINUX_S_IFREG; 1350 inode.i_size = statbuf.st_size; [all...] |
/external/strace/ |
strace.c | 493 struct stat statbuf; local 512 else if (stat(filename, &statbuf) == 0) 539 if (stat(pathname, &statbuf) == 0 && 543 S_ISREG(statbuf.st_mode) && 544 (statbuf.st_mode & 0111)) 548 if (stat(pathname, &statbuf) < 0) { 589 if (statbuf.st_mode & S_ISUID) 590 run_euid = statbuf.st_uid; 591 if (statbuf.st_mode & S_ISGID) 592 run_egid = statbuf.st_gid [all...] |
file.c | 678 struct solstat statbuf; local 688 if (umove(tcp, addr, &statbuf) < 0) { 694 (unsigned long) ((statbuf.st_dev >> 18) & 0x3fff), 695 (unsigned long) (statbuf.st_dev & 0x3ffff), 696 (unsigned long) statbuf.st_ino, 697 sprintmode(statbuf.st_mode)); 699 (unsigned long) statbuf.st_nlink, 700 (unsigned long) statbuf.st_uid, 701 (unsigned long) statbuf.st_gid); 702 tprintf("st_blksize=%lu, ", (unsigned long) statbuf.st_blksize) 732 struct stat_sparc64 statbuf; local 907 struct stat statbuf; local 945 struct stat64 statbuf; local 1072 struct __old_kernel_stat statbuf; local 1497 struct statfs statbuf; local 1568 struct statfs64 statbuf; local 1665 struct ustat statbuf; local [all...] |
/external/netperf/ |
netlib.c | 1527 struct stat statbuf; local [all...] |
/external/sqlite/dist/ |
sqlite3.c | 22472 struct stat statbuf; \/* Low-level file information *\/ local [all...] |