Lines Matching refs:st_mode
106 if (S_ISLNK(stat_info.st_mode)) { in VerifySpecificPathControlledByUser()
118 if ((stat_info.st_mode & S_IWGRP) && in VerifySpecificPathControlledByUser()
125 if (stat_info.st_mode & S_IWOTH) { in VerifySpecificPathControlledByUser()
213 if (!S_ISDIR(file_info.st_mode)) in DeleteFile()
302 S_ISDIR(to_path_stat.st_mode)) { in CopyDirectory()
311 DCHECK(recursive || S_ISDIR(from_stat.st_mode)); in CopyDirectory()
325 if (S_ISDIR(from_stat.st_mode)) { in CopyDirectory()
327 (from_stat.st_mode & 01777) | S_IRUSR | S_IXUSR | S_IWUSR) != in CopyDirectory()
334 } else if (S_ISREG(from_stat.st_mode)) { in CopyDirectory()
386 return S_ISDIR(file_info.st_mode); in DirectoryExists()
436 *mode = file_info.st_mode & FILE_PERMISSION_MASK; in GetPosixFilePermissions()
451 mode_t updated_mode_bits = stat_buf.st_mode & ~FILE_PERMISSION_MASK; in SetPosixFilePermissions()
636 S_ISDIR(file_info.st_mode)) in NormalizeFilePath()
652 if (S_ISLNK(st.st_mode)) in IsLink()
940 if (S_ISDIR(to_file_info.st_mode) != S_ISDIR(from_file_info.st_mode)) in MoveUnsafe()