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

1 2

  /external/eigen/bench/spbench/
spbenchsolver.cpp 44 std::ofstream statbuf; local
51 statbuf.open(statFile.c_str(), std::ios::out);
52 if(statbuf.good()){
54 printStatheader(statbuf);
55 statbuf.close();
81 statbuf.open(statFile.c_str(), std::ios::app);
82 statbuf << "</TABLE> \n";
84 statbuf.close();
spbenchsolver.h 514 std::ofstream statbuf(statFile.c_str(), std::ios::app);
515 statbuf << "<TR><TH rowspan=\"4\">" << it.matname() << " <TD rowspan=\"4\"> "
517 statbuf.close();
  /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/bison/lib/
open.c 131 struct stat statbuf; local
132 if (stat (filename, &statbuf) == 0 && S_ISDIR (statbuf.st_mode))
163 struct stat statbuf; local
165 if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode))
fopen.c 77 struct stat statbuf; local
90 if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode))
  /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...]
strace.c 510 struct stat statbuf; local
531 else if (stat(filename, &statbuf) == 0)
559 if (stat(pathname, &statbuf) == 0 &&
563 S_ISREG(statbuf.st_mode) &&
564 (statbuf.st_mode & 0111))
568 if (stat(pathname, &statbuf) < 0) {
614 if (statbuf.st_mode & S_ISUID)
615 run_euid = statbuf.st_uid;
616 if (statbuf.st_mode & S_ISGID)
617 run_egid = statbuf.st_gid
    [all...]
  /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,
  /system/extras/tests/storage/
opentest.c 32 struct stat statbuf; local
49 if (stat(dir, &statbuf)) {
54 if (! S_ISDIR(statbuf.st_mode)) {
wipe_blkdev.c 85 struct stat statbuf; local
109 if (fstat(fd, &statbuf) < 0) {
114 if (!S_ISBLK(statbuf.st_mode)) {
  /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 915 struct stat statbuf; local
921 if (stat(res->name, &statbuf) == -1)
930 if (statbuf.st_mtime != res->mtime)
932 res->mtime = statbuf.st_mtime;
933 if (difftime(statbuf.st_mtime, last_change) > 0.0)
935 last_change = statbuf.st_mtime;
    [all...]
  /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...]
  /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;
  /system/vold/
cryptfs.c 141 struct stat statbuf; local
213 fstat(fd, &statbuf);
215 if (S_ISREG(statbuf.st_mode) && (key_loc[0] == '/')) {
240 struct stat statbuf; local
274 fstat(fd, &statbuf);
275 if (S_ISREG(statbuf.st_mode) && (statbuf.st_size != 0x4000)) {
714 struct stat statbuf; local
945 struct stat statbuf; local
966 stat(crypto_blkdev, &statbuf);
    [all...]
  /external/llvm/lib/Support/
raw_ostream.cpp 598 struct stat statbuf; local
599 if (fstat(FD, &statbuf) != 0)
605 if (S_ISCHR(statbuf.st_mode) && isatty(FD))
608 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/native/cmds/installd/
commands.c 747 struct stat* statbuf)
752 if (lstat(path, statbuf) < 0) {
768 int dstuid, int dstgid, struct stat* statbuf)
777 if (lstat(srcpath, statbuf) < 0) {
782 if ((statbuf->st_mode&S_IFDIR) == 0) {
784 dstuid, dstgid, statbuf);
830 if (movefileordir(srcpath, dstpath, dstbasepos, dstuid, dstgid, statbuf) != 0) {
    [all...]
  /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
  /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...]

Completed in 1300 milliseconds

1 2