/external/strace/ |
printstat.h | 52 DO_PRINTSTAT(struct tcb *tcp, const STRUCT_STAT *statbuf) 56 (unsigned int) STAT_MAJOR(statbuf->st_dev), 57 (unsigned int) STAT_MINOR(statbuf->st_dev), 58 (unsigned long long) statbuf->st_ino, 59 sprintmode(statbuf->st_mode)); 61 (unsigned int) statbuf->st_nlink, 62 (unsigned int) statbuf->st_uid, 63 (unsigned int) statbuf->st_gid); 65 tprintf("st_blksize=%u, ", (unsigned int) statbuf->st_blksize); 69 (unsigned long long) statbuf->st_blocks) [all...] |
statfs.c | 58 struct statfs statbuf; local 60 if (umove_or_printaddr(tcp, addr, &statbuf)) 63 sprintfstype(statbuf.f_type), 64 (unsigned long)statbuf.f_bsize, 65 (unsigned long)statbuf.f_blocks, 66 (unsigned long)statbuf.f_bfree); 68 (unsigned long)statbuf.f_bavail, 69 (unsigned long)statbuf.f_files, 70 (unsigned long)statbuf.f_ffree, 71 statbuf.f_fsid.__val[0], statbuf.f_fsid.__val[1]) 108 struct statfs64 statbuf; local 158 struct compat_statfs64 statbuf; local [all...] |
file.c | 222 struct stat statbuf; local 226 struct stat32 statbuf; local 228 if (!umove_or_printaddr(tcp, addr, &statbuf)) 229 do_printstat32(tcp, &statbuf); 236 struct solstat statbuf; local 238 if (!umove_or_printaddr(tcp, addr, &statbuf)) 239 do_printstat_sol(tcp, &statbuf); 244 if (!umove_or_printaddr(tcp, addr, &statbuf)) 245 do_printstat(tcp, &statbuf); 326 struct stat64 statbuf; local 424 struct __old_kernel_stat statbuf; local 429 struct solstat statbuf; local [all...] |
/external/eigen/bench/spbench/ |
spbenchsolver.cpp | 43 std::ofstream statbuf; local 50 statbuf.open(statFile.c_str(), std::ios::out); 51 if(statbuf.good()){ 53 printStatheader(statbuf); 54 statbuf.close(); 78 statbuf.open(statFile.c_str(), std::ios::app); 79 statbuf << "</BENCH> \n"; 81 statbuf.close();
|
spbenchsolver.h | 214 void call_solver(Solver &solver, const int solver_id, const typename Solver::MatrixType& A, const Matrix<Scalar, Dynamic, 1>& b, const Matrix<Scalar, Dynamic, 1>& refX,std::ofstream& statbuf) 233 statbuf << " <TIME>\n"; 234 statbuf << " <COMPUTE> " << timer.value() << "</COMPUTE>\n"; 247 statbuf << " <SOLVE> " << timer.value() << "</SOLVE>\n"; 251 statbuf << " <TOTAL> " << total_time << "</TOTAL>\n"; 253 statbuf << " </TIME>\n"; 265 statbuf << " <ERROR> " << rel_error << "</ERROR>\n"; 281 std::ofstream statbuf(statFile.c_str(), std::ios::app); 282 statbuf << " <SOLVER_STAT ID='" << solver_id <<"'>\n"; 283 call_solver(solver, solver_id, A, b, refX,statbuf); [all...] |
/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/ltrace/ |
execute_program.c | 69 struct stat statbuf; local 73 if (!stat(command, &statbuf)) { 74 if (statbuf.st_mode & S_ISUID) { 75 run_euid = statbuf.st_uid; 77 if (statbuf.st_mode & S_ISGID) { 78 run_egid = statbuf.st_gid;
|
/toolchain/binutils/binutils-2.25/binutils/ |
rename.c | 88 STATBUF. */ 91 set_times (const char *destination, const struct stat *statbuf) 99 tb.actime = statbuf->st_atime; 100 tb.modtime = statbuf->st_mtime; 106 tb[0] = statbuf->st_atime; 107 tb[1] = statbuf->st_mtime; 112 tv[0].tv_sec = statbuf->st_atime; 114 tv[1].tv_sec = statbuf->st_mtime;
|
/external/libchrome/sandbox/linux/suid/ |
process_util_linux.c | 45 struct stat statbuf; local 46 if (fstat(dirfd, &statbuf) < 0) { 50 if (getuid() != statbuf.st_uid) {
|
/frameworks/minikin/app/ |
HyphTool.cpp | 13 struct stat statbuf; local 14 int status = stat(fn, &statbuf); 19 size_t size = 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 | 86 struct stat statbuf; local 110 if (fstat(fd, &statbuf) < 0) { 115 if (!S_ISBLK(statbuf.st_mode)) {
|
/toolchain/binutils/binutils-2.25/bfd/ |
aix5ppc-core.c | 57 struct stat statbuf; local 74 if (bfd_stat (abfd, &statbuf) < 0) 93 || ((CHECK_FILE_OFFSET (statbuf, core.c_fdsinfox))) 94 || ((CHECK_FILE_OFFSET (statbuf, core.c_loader))) 95 || ((CHECK_FILE_OFFSET (statbuf, core.c_loader + core.c_lsize))) 96 || ((CHECK_FILE_OFFSET (statbuf, core.c_thr))) 97 || ((CHECK_FILE_OFFSET (statbuf, core.c_segregion))) 98 || ((CHECK_FILE_OFFSET (statbuf, core.c_stack))) 99 || ((CHECK_FILE_OFFSET (statbuf, core.c_stack + core.c_size))) 100 || ((CHECK_FILE_OFFSET (statbuf, core.c_data)) [all...] |
elfcore.h | 288 struct stat statbuf; local 299 if (bfd_stat (abfd, &statbuf) == 0) 301 if ((bfd_size_type) statbuf.st_size < high) 306 abfd, (unsigned long) high, (unsigned long) statbuf.st_size);
|
hppabsd-core.c | 126 struct stat statbuf; local 128 if (bfd_stat (abfd, &statbuf) < 0) 131 if (NBPG * (UPAGES + u.u_dsize + u.u_ssize) > statbuf.st_size) 136 if (clicksz * (UPAGES + u.u_dsize + u.u_ssize) < statbuf.st_size)
|
trad-core.c | 111 struct stat statbuf; local 113 if (bfd_stat (abfd, &statbuf) < 0) 121 > (ufile_ptr) statbuf.st_size) 133 < (ufile_ptr) statbuf.st_size)
|
/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/boot_control_copy/ |
boot_control_copy.c | 45 struct stat statbuf; local 50 if (fstat(fd, &statbuf) != 0) { 57 *out_device = statbuf.st_rdev; 63 struct stat statbuf; local 66 if (stat("/system", &statbuf) != 0) { 76 if (statbuf.st_dev == system_a_dev) { 78 } else if (statbuf.st_dev == system_b_dev) { 83 major(statbuf.st_dev), minor(statbuf.st_dev),
|
/external/dbus/dbus/ |
dbus-sysdeps-util-win.c | 337 * @param statbuf the stat info to fill in 343 DBusStat *statbuf, 362 statbuf->mode = _S_IFDIR; 364 statbuf->mode = _S_IFREG; 366 statbuf->mode |= _S_IREAD; 368 statbuf->mode |= _S_IWRITE; 372 statbuf->mode |= _S_IEXEC; 374 statbuf->mode |= (statbuf->mode & 0700) >> 3; 375 statbuf->mode |= (statbuf->mode & 0700) >> 6 [all...] |
/system/update_engine/ |
hardware_chromeos.cc | 76 struct stat statbuf; local 77 if (stat(kOOBECompletedMarker, &statbuf) != 0) { 86 *out_time_of_oobe = base::Time::FromTimeT(statbuf.st_mtime);
|
/external/vboot_reference/cgpt/ |
cgpt_find.c | 180 struct stat statbuf; local 188 if (0 != stat(pathname, &statbuf)) 191 if (!S_ISBLK(statbuf.st_mode)) 197 if (0 != lstat(tmpname, &statbuf)) 200 if (!S_ISLNK(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...] |
/external/lz4/programs/ |
bench.c | 222 struct _stat64 statbuf; local 223 r = _stat64(infilename, &statbuf); 225 struct stat statbuf; local 226 r = stat(infilename, &statbuf); 228 if (r || !S_ISREG(statbuf.st_mode)) return 0; /* No good... */ 229 return (U64)statbuf.st_size;
|