Home
last modified time | relevance | path

Searched refs:into (Results 1 - 25 of 348) sorted by relevance

12345678910>>...14

/third_party/rust/crates/rustix/src/backend/linux_raw/arch/
H A Dmod.rs54 // - Calling `nr` on the syscall number to convert it into `SyscallNumber`.
55 // - Calling `.into()` on each of the arguments to convert them into `ArgReg`.
68 $a0.into(),
75 $a0.into(),
76 $a1.into(),
83 $a0.into(),
84 $a1.into(),
85 $a2.into(),
92 $a0.into(),
[all...]
/third_party/rust/crates/bindgen/bindgen/
H A Dlib.rs3 //! Provide a C/C++ header file, receive Rust FFI code to call into C/C++
211 /// Bindgen can map C/C++ enums into Rust in different ways. The way bindgen maps enums depends on
287 output_vector.push("--rust-target".into()); in command_line_flags()
288 output_vector.push(self.options.rust_target.into()); in command_line_flags()
296 output_vector.push("--disable-untagged-union".into()); in command_line_flags()
300 output_vector.push("--default-enum-style".into()); in command_line_flags()
326 .into(), in command_line_flags()
331 output_vector.push("--default-macro-constant-type".into()); in command_line_flags()
333 .push(self.options.default_macro_constant_type.as_str().into()); in command_line_flags()
337 output_vector.push("--default-alias-style".into()); in command_line_flags()
[all...]
/third_party/rust/crates/proc-macro-error/test-crate/
H A Dlib.rs49 Diagnostic::spanned(span.into(), Level::Error, "Diagnostic::abort() test".into()).abort() in direct_abort()
67 spans.next().unwrap().into(), in emit()
69 "Diagnostic::emit() test".into(), in emit()
79 quote!().into() in emit()
151 quote!().into() in option_ext()
159 span.into(), in result_unwrap_or_abort()
165 quote!().into() in result_unwrap_or_abort()
173 span.into(), in result_expect_or_abort()
179 quote!().into() in result_expect_or_abort()
[all...]
/third_party/rust/crates/rustix/src/backend/linux_raw/time/
H A Dsyscalls.rs62 tv_sec: old_result.tv_sec.into(), in clock_getres_old()
63 tv_nsec: old_result.tv_nsec.into(), in clock_getres_old()
167 tv_sec: old_result.it_interval.tv_sec.into(), in timerfd_settime_old()
168 tv_nsec: old_result.it_interval.tv_nsec.into(), in timerfd_settime_old()
171 tv_sec: old_result.it_value.tv_sec.into(), in timerfd_settime_old()
172 tv_nsec: old_result.it_value.tv_nsec.into(), in timerfd_settime_old()
219 tv_sec: old_result.it_interval.tv_sec.into(), in timerfd_gettime_old()
220 tv_nsec: old_result.it_interval.tv_nsec.into(), in timerfd_gettime_old()
223 tv_sec: old_result.it_value.tv_sec.into(), in timerfd_gettime_old()
224 tv_nsec: old_result.it_value.tv_nsec.into(), in timerfd_gettime_old()
[all...]
/third_party/rust/crates/rustix/src/backend/linux_raw/net/
H A Dsyscalls.rs51 family.into(),
52 type_.into(),
53 protocol.into(),
81 family.into(),
82 (type_, flags).into(),
83 protocol.into(),
116 family.into(),
117 (type_, flags).into(),
118 protocol.into(),
119 (&mut result).into(),
[all...]
/third_party/rust/crates/clang-sys/build/
H A Ddynamic.rs57 return Err("invalid ELF class (64-bit)".into()); in validate_library()
61 return Err("invalid ELF class (32-bit)".into()); in validate_library()
69 return Err("invalid DLL (64-bit)".into()); in validate_library()
73 return Err("invalid DLL (32-bit)".into()); in validate_library()
111 files.push("libclang-*.so".into()); in search_libclang_directories()
119 files.push("libclang.so.*".into()); in search_libclang_directories()
120 files.push("libclang-*.so.*".into()); in search_libclang_directories()
133 files.push("libclang.so.*".into()); in search_libclang_directories()
139 files.push("libclang.dll".into()); in search_libclang_directories()
197 .ok_or_else(|| "unreachable".into()) in find()
[all...]
/third_party/rust/crates/codespan/codespan/src/
H A Dfile.rs66 self.files.push(File::new(name.into(), source.into())); in add()
75 self.get_mut(file_id).update(source.into()) in update()
133 self.get(file_id).line_span(line_index.into()) in line_span()
151 self.get(file_id).line_index(byte_index.into()) in line_index()
173 self.get(file_id).location(byte_index.into()) in location()
220 self.get(file_id).source_slice(span.into()) in source_slice()
417 let file_id = files.add("test", TEST_SOURCE.into()); in line_starts()
/third_party/rust/crates/rustix/src/backend/libc/time/
H A Dsyscalls.rs60 timespec.assume_init().into()
91 tv_sec: old_timespec.tv_sec.into(), in clock_getres_old()
92 tv_nsec: old_timespec.tv_nsec.into(), in clock_getres_old()
113 timespec.assume_init().into()
147 tv_sec: old_timespec.tv_sec.into(), in clock_gettime_old()
148 tv_nsec: old_timespec.tv_nsec.into(), in clock_gettime_old()
197 Ok(timespec.assume_init().into())
230 tv_sec: old_timespec.tv_sec.into(), in clock_gettime_dynamic_old()
231 tv_nsec: old_timespec.tv_nsec.into(), in clock_gettime_dynamic_old()
259 &new_value.clone().into(),
[all...]
/third_party/rust/crates/clap/src/util/
H A Did.rs44 Self(name.into()) in from()
51 Self(name.into()) in from()
58 Self(name.into()) in from()
64 Self(name.into()) in from()
70 Self(name.into()) in from()
82 Str::from(name).into() in from()
/third_party/rust/crates/bindgen/bindgen/ir/analysis/
H A Dhas_destructor.rs32 // Dependencies saying that if a key ItemId has been inserted into the
57 let id = id.into(); in insert()
106 if self.have_destructor.contains(&t.into()) { in constrain()
123 self.have_destructor.contains(&base.ty.into()) in constrain()
128 .contains(&data.ty().into()), in constrain()
144 .contains(&inst.template_definition().into()) || in constrain()
146 self.have_destructor.contains(&arg.into()) in constrain()
165 trace!("enqueue {:?} into worklist", item); in each_depending_on()
/third_party/rust/crates/clap/src/builder/
H A Drange.rs45 range.into() in new()
121 (fixed..=fixed).into() in from()
198 let range: ValueRange = 5.into(); in from_fixed()
209 let range: ValueRange = 0.into(); in from_fixed_empty()
220 let range: ValueRange = (5..10).into(); in from_range()
231 let range: ValueRange = (5..=10).into(); in from_range_inclusive()
242 let range: ValueRange = (..).into(); in from_range_full()
253 let range: ValueRange = (5..).into(); in from_range_from()
264 let range: ValueRange = (..10).into(); in from_range_to()
275 let range: ValueRange = (..=10).into(); in from_range_to_inclusive()
[all...]
H A Darg.rs116 self.id = id.into(); in id()
294 .extend(names.into_iter().map(|x| (x.into(), false))); in aliases()
408 .extend(names.into_iter().map(|n| (n.into(), true))); in visible_aliases()
835 self.settings.insert(setting.into());
845 self.settings.remove(setting.into());
889 /// This allows parsing and validating a value before storing it into
1220 self.val_names = names.into_iter().map(|s| s.into()).collect(); in value_names()
1585 self.num_vals.get_or_insert_with(|| (1..).into()); in raw()
1674 self.default_vals = vals.into_iter().map(|s| s.into()).collect(); in default_values()
1824 self.default_missing_vals = vals.into_iter().map(|s| s.into()) in default_missing_values_os()
[all...]
/third_party/mesa3d/src/panfrost/ds/
H A Dpan_pps_driver.h25 static inline PanfrostDriver &into(Driver &dri);
26 static inline const PanfrostDriver &into(const Driver &dri);
53 PanfrostDriver &PanfrostDriver::into(Driver &dri) in into() function in pps::PanfrostDriver
58 const PanfrostDriver &PanfrostDriver::into(const Driver &dri) in into() function in pps::PanfrostDriver
/third_party/rust/crates/rustix/src/backend/libc/thread/
H A Dsyscalls.rs67 &request.clone().into(),
72 NanosleepRelativeResult::Interrupted(remain.assume_init().into())
125 tv_sec: old_remain.tv_sec.into(), in clock_nanosleep_relative_old()
126 tv_nsec: old_remain.tv_nsec.into(), in clock_nanosleep_relative_old()
161 &request.clone().into(),
216 match ret(libc_nanosleep(&request.clone().into(), remain.as_mut_ptr())) {
219 NanosleepRelativeResult::Interrupted(remain.assume_init().into())
264 tv_sec: old_remain.tv_sec.into(), in nanosleep_old()
265 tv_nsec: old_remain.tv_nsec.into(), in nanosleep_old()
/third_party/rust/crates/io-lifetimes/src/
H A Dlib.rs25 //! [safe typed views] and [from+into conversions].
28 //! [from+into conversions]: FromFilelike::from_into_filelike
97 owned_fd.into() in from_fd()
109 self.into() in into_fd()
119 owned_handle.into() in from_handle()
131 self.into() in into_handle()
141 owned_socket.into() in from_socket()
153 self.into() in into_socket()
/third_party/ffmpeg/libswscale/arm/
H A Dhscale.S49 vpadd.s32 d16, d16, d17 @ horizontal pair adding of the 8x32-bit multiplied values into 4x32-bit (part 1)
50 vpadd.s32 d17, d18, d19 @ horizontal pair adding of the 8x32-bit multiplied values into 4x32-bit (part 2)
51 vpadd.s32 d20, d20, d21 @ horizontal pair adding of the 8x32-bit multiplied values into 4x32-bit (part 1)
52 vpadd.s32 d21, d22, d23 @ horizontal pair adding of the 8x32-bit multiplied values into 4x32-bit (part 2)
60 vpadd.s32 d8, d8, d9 @ horizontal pair adding of the 8x32-bit sums into 4x32-bit (part 1)
61 vpadd.s32 d9, d10, d11 @ horizontal pair adding of the 8x32-bit sums into 4x32-bit (part 2)
62 vpadd.s32 d8, d8, d9 @ horizontal pair adding of the 4x32-bit sums into 2x32-bit
/third_party/rust/crates/clap/tests/derive/
H A Dsubcommands.rs241 sub: Subcommands::Other(vec!["git".into(), "status".into()]) in external_subcommand()
265 sub: Subcommands::Other(vec!["git".into(), "status".into()]) in external_subcommand_os_string()
289 sub: Some(Subcommands::Other(vec!["git".into(), "status".into()])) in external_subcommand_optional()
498 let mut opt = Opt::Ext(vec!["12".into(), "14".into()]); in update_ext_subcommand()
506 let mut opt = Opt::Ext(vec!["12".into(), "14".into()]); in update_ext_subcommand()
[all...]
H A Doccurrences.rs34 arg: vec![vec!["1".into(), "2".into()], vec!["a".into(), "b".into()]], in test_vec_of_vec_opt_out()
/third_party/rust/crates/bindgen/bindgen/ir/
H A Dcontext.rs59 let id: ItemId = self.into(); in into_resolver()
60 id.into() in into_resolver()
69 let rhs: ItemId = (*rhs).into(); in eq()
118 /// Convert this `ItemId` into a `TypeId` if its associated item is a type,
122 /// Convert this `ItemId` into a `TypeId`.
127 /// Convert this `ItemId` into a `TypeId` without actually checking whether
137 /// Convert this `ItemId` into a `ModuleId` if its associated item is a
141 /// Convert this `ItemId` into a `ModuleId`.
146 /// Convert this `ItemId` into a `ModuleId` without actually checking
156 /// Convert this `ItemId` into
[all...]
/third_party/rust/crates/proc-macro-error/proc-macro-error-attr/src/
H A Dlib.rs38 match impl_proc_macro_error(attr.into(), input.clone().into()) { in proc_macro_error()
44 quote!(#input #error).into() in proc_macro_error()
72 .into(), in impl_proc_macro_error()
83 Ok(res.into()) in impl_proc_macro_error()
/third_party/musl/src/thread/powerpc/
H A Dclone.s22 # save r3 (func) into r30, and r6(arg) into r31
31 #move c into first arg
38 # move syscall number into r0
55 #call funcptr: move arg (d) into r3
57 #move r30 (funcptr) into CTR reg
61 # mov SYS_exit into r0 (the exit param is already in r3)
/third_party/rust/crates/regex/src/
H A Dinput.rs160 InputAt { pos: self.len(), c: None.into(), byte: None, len: 0 } in at()
162 let c = decode_utf8(&self[i..]).map(|(c, _)| c).into(); in at()
172 decode_last_utf8(&self[..at.pos()]).map(|(c, _)| c).into() in previous_char()
249 InputAt { pos: self.len(), c: None.into(), byte: None, len: 0 } in at()
253 c: None.into(), in at()
261 decode_utf8(&self[at.pos()..]).map(|(c, _)| c).into() in next_char()
265 decode_last_utf8(&self[..at.pos()]).map(|(c, _)| c).into() in previous_char()
402 c.map_or(Char(u32::MAX), |c| c.into()) in from()
/third_party/elfutils/libdwfl/
H A Dcore-file.c365 void *into = *buffer; in dwfl_elf_phdr_memory_callback() local
371 into = malloc (*buffer_available); in dwfl_elf_phdr_memory_callback()
372 if (unlikely (into == NULL)) in dwfl_elf_phdr_memory_callback()
379 ssize_t nread = pread_retry (elf->fildes, into, *buffer_available, start); in dwfl_elf_phdr_memory_callback()
382 if (into != *buffer) in dwfl_elf_phdr_memory_callback()
383 free (into); in dwfl_elf_phdr_memory_callback()
391 const void *eos = memchr (into, '\0', nread); in dwfl_elf_phdr_memory_callback()
392 if (unlikely (eos == NULL) || unlikely (eos == into)) in dwfl_elf_phdr_memory_callback()
395 free (into); in dwfl_elf_phdr_memory_callback()
398 nread = eos + 1 - into; in dwfl_elf_phdr_memory_callback()
[all...]
/third_party/rust/crates/autocfg/src/
H A Dtests.rs139 &Some("x86_64-unknown-linux-gnu".into()), in dir_does_not_contain_target()
148 &Some("x86_64-unknown-linux-gnu".into()), in dir_does_contain_target()
159 &Some("x86_64-unknown-linux-gnu".into()), in dir_does_not_contain_target_with_custom_target_dir()
161 Some("custom".into()), in dir_does_not_contain_target_with_custom_target_dir()
168 &Some("x86_64-unknown-linux-gnu".into()), in dir_does_contain_target_with_custom_target_dir()
172 Some("custom".into()), in dir_does_contain_target_with_custom_target_dir()
/third_party/rust/crates/proc-macro-error/src/
H A Dlib.rs351 /// Collapse the range into single span, preserving as much information as possible.
396 Err(e) => e.into().abort(), in unwrap_or_abort()
404 let mut e = e.into(); in expect_or_abort()
459 gen_error().into() in entry_point()
464 Ok(_) => gen_error().into(), in entry_point()
549 first: self.clone().into(), in FIRST_ARG_MUST_EITHER_BE_Span_OR_IMPLEMENT_ToTokens_OR_BE_SpanRange()
550 last: self.clone().into(), in FIRST_ARG_MUST_EITHER_BE_Span_OR_IMPLEMENT_ToTokens_OR_BE_SpanRange()

Completed in 14 milliseconds

12345678910>>...14