Searched defs:stat (Results 1 - 7 of 7) sorted by relevance
/system/core/adb/ |
H A D | file_sync_service.h | 60 } stat; member in union:__anon6
|
/system/core/libdiskconfig/ |
H A D | diskconfig.c | 28 #include <sys/stat.h> 242 struct stat stat; local 247 if (fstat(fd, &stat)) { 248 ALOGE("Cannot stat, errno=%d.", errno); 252 if (S_ISBLK(stat.st_mode) && ((rv = ioctl(fd, BLKRRPART, NULL)) < 0)) { 279 struct stat stat; local 289 if (fstat(fd, &stat)) { 290 ALOGE("Cannot stat fil [all...] |
/system/core/libutils/ |
H A D | Tokenizer.cpp | 24 #include <sys/stat.h> 63 struct stat stat; local 64 if (fstat(fd, &stat)) { 68 size_t length = size_t(stat.st_size); 81 // The length we obtained from stat is wrong too (it will always be 4096)
|
/system/extras/tests/binder/benchmarks/ |
H A D | binderAddInts.cpp | 203 int stat; local 204 rv = wait(&stat);
|
/system/extras/tests/directiotest/ |
H A D | directiotest.c | 39 #include <sys/stat.h> 175 struct stat stat; local 193 if (fstat(fd, &stat) == -1) { 194 perror("stat"); 196 } else if (!S_ISBLK(stat.st_mode)) {
|
/system/extras/ext4_utils/ |
H A D | make_ext4fs.c | 35 #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); 185 dentries[i].mtime = stat.st_mtime; 195 int dir = S_ISDIR(stat.st_mode); 207 if (selabel_lookup(sehnd, &dentries[i].secon, dentries[i].path, stat.st_mode) < 0) { 216 if (S_ISREG(stat [all...] |
/system/core/sdcard/ |
H A D | sdcard.c | 33 #include <sys/stat.h> 239 * truncation on 32 bit processes when unsigned long long stat.st_ino is 412 static void attr_from_stat(struct fuse_attr *attr, const struct stat *s, const struct node* node) 815 struct stat s; 842 struct stat s; 1312 struct statfs stat; local 1323 if (statfs(fuse->root.name, &stat) < 0) { 1327 out.st.blocks = stat.f_blocks; 1328 out.st.bfree = stat.f_bfree; 1329 out.st.bavail = stat [all...] |
Completed in 233 milliseconds