/external/chromium_org/base/test/ |
H A D | test_file_util_posix.cc | 28 struct stat stat_buf; local 29 if (stat(path.value().c_str(), &stat_buf) != 0) 31 stat_buf.st_mode &= ~permission; 33 int rv = HANDLE_EINTR(chmod(path.value().c_str(), stat_buf.st_mode)); 44 struct stat stat_buf; local 45 if (stat(path.value().c_str(), &stat_buf) != 0) 50 *mode = stat_buf.st_mode & ~S_IFMT; // Filter out file/path kind.
|
/external/valgrind/main/coregrind/ |
H A D | m_commandline.c | 60 struct vg_stat stat_buf; local 68 Int res = VG_(fstat)( sr_Res(fd), &stat_buf ); 70 if (!res && stat_buf.uid == VG_(geteuid)() 71 && (!(stat_buf.mode & VKI_S_IWOTH))) { 72 if ( stat_buf.size > 0 ) { 73 f_clo = VG_(malloc)("commandline.rdv.1", stat_buf.size+1); 75 n = VG_(read)(sr_Res(fd), f_clo, stat_buf.size); 77 vg_assert(n >= 0 && n <= stat_buf.size+1);
|
H A D | fixup_macho_loadcmds.c | 217 struct stat stat_buf; local 219 r = stat(filename, &stat_buf); 222 size = stat_buf.st_size;
|
/external/chromium_org/ppapi/native_client/src/trusted/plugin/ |
H A D | file_utils.cc | 27 struct stat stat_buf; local 28 if (fstat(fd, &stat_buf) != 0) { 35 size_t bytes_to_read = static_cast<size_t>(stat_buf.st_size);
|
H A D | plugin.cc | 879 struct stat stat_buf; local 880 if (0 != fstat(file_desc_ok_to_close, &stat_buf)) { 886 size_t nexe_bytes_read = static_cast<size_t>(stat_buf.st_size);
|
/external/oprofile/libdb/ |
H A D | db_manage.c | 178 struct stat stat_buf; local 209 if (fstat(data->fd, &stat_buf)) { 214 if (stat_buf.st_size == 0) { 231 nr_node = (stat_buf.st_size - data->offset_node) / 245 if (stat_buf.st_size == 0) {
|
/external/chromium/chrome/browser/chromeos/ |
H A D | external_metrics.cc | 111 struct stat stat_buf; local 116 result = stat(event_file_path, &stat_buf); 124 if (stat_buf.st_size == 0) {
|
/external/chromium_org/chrome/browser/chromeos/ |
H A D | external_metrics.cc | 286 struct stat stat_buf; local 291 result = stat(event_file_path, &stat_buf); 299 if (stat_buf.st_size == 0) {
|
/external/chromium/base/ |
H A D | file_util.h | 575 struct stat stat_buf; local 576 if (stat(path.value().c_str(), &stat_buf) != 0) 578 stat_buf.st_mode &= ~(S_IRUSR | S_IRGRP | S_IROTH); 580 return chmod(path.value().c_str(), stat_buf.st_mode) == 0;
|
/external/chromium/base/files/ |
H A D | file_path_watcher_browsertest.cc | 499 struct stat stat_buf; local 501 if (stat(path.value().c_str(), &stat_buf) != 0) 520 stat_buf.st_mode |= mode; 522 stat_buf.st_mode &= ~mode; 524 return chmod(path.value().c_str(), stat_buf.st_mode) == 0;
|
/external/chromium_org/content/common/ |
H A D | plugin_list_posix.cc | 170 struct stat stat_buf; local 175 bool ret = (fstat(fd, &stat_buf) >= 0 && S_ISREG(stat_buf.st_mode));
|
/external/chromium_org/base/files/ |
H A D | file_path_watcher_browsertest.cc | 786 struct stat stat_buf; local 788 if (stat(path.value().c_str(), &stat_buf) != 0) 807 stat_buf.st_mode |= mode; 809 stat_buf.st_mode &= ~mode; 811 return chmod(path.value().c_str(), stat_buf.st_mode) == 0;
|
/external/chromium_org/v8/src/ |
H A D | d8-posix.cc | 570 struct stat stat_buf; local 571 int stat_result = stat(directory, &stat_buf); 576 if ((stat_buf.st_mode & S_IFDIR) != 0) return true;
|
/external/v8/src/ |
H A D | d8-posix.cc | 559 struct stat stat_buf; local 560 int stat_result = stat(directory, &stat_buf); 565 if ((stat_buf.st_mode & S_IFDIR) != 0) return true;
|
/external/qemu/block/ |
H A D | raw-posix.c | 970 struct stat stat_buf; local 985 if (fstat(fd, &stat_buf) < 0) 987 else if (!S_ISBLK(stat_buf.st_mode) && !S_ISCHR(stat_buf.st_mode))
|
/external/chromium_org/base/ |
H A D | file_util_posix.cc | 402 stat_wrapper_t stat_buf; local 403 if (CallStat(path.value().c_str(), &stat_buf) != 0) 407 mode_t updated_mode_bits = stat_buf.st_mode & ~FILE_PERMISSION_MASK;
|
H A D | file_util_unittest.cc | 2039 struct stat stat_buf; variable in typeref:struct:__anon3722::VerifyPathControlledByUserTest::stat 2040 ASSERT_EQ(0, stat(base_dir_.value().c_str(), &stat_buf)); 2041 uid_ = stat_buf.st_uid; 2042 ok_gids_.insert(stat_buf.st_gid); 2043 bad_gids_.insert(stat_buf.st_gid + 1);
|
/external/valgrind/main/coregrind/m_debuginfo/ |
H A D | readmacho.c | 166 struct vg_stat stat_buf; local 168 fd = VG_(stat)(filename, &stat_buf); 173 size = stat_buf.size;
|
H A D | readelf.c | 1065 struct vg_stat stat_buf; local 1072 if (VG_(fstat)(sr_Res(fd), &stat_buf) != 0) { 1080 *size = stat_buf.size; 1172 struct vg_stat stat_buf; 1173 if (VG_(fstat)(sr_Res(fd), &stat_buf) != 0) { 1178 *n_dimage = stat_buf.size;
|
H A D | readpdb.c | 2453 struct vg_stat stat_buf; local 2454 VG_(memset)(&stat_buf, 0, sizeof(stat_buf)); 2456 SysRes sr = VG_(stat)(tmpname, &stat_buf); 2462 Int szB = (Int)stat_buf.size;
|
H A D | debuginfo.c | 1044 struct vg_stat stat_buf; local 1057 r = VG_(fstat)(fd_obj, &stat_buf); 1061 obj_mtime = stat_buf.mtime; 1161 sres = VG_(stat)(pdbname, &stat_buf); 1169 pdb_mtime = stat_buf.mtime; 1200 n_pdbimage = stat_buf.size;
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | udatatst.c | 141 struct stat stat_buf; local 172 if (stat(icuDataFilePath, &stat_buf) == 0) 216 if (stat(icuDataFilePath, &stat_buf) == 0)
|
/external/icu4c/test/cintltst/ |
H A D | udatatst.c | 142 struct stat stat_buf; local 173 if (stat(icuDataFilePath, &stat_buf) == 0) 217 if (stat(icuDataFilePath, &stat_buf) == 0)
|
/external/ppp/pppd/ |
H A D | sys-linux.c | 2814 struct stat stat_buf; 2817 || lstat(path, &stat_buf) < 0) { 2813 struct stat stat_buf; local
|
/external/libvpx/libvpx/ |
H A D | vpxenc.c | 200 struct stat stat_buf; local 205 fstat(fd, &stat_buf); 206 stats->buf.sz = stat_buf.st_size;
|