/third_party/rust/crates/syn/tests/ |
H A D | test_meta.rs | 62 assert_eq!(meta, inner.into()); in test_parse_meta_name_value() 98 assert_eq!(meta, inner.into()); in test_parse_meta_item_list_lit() 134 assert_eq!(meta, inner.into()); in test_parse_meta_item_multiple()
|
/third_party/rust/crates/clap/clap_derive/src/ |
H A D | lib.rs | 43 .into() in value_enum() 80 .into() in parser() 92 .into() in subcommand() 104 .into() in args()
|
/third_party/rust/crates/clang-sys/build/ |
H A D | common.rs | 26 .entry(name.into()) in add_command_error() 118 let path = env::var("LLVM_CONFIG_PATH").unwrap_or_else(|_| "llvm-config".into()); in run_llvm_config() 220 Some((directory.to_owned(), filename.into())) in search_directory() 255 return vec![(parent.into(), filename.into())]; in search_libclang_directories()
|
/third_party/rust/crates/clap/clap_mangen/src/ |
H A D | lib.rs | 51 self.title = title.into(); in title() 68 self.section = section.into(); in section() 76 self.date = date.into(); in date() 84 self.source = source.into(); in source() 90 self.manual = manual.into(); in manual() 97 /// Render a full manual page into the writer. 99 /// If customization is needed, you can call the individual sections you want and mix them into 131 /// Render the title into the writer. 142 // Turn metadata into arguments for a .TH macro. 153 /// Render the NAME section into th [all...] |
/third_party/rust/crates/rustix/src/backend/libc/fs/ |
H A D | syscalls.rs | 500 times.last_access.clone().into(), 501 times.last_modification.clone().into(), 605 // Translate expected errno codes into ad-hoc integer 1061 times.last_access.clone().into(), 1062 times.last_modification.clone().into(), 1335 st_dev: crate::fs::makedev(x.stx_dev_major, x.stx_dev_minor).into(), in statx_to_stat() 1336 st_mode: x.stx_mode.into(), in statx_to_stat() 1337 st_nlink: x.stx_nlink.into(), in statx_to_stat() 1338 st_uid: x.stx_uid.into(), in statx_to_stat() 1339 st_gid: x.stx_gid.into(), in statx_to_stat() [all...] |
/third_party/rust/crates/io-lifetimes/examples/ |
H A D | flexible-apis.rs | 55 let _: OwnedFd = fd.into(); in consume_fd_b() 61 let _: OwnedFd = fd.into(); in consume_fd_c() 88 // The simple option requires an `.into()` at the callsite. in main() 89 consume_fd_a(a.into()); in main()
|
/third_party/rust/crates/codespan/codespan-reporting/src/ |
H A D | diagnostic.rs | 87 range: range.into(), in new() 108 self.message = message.into(); in with_message() 188 self.code = Some(code.into()); in with_code() 194 self.message = message.into(); in with_message()
|
/third_party/rust/crates/os_str_bytes/src/windows/wtf8/ |
H A D | convert.rs | 70 .map(Into::into) in next() 71 .unwrap_or_else(|x| x.unpaired_surrogate().into()); in next() 94 let shifts = self.shifts.into(); in size_hint() 169 let additional = self.surrogate.is_some().into(); in size_hint()
|
/third_party/rust/crates/clap/tests/builder/ |
H A D | possible_values.rs | 237 "slow".into(), in possible_values_alias_output() 275 "slow".into(), in possible_values_hidden_output() 276 "fast".into(), in possible_values_hidden_output() 337 "slow".into(), in missing_possible_value_error() 357 .value_parser([PossibleValue::new("test123").alias("123"), "test321".into()]) in alias() 381 "test321".into(), in aliases()
|
/third_party/rust/crates/clap/tests/ |
H A D | macros.rs | 7 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in name_explicit() 16 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in name_from_long() 25 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in name_from_value() 229 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in positional() 237 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in positional() 245 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in positional() 253 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in positional() 261 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in positional() 263 assert_eq!(arg.get_num_args(), Some((1..).into())); in positional() 269 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()] in positional() [all...] |
/third_party/musl/src/thread/powerpc/ |
H A D | __set_thread_area.s | 6 # mov pointer in reg3 into r2 8 # put 0 into return reg
|
/third_party/rust/crates/clap/tests/derive/ |
H A D | raw_bool_literal.rs | 24 a: "one".into(), in raw_bool_literal() 25 b: "--help".into() in raw_bool_literal()
|
H A D | raw_idents.rs | 13 r#type: "long".into() in raw_idents() 20 r#type: "short".into() in raw_idents()
|
H A D | explicit_name_no_renaming.rs | 14 Opt { foo: "long".into() }, in explicit_short_long_no_rename() 20 foo: "short".into(), in explicit_short_long_no_rename()
|
/third_party/rust/crates/clap/src/builder/ |
H A D | command.rs | 140 new_inner(name.into()) in new() 166 let arg = a.into(); in arg() 331 self.groups.push(group.into()); in group() 360 self = self.group(g.into()); in groups() 388 let subcmd = subcmd.into(); in subcommand() 677 debug!("Command::try_get_matches_from_mut: Reinserting command into arguments so subcommand parser matches it"); in try_get_matches_from_mut() 680 self.name = "".into(); in try_get_matches_from_mut() 908 // before parsing incase we run into a subcommand 1407 self.name = name.into(); in name() 1813 self.settings.insert(setting.into()); [all...] |
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | bn.rs | 189 let r = ffi::BN_div_word(self.as_ptr(), w.into()); in div_word() 193 Ok(r.into()) in div_word() 203 let r = ffi::BN_mod_word(self.as_ptr(), w.into()); in mod_word() 207 Ok(r.into()) in mod_word() 232 unsafe { cvt(ffi::BN_set_bit(self.as_ptr(), n.into())).map(|_| ()) } in set_bit() 241 unsafe { cvt(ffi::BN_clear_bit(self.as_ptr(), n.into())).map(|_| ()) } in clear_bit() 248 unsafe { ffi::BN_is_bit_set(self.as_ptr(), n.into()) == 1 } in is_bit_set() 257 unsafe { cvt(ffi::BN_mask_bits(self.as_ptr(), n.into())).map(|_| ()) } in mask_bits() 292 unsafe { cvt(ffi::BN_lshift(self.as_ptr(), a.as_ptr(), n.into())).map(|_| ()) } in lshift() 299 unsafe { cvt(ffi::BN_rshift(self.as_ptr(), a.as_ptr(), n.into())) in rshift() [all...] |
/third_party/rust/crates/codespan/codespan/src/ |
H A D | location.rs | 20 line: line.into(), in new() 21 column: column.into(), in new()
|
/third_party/rust/crates/nix/test/sys/ |
H A D | test_stat.rs | 16 fstat(f.as_raw_fd()).unwrap().st_flags.into(), in test_chflags() 25 fstat(f.as_raw_fd()).unwrap().st_flags.into(), in test_chflags()
|
/third_party/rust/crates/cxx/macro/src/ |
H A D | lib.rs | 68 /// placed into that same namespace in the generated C++ code. 75 Err(err) => return err.to_compile_error().into(), in bridge() 82 .into() in bridge() 102 type_id::expand(arg.krate, arg.path).into() in type_id()
|
/third_party/rust/crates/bindgen/bindgen/ir/analysis/ |
H A D | has_vtable.rs | 70 // Dependencies saying that if a key ItemId has been inserted into the 101 let id = id.into(); in insert() 123 let from = from.into(); in forward() 124 let to = to.into(); in forward() 185 self.have_vtable.contains_key(&base.ty.into()) in constrain() 208 trace!("enqueue {:?} into worklist", item); in each_depending_on()
|
/third_party/rust/crates/io-lifetimes/src/ |
H A D | traits.rs | 167 Self::from(into_owned.into()) in from_into_fd() 213 Self::from(into_owned.into()) in from_into_handle() 234 Self::from(into_owned.into()) in from_into_socket()
|
H A D | portability.rs | 284 self.into() in into_filelike() 303 self.into() in into_filelike() 322 self.into() in into_socketlike() 353 self.into() in into_socketlike() 362 /// function providing simplified from+into conversions. 416 /// function providing simplified from+into conversions. 470 /// function providing simplified from+into conversions. 499 /// function providing simplified from+into conversions.
|
/third_party/rust/crates/regex/bench/src/ffi/ |
H A D | re2.rs | 27 unsafe { Ok(Regex { re: re2_regexp_new(pattern.into()) }) } in new() 32 re2_regexp_match(self.re, text.into(), 0, text.len() as c_int) in is_match() 45 text.into(), in find_at()
|
/third_party/rust/crates/nom/src/bits/ |
H A D | streaming.rs | 21 Ok(((input, bit_offset), 0u8.into())) in take() 27 let mut acc: O = 0_u8.into(); in take() 37 byte.into() in take() 39 ((byte << offset) as u8 >> offset).into() in take()
|
H A D | complete.rs | 44 Ok(((input, bit_offset), 0u8.into())) in take() 53 let mut acc: O = 0_u8.into(); in take() 63 byte.into() in take() 65 ((byte << offset) as u8 >> offset).into() in take()
|