Searched refs:FILE_ATTRIBUTE_DIRECTORY (Results 1 – 25 of 63) sorted by relevance
123
18 inline bool IsDir(DWORD attrib) { return (attrib & FILE_ATTRIBUTE_DIRECTORY) != 0; } in IsDir()47 void SetAsDir() { Attrib = FILE_ATTRIBUTE_DIRECTORY; } in SetAsDir()51 bool IsDir() const { return MatchesMask(FILE_ATTRIBUTE_DIRECTORY); } in IsDir()
483 Attrib &= ~(FILE_ATTRIBUTE_DIRECTORY | FILE_ATTRIBUTE_REPARSE_POINT); in Find()534 if (attrib != INVALID_FILE_ATTRIBUTES && (attrib & FILE_ATTRIBUTE_DIRECTORY) != 0) in Find()547 if (attrib != INVALID_FILE_ATTRIBUTES && (attrib & FILE_ATTRIBUTE_DIRECTORY) != 0) in Find()580 … if (isOK || attrib != INVALID_FILE_ATTRIBUTES && (attrib & FILE_ATTRIBUTE_DIRECTORY) != 0) in Find()
342 if (attrib != INVALID_FILE_ATTRIBUTES && (attrib & FILE_ATTRIBUTE_DIRECTORY) != 0) in CreateComplexDir()412 && (attrib & FILE_ATTRIBUTE_DIRECTORY) == 0 in DeleteFileAlways()
57 FILE_ATTRIBUTE_NORMAL | FILE_ATTRIBUTE_DIRECTORY, in GetSysImageList()
178 if ((attrib & FILE_ATTRIBUTE_DIRECTORY) != 0 || dotPos < 0) in GetIconIndex()
94 return (data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) == 0; in IsFile()102 return (data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) == in IsFolder()103 FILE_ATTRIBUTE_DIRECTORY; in IsFolder()
31 if (FileAttributes & FILE_ATTRIBUTE_DIRECTORY) in IsFile()76 return FileAttrs & FILE_ATTRIBUTE_DIRECTORY; in IsDir()139 if (FindInfo.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) { in ListFilesInDirRecursive()
81 void SetDirStatusFromAttrib() { IsDir = ((Attrib & FILE_ATTRIBUTE_DIRECTORY) != 0); } in SetDirStatusFromAttrib()
34 if (file.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) { in WalkDirectories()
240 if ((dataPtr->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) && in get_the_file()246 if (!(dataPtr->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) { in get_the_file()
186 use winapi::um::winnt::FILE_ATTRIBUTE_DIRECTORY; in is_dir()187 self.metadata.file_attributes() & FILE_ATTRIBUTE_DIRECTORY != 0 in is_dir()
40 !(attributes & FILE_ATTRIBUTE_DIRECTORY)) in CheckDir()
94 return (attribs != INVALID_FILE_ATTRIBUTES) && ((attribs & FILE_ATTRIBUTE_DIRECTORY) > 0); in IsDirectory()
175 FILE_ATTRIBUTE_DIRECTORY = 16 variable
43 bool is_directory = !!(attrib & FILE_ATTRIBUTE_DIRECTORY); in Symlink()
45 return (fileattr & FILE_ATTRIBUTE_DIRECTORY) != 0; in DirectoryExists()
103 bool IsDir() const { return (Attrib & FILE_ATTRIBUTE_DIRECTORY) != 0 ; } in IsDir()
177 if (entry.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) in cupsDirRead()
168 if (find_data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) { in DeleteRecursively()
158 (handle->m_FindData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) != 0; in FX_GetNextFile()
239 (attributes & FILE_ATTRIBUTE_DIRECTORY)) { in DirectoryExists()
237 (attributes & FILE_ATTRIBUTE_DIRECTORY)) { in DirectoryExists()
233 (attributes & FILE_ATTRIBUTE_DIRECTORY)) { in DirectoryExists()