Home
last modified time | relevance | path

Searched refs:NewAttr (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/Nt32Pkg/WinNtSimpleFileSystemDxe/
DWinNtSimpleFileSystem.c2317 UINT32 NewAttr; in WinNtSimpleFileSystemSetInfo() local
2813 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 …]
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DPosixFileSystem.c1074 mode_t NewAttr; in PosixFileSetInfo() local
1386 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()