Home
last modified time | relevance | path

Searched refs:to_string (Results 1 – 25 of 32) sorted by relevance

12

/linux/rust/macros/
H A Dpin_data.rs
H A Dvtable.rs37 &format!("HAS_{}", name.to_string().to_uppercase()), in vtable()
77 &format!("HAS_{}", name.to_string().to_uppercase()), in vtable()
H A Dhelpers.rs
H A Dpaste.rs14 let mut value = lit.to_string(); in concat_helper()
22 let mut value = ident.to_string(); in concat_helper()
34 match ident.to_string().as_str() { in concat_helper()
H A Dpinned_drop.rs
H A Dfmt.rs18 first_owned_str = first_lit.to_string(); in fmt()
63 names.remove(acc.to_string().as_str()); in fmt()
H A Dmodule.rs122 let param_name_str = param.name.to_string(); in emit_params()
123 let param_type_str = param.ptype.to_string(); in emit_params()
257 match &*key.to_string() { in parse()
/linux/scripts/
H A Dgenerate_rust_target.rs88 Self::String(value.to_string()) in from()
112 self.0.push((key.to_string(), value.into())); in push()
153 result.insert(key.to_string(), value.trim_end_matches('\n').to_string()); in from_stdin()
206 let mut features = "-mmx,+soft-float".to_string(); in main()
246 let mut features = "-mmx,+soft-float".to_string(); in main()
267 vec![("kind".to_string(), Value::String("none".to_string()))], in main()
H A Drustdoc_test_gen.rs132 let name = path.file_name().unwrap().to_str().unwrap().to_string(); in main()
142 last_file = file.to_string(); in main()
/linux/scripts/gdb/linux/
H A Dutils.py105 endian = gdb.execute("show endian", to_string=True)
180 target_arch = gdb.execute("show architecture", to_string=True)
197 return gdb.execute("monitor info version", to_string=True) != ""
203 thread_info = gdb.execute("info thread 1", to_string=True)
267 show_pagination = gdb.execute("show pagination", to_string=True)
H A Dsymbols.py205 gdb.execute(cmdline, to_string=True)
230 gdb.execute(cmdline, to_string=True)
246 gdb.execute(cmdline, to_string=True)
268 gdb.execute("symbol-file", to_string=True)
/linux/rust/syn/
H A Dtt.rs43 (TokenTree::Literal(l1), TokenTree::Literal(l2)) => l1.to_string() == l2.to_string(), in eq()
77 TokenTree::Literal(lit) => (2u8, lit.to_string()).hash(h), in hash()
H A Dlit.rs147 let repr = self.repr.token.to_string(); in value()
288 let repr = self.repr.token.to_string(); in value()
323 let repr = self.repr.token.to_string(); in value()
358 let repr = self.repr.token.to_string(); in value()
393 let repr = self.repr.token.to_string(); in value()
488 let repr = token.to_string(); in from()
560 let repr = token.to_string(); in from()
789 self.repr.token.to_string() == other.repr.token.to_string()
800 self.repr.token.to_string().hash(state);
905 let mut repr = lit.to_string(); in parse_negative_lit()
[all …]
H A Derror.rs161 return new(span, message.to_string()); in new()
192 return new_spanned(tokens.into_token_stream(), message.to_string()); in new_spanned()
340 return new2(start, end, message.to_string()); in new2()
H A Dbigint.rs15 pub(crate) fn to_string(&self) -> String { in to_string() method
H A Dext.rs97 let string = self.to_string(); in unraw()
H A Dident.rs62 match ident.to_string().as_str() { in accept_as_ident()
/linux/lib/kunit/
H A Dattributes.c39 const char *(*to_string)(void *attr, bool *to_free); member
255 .to_string = attr_speed_to_string,
263 .to_string = attr_string_to_string,
271 .to_string = attr_bool_to_string,
301 attr_str = kunit_attr_list[i].to_string(attr, &to_free); in kunit_print_attr()
/linux/rust/pin-init/internal/src/
H A Dpinned_drop.rs
/linux/tools/usb/usbip/libsrc/
H A Dusbip_common.c94 dbg("%-20s = %x", to_string(name), (int) udev->name)
97 dbg("%-20s = %x", to_string(name), (int) uinf->name)
201 (object)->name = (type) read_attr_value(dev, to_string(name), \
H A Dusbip_common.h131 #define to_string(s) #s macro
/linux/rust/proc-macro2/
H A Dfallback.rs251 TokenStream::from_str_unchecked(&inner.to_string()) in from()
258 proc_macro::TokenStream::from_str_unchecked(&inner.to_string()) in from()
938 Literal::_new(n.to_string())
1019 let mut s = f.to_string(); in f32_unsuffixed()
1027 let mut s = f.to_string(); in f64_unsuffixed()
1056 let mut repr = "b'".to_string(); in byte_character()
1075 let mut repr = "b\"".to_string(); in byte_string()
1101 let mut repr = "c\"".to_string(); in c_string()
H A Dlib.rs1032 self.to_string().cmp(&other.to_string()) in cmp()
1038 self.to_string().hash(hasher); in hash()
/linux/scripts/gdb/
H A Dvmlinux-gdb.py20 gdb.execute("", to_string=True)
/linux/rust/quote/
H A Dident_fragment.rs53 let id = self.to_string(); in fmt()

12