/external/ltp/testcases/kernel/syscalls/vfork/ |
vfork01.c | 81 #include <sys/stat.h> 98 /* stat structure to hold directory/inode information for parent/child */ 99 struct stat StatPbuf; 100 struct stat StatCbuf; 101 struct stat Stat_cwd_Pbuf; 102 struct stat Stat_cwd_Cbuf; 179 if (stat("/", &StatCbuf) < 0) { 180 tst_resm(TFAIL, "stat(2) failed to get " 190 if (stat(Ccwd, &Stat_cwd_Cbuf) < 0) { 191 tst_resm(TFAIL, "stat(2) failed to get [all...] |
/external/ltp/tools/pounder21/ |
fancy_timed_loop.c | 58 int secs, stat; local 163 stat = execvp(argv[7], &argv[7]); 165 stat = execvp(argv[7], &argv[7]); 171 stat = execvp(argv[5], &argv[5]); 173 stat = execvp(argv[5], &argv[5]); 186 if (waitpid(pid, &stat, 0) != pid) { 191 if (WIFSIGNALED(stat)) { 193 progname, fail_msg, WTERMSIG(stat)); 196 res = WEXITSTATUS(stat);
|
/external/swiftshader/third_party/LLVM/autoconf/ |
depcomp | 95 stat=$?
96 if test $stat -eq 0; then :
99 exit $stat
118 stat=$?
119 if test $stat -eq 0; then :
122 exit $stat
160 stat=$?
161 if test $stat -eq 0; then :
164 exit $stat
211 stat=$? [all...] |
/external/clang/test/SemaCXX/ |
member-pointer.cpp | 205 static void stat(); 206 static void stat(int); 216 bind(&stat); // expected-error {{no matching function for call}} 217 bind(&A::stat); // expected-error {{no matching function for call}} 229 bindmem(&stat); // expected-error {{no matching function for call}} 230 bindmem(&A::stat); // expected-error {{no matching function for call}} 242 bindfn(&stat); 243 bindfn(&A::stat); 255 static void stat(); 256 static void stat(int) [all...] |
/external/libchrome/dbus/ |
dbus_statistics.cc | 54 // Enum to specify which field in Stat to increment in AddStat. 71 StatValue* stat = GetStats(service, interface, method, true); local 72 DCHECK(stat); 74 ++stat->sent_method_calls; 76 ++stat->received_signals; 78 ++stat->sent_blocking_method_calls; 83 // Look up the Stat entry in |stats_|. If |add_stat| is true, add a new entry 181 const StatValue& stat = cur_iter->second; local 182 sent += stat.sent_method_calls; 183 received += stat.received_signals [all...] |
/external/python/cpython2/Lib/plat-irix6/ |
WAIT.py | 12 def WIFEXITED(stat): return ((_W_INT(stat)&0377)==0) 14 def WEXITSTATUS(stat): return ((_W_INT(stat)>>8)&0377) 16 def WTERMSIG(stat): return (_W_INT(stat)&0177) 18 def WSTOPSIG(stat): return ((_W_INT(stat)>>8)&0377) 30 def WWORD(stat): return (_W_INT(stat)&0177777 [all...] |
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/ |
WriteMultiViewTest.java | 50 assertEquals(Os.getuid(), Os.stat(ourCache.getAbsolutePath()).st_uid); 51 assertEquals(Os.getuid(), Os.stat(ourTestDir.getAbsolutePath()).st_uid); 52 assertEquals(Os.getuid(), Os.stat(afterFile.getAbsolutePath()).st_uid); 72 assertNotEqual(Os.getuid(), Os.stat(otherCache.getAbsolutePath()).st_uid); 73 assertNotEqual(Os.getuid(), Os.stat(otherTestDir.getAbsolutePath()).st_uid); 74 assertNotEqual(Os.getuid(), Os.stat(afterFile.getAbsolutePath()).st_uid);
|
/external/e2fsprogs/misc/ |
ismounted.c | 31 #include <sys/stat.h> 84 struct stat st_buf; 94 if (stat(file, &st_buf) == 0) { 96 #ifndef __GNU__ /* The GNU hurd is broken with respect to stat devices */ 122 if (stat(device, &st_buf) == 0) { 137 #ifndef __GNU__ /* The GNU hurd is broken with respect to stat devices */ 145 if (file_rdev && (stat("/", &st_buf) == 0) && 158 if (stat(mnt_dir, &st_buf) < 0) {
|
/external/syslinux/gpxe/src/util/ |
iccfix.c | 9 #include <sys/stat.h> 83 struct stat stat; local 96 if ( fstat ( fd, &stat ) < 0 ) { 102 elf = mmap ( NULL, stat.st_size, ( PROT_READ | PROT_WRITE ), 127 munmap ( elf, stat.st_size );
|
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
loc_api_rpc_glue.c | 41 #include <sys/stat.h> 104 #define LOC_GLUE_CHECK_RESULT(stat, ret_type) \ 105 if (stat != RPC_SUCCESS) { \ 106 LOC_LOGE("%s:%d] failure code %d", __func__, __LINE__, stat); \ 107 return (ret_type)((stat == RPC_SUBSYSTEM_RESTART) ? \ 361 enum clnt_stat stat = RPC_SUCCESS; local 369 stat = RPC_FUNC_VERSION(rpc_loc_open_, RPC_LOC_OPEN_VERSION)(&args, &rets, loc_api_clnt); 373 }while( (RPC_SUCCESS != stat||0 > ret_val) && 0 != try_num ); 375 LOC_GLUE_CHECK_RESULT(stat, int32); 398 enum clnt_stat stat = RPC_SUCCESS local 447 enum clnt_stat stat = RPC_SUCCESS; local 472 enum clnt_stat stat = RPC_SUCCESS; local 572 enum clnt_stat stat = RPC_SUCCESS; local 589 enum clnt_stat stat = RPC_SUCCESS; local [all...] |
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
loc_api_rpc_glue.c | 41 #include <sys/stat.h> 104 #define LOC_GLUE_CHECK_RESULT(stat, ret_type) \ 105 if (stat != RPC_SUCCESS) { \ 106 LOC_LOGE("%s:%d] failure code %d", __func__, __LINE__, stat); \ 107 return (ret_type)((stat == RPC_SUBSYSTEM_RESTART) ? \ 361 enum clnt_stat stat = RPC_SUCCESS; local 369 stat = RPC_FUNC_VERSION(rpc_loc_open_, RPC_LOC_OPEN_VERSION)(&args, &rets, loc_api_clnt); 373 }while( (RPC_SUCCESS != stat||0 > ret_val) && 0 != try_num ); 375 LOC_GLUE_CHECK_RESULT(stat, int32); 398 enum clnt_stat stat = RPC_SUCCESS local 447 enum clnt_stat stat = RPC_SUCCESS; local 472 enum clnt_stat stat = RPC_SUCCESS; local 572 enum clnt_stat stat = RPC_SUCCESS; local 589 enum clnt_stat stat = RPC_SUCCESS; local [all...] |
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
loc_api_rpc_glue.c | 41 #include <sys/stat.h> 104 #define LOC_GLUE_CHECK_RESULT(stat, ret_type) \ 105 if (stat != RPC_SUCCESS) { \ 106 LOC_LOGE("%s:%d] failure code %d", __func__, __LINE__, stat); \ 107 return (ret_type)((stat == RPC_SUBSYSTEM_RESTART) ? \ 361 enum clnt_stat stat = RPC_SUCCESS; local 369 stat = RPC_FUNC_VERSION(rpc_loc_open_, RPC_LOC_OPEN_VERSION)(&args, &rets, loc_api_clnt); 373 }while( (RPC_SUCCESS != stat||0 > ret_val) && 0 != try_num ); 375 LOC_GLUE_CHECK_RESULT(stat, int32); 398 enum clnt_stat stat = RPC_SUCCESS local 447 enum clnt_stat stat = RPC_SUCCESS; local 472 enum clnt_stat stat = RPC_SUCCESS; local 572 enum clnt_stat stat = RPC_SUCCESS; local 589 enum clnt_stat stat = RPC_SUCCESS; local [all...] |
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
loc_api_rpc_glue.c | 41 #include <sys/stat.h> 104 #define LOC_GLUE_CHECK_RESULT(stat, ret_type) \ 105 if (stat != RPC_SUCCESS) { \ 106 LOC_LOGE("%s:%d] failure code %d", __func__, __LINE__, stat); \ 107 return (ret_type)((stat == RPC_SUBSYSTEM_RESTART) ? \ 361 enum clnt_stat stat = RPC_SUCCESS; local 369 stat = RPC_FUNC_VERSION(rpc_loc_open_, RPC_LOC_OPEN_VERSION)(&args, &rets, loc_api_clnt); 373 }while( (RPC_SUCCESS != stat||0 > ret_val) && 0 != try_num ); 375 LOC_GLUE_CHECK_RESULT(stat, int32); 398 enum clnt_stat stat = RPC_SUCCESS local 447 enum clnt_stat stat = RPC_SUCCESS; local 472 enum clnt_stat stat = RPC_SUCCESS; local 572 enum clnt_stat stat = RPC_SUCCESS; local 589 enum clnt_stat stat = RPC_SUCCESS; local [all...] |
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
loc_api_rpc_glue.c | 41 #include <sys/stat.h> 104 #define LOC_GLUE_CHECK_RESULT(stat, ret_type) \ 105 if (stat != RPC_SUCCESS) { \ 106 LOC_LOGE("%s:%d] failure code %d", __func__, __LINE__, stat); \ 107 return (ret_type)((stat == RPC_SUBSYSTEM_RESTART) ? \ 361 enum clnt_stat stat = RPC_SUCCESS; local 369 stat = RPC_FUNC_VERSION(rpc_loc_open_, RPC_LOC_OPEN_VERSION)(&args, &rets, loc_api_clnt); 373 }while( (RPC_SUCCESS != stat||0 > ret_val) && 0 != try_num ); 375 LOC_GLUE_CHECK_RESULT(stat, int32); 398 enum clnt_stat stat = RPC_SUCCESS local 447 enum clnt_stat stat = RPC_SUCCESS; local 472 enum clnt_stat stat = RPC_SUCCESS; local 572 enum clnt_stat stat = RPC_SUCCESS; local 589 enum clnt_stat stat = RPC_SUCCESS; local [all...] |
/toolchain/binutils/binutils-2.27/ |
depcomp | 192 stat=$? 193 if test $stat -ne 0; then 195 exit $stat 218 stat=$? 219 if test $stat -ne 0; then 221 exit $stat 280 stat=$? 281 if test $stat -ne 0; then 283 exit $stat 309 stat=$ [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/ |
StatUtils.java | 17 package org.apache.commons.math.stat; 21 import org.apache.commons.math.stat.descriptive.DescriptiveStatistics; 22 import org.apache.commons.math.stat.descriptive.UnivariateStatistic; 23 import org.apache.commons.math.stat.descriptive.moment.GeometricMean; 24 import org.apache.commons.math.stat.descriptive.moment.Mean; 25 import org.apache.commons.math.stat.descriptive.moment.Variance; 26 import org.apache.commons.math.stat.descriptive.rank.Max; 27 import org.apache.commons.math.stat.descriptive.rank.Min; 28 import org.apache.commons.math.stat.descriptive.rank.Percentile; 29 import org.apache.commons.math.stat.descriptive.summary.Product [all...] |
/external/ltp/testcases/kernel/syscalls/nftw/ |
test_func.c | 41 test_func1(const char *path_name, const struct stat *stat_pointer, 76 test_func3(const char *path_name, const struct stat *stat_pointer, 101 test_func4(const char *path_name, const struct stat *stat_pointer, 114 test_func5(const char *path_name, const struct stat *stat_pointer, 137 test_func7(const char *path_name, const struct stat *stat_pointer, 167 test_func8(const char *path_name, const struct stat *stat_pointer, 172 struct stat st_buf; 187 stat(path_name, &st_buf) : lstat(path_name, 189 perror("stat"); 248 test_func9(const char *path_name, const struct stat *stat_pointer [all...] |
/art/compiler/optimizing/ |
optimizing_compiler_stats.h | 114 void RecordStat(MethodCompilationStat stat, uint32_t count = 1) { 115 size_t stat_index = static_cast<size_t>(stat); 120 uint32_t GetStat(MethodCompilationStat stat) const { 121 size_t stat_index = static_cast<size_t>(stat); 171 for (std::atomic<uint32_t>& stat : compile_stats_) { 172 stat = 0u; 183 MethodCompilationStat stat, 186 compiler_stats->RecordStat(stat, count);
|
/art/runtime/ |
prebuilt_tools_test.cc | 34 struct stat exec_st; 36 if (stat(exec_path.c_str(), &exec_st) != 0) {
|
/bionic/libc/bionic/ |
lfs64_support.cpp | 22 // open (our open is actually open64) and stat and stat64 are the same. 36 typedef int (*ftw_fn)(const char*, const struct stat*, int); 37 typedef int (*nftw_fn)(const char*, const struct stat*, int, struct FTW*);
|
tmpfile.cpp | 37 #include <sys/stat.h> 65 struct stat sb;
|
/build/kati/ |
file.cc | 20 #include <sys/stat.h> 36 struct stat st;
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t021hoist.py | 19 enumIs = parser.stat() 30 enumIs = parser.stat()
|
/external/curl/docs/examples/ |
fileupload.c | 28 #include <sys/stat.h> 35 struct stat file_info;
|
/external/e2fsprogs/lib/e2p/ |
getflags.c | 24 #include <sys/stat.h> 33 struct stat buf;
|