Searched refs:NewAttr (Results 1 – 2 of 2) sorted by relevance
2317 UINT32 NewAttr; in WinNtSimpleFileSystemSetInfo() local2813 NewAttr = OldAttr; in WinNtSimpleFileSystemSetInfo()2816 NewAttr |= FILE_ATTRIBUTE_ARCHIVE; in WinNtSimpleFileSystemSetInfo()2818 NewAttr &= ~FILE_ATTRIBUTE_ARCHIVE; in WinNtSimpleFileSystemSetInfo()2822 NewAttr |= FILE_ATTRIBUTE_HIDDEN; in WinNtSimpleFileSystemSetInfo()2824 NewAttr &= ~FILE_ATTRIBUTE_HIDDEN; in WinNtSimpleFileSystemSetInfo()2828 NewAttr |= FILE_ATTRIBUTE_SYSTEM; in WinNtSimpleFileSystemSetInfo()2830 NewAttr &= ~FILE_ATTRIBUTE_SYSTEM; in WinNtSimpleFileSystemSetInfo()2834 NewAttr |= FILE_ATTRIBUTE_READONLY; in WinNtSimpleFileSystemSetInfo()2836 NewAttr &= ~FILE_ATTRIBUTE_READONLY; in WinNtSimpleFileSystemSetInfo()[all …]
1074 mode_t NewAttr; in PosixFileSetInfo() local1386 NewAttr = OldAttr.st_mode; in PosixFileSetInfo()1389 NewAttr &= ~(S_IRUSR | S_IRGRP | S_IROTH); in PosixFileSetInfo()1391 NewAttr |= S_IRUSR; in PosixFileSetInfo()1394 if (chmod (NewFileName, NewAttr) != 0) { in PosixFileSetInfo()