/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/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/rust/crates/clang-sys/tests/ |
H A D | lib.rs | 52 let args = &["-target".into(), "x86_64-unknown-linux-gnu".into()]; in test_support_target()
|
/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...] |
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | relocate_kernel.S | 45 lgr %r2,%r5 # move it into the right register, 63 la %r4,load_psw-.base(%r13) # load psw-address into the register 64 o %r3,4(%r4) # or load address into psw
|
/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()
|
/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...] |
/kernel/linux/linux-6.6/rust/kernel/sync/ |
H A D | arc.rs | 147 // This is to allow `Arc<U>` to be dispatched on when `Arc<T>` can be coerced into `Arc<U>`. 177 Ok(unsafe { Self::from_inner(Box::leak(inner).into()) }) in try_new() 188 UniqueArc::pin_init(init).map(|u| u.into()) in pin_init() 199 UniqueArc::init(init).map(|u| u.into()) in init() 347 /// e.into() 386 // This is to allow `ArcBorrow<U>` to be dispatched on when `ArcBorrow<T>` can be coerced into 449 /// In the following example, we make changes to the inner object before turning it into an 450 /// `Arc<Test>` object (after which point, it cannot be mutated directly). Note that `x.into()` 465 /// Ok(x.into()) 486 /// Ok(x.write(Example { a: 10, b: 20 }).into()) [all...] |
/third_party/rust/crates/clang-sys/src/ |
H A D | support.rs | 37 path: path.as_ref().into(), in new() 81 paths.push(path.into()); in find() 86 paths.push(line.into()); in find() 93 paths.push(line.into()); in find() 233 .map(|l| Path::new(l.trim()).into()) in parse_search_paths()
|
/third_party/rust/crates/syn/src/ |
H A D | buffer.rs | 61 Self::new2(stream.into()) in new() 83 /// A cheaply copyable cursor into a `TokenBuffer`. 85 /// This cursor holds a shared reference into the immutable data which is used 107 // (`Ident` is a reference into a thread-local table). This is because in empty() 183 /// a cursor into that group and one pointing to the next `TokenTree`. 278 /// Copies all remaining tokens visible from this cursor into a 299 Entry::Group(group, end_offset) => (group.clone().into(), *end_offset), in token_tree() 300 Entry::Literal(literal) => (literal.clone().into(), 1), in token_tree() 301 Entry::Ident(ident) => (ident.clone().into(), 1), in token_tree() 302 Entry::Punct(punct) => (punct.clone().into(), in token_tree() [all...] |
/kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
H A D | binstr.S | 29 | extracts and shifts. The three msbs from d2 will go into 36 | into d2:d3. D1 will contain the bcd digit formed. 57 | a0: pointer into memory for packed bcd string formation 87 | A3. Multiply d2:d3 by 8; extract msbs into d1. 89 bfextu %d2{#0:#3},%d1 |copy 3 msbs of d2 into d1 91 bfextu %d3{#0:#3},%d6 |copy 3 msbs of d3 into d6 93 orl %d6,%d2 |or in msbs from d3 into d2
|
/kernel/linux/linux-6.6/arch/m68k/fpsp040/ |
H A D | binstr.S | 29 | extracts and shifts. The three msbs from d2 will go into 36 | into d2:d3. D1 will contain the bcd digit formed. 57 | a0: pointer into memory for packed bcd string formation 87 | A3. Multiply d2:d3 by 8; extract msbs into d1. 89 bfextu %d2{#0:#3},%d1 |copy 3 msbs of d2 into d1 91 bfextu %d3{#0:#3},%d6 |copy 3 msbs of d3 into d6 93 orl %d6,%d2 |or in msbs from d3 into d2
|
/third_party/rust/crates/log/src/kv/ |
H A D | value.rs | 17 /// A type that can be converted into a [`Value`](struct.Value.html). 296 inner: value.into(), in from_value_bag() 576 #[doc = "Try convert this value into a `u64`."] 578 #[doc = "Try convert this value into a `i64`."] 580 #[doc = "Try convert this value into a `u128`."] 582 #[doc = "Try convert this value into a `i128`."] 584 #[doc = "Try convert this value into a `f64`."] 586 #[doc = "Try convert this value into a `char`."] 588 #[doc = "Try convert this value into a `bool`."] 593 /// Try convert this value into a [all...] |
/third_party/rust/crates/nix/src/sys/ptrace/ |
H A D | bsd.rs | 103 let data = match sig.into() { in detach() 117 let data = match sig.into() { in cont() 168 let data = match sig.into() { in step() 189 /// Writes a word into the processes memory at the given address
|
/third_party/rust/crates/rust-openssl/openssl-sys/build/ |
H A D | find_normal.rs | 82 return dir.into(); in find_openssl_dir() 85 return dir.into(); in find_openssl_dir() 88 return dir.into(); in find_openssl_dir()
|
/kernel/linux/linux-6.6/arch/arm/mm/ |
H A D | cache-v7.S | 36 * clean + invalidate, before jumping into the kernel. 51 mov r3, r3, lsl r1 @ NumWays-1 shifted into bits [31:...] 101 ALT_SMP(mov r3, r0, lsr #20) @ move LoUIS into position 102 ALT_UP( mov r3, r0, lsr #26) @ move LoUU into position 129 mov r3, r0, lsr #23 @ move LoC into position 157 movne r4, r4, lsl r5 @ # of ways shifted into bits [31:...] 162 mov r5, r9, lsl r2 @ factor set number into r5 163 orr r5, r5, r4 @ factor way number into r5 164 orr r5, r5, r10 @ factor cache level into r5
|
/kernel/linux/linux-5.10/scripts/ |
H A D | config | 21 --module|-m option Turn option into a module 34 Turn option into module directly after other option
|
/kernel/linux/linux-6.6/scripts/ |
H A D | config | 21 --module|-m option Turn option into a module 34 Turn option into module directly after other option
|
/third_party/musl/src/setjmp/powerpc64/ |
H A D | longjmp.s | 7 # 0) move old return address into the link register 15 # 3) restore TOC into both r2 and the caller's stack.
|