Searched refs:raw_descriptor (Results 1 – 6 of 6) sorted by relevance
43 pub fn validate_raw_descriptor(raw_descriptor: RawDescriptor) -> Result<RawDescriptor> { in validate_raw_descriptor()44 validate_raw_fd(raw_descriptor) in validate_raw_descriptor()
67 let raw_descriptor = path in raw_descriptor_from_path() localVariable81 validate_raw_descriptor(raw_descriptor).map_err(ModifyUsbError::FailedDescriptorValidate) in raw_descriptor_from_path()
514 let raw_descriptor = unsafe { in new() localVariable521 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() localVariable602 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() localVariable1061 if raw_descriptor < 0 { in init()1066 let f = unsafe { File::from_raw_descriptor(raw_descriptor) }; in init()
389 static util::Status Parse(const std::string& raw_descriptor,
877 const std::string& raw_descriptor, in Parse() argument883 base::StringSplitter splitter(raw_descriptor, ' '); in Parse()
1761 let raw_descriptor = path in raw_descriptor_from_path() localVariable1766 validate_raw_descriptor(raw_descriptor).map_err(Error::ValidateRawDescriptor) in raw_descriptor_from_path()