Searched defs:stat (Results 1 - 25 of 166) sorted by last modified time

1234567

/external/webrtc/src/modules/audio_processing/test/
H A Dprocess_test.cc14 #include <sys/stat.h>
68 void PrintStat(const AudioProcessing::Statistic& stat) { argument
69 printf("%d, %d, %d\n", stat.average,
70 stat.maximum,
71 stat.minimum);
453 struct stat st;
454 stat(pb_filename, &st);
458 struct stat st;
459 stat(near_filename, &st);
/external/vboot_reference/cgpt/
H A Dcgpt_common.c23 #include <sys/stat.h>
266 struct stat stat; local
267 if (fstat(fd, &stat) == -1) {
271 if ((stat.st_mode & S_IFMT) != S_IFREG) {
280 *size = stat.st_size;
284 *size = stat.st_size;
H A Dcgpt_nor.c18 #include <sys/stat.h>
167 struct stat stat; local
168 if (fstat(fd, &stat) != 0 || (stat.st_size & 1) != 0) {
171 uint64_t half_size = stat.st_size / 2;
188 static int remove_file_or_dir(const char *fpath, const struct stat *sb,
H A Dcgpt_wrapper.c20 #include <sys/stat.h>
43 struct stat stat; local
44 if (lstat(device_path, &stat) != 0) {
48 if (major(stat.st_rdev) != MTD_CHAR_MAJOR) {
/external/valgrind/none/tests/ppc32/
H A Dround.c273 int stat = 0; local
280 stat = 1;
283 stat = 0;
287 if (stat) {
292 status |= stat;
/external/valgrind/none/tests/ppc64/
H A Dround.c273 int stat = 0; local
280 stat = 1;
283 stat = 0;
287 if (stat) {
292 status |= stat;
/external/valgrind/none/tests/x86-linux/
H A Dseg_override.c90 int stat; local
104 stat = __modify_ldt (1, &ldt_entry, sizeof (ldt_entry));
105 printf("stat = %d\n", stat);
/external/valgrind/coregrind/
H A Dm_libcfile.c286 /* stat/fstat support. It's uggerly. We have impedance-match into a
310 SysRes VG_(stat) ( const HChar* file_name, struct vg_stat* vgbuf ) function
403 SysRes res = VG_(stat)(f, &buf);
627 SysRes res = VG_(stat)(f, &st);
/external/valgrind/include/vki/
H A Dvki-linux.h1343 // From linux-2.6.8.1/include/linux/stat.h
1984 int stat; member in struct:vki_cdrom_generic_command
/external/v8/tools/testrunner/server/
H A Dwork_handler.py31 import stat namespace
102 os.chmod(target, stat.S_IRWXU)
/external/toybox/generated/
H A Dglobals.h273 // toys/other/stat.c
279 struct stat st;
281 } stat; member in struct:stat_data
892 struct stat top;
1213 struct stat_data stat; member in union:global_union
/external/toybox/lib/
H A Dlib.h53 // Don't warn about failure to stat
63 struct stat st;
121 void xstat(char *path, struct stat *st);
199 struct stat stat; member in struct:mtab_list
/external/toybox/toys/other/
H A Dstat.c0 /* stat.c : display file or file system status
5 USE_STAT(NEWTOY(stat, "c:f", TOYFLAG_BIN))
8 bool stat
11 usage: stat [-f] [-c FORMAT] FILE...
42 struct stat st;
44 } stat;
50 // Note: the atime, mtime, and ctime fields in struct stat are the start
63 struct stat *stat = (struct stat *) local
143 struct stat *stat = (struct stat*)&TT.stat; local
[all...]
/external/toybox/toys/posix/
H A Dtime.c33 int stat; local
37 wait4(pid, &stat, 0, &ru);
47 toys.exitval = WIFEXITED(stat) ? WEXITSTATUS(stat) : WTERMSIG(stat);
/external/v8/src/
H A Dparser.cc1071 Statement* stat; local
1073 stat = ParseModuleElement(NULL, CHECK_OK);
1075 stat = ParseBlockElement(NULL, CHECK_OK);
1077 if (stat == NULL || stat->IsEmpty()) {
1087 if ((e_stat = stat->AsExpressionStatement()) != NULL &&
1132 processor->Add(stat, zone());
1280 Statement* stat = ParseModuleElement(NULL, CHECK_OK); local
1281 if (stat && !stat
2012 Statement* stat = ParseStatement(NULL, CHECK_OK); local
2043 Statement* stat = ParseBlockElement(NULL, CHECK_OK); local
2649 Statement* stat = ParseStatement(NULL, CHECK_OK); local
3941 BreakableStatement* stat = t->node()->AsBreakableStatement(); local
3953 BreakableStatement* stat = t->node()->AsBreakableStatement(); local
3969 IterationStatement* stat = t->node()->AsIterationStatement(); local
[all...]
/external/tcpdump/
H A Dtcpdump-stdinc.h63 #define stat _stat macro
H A Dtcpdump.c1704 struct pcap_stat stat; local
1710 stat.ps_ifdrop = 0;
1711 if (pcap_stats(pd, &stat) < 0) {
1726 (void)fprintf(stderr, "%u packet%s received by filter", stat.ps_recv,
1727 PLURAL_SUFFIX(stat.ps_recv));
1732 (void)fprintf(stderr, "%u packet%s dropped by kernel", stat.ps_drop,
1733 PLURAL_SUFFIX(stat.ps_drop));
1734 if (stat.ps_ifdrop != 0) {
1740 stat.ps_ifdrop, PLURAL_SUFFIX(stat
2085 struct pcap_stat stat; local
2093 struct pcap_stat stat; local
[all...]
/external/strace/
H A Dfile.c50 #include <asm/stat.h>
70 #define stat libc_stat macro
72 #include <sys/stat.h>
73 #undef stat macro
164 # /* no 32-bit stat */
245 struct stat statbuf;
278 SYS_FUNC(stat)
303 * Linux x86_64 and x32 have unified `struct stat' but their i386 personality
305 * linux/arch/x86/include/uapi/asm/stat.h defines `struct stat64' only for i386.
307 * Similarly, aarch64 has a unified `struct stat' bu
[all...]
/external/strace/tests/
H A Dstat.c21 # include <sys/stat.h>
22 # define STAT_PREFIX "(stat(64)?\\(|newfstatat\\(AT_FDCWD, )"
27 # define STAT_PREFIX "stat\\("
34 # define stat libc_stat macro
36 # include <sys/stat.h>
37 # undef stat macro
59 # include <asm/stat.h>
108 struct stat stb;
115 assert(stat(av[1], &stb) == 0);
/external/squashfs-tools/squashfs-tools/
H A Dandroid.c25 #include <sys/stat.h>
46 void android_fs_config(const char *path, struct stat *stat, const char *target_out_path) { argument
48 fs_config(path, S_ISDIR(stat->st_mode), target_out_path,
49 &stat->st_uid, &stat->st_gid, &stat->st_mode, &capabilities);
/external/srtp/srtp/
H A Dsrtp.c81 err_status_t stat; local
98 stat = crypto_kernel_alloc_cipher(p->rtp.cipher_type,
101 if (stat) {
106 stat = crypto_kernel_alloc_auth(p->rtp.auth_type,
111 if (stat) {
118 stat = err_status_alloc_fail;
126 stat = crypto_kernel_alloc_cipher(p->rtcp.cipher_type,
129 if (stat) {
134 stat = crypto_kernel_alloc_auth(p->rtcp.auth_type,
138 if (stat) {
362 err_status_t stat; local
1271 err_status_t stat; local
[all...]
/external/srtp/test/
H A Drtp.c27 err_status_t stat; local
40 stat = srtp_protect(sender->srtp_ctx, &sender->message.header, &pkt_len);
41 if (stat) {
43 fprintf(stderr, "error: srtp protection failed with code %d\n", stat);
67 err_status_t stat; local
87 stat = srtp_unprotect(receiver->srtp_ctx,
89 if (stat) {
91 "error: srtp unprotection failed with code %d%s\n", stat,
92 stat == err_status_replay_fail ? " (replay check failed)" :
93 stat
[all...]
/external/skia/experimental/DrawingBoard/
H A DSampleDrawingServer.cpp141 SkGPipeReader::Status stat; local
151 stat = reader.playback(fData.begin() + fTotalBytesRead,
154 SkASSERT(SkGPipeReader::kError_Status != stat);
166 stat = reader.playback(fBuffer.begin() + totalBytesRead,
169 SkASSERT(SkGPipeReader::kError_Status != stat);
/external/selinux/policycoreutils/semanage/
H A Dseobject.py24 import pwd, grp, string, selinux, tempfile, os, re, sys, stat, shutil namespace
1720 os.chmod(tmpfile, os.stat(subs_file)[stat.ST_MODE])
/external/selinux/policycoreutils/sepolicy/sepolicy/
H A Dgenerate.py24 import os, sys, stat namespace
988 if os.path.exists(i) and stat.S_ISSOCK(os.stat(i)[stat.ST_MODE]):
1053 if os.path.exists(i) and stat.S_ISSOCK(os.stat(i)[stat.ST_MODE]):
1086 if os.path.exists(i) and stat.S_ISSOCK(os.stat(i)[stat
[all...]

Completed in 548 milliseconds

1234567