Home
last modified time | relevance | path

Searched refs:raw_descriptor (Results 1 – 6 of 6) sorted by relevance

/external/crosvm/base/src/
Dlib.rs43 pub fn validate_raw_descriptor(raw_descriptor: RawDescriptor) -> Result<RawDescriptor> { in validate_raw_descriptor()
44 validate_raw_fd(raw_descriptor) in validate_raw_descriptor()
/external/crosvm/vm_control/src/
Dclient.rs67 let raw_descriptor = path in raw_descriptor_from_path() localVariable
81 validate_raw_descriptor(raw_descriptor).map_err(ModifyUsbError::FailedDescriptorValidate) in raw_descriptor_from_path()
/external/crosvm/devices/src/virtio/fs/
Dpassthrough.rs514 let raw_descriptor = unsafe { in new() localVariable
521 if raw_descriptor < 0 { in new()
526 let proc = unsafe { File::from_raw_descriptor(raw_descriptor) }; in new()
595 let raw_descriptor = unsafe { in open_fd() localVariable
602 if raw_descriptor < 0 { in open_fd()
607 Ok(unsafe { File::from_raw_descriptor(raw_descriptor) }) in open_fd()
1060 let raw_descriptor = unsafe { libc::openat(libc::AT_FDCWD, root.as_ptr(), flags) }; in init() localVariable
1061 if raw_descriptor < 0 { in init()
1066 let f = unsafe { File::from_raw_descriptor(raw_descriptor) }; in init()
/external/perfetto/src/trace_processor/sqlite/
Dspan_join_operator_table.h389 static util::Status Parse(const std::string& raw_descriptor,
Dspan_join_operator_table.cc877 const std::string& raw_descriptor, in Parse() argument
883 base::StringSplitter splitter(raw_descriptor, ' '); in Parse()
/external/crosvm/src/
Dlinux.rs1761 let raw_descriptor = path in raw_descriptor_from_path() localVariable
1766 validate_raw_descriptor(raw_descriptor).map_err(Error::ValidateRawDescriptor) in raw_descriptor_from_path()