HomeSort by relevance Sort by last modified time
    Searched defs:statbuf (Results 1 - 25 of 33) sorted by null

1 2

  /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 591 struct stat statbuf; local
592 if (fstat(FD, &statbuf) != 0)
598 if (S_ISCHR(statbuf.st_mode) && isatty(FD))
601 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/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/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 152 struct stat statbuf; local
224 fstat(fd, &statbuf);
226 if (S_ISREG(statbuf.st_mode) && (key_loc[0] == '/')) {
251 struct stat statbuf; local
285 fstat(fd, &statbuf);
286 if (S_ISREG(statbuf.st_mode) && (statbuf.st_size != 0x4000)) {
644 struct stat statbuf; local
868 struct stat statbuf; local
889 stat(crypto_blkdev, &statbuf);
    [all...]

Completed in 3873 milliseconds

1 2