Searched defs:stat (Results 1 - 8 of 8) sorted by relevance

/system/core/adb/
H A Dfile_sync_service.h60 } stat; member in union:__anon274
/system/core/libdiskconfig/
H A Ddiskconfig.c27 #include <sys/stat.h>
241 struct stat stat; local
246 if (fstat(fd, &stat)) {
247 LOGE("Cannot stat, errno=%d.", errno);
251 if (S_ISBLK(stat.st_mode) && ((rv = ioctl(fd, BLKRRPART, NULL)) < 0)) {
278 struct stat stat; local
288 if (fstat(fd, &stat)) {
289 LOGE("Cannot stat fil
[all...]
/system/extras/ext4_utils/
H A Dmake_ext4fs.c31 #include <sys/stat.h>
78 struct stat stat; local
105 ret = lstat(dentries[i].full_path, &stat);
113 dentries[i].size = stat.st_size;
114 dentries[i].mode = stat.st_mode & (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO);
115 dentries[i].mtime = stat.st_mtime;
121 int dir = S_ISDIR(stat.st_mode);
131 if (S_ISREG(stat.st_mode)) {
133 } else if (S_ISDIR(stat
[all...]
/system/extras/tests/binder/benchmarks/
H A DbinderAddInts.cpp203 int stat; local
204 rv = wait(&stat);
/system/extras/tests/directiotest/
H A Ddirectiotest.c37 #include <sys/stat.h>
174 struct stat stat; local
192 if (fstat(fd, &stat) == -1) {
193 perror("stat");
195 } else if (!S_ISBLK(stat.st_mode)) {
/system/extras/tests/framebuffer/
H A Dmdp_test.c23 #include <sys/stat.h>
33 struct stat stat; local
57 if (fstat(*fd, &stat) < 0) {
62 *len = stat.st_size;
/system/core/sdcard/
H A Dsdcard.c24 #include <sys/stat.h>
195 void attr_from_stat(struct fuse_attr *attr, struct stat *s)
227 struct stat s;
410 struct stat s;
803 struct statfs stat; local
809 if (statfs(fuse->root.name, &stat)) {
815 out.st.blocks = stat.f_blocks;
816 out.st.bfree = stat.f_bfree;
817 out.st.bavail = stat.f_bavail;
818 out.st.files = stat
[all...]
/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dhci.h2422 struct hci_dev_stats stat; member in struct:hci_dev_info

Completed in 241 milliseconds