Searched refs:stat (Results 226 - 250 of 1338) sorted by relevance

1234567891011>>

/external/libselinux/src/
H A Dload_policy.c3 #include <sys/stat.h>
/external/libunwind/src/coredump/
H A D_UCD_lib.h43 #include <sys/stat.h>
/external/ppp/pppd/include/
H A Dpcap-int.h53 struct pcap_stat stat; member in struct:pcap_md
/external/qemu/distrib/ext4_utils/src/
H A Dmake_ext4fs.c35 #include <sys/stat.h>
135 struct stat stat; local
174 ret = lstat(dentries[i].full_path, &stat);
182 dentries[i].size = stat.st_size;
183 dentries[i].mode = stat.st_mode & (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO);
184 dentries[i].mtime = stat.st_mtime;
191 int dir = S_ISDIR(stat.st_mode);
203 if (selabel_lookup(sehnd, &dentries[i].secon, dentries[i].path, stat.st_mode) < 0) {
212 if (S_ISREG(stat
[all...]
/external/qemu/distrib/libselinux/src/
H A Dload_policy.c3 #include <sys/stat.h>
/external/strace/test/
H A Dx32_mmap.c15 #include <sys/stat.h>
/external/valgrind/main/memcheck/tests/x86-linux/
H A Dscalar.h9 #include <sys/stat.h>
/external/valgrind/main/none/tests/mips32/
H A Dbug320057-mips32.c2 #include <sys/stat.h>
/external/chromium_org/third_party/libevent/sample/
H A Devent-test.c11 #include <sys/stat.h>
88 struct stat st;
/external/chromium_org/ui/surface/
H A Dtransport_dib_posix.cc7 #include <sys/stat.h>
85 struct stat st;
/external/elfutils/0.153/libelf/
H A Delf_readall.c57 #include <sys/stat.h>
115 struct stat st;
/external/libnl/lib/route/
H A Dpktloc.c83 struct stat st = {0};
90 /* if stat fails, just try to read the file */
91 if (stat(path, &st) == 0) {
/external/sepolicy/tools/sepolicy-analyze/
H A Dutils.c5 #include <sys/stat.h>
28 struct stat sb;
38 fprintf(stderr, "Can't stat '%s': %s\n", filename, strerror(errno));
/external/chromium_org/sandbox/linux/suid/client/
H A Dsetuid_sandbox_client.cc10 #include <sys/stat.h>
165 struct stat st;
258 struct stat st;
259 if (sandbox_binary.empty() && stat(base::kProcSelfExe, &st) == 0 &&
272 struct stat st;
273 if (sandbox_binary.empty() || stat(sandbox_binary.c_str(), &st) != 0) {
/external/chromium_org/third_party/icu/source/tools/toolutil/
H A Dtoolutil.cpp22 // *cough* - for struct stat
29 #include <sys/stat.h>
49 # include <sys/stat.h>
192 struct stat st;
194 if(stat(pathname,&st) != 0)
207 struct stat stat_buf;
208 if (stat(file, &stat_buf) == 0) {
222 // TODO: handle case where stat is not available
223 struct stat st;
225 if(stat(pathnam
[all...]
/external/chromium_org/third_party/sqlite/src/tool/
H A Dspace_used.tcl63 set stat [btree_cursor_dump $cursor]
64 set pgno [lindex $stat 0]
65 set freebytes [lindex $stat 4]
/external/chromium_org/tools/telemetry/telemetry/web_perf/metrics/
H A Dsmoothness_unittest.py23 for stat in self.stats:
24 value = kwargs[stat] if stat in kwargs else None
25 setattr(self, stat, value)
39 for stat in _MockRenderingStats.stats:
42 setattr(stats, stat, [[10, 20], [30, 40, 50]])
/external/chromium_org/v8/tools/oom_dump/
H A Doom_dump.cc222 #define PRINT_INT_STAT(stat) \
223 printf("\t%-25s\t% 10d\n", #stat ":", stat);
224 #define PRINT_MB_STAT(stat) \
225 printf("\t%-25s\t% 10.3f MB\n", #stat ":", toM(stat));
/external/icu/icu4c/source/tools/toolutil/
H A Dtoolutil.cpp23 // *cough* - for struct stat
30 #include <sys/stat.h>
50 # include <sys/stat.h>
193 struct stat st;
195 if(stat(pathname,&st) != 0)
208 struct stat stat_buf;
209 if (stat(file, &stat_buf) == 0) {
223 // TODO: handle case where stat is not available
224 struct stat st;
226 if(stat(pathnam
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dutil.c34 struct stat st;
41 if (stat(path, &st) == 0)
48 err = stat(path, &st) && mkdir(path, mode);
55 return (stat(path, &st) && mkdir(path, mode)) ? -1 : 0;
88 struct stat st;
92 if (stat(from, &st))
/external/ltrace/testsuite/ltrace.main/
H A Dsystem_calls.exp32 #include <sys/stat.h>
42 struct stat state;
60 stat ("system_calls.tmp", &state);
136 { {^(new|f)?stat(64)?$} == 1 }
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/fusefs/
H A Dfuse_fs.cc88 struct stat statbuf;
185 struct stat statbuf;
220 struct stat statbuf;
230 Error FuseFsNode::GetStat(struct stat* stat) { argument
233 result = fuse_ops_->fgetattr(path_.c_str(), stat, &info_);
237 result = fuse_ops_->getattr(path_.c_str(), stat);
245 // Also update the cached stat values.
246 stat_ = *stat;
300 struct stat statbu
[all...]
/external/lzma/CPP/7zip/UI/Console/
H A DMain.cpp416 CDecompressStat stat; local
423 eo, &openCallback, ecs, errorMessage, stat);
450 if (stat.NumFolders != 0)
451 stdStream << "Folders: " << stat.NumFolders << endl;
452 if (stat.NumFiles != 1 || stat.NumFolders != 0)
453 stdStream << "Files: " << stat.NumFiles << endl;
455 << "Size: " << stat.UnpackSize << endl
456 << "Compressed: " << stat.PackSize << endl;
460 ConvertUInt32ToHexWithZeros(stat
[all...]
/external/chromium_org/tools/gyp/test/lib/
H A DTestCmd.py226 import stat namespace
564 st = os.stat(f)
567 if stat.S_IMODE(st[stat.ST_MODE]) & 0111:
1449 try: st = os.stat(fname)
1451 else: os.chmod(fname, stat.S_IMODE(st[stat.ST_MODE]|stat.S_IREAD))
1454 try: st = os.stat(fname)
1456 else: os.chmod(fname, stat
[all...]
/external/qemu/android/utils/
H A Dtimezone.c157 #include <sys/stat.h>
168 struct stat localtime_st;
178 struct stat st;
183 if ( stat( path, &st ) < 0 ) {
184 D( " can't stat: %s\n", strerror(errno) );
245 struct stat ent_st;
257 if ( stat( scan->path, &ent_st ) < 0 )
384 if ( stat( localtime, &scan->localtime_st ) < 0 ) {

Completed in 685 milliseconds

1234567891011>>