Home
last modified time | relevance | path

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

/linux-6.12.1/rust/macros/
Dpin_data.rs28 .skip_while(|tt| !matches!(tt, TokenTree::Ident(i) if i.to_string() == "struct")) in pin_data()
65 if matches!(&tt, TokenTree::Ident(i) if i.to_string() == "struct") { in pin_data()
98 if i.to_string() == "enum" in replace_self_and_deny_type_defs()
99 || i.to_string() == "trait" in replace_self_and_deny_type_defs()
100 || i.to_string() == "struct" in replace_self_and_deny_type_defs()
101 || i.to_string() == "union" in replace_self_and_deny_type_defs()
102 || i.to_string() == "impl" => in replace_self_and_deny_type_defs()
119 TokenTree::Ident(i) if i.to_string() == "Self" => struct_name.clone(), in replace_self_and_deny_type_defs()
Dvtable.rs14 TokenTree::Ident(ident) => match ident.to_string().as_str() { in vtable()
34 TokenTree::Ident(ident) if ident.to_string() == "fn" => { in vtable()
36 Some(TokenTree::Ident(ident)) => ident.to_string(), in vtable()
42 TokenTree::Ident(ident) if ident.to_string() == "const" => { in vtable()
44 Some(TokenTree::Ident(ident)) => ident.to_string(), in vtable()
Dhelpers.rs7 Some(ident.to_string()) in try_ident()
15 Some(literal.to_string()) in try_literal()
28 Some(content.to_string()) in try_string()
169 TokenTree::Ident(i) if at_start && i.to_string() == "const" => { in parse_generics()
Dpaste.rs14 let mut value = lit.to_string(); in concat()
22 let mut value = ident.to_string(); in concat()
34 match ident.to_string().as_str() { in concat()
Dpinned_drop.rs9 assert!(matches!(&toks[0], TokenTree::Ident(i) if i.to_string() == "impl")); in pinned_drop()
27 matches!(tt, TokenTree::Ident(i) if i.to_string() == "PinnedDrop"), in pinned_drop()
Dmodule.rs121 Some(TokenTree::Ident(ident)) => ident.to_string(), in parse()
/linux-6.12.1/scripts/
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()
189 let mut features = "-mmx,+soft-float".to_string(); in main()
222 let mut features = "-mmx,+soft-float".to_string(); in main()
239 vec![("kind".to_string(), Value::String("none".to_string()))], in main()
Drustdoc_test_gen.rs131 let name = path.file_name().unwrap().to_str().unwrap().to_string(); in main()
141 last_file = file.to_string(); in main()
/linux-6.12.1/scripts/gdb/linux/
Dutils.py100 endian = gdb.execute("show endian", to_string=True)
175 target_arch = gdb.execute("show architecture", to_string=True)
192 return gdb.execute("monitor info version", to_string=True) != ""
198 thread_info = gdb.execute("info thread 2", to_string=True)
Dsymbols.py39 show_pagination = gdb.execute("show pagination", to_string=True)
135 gdb.execute(cmdline, to_string=True)
157 gdb.execute("symbol-file", to_string=True)
Dmm.py54 tcr_el1 = gdb.execute("info registers $TCR_EL1", to_string=True)
/linux-6.12.1/lib/kunit/
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-6.12.1/tools/usb/usbip/libsrc/
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), \
Dusbip_common.h131 #define to_string(s) #s macro
/linux-6.12.1/scripts/gdb/
Dvmlinux-gdb.py20 gdb.execute("", to_string=True)