Searched refs:FILE_ATTRIBUTE_READONLY (Results 1 – 19 of 19) sorted by relevance
67 if ((info.find_data().dwFileAttributes & FILE_ATTRIBUTE_READONLY) && in DeleteFileRecursive()71 info.find_data().dwFileAttributes & ~FILE_ATTRIBUTE_READONLY); in DeleteFileRecursive()126 if ((attr & FILE_ATTRIBUTE_READONLY) && in DoDeleteFile()128 attr & ~FILE_ATTRIBUTE_READONLY)) { in DoDeleteFile()
38 if ((attr & FILE_ATTRIBUTE_READONLY) == 0u) in make_permissions()
1968 attr &= ~FILE_ATTRIBUTE_READONLY; in permissions()1970 attr |= FILE_ATTRIBUTE_READONLY; in permissions()1972 attr &= ~FILE_ATTRIBUTE_READONLY; in permissions()1974 attr |= FILE_ATTRIBUTE_READONLY; in permissions()
25 BOOST_WINAPI_TEST_CONSTANT(FILE_ATTRIBUTE_READONLY); in main()
449 if ((attr & FILE_ATTRIBUTE_READONLY) && in DeleteSystemFile()450 !::SetFileAttributesA(path, attr & ~FILE_ATTRIBUTE_READONLY)) in DeleteSystemFile()
183 FILE_ATTRIBUTE_READONLY = 1 variable
40 table.insert(make_pair<DWORD, std::string>(FILE_ATTRIBUTE_READONLY, "FILE_ATTRIBUTE_READONLY")); in cpp_main()
541 attributes |= FILE_ATTRIBUTE_READONLY; in fs__open()1190 if (info.dwFileAttributes & FILE_ATTRIBUTE_READONLY) { in fs__unlink()1194 basic.FileAttributes = (info.dwFileAttributes & ~FILE_ATTRIBUTE_READONLY) | in fs__unlink()1794 if (file_info.BasicInformation.FileAttributes & FILE_ATTRIBUTE_READONLY) in fs__stat_handle()2164 !(attr & FILE_ATTRIBUTE_READONLY) || in fs__access()2231 file_info.FileAttributes &= ~FILE_ATTRIBUTE_READONLY; in fs__fchmod()2233 file_info.FileAttributes |= FILE_ATTRIBUTE_READONLY; in fs__fchmod()
588 ADD_INT_MACRO(module, FILE_ATTRIBUTE_READONLY); in stat_exec()
2997 !(attr & FILE_ATTRIBUTE_READONLY) || in os_access_impl()3257 attr &= ~FILE_ATTRIBUTE_READONLY; in os_chmod_impl()3259 attr |= FILE_ATTRIBUTE_READONLY; in os_chmod_impl()
269 if ((handle_info->dwFileAttributes & FILE_ATTRIBUTE_READONLY) != FILE_ATTRIBUTE_READONLY) in _g_win32_fill_statbuf_from_handle_info()
182 FILE_ATTRIBUTE_READONLY : in open_file()
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;
212 BOOST_CONSTEXPR_OR_CONST DWORD_ FILE_ATTRIBUTE_READONLY_ = FILE_ATTRIBUTE_READONLY;
420 FILE_ATTRIBUTE_READONLY
1071 if (attr & FILE_ATTRIBUTE_READONLY) in attributes_to_mode()
355 if (Mode == AccessMode::Write && (Attributes & FILE_ATTRIBUTE_READONLY))
1752 r = SetFileAttributes("test_file", FILE_ATTRIBUTE_READONLY); in TEST_IMPL()4260 r = SetFileAttributes("test_file", FILE_ATTRIBUTE_READONLY); in TEST_IMPL()
47945 (attr & FILE_ATTRIBUTE_READONLY)==0;