/third_party/rust/crates/io-lifetimes/src/ |
H A D | traits.rs | 149 /// converted from `into_owned`. 163 fn from_into_fd<Owned: Into<OwnedFd>>(into_owned: Owned) -> Self in from_into_fd() 167 Self::from(into_owned.into()) in from_into_fd() 195 /// from `into_owned`. 209 fn from_into_handle<Owned: Into<OwnedHandle>>(into_owned: Owned) -> Self in from_into_handle() 213 Self::from(into_owned.into()) in from_into_handle() 228 /// from `into_owned`. 230 fn from_into_socket<Owned: Into<OwnedSocket>>(into_owned: Owned) -> Self in from_into_socket() 234 Self::from(into_owned.into()) in from_into_socket()
|
/third_party/rust/crates/clap/clap_complete/tests/ |
H A D | dynamic.rs | 31 .map(|s| s.to_string_lossy().into_owned()) in suggest_subcommand_subset() 77 .map(|s| s.to_string_lossy().into_owned()) in suggest_long_flag_subset() 112 .map(|s| s.to_string_lossy().into_owned()) in suggest_possible_value_subset() 158 .map(|s| s.to_string_lossy().into_owned()) in suggest_additional_short_flags()
|
/third_party/rust/crates/regex/examples/ |
H A D | shootout-regex-dna-single.rs | 21 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main() 54 seq = re.replace_all(&seq, replacement).into_owned(); in main()
|
H A D | shootout-regex-dna.rs | 23 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main() 61 seq = re.replace_all(&seq, replacement).into_owned(); in main()
|
H A D | shootout-regex-dna-bytes.rs | 23 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, &b""[..]).into_owned(); in main() 61 seq = re.replace_all(&seq, replacement).into_owned(); in main()
|
H A D | shootout-regex-dna-replace.rs | 15 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main()
|
H A D | shootout-regex-dna-single-cheat.rs | 21 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main()
|
H A D | shootout-regex-dna-cheat.rs | 28 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main()
|
/third_party/rust/crates/memchr/src/memmem/ |
H A D | mod.rs | 337 pub fn into_owned(self) -> FindIter<'h, 'static> { in into_owned() functions 341 finder: self.finder.into_owned(), in into_owned() 403 pub fn into_owned(self) -> FindRevIter<'h, 'static> { in into_owned() functions 406 finder: self.finder.into_owned(), in into_owned() 445 /// When the `std` feature is enabled, then this type has an `into_owned` 531 pub fn into_owned(self) -> Finder<'static> { in into_owned() functions 532 Finder { searcher: self.searcher.into_owned() } in into_owned() 572 /// When the `std` feature is enabled, then this type has an `into_owned` 662 pub fn into_owned(self) -> FinderRev<'static> { in into_owned() functions 663 FinderRev { searcher: self.searcher.into_owned() } in into_owned() 902 fn into_owned(self) -> Searcher<'static> { into_owned() functions 1090 fn into_owned(self) -> SearcherRev<'static> { into_owned() functions [all...] |
/third_party/rust/crates/clang-sys/src/ |
H A D | support.rs | 146 let pattern = directory.join(pattern).to_string_lossy().into_owned(); in find() 178 let stdout = String::from_utf8_lossy(&o.stdout).into_owned(); in run() 179 let stderr = String::from_utf8_lossy(&o.stderr).into_owned(); in run() 187 run(&path.to_string_lossy().into_owned(), arguments).unwrap() in run_clang()
|
/third_party/rust/crates/memchr/bench/src/memmem/ |
H A D | imp.rs | 36 let finder = memmem::Finder::new(needle).into_owned(); 48 PrebuiltIter(memmem::Finder::new(needle).into_owned()) 74 let finder = memmem::FinderRev::new(needle).into_owned(); 86 PrebuiltIter(memmem::FinderRev::new(needle).into_owned()) 128 let finder = finder(needle.as_bytes()).into_owned(); 144 PrebuiltIter(finder(needle.as_bytes()).into_owned()) 178 let finder = finder(needle.as_bytes()).into_owned(); 194 PrebuiltIter(finder(needle.as_bytes()).into_owned()) 230 let finder = bstr::Finder::new(needle).into_owned(); 242 PrebuiltIter(bstr::Finder::new(needle).into_owned()) [all...] |
/third_party/rust/crates/clap/src/parser/ |
H A D | parser.rs | 294 arg_values.push(arg_os.to_value_os().to_os_str().into_owned()); 414 arg_values.push(arg_os.to_value_os().to_os_str().into_owned()); 630 cmd.to_string_lossy().into_owned(), in parse_help_subcommand() 748 arg: long_arg.to_str_lossy().into_owned(), in parse_long_arg() 808 rest: rest.to_str_lossy().into_owned(), in parse_long_arg() 1035 let arg_values = vec![v.to_os_str().into_owned()]; in parse_opt_value() 1169 .extend(raw_val.split(val_delim).map(|x| x.to_os_str().into_owned())); in react() 1349 .into_owned(), in verify_num_args() 1535 KeyType::Long(l) => Some(l.to_string_lossy().into_owned()), in did_you_mean_error()
|
/third_party/rust/crates/codespan/codespan-reporting/tests/support/ |
H A D | mod.rs | 29 String::from_utf8_lossy(buffer.as_slice()).into_owned()
|
/third_party/rust/crates/os_str_bytes/tests/ |
H A D | raw_random.rs | 25 let prefix = RawOsStr::new(&string).into_owned(); in test_complex()
|
/third_party/rust/crates/clap/src/error/ |
H A D | mod.rs | 253 let c = Colorizer::new(self.stream(), color_when).with_content(style.into_owned()); in print() 275 self.formatted().into_owned() in render()
|
/third_party/rust/crates/nix/src/ |
H A D | pty.rs | 194 Ok(name.to_string_lossy().into_owned()) in ptsname() 220 let name = cname.to_string_lossy().into_owned(); in ptsname_r()
|
/third_party/rust/crates/cxx/gen/build/src/ |
H A D | deps.rs | 61 let mut k = k.to_string_lossy().into_owned(); in direct_dependencies()
|
/third_party/rust/crates/rustix/tests/fs/ |
H A D | openat2.rs | 13 let path = path.as_cow_c_str().unwrap().into_owned(); in openat2_more()
|
/third_party/rust/crates/nom/src/ |
H A D | error.rs | 743 String::from_utf8_lossy(&v[..]).into_owned() 829 String::from_utf8_lossy(&v[..]).into_owned()
|
/third_party/rust/crates/clang-sys/build/ |
H A D | common.rs | 107 Some(String::from_utf8_lossy(&output.stdout).into_owned()) in run_command()
|
/third_party/rust/crates/nix/src/mount/ |
H A D | bsd.rs | 132 errmsg: errmsg.map(CStr::to_string_lossy).map(Cow::into_owned), in new()
|
/third_party/rust/crates/bindgen/bindgen-integration/src/ |
H A D | lib.rs | 45 let name = unsafe { CStr::from_ptr(c_str).to_string_lossy().into_owned() }; in test_static_method()
|
/third_party/rust/crates/rust-cexpr/tests/ |
H A D | clang.rs | 40 let display_name = String::from_utf8_lossy(&ident).into_owned(); in test_definition()
|
/third_party/rust/crates/clap/clap_complete/src/ |
H A D | dynamic.rs | 163 .map(|s| shlex::quote(s.as_ref()).into_owned()) in register()
|
/third_party/rust/crates/clap/clap_mangen/src/ |
H A D | render.rs | 305 bold(env.to_string_lossy().into_owned()), in option_environment()
|