Searched refs:FILE_ATTRIBUTE_READONLY (Results 1 – 22 of 22) sorted by relevance
15 inline bool IsReadOnly(DWORD attrib) { return (attrib & FILE_ATTRIBUTE_READONLY) != 0; } in IsReadOnly()56 bool IsReadOnly() const { return MatchesMask(FILE_ATTRIBUTE_READONLY); } in IsReadOnly()
413 && (attrib & FILE_ATTRIBUTE_READONLY) != 0) in DeleteFileAlways()415 if (!SetFileAttrib(path, attrib & ~FILE_ATTRIBUTE_READONLY)) in DeleteFileAlways()
449 if ((attr & FILE_ATTRIBUTE_READONLY) && in DeleteFile()450 !::SetFileAttributesA(path, attr & ~FILE_ATTRIBUTE_READONLY)) in DeleteFile()
183 FILE_ATTRIBUTE_READONLY = 1 variable
167 flags = FILE_ATTRIBUTE_READONLY; in GetStdioHandle()
319 DWORD file_flags = FILE_ATTRIBUTE_READONLY | FILE_FLAG_OVERLAPPED; in NewRandomAccessFile()398 DWORD file_flags = FILE_ATTRIBUTE_READONLY; in NewReadOnlyMemoryRegionFromFile()
588 ADD_INT_MACRO(module, FILE_ATTRIBUTE_READONLY); in stat_exec()
2917 !(attr & FILE_ATTRIBUTE_READONLY) || in os_access_impl()3177 attr &= ~FILE_ATTRIBUTE_READONLY; in os_chmod_impl()3179 attr |= FILE_ATTRIBUTE_READONLY; in os_chmod_impl()
361 s[1] = (char)(((wa & FILE_ATTRIBUTE_READONLY ) != 0) ? 'R': '.'); in GetAttribString()
589 if (Mode == AccessMode::Write && (Attributes & FILE_ATTRIBUTE_READONLY))654 return (Attrs & FILE_ATTRIBUTE_READONLY) ? (all_read | all_exe) : all_all;764 Attributes &= ~FILE_ATTRIBUTE_READONLY;770 Attributes |= FILE_ATTRIBUTE_READONLY;
609 if (Mode == AccessMode::Write && (Attributes & FILE_ATTRIBUTE_READONLY))674 return (Attrs & FILE_ATTRIBUTE_READONLY) ? (all_read | all_exe) : all_all;784 Attributes &= ~FILE_ATTRIBUTE_READONLY;790 Attributes |= FILE_ATTRIBUTE_READONLY;
420 FILE_ATTRIBUTE_READONLY
214 path.value().c_str(), read_only ? (attrs | FILE_ATTRIBUTE_READONLY) in SetReadOnly()215 : (attrs & ~FILE_ATTRIBUTE_READONLY))); in SetReadOnly()220 FILE_ATTRIBUTE_READONLY) in SetReadOnly()239 return attrs & FILE_ATTRIBUTE_READONLY; in IsReadOnly()
1094 if (attr & FILE_ATTRIBUTE_READONLY) in attributes_to_mode()1736 || !(attr & FILE_ATTRIBUTE_READONLY) in posix_access()1867 attr &= ~FILE_ATTRIBUTE_READONLY; in posix_chmod()1869 attr |= FILE_ATTRIBUTE_READONLY; in posix_chmod()1891 attr &= ~FILE_ATTRIBUTE_READONLY; in posix_chmod()1893 attr |= FILE_ATTRIBUTE_READONLY; in posix_chmod()
860 if (attr & FILE_ATTRIBUTE_READONLY) in attributes_to_mode()
150 s[1] = ((wa & FILE_ATTRIBUTE_READONLY) != 0) ? 'R': kEmptyAttribChar; in GetAttribString()
1210 SetFileAttrib(parentFsPath, parentFi.Attrib & ~FILE_ATTRIBUTE_READONLY); in GetStream()
355 if (Mode == AccessMode::Write && (Attributes & FILE_ATTRIBUTE_READONLY))
357 if (Mode == AccessMode::Write && (Attributes & FILE_ATTRIBUTE_READONLY))
47161 (attr & FILE_ATTRIBUTE_READONLY)==0;
47073 (attr & FILE_ATTRIBUTE_READONLY)==0;
47089 (attr & FILE_ATTRIBUTE_READONLY)==0;