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

1 2 3

  /external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/examples/
basemmap.c 14 struct stat statbuf; local
16 fstat(0, &statbuf);
17 buf = mmap(NULL, statbuf.st_size, PROT_READ, MAP_SHARED|MAP_NORESERVE,
20 uchar *cur, *lim = &buf[statbuf.st_size];
24 munmap(buf, statbuf.st_size);
cmmap.re 249 struct stat statbuf;
251 fstat(0, &statbuf);
252 buf = mmap(NULL, statbuf.st_size, PROT_READ, MAP_SHARED|MAP_NORESERVE,
256 in.lim = &(in.cur = buf)[statbuf.st_size];
265 munmap(buf, statbuf.st_size);
  /external/e2fsprogs/tests/progs/
hold_inode.c 23 struct stat statbuf; local
31 if (stat(filename, &statbuf) < 0) {
35 if (S_ISDIR(statbuf.st_mode)) {
  /external/strace/
file.c 836 struct solstat statbuf; local
838 if (umove(tcp, addr, &statbuf) < 0) {
844 (unsigned long) ((statbuf.st_dev >> 18) & 0x3fff),
845 (unsigned long) (statbuf.st_dev & 0x3ffff),
846 (unsigned long) statbuf.st_ino,
847 sprintmode(statbuf.st_mode));
849 (unsigned long) statbuf.st_nlink,
850 (unsigned long) statbuf.st_uid,
851 (unsigned long) statbuf.st_gid);
852 tprintf("st_blksize=%lu, ", (unsigned long) statbuf.st_blksize)
880 struct stat_sparc64 statbuf; local
951 struct stat_powerpc32 statbuf; local
1106 struct stat statbuf; local
1182 struct stat64 statbuf; local
1321 struct __old_kernel_stat statbuf; local
1764 struct statfs statbuf; local
1840 struct statfs64 statbuf; local
1940 struct ustat statbuf; local
    [all...]
Android.patch 93 (unsigned long)statbuf.f_bsize,
94 (unsigned long)statbuf.f_blocks,
95 (unsigned long)statbuf.f_bfree);
98 + (unsigned long)statbuf.f_bavail,
99 + (unsigned long)statbuf.f_files,
100 + (unsigned long)statbuf.f_ffree,
101 + statbuf.f_fsid.val[0], statbuf.f_fsid.val[1]);
104 (unsigned long)statbuf.f_bavail,
105 (unsigned long)statbuf.f_files
    [all...]
  /external/eigen/bench/spbench/
spbenchsolver.cpp 44 std::ofstream statbuf; local
51 statbuf.open(statFile.c_str(), std::ios::out);
52 if(statbuf.good()){
54 printStatheader(statbuf);
55 statbuf.close();
81 statbuf.open(statFile.c_str(), std::ios::app);
82 statbuf << "</TABLE> \n";
84 statbuf.close();
  /external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
kernel_wrap_test.cc 40 if (arg->f != statbuf->f) { \
43 "expected: " << statbuf->f << " actual: " << arg->f; \
47 MATCHER_P(IsEqualToStatbuf, statbuf, "") {
64 ACTION_P(SetStat, statbuf) {
66 arg1->st_dev = statbuf->st_dev;
67 arg1->st_ino = statbuf->st_ino;
68 arg1->st_mode = statbuf->st_mode;
69 arg1->st_nlink = statbuf->st_nlink;
70 arg1->st_uid = statbuf->st_uid;
71 arg1->st_gid = statbuf->st_gid
    [all...]
mount_fuse_test.cc 241 struct stat statbuf; local
245 EXPECT_EQ(0, node->GetStat(&statbuf));
246 EXPECT_EQ(S_IFREG, statbuf.st_mode & S_IFMT);
247 EXPECT_EQ(0666, statbuf.st_mode & ~S_IFMT);
248 EXPECT_EQ(strlen(hello_world), statbuf.st_size);
251 EXPECT_EQ(0, node->GetStat(&statbuf));
252 EXPECT_EQ(S_IFDIR, statbuf.st_mode & S_IFMT);
253 EXPECT_EQ(0755, statbuf.st_mode & ~S_IFMT);
257 EXPECT_EQ(0, node->GetStat(&statbuf));
258 EXPECT_EQ(S_IFREG, statbuf.st_mode & S_IFMT)
    [all...]
mount_html5fs_test.cc 347 struct stat statbuf; local
348 EXPECT_EQ(0, node->GetStat(&statbuf));
349 EXPECT_EQ(S_IFREG, statbuf.st_mode & S_IFMT);
351 S_IWUSR | S_IWGRP | S_IWOTH, statbuf.st_mode & ~S_IFMT);
352 EXPECT_EQ(strlen(contents), statbuf.st_size);
353 EXPECT_EQ(access_time, statbuf.st_atime);
354 EXPECT_EQ(creation_time, statbuf.st_ctime);
355 EXPECT_EQ(modified_time, statbuf.st_mtime);
367 EXPECT_EQ(0, node->GetStat(&statbuf));
368 EXPECT_EQ(S_IFDIR, statbuf.st_mode & S_IFMT)
    [all...]
mount_http_test.cc 177 struct stat statbuf; local
178 EXPECT_EQ(0, node->GetStat(&statbuf));
180 statbuf.st_mode);
181 EXPECT_EQ(strlen(contents), statbuf.st_size);
183 EXPECT_EQ(0, statbuf.st_atime);
184 EXPECT_EQ(0, statbuf.st_ctime);
185 EXPECT_EQ(0, statbuf.st_mtime);
  /frameworks/av/media/libmedia/
MediaScanner.cpp 175 struct stat statbuf; local
195 if (stat(path, &statbuf) == 0) {
196 if (S_ISREG(statbuf.st_mode)) {
198 } else if (S_ISDIR(statbuf.st_mode)) {
213 if (stat(path, &statbuf) == 0) {
214 status_t status = client.scanFile(path, statbuf.st_mtime, 0,
229 stat(path, &statbuf);
230 status_t status = client.scanFile(path, statbuf.st_mtime, statbuf.st_size,
  /external/chromium_org/sandbox/linux/suid/
process_util_linux.c 41 struct stat statbuf; local
42 if (fstat(dirfd, &statbuf) < 0) {
46 if (getuid() != statbuf.st_uid) {
linux_util.c 89 struct stat statbuf; local
94 if (fstat(proc_pid_fd, &statbuf) < 0 || uid != statbuf.st_uid) {
  /system/extras/tests/storage/
opentest.c 32 struct stat statbuf; local
49 if (stat(dir, &statbuf)) {
54 if (! S_ISDIR(statbuf.st_mode)) {
wipe_blkdev.c 85 struct stat statbuf; local
109 if (fstat(fd, &statbuf) < 0) {
114 if (!S_ISBLK(statbuf.st_mode)) {
  /external/bison/lib/
open.c 131 struct stat statbuf; local
132 if (stat (filename, &statbuf) == 0 && S_ISDIR (statbuf.st_mode))
163 struct stat statbuf; local
165 if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode))
fopen.c 77 struct stat statbuf; local
90 if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode))
  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/
mount_fuse.cc 97 struct stat statbuf; local
98 result = fuse_ops_->getattr(path_cstr, &statbuf);
102 if ((statbuf.st_mode & S_IFMT) == S_IFDIR) {
182 struct stat statbuf; local
183 error = node->GetStat(&statbuf);
189 if ((statbuf.st_mode & S_IFMT) == S_IFDIR) {
217 struct stat statbuf; local
218 Error error = GetStat(&statbuf);
268 struct stat statbuf; local
269 Error error = GetStat(&statbuf);
    [all...]
  /external/chromium/chrome/browser/
process_singleton_linux_uitest.cc 43 struct stat statbuf; local
44 bool lock_exists = lstat(lock_path_.value().c_str(), &statbuf) == 0;
107 struct stat statbuf; local
108 ASSERT_EQ(0, lstat(lock_path_.value().c_str(), &statbuf));
109 ASSERT_TRUE(S_ISLNK(statbuf.st_mode));
114 ASSERT_EQ(0, lstat(socket_path_.value().c_str(), &statbuf));
115 ASSERT_TRUE(S_ISLNK(statbuf.st_mode));
121 ASSERT_EQ(0, lstat(socket_target_path.value().c_str(), &statbuf));
122 ASSERT_TRUE(S_ISSOCK(statbuf.st_mode));
  /external/chromium_org/chrome/browser/
process_singleton_linux_unittest.cc 227 struct stat statbuf; local
228 ASSERT_EQ(0, lstat(lock_path_.value().c_str(), &statbuf));
229 ASSERT_TRUE(S_ISLNK(statbuf.st_mode));
234 ASSERT_EQ(0, lstat(socket_path_.value().c_str(), &statbuf));
235 ASSERT_TRUE(S_ISLNK(statbuf.st_mode));
241 ASSERT_EQ(0, lstat(socket_target_path.value().c_str(), &statbuf));
242 ASSERT_TRUE(S_ISSOCK(statbuf.st_mode));
  /external/dnsmasq/src/
tftp.c 242 struct stat statbuf; local
248 if (stat(daemon->namebuff, &statbuf) == -1 || !S_ISDIR(statbuf.st_mode))
294 struct stat statbuf; local
315 if (fstat(fd, &statbuf) == -1)
321 if (!(statbuf.st_mode & S_IROTH))
325 else if ((daemon->options & OPT_TFTP_SECURE) && uid != statbuf.st_uid)
334 if (t->file->dev == statbuf.st_dev &&
335 t->file->inode == statbuf.st_ino &&
350 file->size = statbuf.st_size
    [all...]
  /external/ppp/pppd/
tty.c 294 struct stat statbuf; local
309 if (stat(cp, &statbuf) < 0) {
315 if (!S_ISCHR(statbuf.st_mode)) {
323 devstat = statbuf;
445 struct stat statbuf; local
488 if (fstat(0, &statbuf) >= 0 && S_ISCHR(statbuf.st_mode)
489 && statbuf.st_rdev == devstat.st_rdev) {
503 if (log_to_fd >= 0 && fstat(log_to_fd, &statbuf) >= 0
504 && S_ISCHR(statbuf.st_mode) && statbuf.st_rdev == devstat.st_rdev
518 struct stat statbuf; local
    [all...]
  /external/llvm/lib/Support/
LockFileManager.cpp 132 struct stat StatBuf;
133 if (stat(UniqueLockFileName.c_str(), &StatBuf) == 0 &&
134 StatBuf.st_nlink == 2)
  /external/srec/srec/clib/
voc_read.c 273 struct stat statbuf; local
285 if (fstat(fd, &statbuf) < 0) goto FAILED;
288 *size = statbuf.st_size;
289 *buf = mmap(0, inflateSize(statbuf.st_size), PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0);
  /frameworks/native/opengl/libs/EGL/
egl_cache.cpp 299 struct stat statBuf;
300 if (fstat(fd, &statBuf) == -1) {
307 size_t fileSize = statBuf.st_size;
309 ALOGE("cache file is too large: %#llx", statBuf.st_size);

Completed in 1719 milliseconds

1 2 3