/bionic/libc/kernel/uapi/asm-arm64/asm/ |
stat.h | 19 #include <asm-generic/stat.h>
|
/external/kernel-headers/original/uapi/asm-arm64/asm/ |
stat.h | 17 #include <asm-generic/stat.h>
|
/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...] |
/external/autotest/client/bin/result_tools/ |
result_info_lib.py | 12 """Get the os.stat of the file at the given path. 15 @return: os.stat of the file. Return None if file doesn't exist. 18 return os.stat(path) 30 stat = _get_file_stat(path) 31 return stat.st_size if stat else 0 41 stat = _get_file_stat(path) 42 return stat.st_mtime if stat else 0
|
/external/strace/tests/ |
skip_unavailable.c | 3 #include <sys/stat.h> 9 struct stat st; 11 if (stat(path, &st)) 12 perror_msg_and_skip("stat: %s", path);
|
trace_stat.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_stat test_trace_expr '' -e%stat -v -P stat.sample -P /dev/full); do not edit. 4 test_trace_expr '' -e%stat -v -P stat.sample -P /dev/full
|
trace_stat_like.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_stat_like test_trace_expr '' -e%%stat -v -P stat.sample -P /dev/full); do not edit. 4 test_trace_expr '' -e%%stat -v -P stat.sample -P /dev/full
|
fstat.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fstat -a15 -v -P stat.sample); do not edit. 4 run_strace_match_diff -a15 -v -P stat.sample
|
fstat64.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fstat64 -a17 -v -P stat.sample); do not edit. 4 run_strace_match_diff -a17 -v -P stat.sample
|
oldfstat.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (oldfstat -a18 -v -P stat.sample); do not edit. 4 run_strace_match_diff -a18 -v -P stat.sample
|
/external/strace/tests-m32/ |
skip_unavailable.c | 3 #include <sys/stat.h> 9 struct stat st; 11 if (stat(path, &st)) 12 perror_msg_and_skip("stat: %s", path);
|
trace_stat.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_stat test_trace_expr '' -e%stat -v -P stat.sample -P /dev/full); do not edit. 4 test_trace_expr '' -e%stat -v -P stat.sample -P /dev/full
|
trace_stat_like.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_stat_like test_trace_expr '' -e%%stat -v -P stat.sample -P /dev/full); do not edit. 4 test_trace_expr '' -e%%stat -v -P stat.sample -P /dev/full
|
fstat.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fstat -a15 -v -P stat.sample); do not edit. 4 run_strace_match_diff -a15 -v -P stat.sample
|
fstat64.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fstat64 -a17 -v -P stat.sample); do not edit. 4 run_strace_match_diff -a17 -v -P stat.sample
|
oldfstat.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (oldfstat -a18 -v -P stat.sample); do not edit. 4 run_strace_match_diff -a18 -v -P stat.sample
|
/external/strace/tests-mx32/ |
skip_unavailable.c | 3 #include <sys/stat.h> 9 struct stat st; 11 if (stat(path, &st)) 12 perror_msg_and_skip("stat: %s", path);
|
trace_stat.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_stat test_trace_expr '' -e%stat -v -P stat.sample -P /dev/full); do not edit. 4 test_trace_expr '' -e%stat -v -P stat.sample -P /dev/full
|
trace_stat_like.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_stat_like test_trace_expr '' -e%%stat -v -P stat.sample -P /dev/full); do not edit. 4 test_trace_expr '' -e%%stat -v -P stat.sample -P /dev/full
|
fstat.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fstat -a15 -v -P stat.sample); do not edit. 4 run_strace_match_diff -a15 -v -P stat.sample
|
fstat64.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fstat64 -a17 -v -P stat.sample); do not edit. 4 run_strace_match_diff -a17 -v -P stat.sample
|
oldfstat.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (oldfstat -a18 -v -P stat.sample); do not edit. 4 run_strace_match_diff -a18 -v -P stat.sample
|
/bionic/libc/bionic/ |
stat.cpp | 30 #include <sys/stat.h> 34 int stat(const char* path, struct stat* sb) { function 37 __strong_alias(stat64, stat);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
MemoryStatUtilTest.java | 127 MemoryStat stat = parseMemoryStatFromMemcg(MEMORY_STAT_CONTENTS); local 128 assertEquals(stat.pgfault, 1); 129 assertEquals(stat.pgmajfault, 2); 130 assertEquals(stat.rssInBytes, 3); 131 assertEquals(stat.cacheInBytes, 4); 132 assertEquals(stat.swapInBytes, 5); 137 MemoryStat stat = parseMemoryStatFromMemcg(""); local 138 assertNull(stat); 140 stat = parseMemoryStatFromMemcg(null); 141 assertNull(stat); 146 MemoryStat stat = parseMemoryStatFromProcfs(PROC_STAT_CONTENTS); local 156 MemoryStat stat = parseMemoryStatFromProcfs(""); local [all...] |
/external/perf_data_converter/src/quipper/ |
perf_recorder_test.cc | 20 // This should also cover the availability of "perf stat", which is a simpler 72 // Run perf stat and verify output. 75 {"perf", "stat"}, 0.2, &output_string)); 78 quipper::PerfStatProto stat; local 79 ASSERT_TRUE(stat.ParseFromString(output_string)); 80 EXPECT_GT(stat.line_size(), 0); 99 {"perf", "stat", "-a", "-e", "cycles"}, 0.2, &output_string)); 103 quipper::PerfStatProto stat; local 104 ASSERT_TRUE(stat.ParseFromString(output_string)); 107 string("sudo ") + GetPerfPath() + " stat -a -e cycles -v -- sleep 0.2" 129 quipper::PerfStatProto stat; local [all...] |