Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dfd_utils.cpp195 struct stat f_stat; in CreateFromFd() local
198 if (TEMP_FAILURE_RETRY(fstat(fd, &f_stat)) == -1) { in CreateFromFd()
204 if (S_ISSOCK(f_stat.st_mode)) { in CreateFromFd()
229 if (!S_ISCHR(f_stat.st_mode) && !S_ISREG(f_stat.st_mode)) { in CreateFromFd()
232 if (S_ISDIR(f_stat.st_mode)) { in CreateFromFd()
234 } else if (S_ISLNK(f_stat.st_mode)) { in CreateFromFd()
236 } else if (S_ISBLK(f_stat.st_mode)) { in CreateFromFd()
238 } else if (S_ISFIFO(f_stat.st_mode)) { in CreateFromFd()
297 return new FileDescriptorInfo(f_stat, file_path, fd, open_flags, fd_flags, fs_flags, offset); in CreateFromFd()
301 struct stat f_stat; in RefersToSameFile() local
[all …]