/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/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/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/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/libvpx/build/make/ |
H A D | obj_int_extract.c | 232 struct stat stat_buf; local 259 if (fstat(fd, &stat_buf)) 265 file_buf = malloc(stat_buf.st_size); 273 if (read(fd, file_buf, stat_buf.st_size) != stat_buf.st_size) 285 res = parse_macho(file_buf, stat_buf.st_size); 748 struct stat stat_buf; local 780 if (fstat(fd, &stat_buf)) 786 file_buf = malloc(stat_buf.st_size); 794 if (read(fd, file_buf, stat_buf 987 struct _stat stat_buf; local [all...] |
/external/icu4c/test/cintltst/ |
H A D | udatatst.c | 139 struct stat stat_buf; local 170 if (stat(icuDataFilePath, &stat_buf) == 0) 214 if (stat(icuDataFilePath, &stat_buf) == 0)
|
/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/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/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 | 1016 struct vg_stat stat_buf; local 1023 if (VG_(fstat)(sr_Res(fd), &stat_buf) != 0) { 1031 *size = stat_buf.size; 1123 struct vg_stat stat_buf; 1124 if (VG_(fstat)(sr_Res(fd), &stat_buf) != 0) { 1129 *n_dimage = stat_buf.size;
|
H A D | debuginfo.c | 1040 struct vg_stat stat_buf; local 1053 r = VG_(fstat)(fd_obj, &stat_buf); 1057 obj_mtime = stat_buf.mtime; 1157 sres = VG_(stat)(pdbname, &stat_buf); 1165 pdb_mtime = stat_buf.mtime; 1196 n_pdbimage = stat_buf.size;
|
H A D | readpdb.c | 2500 struct vg_stat stat_buf; local 2501 VG_(memset)(&stat_buf, 0, sizeof(stat_buf)); 2503 SysRes sr = VG_(stat)(tmpname, &stat_buf); 2509 Int szB = (Int)stat_buf.size;
|
/external/bluetooth/glib/glib/ |
H A D | gfileutils.c | 599 struct stat *stat_buf, 610 size = stat_buf->st_size; 681 struct stat stat_buf; local 704 if (fstat (fd, &stat_buf) < 0) 720 if (stat_buf.st_size > 0 && S_ISREG (stat_buf.st_mode)) 723 &stat_buf, 598 get_contents_regfile(const gchar *display_filename, struct stat *stat_buf, gint fd, gchar **contents, gsize *length, GError **error) argument
|
H A D | gkeyfile.c | 378 struct stat stat_buf; local 381 if (fstat (fd, &stat_buf) < 0) 389 if (!S_ISREG (stat_buf.st_mode)) 397 if (stat_buf.st_size == 0)
|
/external/dbus/bus/ |
H A D | activation.c | 264 DBusStat stat_buf; local 292 if (!_dbus_stat (&file_path, &stat_buf, NULL)) 447 entry->mtime = stat_buf.mtime; 473 DBusStat stat_buf; local 498 if (!_dbus_stat (&file_path, &stat_buf, NULL)) 512 if (stat_buf.mtime > entry->mtime) 2321 DBusStat stat_buf; local 2323 if (!_dbus_stat (dir, &stat_buf, NULL))
|
/external/bluetooth/glib/gio/ |
H A D | glocalfileinfo.c | 1689 GLocalFileStat stat_buf; local 1699 if (FSTAT (fd, &stat_buf) == -1) 1717 set_info_from_stat (info, &stat_buf, matcher);
|
/external/libvpx/ |
H A D | vpxenc.c | 138 struct stat stat_buf; local 143 fstat(fd, &stat_buf); 144 stats->buf.sz = stat_buf.st_size;
|
/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
|