Home
last modified time | relevance | path

Searched defs:OpenOptions (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/fs-err/src/tokio/
Dopen_options.rs12 pub struct OpenOptions { struct
13 tokio: TokioOpenOptions, argument
16 impl OpenOptions { impl
40 pub fn read(&mut self, read: bool) -> &mut OpenOptions { in read() method
48 pub fn write(&mut self, write: bool) -> &mut OpenOptions { in write() method
56 pub fn append(&mut self, append: bool) -> &mut OpenOptions { in append() method
64 pub fn truncate(&mut self, truncate: bool) -> &mut OpenOptions { in truncate() method
72 pub fn create(&mut self, create: bool) -> &mut OpenOptions { in create() method
80 pub fn create_new(&mut self, create_new: bool) -> &mut OpenOptions { in create_new() method
99 impl OpenOptions { implementation
[all …]
/external/rust/crates/tokio/src/fs/
Dopen_options.rs84 pub struct OpenOptions(StdOpenOptions); struct
86 impl OpenOptions { implementation
132 pub fn read(&mut self, read: bool) -> &mut OpenOptions { in read() method
162 pub fn write(&mut self, write: bool) -> &mut OpenOptions { in write() method
221 pub fn append(&mut self, append: bool) -> &mut OpenOptions { in append() method
254 pub fn truncate(&mut self, truncate: bool) -> &mut OpenOptions { in truncate() method
290 pub fn create(&mut self, create: bool) -> &mut OpenOptions { in create() method
333 pub fn create_new(&mut self, create_new: bool) -> &mut OpenOptions { in create_new() method
407 impl OpenOptions { impl
471 impl OpenOptions { impl
[all …]
/external/rust/crates/fs-err/src/
Dopen_options.rs4 pub struct OpenOptions(fs::OpenOptions); struct
6 impl OpenOptions { implementation
81 impl OpenOptions { implementation
90 pub fn options(&self) -> &fs::OpenOptions { in options()
98 pub fn options_mut(&mut self) -> &mut fs::OpenOptions { in options_mut()
107 impl OpenOptionsExt for crate::OpenOptions { implementation
125 impl OpenOptionsExt for crate::OpenOptions { implementation
Dlib.rs283 impl Sealed for crate::OpenOptions {} implementation
/external/rust/crates/tokio/src/net/unix/
Dpipe.rs70 pub struct OpenOptions { struct
76 impl OpenOptions { impl
230 impl Default for OpenOptions { implementation
/external/crosvm/arch/src/pstore/sys/
Dlinux.rs7 pub fn set_extra_open_opts(_opts: &mut OpenOptions) { in set_extra_open_opts()
Dwindows.rs10 pub fn set_extra_open_opts(opts: &mut OpenOptions) { in set_extra_open_opts()
/external/crosvm/fuse/src/
Dfilesystem.rs700 ) -> io::Result<(Option<Self::Handle>, OpenOptions)> { in open() argument
728 ) -> io::Result<(Entry, Option<Self::Handle>, OpenOptions)> { in create() argument
1003 ) -> io::Result<(Option<Self::Handle>, OpenOptions)> { in opendir() argument
1288 ) -> io::Result<(Entry, Option<Self::Handle>, OpenOptions)> { in atomic_open() argument
/external/crosvm/devices/src/virtio/fs/
Dpassthrough.rs1052 fn get_cache_open_options(&self, flags: u32) -> OpenOptions { in get_cache_open_options()
1087 fn do_open(&self, inode: Inode, flags: u32) -> io::Result<(Option<Handle>, OpenOptions)> { in do_open() argument
1108 ) -> io::Result<(Option<Handle>, OpenOptions)> { in do_open_at() argument
1849 ) -> io::Result<(Option<Handle>, OpenOptions)> { in opendir() argument
1945 ) -> io::Result<(Option<Handle>, OpenOptions)> { in open() argument
2040 ) -> io::Result<(Entry, Option<Handle>, OpenOptions)> { in create() argument
3080 ) -> io::Result<(Entry, Option<Self::Handle>, OpenOptions)> { in atomic_open() argument
3241 ) -> io::Result<(Entry, Option<Handle>, OpenOptions)> { in atomic_open() argument
/external/crosvm/base/src/sys/macos/
Dmod.rs36 _options: &std::fs::OpenOptions, in open_file_or_duplicate()
/external/rust/crates/tempfile/src/file/
Dmod.rs958 open_options: &mut OpenOptions, in create_named()