Searched refs:statbuf (Results 1 - 25 of 26) sorted by relevance

12

/external/eigen/bench/spbench/
H A Dspbenchsolver.cpp44 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();
H A Dspbenchsolver.h514 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/
H A Dhold_inode.c23 struct stat statbuf; local
31 if (stat(filename, &statbuf) < 0) {
35 if (S_ISDIR(statbuf.st_mode)) {
/external/strace/
H A Dfile.c836 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
880 struct stat_sparc64 statbuf; local
951 struct stat_powerpc32 statbuf; local
1038 realprintstat(struct tcb *tcp, struct stat *statbuf) argument
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...]
H A Dstrace.c513 struct stat statbuf; local
534 else if (stat(filename, &statbuf) == 0)
562 if (stat(pathname, &statbuf) == 0 &&
566 S_ISREG(statbuf.st_mode) &&
567 (statbuf.st_mode & 0111))
571 if (stat(pathname, &statbuf) < 0) {
617 if (statbuf.st_mode & S_ISUID)
618 run_euid = statbuf.st_uid;
619 if (statbuf.st_mode & S_ISGID)
620 run_egid = statbuf
[all...]
/external/dbus/dbus/
H A Ddbus-sysdeps-util-win.c332 * @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
337 _dbus_stat(const DBusString *filename, DBusStat *statbuf, DBusError *error) argument
[all...]
H A Ddbus-sysdeps-util-unix.c523 * @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
528 _dbus_stat(const DBusString *filename, DBusStat *statbuf, DBusError *error) argument
[all...]
H A Ddbus-sysdeps.h394 DBusStat *statbuf,
/external/chromium/chrome/browser/
H A Dprocess_singleton_linux_uitest.cc43 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/
H A Dtftp.c242 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
[all...]
H A Ddnsmasq.c909 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;
H A Doption.c2542 struct stat statbuf; local
2545 if (hard_opt == 0 && stat(file, &statbuf) == 0)
2550 if (r->dev == statbuf.st_dev && r->ino == statbuf.st_ino)
2556 r->dev = statbuf.st_dev;
2557 r->ino = statbuf.st_ino;
/external/srec/srec/clib/
H A Dvoc_read.c273 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/ppp/pppd/
H A Dtty.c294 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
518 struct stat statbuf; local
[all...]
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3filestream.c420 struct _stat statbuf; local
422 _stat((const char *)fileName, &statbuf);
424 return (ANTLR3_UINT32)statbuf.st_size;
/external/llvm/lib/Support/
H A Draw_ostream.cpp592 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/
H A Dbsd-cray.c723 struct stat statbuf; local
728 if (stat(jtmp, &statbuf) == 0 && statbuf.st_uid == uid)
/external/libusb/libusb/os/
H A Dlinux_usbfs.c234 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)) {
/external/clang/lib/Frontend/
H A DCacheTokens.cpp66 PTHEntryKeyVariant(struct stat* statbuf, const char* path) argument
67 : Path(path), Kind(IsDE), StatBuf(new struct stat(*statbuf)) {}
/external/libpcap/
H A Dpcap-dlpi.c1620 struct stat statbuf; local
1750 if (stat(dname, &statbuf) < 0) {
1755 majdev = major(statbuf.st_rdev);
/external/e2fsprogs/debugfs/
H A Ddebugfs.c1551 struct stat statbuf; local
1565 if (fstat(fd, &statbuf) < 0) {
1606 inode.i_mode = (statbuf.st_mode & ~LINUX_S_IFMT) | LINUX_S_IFREG;
1610 inode.i_size = statbuf.st_size;
/external/e2fsprogs/misc/
H A Dmke2fs.c1145 struct stat statbuf; local
1148 if (!stat(file, &statbuf) && S_ISREG(statbuf.st_mode))
/external/netperf/
H A Dnetlib.c1542 struct stat statbuf;
1619 if (stat(fill_file,&statbuf) != 0) {
1623 if (statbuf.st_size < (width * buffer_size)) {
1527 struct stat statbuf; local
/external/valgrind/main/coregrind/m_debuginfo/
H A Ddebuginfo.c685 struct vg_stat statbuf; local
718 statres = VG_(stat)(filename, &statbuf);
722 vg_assert(sr_isError(statres) || ! VKI_S_ISLNK(statbuf.mode));
742 if (! VKI_S_ISREG(statbuf.mode))
745 /* no uses of statbuf below here. */
/external/sqlite/dist/orig/
H A Dsqlite3.c26192 struct stat statbuf; /* Low-level file information */ local
26201 rc = osFstat(fd, &statbuf);
26221 if( statbuf.st_size==0 && (pFile->fsFlags & SQLITE_FSFLAGS_IS_MSDOS)!=0 ){
26227 rc = osFstat(fd, &statbuf);
26236 fileId.dev = statbuf.st_dev;
26240 fileId.ino = statbuf.st_ino;
[all...]

Completed in 3368 milliseconds

12