/external/valgrind/main/coregrind/ |
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);
|
/external/oprofile/libdb/ |
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) {
|
/build/tools/atree/ |
fs.cpp | 70 struct stat stat_buf; local 71 stat(full.c_str(), &stat_buf); 72 bool is_directory = S_ISDIR(stat_buf.st_mode);
|
files.cpp | 454 struct stat stat_buf; local 455 stat(entry.c_str(), &stat_buf); 456 bool is_directory = S_ISDIR(stat_buf.st_mode);
|
/external/libvpx/build/make/ |
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.st_size) != stat_buf.st_size 987 struct _stat stat_buf; local [all...] |
/external/chromium/base/ |
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/chrome/browser/chromeos/ |
external_metrics.cc | 111 struct stat stat_buf; local 116 result = stat(event_file_path, &stat_buf); 124 if (stat_buf.st_size == 0) {
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
drm_file.c | 134 struct stat stat_buf; local 177 exists = stat(path, &stat_buf); 181 if (stat_buf.st_mode & S_IFDIR) 197 size += stat_buf.st_size;
|
/external/chromium/base/files/ |
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/bluetooth/glib/glib/ |
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, [all...] |
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) [all...] |
/sdk/emulator/qtools/ |
trace_reader.cpp | 315 struct stat stat_buf; local 322 int rval = stat(fname, &stat_buf); 566 struct stat stat_buf; local 574 int rval = stat(fname, &stat_buf); 845 struct stat stat_buf; local 866 int rval = stat(fname, &stat_buf); [all...] |
/external/v8/src/ |
d8-posix.cc | 566 struct stat stat_buf; local 567 int stat_result = stat(directory, &stat_buf); 572 if ((stat_buf.st_mode & S_IFDIR) != 0) return true;
|
/external/dbus/bus/ |
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 [all...] |
/external/qemu/block/ |
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)) [all...] |
/external/valgrind/main/coregrind/m_debuginfo/ |
readmacho.c | 166 struct vg_stat stat_buf; local 168 fd = VG_(stat)(filename, &stat_buf); 173 size = stat_buf.size; [all...] |
readpdb.c | 2491 struct vg_stat stat_buf; local [all...] |
readxcoff.c | 2156 struct vg_stat stat_buf; local [all...] |
debuginfo.c | 983 struct vg_stat stat_buf; local [all...] |
readelf.c | 986 struct vg_stat stat_buf; local [all...] |
/external/icu4c/test/cintltst/ |
udatatst.c | 141 struct stat stat_buf; local 172 if (stat(icuDataFilePath, &stat_buf) == 0) 216 if (stat(icuDataFilePath, &stat_buf) == 0) [all...] |
/external/bluetooth/glib/gio/ |
glocalfileinfo.c | 1689 GLocalFileStat stat_buf; local [all...] |
/external/libvpx/ |
vpxenc.c | 138 struct stat stat_buf; local 143 fstat(fd, &stat_buf); 144 stats->buf.sz = stat_buf.st_size; [all...] |
/external/ppp/pppd/ |
sys-linux.c | 2813 struct stat stat_buf; local [all...] |