/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/ |
fopen.c | 77 struct stat statbuf; local 90 if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode))
|
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))
|
/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;
|
/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)) {
|
/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();
|
/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;
|
/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/strace/ |
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...] |
/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);
|
cisco-core.c | 96 struct stat statbuf; 127 if (bfd_stat (abfd, &statbuf) < 0) 250 asect->size = statbuf.st_size; 276 nread = statbuf.st_size - asect->filepos; 94 struct stat statbuf; local
|
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)
|
sco5-core.c | 118 struct stat statbuf; local 120 if (bfd_stat (abfd, &statbuf) < 0) 123 coresize = 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)
|
/external/libunwind/src/coredump/ |
_UCD_create.c | 332 struct stat statbuf; local 333 if (fstat(fd, &statbuf) != 0) 338 phdr->backing_filesize = (uoff_t)statbuf.st_size;
|
/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))
|
/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,
|
/libcore/ojluni/src/main/native/ |
java_props_md.c | 339 struct stat statbuf; local 349 if (stat(buf, &statbuf) == -1 && errno == ENOENT) {
|
/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),
|
/system/update_engine/ |
hardware_chromeos.cc | 82 struct stat statbuf; local 83 if (stat(kOOBECompletedMarker, &statbuf) != 0) { 92 *out_time_of_oobe = base::Time::FromTimeT(statbuf.st_mtime);
|
/external/curl/lib/ |
file.c | 428 struct_stat statbuf; /* struct_stat instead of struct stat just to allow the local 456 if(-1 != fstat(fd, &statbuf)) { 458 expected_size = statbuf.st_size; 460 data->info.filetime = (long)statbuf.st_mtime; 489 filetime = (time_t)statbuf.st_mtime; 522 data->state.resume_from += (curl_off_t)statbuf.st_size;
|