Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/src/filesystem/
H A Dposix_compat.h161 if (!(basic.FileAttributes & FILE_ATTRIBUTE_READONLY)) in stat_handle()
381 basic.FileAttributes &= ~FILE_ATTRIBUTE_READONLY;
383 basic.FileAttributes |= FILE_ATTRIBUTE_READONLY;
406 attributes &= ~FILE_ATTRIBUTE_READONLY; in fchmodat()
408 attributes |= FILE_ATTRIBUTE_READONLY; in fchmodat()
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_read_format_rar5.c1131 flag = FILE_ATTRIBUTE_READONLY; in DEFINE_TEST()
1167 flag = FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_HIDDEN; in DEFINE_TEST()
1179 flag = FILE_ATTRIBUTE_READONLY; in DEFINE_TEST()
1215 flag = FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_HIDDEN; in DEFINE_TEST()
H A Dtest_entry.c442 assertEqualInt(FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_HIDDEN, set); in DEFINE_TEST()
446 assertEqualInt(FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_HIDDEN, set); in DEFINE_TEST()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_entry.c1993 #ifdef FILE_ATTRIBUTE_READONLY
1994 { "nordonly", L"nordonly", FILE_ATTRIBUTE_READONLY, 0},
1995 { "nourdonly", L"nourdonly", FILE_ATTRIBUTE_READONLY, 0},
1996 { "noreadonly", L"noreadonly", FILE_ATTRIBUTE_READONLY, 0},
H A Darchive_read_support_format_7zip.c120 #ifndef FILE_ATTRIBUTE_READONLY
121 #define FILE_ATTRIBUTE_READONLY 0x00000001 macro
766 …const int supported_attrs = FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_SYSTE… in archive_read_format_7zip_read_header()
774 if (zip_entry->attr & FILE_ATTRIBUTE_READONLY) { in archive_read_format_7zip_read_header()
2755 if (entries[i].attr & FILE_ATTRIBUTE_READONLY) { in read_Header()
2762 } else if (entries[i].attr & FILE_ATTRIBUTE_READONLY) { in read_Header()
2811 if (entries[i].attr & FILE_ATTRIBUTE_READONLY) in read_Header()
H A Darchive_write_set_format_7zip.c95 #ifndef FILE_ATTRIBUTE_READONLY
96 #define FILE_ATTRIBUTE_READONLY 0x00000001 macro
1454 attr |= FILE_ATTRIBUTE_READONLY; in make_header()
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A DPath.inc639 if (Mode == AccessMode::Write && (Attributes & FILE_ATTRIBUTE_READONLY))
697 return (Attrs & FILE_ATTRIBUTE_READONLY) ? (all_read | all_exe) : all_all;
831 Attributes &= ~FILE_ATTRIBUTE_READONLY;
836 Attributes |= FILE_ATTRIBUTE_READONLY;
/freebsd/contrib/sqlite3/
H A Dsqlite3.c52174 (attr & FILE_ATTRIBUTE_READONLY)==0;