Searched refs:FileFlags (Results 1 – 5 of 5) sorted by relevance
/external/crosvm/sys_util/src/ |
D | file_flags.rs | 12 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/google-breakpad/src/common/mac/ |
D | macho_reader.h | 64 typedef uint32_t FileFlags; typedef 386 FileFlags flags() const { return flags_; } in flags() 453 FileFlags flags_;
|
D | macho_reader_unittest.cc | 47 using mach_o::FileFlags; 884 EXPECT_EQ(FileFlags(0x80e71d64), reader.flags()); in TEST_F() 907 EXPECT_EQ(FileFlags(0x80e71d64), reader.flags()); in TEST_F() 930 EXPECT_EQ(FileFlags(0x80e71d64), reader.flags()); in TEST_F() 953 EXPECT_EQ(FileFlags(0x80e71d64), reader.flags()); in TEST_F() 996 EXPECT_EQ(FileFlags(MH_TWOLEVEL | in TEST_F() 999 FileFlags(reader.flags())); in TEST_F() 1022 EXPECT_EQ(FileFlags(MH_TWOLEVEL | in TEST_F()
|
/external/crosvm/devices/src/virtio/ |
D | wl.rs | 65 error, pipe, round_up_to_page_size, warn, Error, EventFd, FileFlags, FileReadWriteVolatile, 845 let flags = match FileFlags::from_file(&fd) { in from_file() 846 Ok(FileFlags::Read) => VIRTIO_WL_VFD_READ, in from_file() 847 Ok(FileFlags::Write) => VIRTIO_WL_VFD_WRITE, in from_file() 848 Ok(FileFlags::ReadWrite) => VIRTIO_WL_VFD_READ | VIRTIO_WL_VFD_WRITE, in from_file()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rc/ |
D | ResourceFileWriter.cpp | 1445 ulittle32_t FileFlags; in writeVersionInfoBody() member 1483 FixedInfo.FileFlags = GetField(VersionInfoFixed::FtFileFlags)[0]; in writeVersionInfoBody()
|