Home
last modified time | relevance | path

Searched refs:f_stat (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/jni/
Dfd_utils.cpp221 struct stat f_stat; in CreateFromFd() local
224 if (TEMP_FAILURE_RETRY(fstat(fd, &f_stat)) == -1) { in CreateFromFd()
230 if (S_ISSOCK(f_stat.st_mode)) { in CreateFromFd()
254 if (!S_ISCHR(f_stat.st_mode) && !S_ISREG(f_stat.st_mode)) { in CreateFromFd()
257 if (S_ISDIR(f_stat.st_mode)) { in CreateFromFd()
259 } else if (S_ISLNK(f_stat.st_mode)) { in CreateFromFd()
261 } else if (S_ISBLK(f_stat.st_mode)) { in CreateFromFd()
263 } else if (S_ISFIFO(f_stat.st_mode)) { in CreateFromFd()
323 new FileDescriptorInfo(f_stat, file_path, fd, open_flags, fd_flags, fs_flags, offset)); in CreateFromFd()
327 struct stat f_stat; in RefersToSameFile() local
[all …]