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

/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dhci.h2422 struct hci_dev_stats stat; member in struct:hci_dev_info
/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 ALOGE("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 ALOGE("Cannot stat fil
[all...]
/system/core/sdcard/
H A Dsdcard.c24 #include <sys/stat.h>
274 static void attr_from_stat(struct fuse_attr *attr, const struct stat *s, __u64 nid)
473 struct stat s;
500 struct stat s;
884 struct statfs stat; local
895 if (statfs(fuse->root.name, &stat) < 0) {
899 out.st.blocks = stat.f_blocks;
900 out.st.bfree = stat.f_bfree;
901 out.st.bavail = stat.f_bavail;
902 out.st.files = stat
[all...]
/system/extras/ext4_utils/
H A Dmake_ext4fs.c34 #include <sys/stat.h>
108 struct stat stat; local
135 ret = lstat(dentries[i].full_path, &stat);
143 dentries[i].size = stat.st_size;
144 dentries[i].mode = stat.st_mode & (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO);
145 dentries[i].mtime = stat.st_mtime;
151 int dir = S_ISDIR(stat.st_mode);
164 if (selabel_lookup(sehnd, &dentries[i].secon, sepath, stat.st_mode) < 0) {
173 if (S_ISREG(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;

Completed in 101 milliseconds