/bionic/tests/headers/posix/ |
sys_statvfs_h.c | 29 #include <sys/statvfs.h> 34 TYPE(struct statvfs); 35 STRUCT_MEMBER(struct statvfs, unsigned long, f_bsize); 36 STRUCT_MEMBER(struct statvfs, unsigned long, f_frsize); 37 STRUCT_MEMBER(struct statvfs, fsblkcnt_t, f_blocks); 38 STRUCT_MEMBER(struct statvfs, fsblkcnt_t, f_bfree); 39 STRUCT_MEMBER(struct statvfs, fsblkcnt_t, f_bavail); 40 STRUCT_MEMBER(struct statvfs, fsfilcnt_t, f_files); 41 STRUCT_MEMBER(struct statvfs, fsfilcnt_t, f_ffree); 42 STRUCT_MEMBER(struct statvfs, fsfilcnt_t, f_favail) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
statvfs.py | 1 """Constants for interpreting the results of os.statvfs() and os.fstatvfs()."""
3 warnpy3k("the statvfs module has been removed in Python 3.0", stacklevel=2)
6 # Indices for statvfs struct members in the tuple returned by
7 # os.statvfs() and os.fstatvfs().
17 F_FLAG = 8 # Flags (see your local statvfs man page)
|
/external/python/cpython2/Lib/ |
statvfs.py | 1 """Constants for interpreting the results of os.statvfs() and os.fstatvfs().""" 3 warnpy3k("the statvfs module has been removed in Python 3.0", stacklevel=2) 6 # Indices for statvfs struct members in the tuple returned by 7 # os.statvfs() and os.fstatvfs(). 17 F_FLAG = 8 # Flags (see your local statvfs man page)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
statvfs.py | 1 """Constants for interpreting the results of os.statvfs() and os.fstatvfs().""" 3 warnpy3k("the statvfs module has been removed in Python 3.0", stacklevel=2) 6 # Indices for statvfs struct members in the tuple returned by 7 # os.statvfs() and os.fstatvfs(). 17 F_FLAG = 8 # Flags (see your local statvfs man page)
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
statvfs.py | 1 """Constants for interpreting the results of os.statvfs() and os.fstatvfs().""" 3 warnpy3k("the statvfs module has been removed in Python 3.0", stacklevel=2) 6 # Indices for statvfs struct members in the tuple returned by 7 # os.statvfs() and os.fstatvfs(). 17 F_FLAG = 8 # Flags (see your local statvfs man page)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
statvfs.py | 1 """Constants for interpreting the results of os.statvfs() and os.fstatvfs().""" 3 warnpy3k("the statvfs module has been removed in Python 3.0", stacklevel=2) 6 # Indices for statvfs struct members in the tuple returned by 7 # os.statvfs() and os.fstatvfs(). 17 F_FLAG = 8 # Flags (see your local statvfs man page)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
statvfs.py | 1 """Constants for interpreting the results of os.statvfs() and os.fstatvfs().""" 3 warnpy3k("the statvfs module has been removed in Python 3.0", stacklevel=2) 6 # Indices for statvfs struct members in the tuple returned by 7 # os.statvfs() and os.fstatvfs(). 17 F_FLAG = 8 # Flags (see your local statvfs man page)
|
/external/python/cpython2/Doc/library/ |
statvfs.rst | 1 :mod:`statvfs` --- Constants used with :func:`os.statvfs` 4 .. module:: statvfs 5 :synopsis: Constants for interpreting the result of os.statvfs(). 9 The :mod:`statvfs` module has been removed in Python 3. 15 The :mod:`statvfs` module defines constants so interpreting the result if 16 :func:`os.statvfs`, which returns a tuple, can be made without remembering 18 the entry in the tuple returned by :func:`os.statvfs` that contains the 64 Flags. System dependent: see :c:func:`statvfs` man page.
|
filesys.rst | 19 statvfs.rst
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/ |
statvfs.h | 26 #include <bits/statvfs.h> 52 extern int statvfs (__const char *__restrict __file, 53 struct statvfs *__restrict __buf) 57 extern int __REDIRECT_NTH (statvfs, 59 struct statvfs *__restrict __buf), statvfs64) 62 # define statvfs statvfs64 74 extern int fstatvfs (int __fildes, struct statvfs *__buf) 78 extern int __REDIRECT_NTH (fstatvfs, (int __fildes, struct statvfs *__buf), 91 #endif /* sys/statvfs.h */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/ |
statvfs.h | 26 #include <bits/statvfs.h> 52 extern int statvfs (__const char *__restrict __file, 53 struct statvfs *__restrict __buf) 57 extern int __REDIRECT_NTH (statvfs, 59 struct statvfs *__restrict __buf), statvfs64) 62 # define statvfs statvfs64 74 extern int fstatvfs (int __fildes, struct statvfs *__buf) 78 extern int __REDIRECT_NTH (fstatvfs, (int __fildes, struct statvfs *__buf), 91 #endif /* sys/statvfs.h */
|
/bionic/libc/include/sys/ |
statvfs.h | 46 struct statvfs { __STATVFS64_BODY }; struct 62 int statvfs(const char* __path, struct statvfs* __buf) __INTRODUCED_IN(19); 64 int fstatvfs(int __fd, struct statvfs* __buf) __INTRODUCED_IN(19);
|
/external/ltp/testcases/kernel/syscalls/statvfs/ |
statvfs02.c | 30 #include <sys/statvfs.h> 41 static struct statvfs buf; 48 struct statvfs *buf; 100 TEST(statvfs(test->path, test->buf)); 103 tst_resm(TFAIL, "statvfs() succeeded unexpectedly"); 108 tst_resm(TPASS | TTERRNO, "statvfs() failed as expected"); 111 "statvfs() failed unexpectedly; expected: %d - %s",
|
statvfs01.c | 20 * This is a Phase I test for the statvfs(2) system call. 28 #include <sys/statvfs.h> 43 struct statvfs buf; 54 TEST(statvfs(TEST_PATH, &buf)); 57 tst_resm(TFAIL | TERRNO, "statvfs(%s, ...) failed", 60 tst_resm(TPASS, "statvfs(%s, ...) passed", TEST_PATH);
|
/bionic/tests/ |
sys_statvfs_test.cpp | 19 #include <sys/statvfs.h> 40 TEST(sys_statvfs, statvfs) { 41 struct statvfs sb; 42 ASSERT_EQ(0, statvfs("/proc", &sb)); 53 struct statvfs sb;
|
/external/fio/os/ |
os-netbsd.h | 9 #include <sys/statvfs.h> 78 struct statvfs s; 80 if (statvfs(path, &s) < 0)
|
os-freebsd.h | 13 #include <sys/statvfs.h> 109 struct statvfs s; 111 if (statvfs(path, &s) < 0)
|
os-openbsd.h | 8 #include <sys/statvfs.h> 78 struct statvfs s; 80 if (statvfs(path, &s) < 0)
|
/external/toybox/toys/posix/ |
df.c | 117 if (!(toys.optflags & FLAG_a) && !mt->statvfs.f_blocks) return; 122 size = mt->statvfs.f_files; 123 used = mt->statvfs.f_files - mt->statvfs.f_ffree; 124 avail = getuid() ? mt->statvfs.f_favail : mt->statvfs.f_ffree; 126 block = mt->statvfs.f_bsize ? mt->statvfs.f_bsize : 1; 127 size = (block * mt->statvfs.f_blocks) / TT.units; 128 used = (block * (mt->statvfs.f_blocks-mt->statvfs.f_bfree)) / TT.units [all...] |
/bionic/libc/bionic/ |
statvfs.cpp | 17 #include <sys/statvfs.h> 37 static void __statfs_to_statvfs(const struct statfs& in, struct statvfs* out) { 71 int statvfs(const char* path, struct statvfs* result) { function 80 __strong_alias(statvfs64, statvfs); 82 int fstatvfs(int fd, struct statvfs* result) {
|
/frameworks/base/core/java/android/os/ |
StatFs.java | 25 * wrapper for Unix statvfs(). 49 return Os.statvfs(path); 76 * the Unix {@code statvfs.f_frsize} field. 92 * Unix {@code statvfs.f_blocks} field. 109 * corresponds to the Unix {@code statvfs.f_bfree} field. Most applications 135 * applications. This corresponds to the Unix {@code statvfs.f_bavail} field.
|
/external/clang/test/CodeGenCXX/ |
redefine_extname.cpp | 7 #pragma redefine_extname statvfs64 statvfs 16 // CHECK: call i32 @statvfs(%struct.statvfs64* %st)
|
/external/fio/lib/ |
mountcheck.c | 58 #include <sys/statvfs.h> 62 struct statvfs *st;
|
/external/elfutils/tests/ |
lfs-symbols | 70 statvfs
|
/external/libchrome/base/ |
sys_info_posix.cc | 26 #define statvfs statfs // Android uses a statvfs-like statfs struct and call. macro 28 #include <sys/statvfs.h> 104 struct statvfs stats; 105 if (HANDLE_EINTR(statvfs(path.value().c_str(), &stats)) != 0)
|