/external/f2fs-tools/mkfs/ |
f2fs_format_utils.c | 33 struct stat stat_buf; local 41 if (fstat(config.fd, &stat_buf) < 0 ) { 48 if (S_ISREG(stat_buf.st_mode)) { 56 } else if (S_ISBLK(stat_buf.st_mode)) {
|
/cts/tests/tests/security/jni/ |
android_security_cts_MMapExecutableTest.cpp | 48 struct stat stat_buf; local 49 if (fstat(fd, &stat_buf) == -1) { 54 if (stat_buf.st_size < kOffset) { 60 mmap(NULL, stat_buf.st_size - kOffset, 67 if (munmap(mem, stat_buf.st_size - kOffset) == -1) {
|
/external/valgrind/coregrind/ |
m_commandline.c | 60 struct vg_stat stat_buf; local 71 Int res = VG_(fstat)( sr_Res(fd), &stat_buf ); 73 if (!res && stat_buf.uid == VG_(geteuid)() 74 && (!(stat_buf.mode & VKI_S_IWOTH))) { 75 if ( stat_buf.size > 0 ) { 76 f_clo = VG_(malloc)("commandline.rdv.1", stat_buf.size+1); 77 n = VG_(read)(sr_Res(fd), f_clo, stat_buf.size); 79 vg_assert(n >= 0 && n <= stat_buf.size+1);
|
fixup_macho_loadcmds.c | 242 struct stat stat_buf; local 244 r = stat(filename, &stat_buf); 247 size = stat_buf.st_size;
|
/external/v8/src/base/ |
sys-info.cc | 88 struct stat stat_buf; 89 if (stat("/proc", &stat_buf) != 0) { 93 return static_cast<int64_t>(stat_buf.st_size);
|
/external/libvpx/libvpx/ |
vpxstats.c | 30 struct stat stat_buf; local 35 fstat(fd, &stat_buf); 36 stats->buf.sz = stat_buf.st_size;
|
/external/vboot_reference/futility/ |
dump_kernel_config_lib.c | 148 struct stat stat_buf; local 149 if (fstat(fd, &stat_buf)) { 154 int is_mtd = (major(stat_buf.st_rdev) == MTD_CHAR_MAJOR);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
vpxstats.c | 30 struct stat stat_buf; local 35 fstat(fd, &stat_buf); 36 stats->buf.sz = stat_buf.st_size;
|
/external/libvncserver/libvncserver/tightvnc-filetransfer/ |
filetransfermsg.c | 126 struct stat stat_buf; local 139 if(stat(fullpath, &stat_buf) < 0) { 145 if(S_ISDIR(stat_buf.st_mode)) { 155 stat_buf.st_size, 156 stat_buf.st_mtime) == 0) { 333 struct stat stat_buf; local 340 (stat(path, &stat_buf) < 0) || (!(S_ISREG(stat_buf.st_mode))) ) { 351 rtcp->rcft.rcfd.mTime = stat_buf.st_mtime; 352 sz_rfbFileSize = stat_buf.st_size [all...] |
handlefiletransferrequest.c | 100 struct stat stat_buf; local 111 if(stat(path, &stat_buf) < 0) { 117 if(S_ISDIR(stat_buf.st_mode) == 0) {
|
/external/f2fs-tools/lib/ |
libf2fs.c | 439 struct stat stat_buf; local 454 if (fstat(fd, &stat_buf) < 0 ) { 459 if (S_ISREG(stat_buf.st_mode)) { 460 c->total_sectors = stat_buf.st_size / c->sector_size; 461 } else if (S_ISBLK(stat_buf.st_mode)) {
|
/system/core/libziparchive/ |
zip_archive_test.cc | 419 struct stat stat_buf; local 420 ASSERT_EQ(0, fstat(output_fd, &stat_buf)); 421 ASSERT_EQ(0, stat_buf.st_size); 454 struct stat stat_buf; local 455 ASSERT_EQ(0, fstat(output_fd, &stat_buf)); 456 ASSERT_EQ(kAbUncompressedSize, static_cast<size_t>(stat_buf.st_size));
|
/external/icu/icu4c/source/tools/toolutil/ |
toolutil.cpp | 211 struct stat stat_buf; local 212 if (stat(file, &stat_buf) == 0) {
|
/external/valgrind/coregrind/m_gdbserver/ |
target.c | 589 struct vg_stat stat_buf; local 599 ret = VG_(fstat)( fd, &stat_buf ); 609 os = malloc (stat_buf.size+1); 611 ret = VG_(read)(fd, os, stat_buf.size); 612 vg_assert(ret == stat_buf.size);
|
/external/lldb/source/Commands/ |
CommandCompletions.cpp | 279 struct stat stat_buf; local 280 if ((stat(partial_name_copy, &stat_buf) == 0) && S_ISDIR(stat_buf.st_mode))
|
/external/skia/experimental/PdfViewer/pdfparser/native/ |
SkPdfNativeDoc.cpp | 30 struct stat stat_buf; local 31 int rc = stat(filename, &stat_buf); 32 return rc == 0 ? (long)stat_buf.st_size : -1;
|
/external/v8/src/ |
d8-posix.cc | 575 struct stat stat_buf; local 576 int stat_result = stat(directory, &stat_buf); 581 if ((stat_buf.st_mode & S_IFDIR) != 0) return true;
|
/external/valgrind/auxprogs/ |
valgrind-di-server.c | 773 struct stat stat_buf; local 774 int r = fstat(fd, &stat_buf); 779 if (ok && stat_buf.st_size == 0) { 785 conn_state[conn_no].file_size = stat_buf.st_size; [all...] |
/external/valgrind/coregrind/m_debuginfo/ |
image.c | 612 struct vg_stat stat_buf; local 619 if (VG_(fstat)(sr_Res(fd), &stat_buf) != 0) { 624 size = stat_buf.size; [all...] |
readpdb.c | 2527 struct vg_stat stat_buf; local [all...] |
debuginfo.c | 1213 struct vg_stat stat_buf; local [all...] |
/external/ppp/pppd/ |
sys-linux.c | 2879 struct stat stat_buf; local [all...] |