Home
last modified time | relevance | path

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

/external/lzma/CPP/Windows/
DFileFind.h15 inline bool IsReadOnly(DWORD attrib) { return (attrib & FILE_ATTRIBUTE_READONLY) != 0; } in IsReadOnly()
56 bool IsReadOnly() const { return MatchesMask(FILE_ATTRIBUTE_READONLY); } in IsReadOnly()
DFileDir.cpp413 && (attrib & FILE_ATTRIBUTE_READONLY) != 0) in DeleteFileAlways()
415 if (!SetFileAttrib(path, attrib & ~FILE_ATTRIBUTE_READONLY)) in DeleteFileAlways()
/external/angle/util/windows/
Dtest_utils_win.cpp449 if ((attr & FILE_ATTRIBUTE_READONLY) && in DeleteFile()
450 !::SetFileAttributesA(path, attr & ~FILE_ATTRIBUTE_READONLY)) in DeleteFile()
/external/python/cpython3/Lib/
Dstat.py183 FILE_ATTRIBUTE_READONLY = 1 variable
/external/llvm-project/lldb/source/Host/windows/
DProcessLauncherWindows.cpp167 flags = FILE_ATTRIBUTE_READONLY; in GetStdioHandle()
/external/tensorflow/tensorflow/core/platform/windows/
Dwindows_file_system.cc319 DWORD file_flags = FILE_ATTRIBUTE_READONLY | FILE_FLAG_OVERLAPPED; in NewRandomAccessFile()
398 DWORD file_flags = FILE_ATTRIBUTE_READONLY; in NewReadOnlyMemoryRegionFromFile()
/external/python/cpython3/Modules/
D_stat.c588 ADD_INT_MACRO(module, FILE_ATTRIBUTE_READONLY); in stat_exec()
Dposixmodule.c2917 !(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()
/external/lzma/C/Util/7z/
D7zMain.c361 s[1] = (char)(((wa & FILE_ATTRIBUTE_READONLY ) != 0) ? 'R': '.'); in GetAttribString()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DPath.inc589 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;
/external/llvm-project/llvm/lib/Support/Windows/
DPath.inc609 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;
/external/python/cpython3/Doc/library/
Dstat.rst420 FILE_ATTRIBUTE_READONLY
/external/libchrome/base/files/
Dfile_util_unittest.cc214 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()
/external/python/cpython2/Modules/
Dposixmodule.c1094 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()
/external/python/cpython3/Python/
Dfileutils.c860 if (attr & FILE_ATTRIBUTE_READONLY) in attributes_to_mode()
/external/lzma/CPP/7zip/UI/Console/
DList.cpp150 s[1] = ((wa & FILE_ATTRIBUTE_READONLY) != 0) ? 'R': kEmptyAttribChar; in GetAttribString()
/external/lzma/CPP/7zip/UI/Common/
DArchiveExtractCallback.cpp1210 SetFileAttrib(parentFsPath, parentFi.Attrib & ~FILE_ATTRIBUTE_READONLY); in GetStream()
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DPath.inc355 if (Mode == AccessMode::Write && (Attributes & FILE_ATTRIBUTE_READONLY))
/external/llvm/lib/Support/Windows/
DPath.inc357 if (Mode == AccessMode::Write && (Attributes & FILE_ATTRIBUTE_READONLY))
/external/rust/crates/libsqlite3-sys/sqlite3/
Dsqlite3.c47161 (attr & FILE_ATTRIBUTE_READONLY)==0;
/external/sqlite/dist/orig/
Dsqlite3.c47073 (attr & FILE_ATTRIBUTE_READONLY)==0;
/external/sqlite/dist/
Dsqlite3.c47089 (attr & FILE_ATTRIBUTE_READONLY)==0;