HomeSort by relevance Sort by last modified time
    Searched full:stat (Results 1 - 25 of 2908) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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)) {
  /ndk/tests/device/stat/jni/
Android.mk 4 LOCAL_MODULE := stat
5 LOCAL_SRC_FILES := stat.c
  /external/valgrind/main/none/tests/x86-linux/
seg_override.stdout.exp 0 stat = 0
  /external/webkit/LayoutTests/http/tests/resources/
touch-temp-file.php 11 $stat = stat($tmpFile); variable
12 if (!$stat) {
13 echo "FAIL: stat() call failed.\n";
17 $mtime = $stat['mtime'] + 1;
  /bionic/libc/arch-mips/syscalls/
stat.S 4 .globl stat
6 .ent stat
8 stat: label
22 .end 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...]
  /external/bison/m4/
stat.m4 14 dnl mingw is the only known platform where stat(".") and stat("./") differ
15 AC_CACHE_CHECK([whether stat handles trailing slashes on directories],
19 [[#include <sys/stat.h>
20 ]], [[struct stat st; return stat (".", &st) != stat ("./", &st);]])],
26 dnl AIX 7.1, Solaris 9, mingw64 mistakenly succeed on stat("file/").
27 dnl (For mingw, this is due to a broken stat() override in libmingwex.a.)
28 dnl FreeBSD 7.2 mistakenly succeeds on stat("link-to-file/")
    [all...]
  /bionic/libc/arch-arm/syscalls/
stat.S 6 ENTRY(stat) function
15 END(stat)
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/Composition/
VecMath_Parser.g3 14 : stat+ ;
16 stat
  /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...]
stat.c 1 /* Work around platform bugs in stat.
19 /* If the user's config.h happens to include <sys/stat.h>, let it include only
20 the system's <sys/stat.h> here, so that orig_stat doesn't recurse to
25 /* Get the original definition of stat. It might be defined as a macro. */
27 #include <sys/stat.h>
32 # undef stat /* avoid warning on mingw64 with _FILE_OFFSET_BITS=64 */ macro
33 # define stat _stati64 macro
37 /* mingw64 has a broken stat() function, based on _stat(), in libmingwex.a.
39 # define stat _stat macro
46 orig_stat (const char *filename, struct stat *buf
    [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;
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowStatFs.java 17 private Stats stat; field in class:ShadowStatFs
30 return stat.blockCount;
35 return stat.freeBlocks;
40 return stat.availableBlocks;
45 stat = stats.get(path);
46 if (stat == null) {
47 stat = DEFAULT_STATS;
  /external/oprofile/libdb/
db_stat.c 74 void odb_hash_display_stat(odb_hash_stat_t const * stat)
76 printf("total node number: %d\n", stat->node_nr);
77 printf("total used node: %d\n", stat->used_node_nr);
78 printf("total count: %llu\n", stat->total_count);
79 printf("hash table size: %d\n", stat->hash_table_size);
80 printf("greater list length: %d\n", stat->max_list_length);
81 printf("average non empty list length: %2.4f\n", stat->average_list_length);
85 void odb_hash_free_stat(odb_hash_stat_t * stat)
87 free(stat);
  /frameworks/av/media/mtp/
MtpStorage.cpp 24 #include <sys/stat.h>
66 struct statfs stat; local
67 if (statfs(getPath(), &stat))
69 mMaxCapacity = (uint64_t)stat.f_blocks * (uint64_t)stat.f_bsize;
75 struct statfs stat; local
76 if (statfs(getPath(), &stat))
78 uint64_t freeSpace = (uint64_t)stat.f_bavail * (uint64_t)stat.f_bsize;
  /external/llvm/test/Analysis/RegionInfo/
infinite_loop.ll 3 ; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
20 ; STAT: 2 region - The # of regions
21 ; STAT: 1 region - The # of simple regions
  /ndk/sources/host-tools/sed-4.2.1/m4/
sys_stat_h.m4 8 dnl Test whether <sys/stat.h> contains lstat and mkdir or must be substituted.
15 dnl stat is a good replacement.
27 dnl Check for broken stat macros.
30 gl_CHECK_NEXT_HEADERS([sys/stat.h])
31 SYS_STAT_H='sys/stat.h'
35 dnl <sys/stat.h>.
38 [Define to the type of st_nlink in struct stat, or a supertype.])],
40 #include <sys/stat.h>])
  /packages/apps/Nfc/nci/jni/
IntervalTimer.cpp 49 int stat = 0; local
57 stat = timer_settime(mTimerId, 0, &ts, 0);
58 if (stat == -1)
60 return stat == 0;
84 int stat = 0; local
95 stat = timer_create(CLOCK_MONOTONIC, &se, &mTimerId);
96 if (stat == -1)
98 return stat == 0;
  /external/chromium/build/
common.croc 83 'stat' : 'files_executable',
87 'stat' : 'files_instrumented',
91 'stat' : '100.0 * files_instrumented / files_executable',
95 'stat' : 'lines_executable',
99 'stat' : 'lines_instrumented',
103 'stat' : 'lines_covered',
108 'stat' : 'lines_covered',
113 'stat' : '100.0 * lines_covered / lines_executable',
117 'stat' : '100.0 * lines_covered / lines_executable',
122 'stat' : '100.0 * lines_covered / lines_executable'
    [all...]
  /development/ndk/sources/android/libportable/arch-mips/
stat.c 22 /* Note: The Portable Header will define stat to stat_portable */
23 int WRAP(stat)(const char *path, struct stat_portable *s) function
25 struct stat mips_stat;
32 ret = REAL(stat)(path, &mips_stat);
39 struct stat mips_stat;
53 struct stat mips_stat;
67 struct stat mips_stat;
  /external/clang/include/clang/Basic/
FileSystemStatCache.h 1 //===--- FileSystemStatCache.h - Caching for 'stat' calls -------*- C++ -*-===//
21 #include <sys/stat.h>
26 /// \brief Abstract interface for introducing a FileManager cache for 'stat'
38 CacheExists, ///< We know the file exists and its cached stat data.
42 /// \brief Get the 'stat' information for the specified path, using the cache
52 static bool get(const char *Path, struct stat &StatBuf,
56 /// \brief Sets the next stat call cache in the chain of stat caches.
57 /// Takes ownership of the given stat cache.
62 /// \brief Retrieve the next stat call cache in the chain
    [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
  /external/clang/test/Tooling/
pch.cpp 1 // This is a regression test for handling of stat caches within the tooling
5 // a stat cache into the FileManager:
8 // Use the generated pch and enforce a subsequent stat miss by using
  /external/e2fsprogs/tests/progs/
hold_inode.c 17 #include <sys/stat.h>
23 struct stat statbuf;
31 if (stat(filename, &statbuf) < 0) {

Completed in 7413 milliseconds

1 2 3 4 5 6 7 8 91011>>