Home
last modified time | relevance | path

Searched refs:FileFlags (Results 1 – 14 of 14) sorted by relevance

/external/crosvm/sys_util/src/
Dfile_flags.rs12 pub enum FileFlags { enum
18 impl FileFlags { impl
19 pub fn from_file(file: &dyn AsRawFd) -> Result<FileFlags> { in from_file() argument
27 O_RDONLY => Ok(FileFlags::Read), in from_file()
28 O_WRONLY => Ok(FileFlags::Write), in from_file()
29 O_RDWR => Ok(FileFlags::ReadWrite), in from_file()
44 assert_eq!(FileFlags::from_file(&read_pipe).unwrap(), FileFlags::Read); in pipe_pair()
45 assert_eq!(FileFlags::from_file(&write_pipe).unwrap(), FileFlags::Write); in pipe_pair()
51 assert_eq!(FileFlags::from_file(&evt).unwrap(), FileFlags::ReadWrite); in eventfd()
/external/llvm-project/lld/ELF/Arch/
DMipsArchTree.cpp35 struct FileFlags { struct
66 static void checkFlags(ArrayRef<FileFlags> files) { in checkFlags()
73 for (const FileFlags &f : files) { in checkFlags()
94 static uint32_t getMiscFlags(ArrayRef<FileFlags> files) { in getMiscFlags()
96 for (const FileFlags &f : files) in getMiscFlags()
103 static uint32_t getPicFlags(ArrayRef<FileFlags> files) { in getPicFlags()
106 for (const FileFlags &f : files.slice(1)) { in getPicFlags()
120 for (const FileFlags &f : files.slice(1)) in getPicFlags()
277 static uint32_t getArchFlags(ArrayRef<FileFlags> files) { in getArchFlags()
280 for (const FileFlags &f : files.slice(1)) { in getArchFlags()
[all …]
/external/google-breakpad/src/common/mac/
Dmacho_reader.h65 typedef uint32_t FileFlags; typedef
391 FileFlags flags() const { return flags_; } in flags()
458 FileFlags flags_;
Dmacho_reader_unittest.cc47 using mach_o::FileFlags;
888 EXPECT_EQ(FileFlags(0x80e71d64), reader.flags()); in TEST_F()
911 EXPECT_EQ(FileFlags(0x80e71d64), reader.flags()); in TEST_F()
934 EXPECT_EQ(FileFlags(0x80e71d64), reader.flags()); in TEST_F()
957 EXPECT_EQ(FileFlags(0x80e71d64), reader.flags()); in TEST_F()
1000 EXPECT_EQ(FileFlags(MH_TWOLEVEL | in TEST_F()
1003 FileFlags(reader.flags())); in TEST_F()
1026 EXPECT_EQ(FileFlags(MH_TWOLEVEL | in TEST_F()
/external/llvm-project/lld/lib/ReaderWriter/MachO/
DMachONormalizedFile.h221 LLVM_YAML_STRONG_TYPEDEF(uint32_t, FileFlags)
227 FileFlags flags = 0;
DFile.h228 void setFlags(normalized::FileFlags v) { _flags = v; } in setFlags()
281 normalized::FileFlags _flags = llvm::MachO::MH_SUBSECTIONS_VIA_SYMBOLS;
DMachONormalizedFileYAML.cpp161 struct ScalarBitSetTraits<FileFlags> {
162 static void bitset(IO &io, FileFlags &value) { in bitset()
/external/llvm-project/lld/unittests/MachOTests/
DMachONormalizedFileBinaryWriterTests.cpp160 EXPECT_EQ(FileFlags(MH_SUBSECTIONS_VIA_SYMBOLS), f2->flags); in TEST()
272 EXPECT_EQ(FileFlags(MH_SUBSECTIONS_VIA_SYMBOLS), f2->flags); in TEST()
391 EXPECT_EQ(FileFlags(MH_SUBSECTIONS_VIA_SYMBOLS), f2->flags); in TEST()
548 EXPECT_EQ(FileFlags(MH_SUBSECTIONS_VIA_SYMBOLS), f2->flags); in TEST()
/external/llvm-project/llvm/include/llvm/BinaryFormat/
DMinidump.h190 support::ulittle32_t FileFlags; member
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DMinidump.h190 support::ulittle32_t FileFlags; member
/external/crosvm/devices/src/virtio/
Dwl.rs54 error, pipe, round_up_to_page_size, warn, AsRawDescriptor, Error, Event, FileFlags,
712 let flags = match FileFlags::from_file(&descriptor) { in from_file()
713 Ok(FileFlags::Read) => VIRTIO_WL_VFD_READ, in from_file()
714 Ok(FileFlags::Write) => VIRTIO_WL_VFD_WRITE, in from_file()
715 Ok(FileFlags::ReadWrite) => VIRTIO_WL_VFD_READ | VIRTIO_WL_VFD_WRITE, in from_file()
/external/llvm-project/llvm/tools/llvm-rc/
DResourceFileWriter.cpp1457 ulittle32_t FileFlags; in writeVersionInfoBody() member
1495 FixedInfo.FileFlags = GetField(VersionInfoFixed::FtFileFlags)[0]; in writeVersionInfoBody()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DMinidumpYAML.cpp268 mapOptionalHex(IO, "File Flags", Info.FileFlags, 0); in mapping()
/external/llvm-project/llvm/lib/ObjectYAML/
DMinidumpYAML.cpp268 mapOptionalHex(IO, "File Flags", Info.FileFlags, 0); in mapping()