/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/strace/ |
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...] |
/frameworks/base/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,
|
/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...] |
glocalfileinfo.h | 65 char * _g_local_file_info_create_etag (GLocalFileStat *statbuf);
|
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...] |
/external/dbus/dbus/ |
dbus-sysdeps-util-win.c | 332 * @param statbuf the stat info to fill in 338 DBusStat *statbuf, 357 statbuf->mode = _S_IFDIR; 359 statbuf->mode = _S_IFREG; 361 statbuf->mode |= _S_IREAD; 363 statbuf->mode |= _S_IWRITE; 367 statbuf->mode |= _S_IEXEC; 369 statbuf->mode |= (statbuf->mode & 0700) >> 3; 370 statbuf->mode |= (statbuf->mode & 0700) >> 6 [all...] |
dbus-sysdeps-util-unix.c | 523 * @param statbuf the stat info to fill in 529 DBusStat *statbuf, 546 statbuf->mode = sb.st_mode; 547 statbuf->nlink = sb.st_nlink; 548 statbuf->uid = sb.st_uid; 549 statbuf->gid = sb.st_gid; 550 statbuf->size = sb.st_size; 551 statbuf->atime = sb.st_atime; 552 statbuf->mtime = sb.st_mtime; 553 statbuf->ctime = sb.st_ctime [all...] |
/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/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...] |
/external/bluetooth/glib/gio/xdgmime/ |
xdgmimecache.h | 62 struct stat *statbuf);
|
xdgmime.h | 86 struct stat *statbuf);
|
xdgmime.c | 485 struct stat *statbuf) 508 return _xdg_mime_cache_get_mime_type_for_file (file_name, statbuf); 516 if (!statbuf) 521 statbuf = &buf; 524 if (!S_ISREG (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);
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
set-mode-acl.c | 408 struct stat statbuf; 413 ret = fstat (desc, &statbuf); 415 ret = stat (name, &statbuf); 419 entries[0].uid = statbuf.st_uid; 423 entries[1].gid = statbuf.st_gid;
|
file-has-acl.c | 491 struct stat statbuf; 493 if (stat (name, &statbuf) < 0) 496 return acl_nontrivial (count, entries, &statbuf);
|
/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/vold/ |
cryptfs.c | 136 struct stat statbuf; local 208 fstat(fd, &statbuf); 210 if (S_ISREG(statbuf.st_mode) && (key_loc[0] == '/')) { 235 struct stat statbuf; local 269 fstat(fd, &statbuf); 270 if (S_ISREG(statbuf.st_mode) && (statbuf.st_size != 0x4000)) { 649 struct stat statbuf; local 874 struct stat statbuf; local 895 stat(crypto_blkdev, &statbuf); [all...] |
/system/media/wilhelm/tests/sandbox/ |
xaplay.c | 254 struct stat statbuf; local 255 ok = fstat(fd, &statbuf); 260 if (!S_ISREG(statbuf.st_mode)) { 265 ptr = mmap(NULL, statbuf.st_size, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, (off_t) 0); 270 size_t filelen = statbuf.st_size;
|
/system/media/wilhelm/tests/examples/ |
slesTestDecodeAac.cpp | 358 struct stat statbuf; local 359 ok = fstat(fd, &statbuf); 366 if (!S_ISREG(statbuf.st_mode)) { 372 ptr = mmap(NULL, statbuf.st_size, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, (off_t) 0); 378 filelen = statbuf.st_size; 743 ok = munmap(ptr, statbuf.st_size);
|
/external/llvm/lib/Support/ |
raw_ostream.cpp | 590 struct stat statbuf; local 591 if (fstat(FD, &statbuf) != 0) 597 if (S_ISCHR(statbuf.st_mode) && isatty(FD)) 600 return statbuf.st_blksize;
|
/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
|
/frameworks/base/cmds/installd/ |
commands.c | 588 struct stat* statbuf) 593 if (lstat(path, statbuf) < 0) { 609 int dstuid, int dstgid, struct stat* statbuf) 618 if (lstat(srcpath, statbuf) < 0) { 623 if ((statbuf->st_mode&S_IFDIR) == 0) { 625 dstuid, dstgid, statbuf); 671 if (movefileordir(srcpath, dstpath, dstbasepos, dstuid, dstgid, statbuf) != 0) {
|
/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
|