/cts/tests/tests/os/src/android/os/cts/ |
StatFsTest.java | 27 StatFs stat = new StatFs(path.getPath()); local 29 assertTrue(stat.getBlockSize() > 0); 30 assertTrue(stat.getBlockCount() > 0); 31 assertTrue(stat.getFreeBlocks() >= stat.getAvailableBlocks()); 32 assertTrue(stat.getAvailableBlocks() > 0); 34 assertTrue(stat.getBlockSizeLong() > 0); 35 assertTrue(stat.getBlockCountLong() > 0); 36 assertTrue(stat.getFreeBlocksLong() >= stat.getAvailableBlocksLong()) [all...] |
/system/core/toolbox/ |
exists.c | 2 #include <sys/stat.h> 7 struct stat s; 11 if(stat(argv[1], &s)) {
|
/bionic/libc/bionic/ |
fstatfs.c | 32 int fstatfs(int fd, struct statfs* stat) 34 return __fstatfs64(fd, sizeof(struct statfs), stat);
|
statfs.c | 32 int statfs(const char* path, struct statfs* stat) 34 return __statfs64(path, sizeof(struct statfs), stat);
|
futimens.cpp | 30 #include <sys/stat.h>
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
acl.h | 21 #include <sys/stat.h> 23 int file_has_acl (char const *, struct stat const *);
|
lstat.c | 25 #include <sys/stat.h> 29 orig_lstat (const char *filename, struct stat *buf) 35 #include <sys/stat.h> 49 then use stat() to get more info on the referent of FILE. 51 and return -1. Otherwise, return stat's result. */ 54 rpl_lstat (const char *file, struct stat *sbuf) 67 Call stat() to get info about the link's referent. */ 69 /* If stat fails, then we do the same. */ 70 if (stat (file, sbuf) != 0) 77 /* Here, we know stat succeeded and FILE references a non-directory [all...] |
/ndk/tests/device/stat/jni/ |
Android.mk | 4 LOCAL_MODULE := stat 5 LOCAL_SRC_FILES := stat.c
|
/external/lzma/CPP/Windows/ |
System.cpp | 49 MY_MEMORYSTATUSEX stat;
local 50 stat.dwLength = sizeof(stat);
53 if (!::GlobalMemoryStatusEx(&stat))
55 return MyMin(stat.ullTotalVirtual, stat.ullTotalPhys);
60 if (globalMemoryStatusEx != 0 && globalMemoryStatusEx(&stat))
61 return MyMin(stat.ullTotalVirtual, stat.ullTotalPhys);
64 MEMORYSTATUS stat;
[all...] |
/bionic/libc/arch-mips/syscalls/ |
stat.S | 4 .globl stat 6 .ent stat 8 stat: label 22 .end stat
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
lstat.c | 15 int __lxstat(int ver, const char* pathname, struct stat* buf) {
|
/external/clang/test/CodeGenCXX/ |
debug-info-global-ctor-dtor.cpp | 16 static A stat; local
|
/external/clang/test/Index/ |
print-bitwidth.c | 13 union S stat; member in struct:X 25 // CHECK-NOT: stat
|
/external/chromium_org/native_client_sdk/src/libraries/xray/ |
demangle.c | 19 int stat; local 20 __cxa_demangle(symbol, demangle, &size, &stat); 21 if (stat == 0)
|
/external/chromium_org/tools/gyp/test/copies/ |
gyptest-attribs.py | 14 import stat namespace 21 in_stat = os.stat(os.path.join('src', path)) 22 out_stat = os.stat(out_path) 23 if out_stat.st_mode & stat.S_IXUSR != expected_exec_bit: 39 check_attribs('executable-file.sh', expected_exec_bit=stat.S_IXUSR)
|
/external/bison/lib/ |
fstat.c | 17 /* If the user's config.h happens to include <sys/stat.h>, let it include only 18 the system's <sys/stat.h> here, so that orig_fstat doesn't recurse to 25 #include <sys/stat.h> 27 # undef stat /* avoid warning on mingw64 with _FILE_OFFSET_BITS=64 */ macro 28 # define stat _stati64 macro 35 orig_fstat (int fd, struct stat *buf) 41 /* Write "sys/stat.h" here, not <sys/stat.h>, otherwise OSF/1 5.1 DTK cc 42 eliminates this include because of the preliminary #include <sys/stat.h> 44 #include "sys/stat.h [all...] |
/external/harfbuzz_ng/src/ |
check-includes.sh | 7 stat=0 25 grep . >&2 && stat=1 35 grep . >&2 && stat=1 39 grep '#.*\<include\>.*<.*hb' $HBHEADERS $HBSOURCES >&2 && stat=1 42 exit $stat
|
check-libstdc++.sh | 7 stat=0 24 stat=1 34 exit $stat
|
/external/eigen/bench/spbench/ |
spbenchsolver.h | 128 Stats stat; local 136 stat.info = NumericalIssue; 138 return stat; 141 stat.compute_time = timer.value(); 148 stat.info = NumericalIssue; 150 return stat; 154 stat.solve_time = timer.value(); 155 stat.total_time = stat.solve_time + stat.compute_time 182 Stats stat; local 190 Stats stat; local 493 Stats stat[EIGEN_ALL_SOLVERS]; local [all...] |
/development/ndk/sources/android/libportable/arch-x86/ |
stat.c | 20 /* Note: The Portable Header will define stat to stat_portable */ 21 int WRAP(stat)(const char *path, struct stat_portable *s) function 23 struct stat x86_stat; 24 int ret = REAL(stat)(path, &x86_stat); 31 struct stat x86_stat; 39 struct stat x86_stat; 47 struct stat x86_stat;
|
/bionic/libc/include/ |
ftw.h | 29 #include <sys/stat.h> 39 #define FTW_NS 4 /* Unknown type; stat() failed. */ 57 int ftw(const char *, int (*)(const char *, const struct stat *, int), int); 58 int nftw(const char *, int (*)(const char *, const struct stat *, int,
|
/external/openssh/ |
sftp-common.h | 45 void stat_to_attrib(const struct stat *, Attrib *); 46 void attrib_to_stat(const Attrib *, struct stat *); 49 char *ls_file(const char *, const struct stat *, int, int);
|
/dalvik/vm/arch/generic/ |
Hints.cpp | 26 #include <sys/stat.h>
|
/frameworks/native/include/diskusage/ |
dirsize.h | 25 int64_t stat_size(struct stat *s);
|
/sdk/emulator/opengl/tests/ut_renderer/ |
ReadBuffer.cpp | 41 int stat = m_stream->recv(m_buf + m_validData, m_size - m_validData); local 42 if (stat > 0) { 43 m_validData += (size_t) stat; 45 return stat;
|