Home
last modified time | relevance | path

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

/Linux-v6.6/scripts/
Dgenerate_rust_target.rs64 self.0.push((key.to_string(), Value::Boolean(value))); in push()
70 self.0.push((key.to_string(), Value::Number(value))); in push()
76 self.0.push((key.to_string(), Value::String(value))); in push()
82 self.push(key, value.to_string()); in push()
88 self.0.push((key.to_string(), Value::Object(value))); in push()
129 result.insert(key.to_string(), value.trim_end_matches('\n').to_string()); in from_stdin()
157 let mut features = "-3dnow,-3dnowa,-mmx,+soft-float".to_string(); in main()
172 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-v6.6/rust/macros/
Dpin_data.rs27 .skip_while(|tt| !matches!(tt, TokenTree::Ident(i) if i.to_string() == "struct")) in pin_data()
64 if matches!(&tt, TokenTree::Ident(i) if i.to_string() == "struct") { in pin_data()
96 if i.to_string() == "enum" in replace_self_and_deny_type_defs()
97 || i.to_string() == "trait" in replace_self_and_deny_type_defs()
98 || i.to_string() == "struct" in replace_self_and_deny_type_defs()
99 || i.to_string() == "union" in replace_self_and_deny_type_defs()
100 || i.to_string() == "impl" => in replace_self_and_deny_type_defs()
117 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()
122 TokenTree::Ident(i) if i.to_string() == "const" => {} in parse_generics()
Dpaste.rs12 Some(TokenTree::Literal(lit)) => segments.push((lit.to_string(), lit.span())), in concat()
14 let mut value = ident.to_string(); in concat()
26 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.rs113 Some(TokenTree::Ident(ident)) => ident.to_string(), in parse()
/Linux-v6.6/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)
/Linux-v6.6/lib/kunit/
Dattributes.c39 const char *(*to_string)(void *attr, bool *to_free); member
203 .to_string = attr_speed_to_string,
211 .to_string = attr_string_to_string,
241 attr_str = kunit_attr_list[i].to_string(attr, &to_free); in kunit_print_attr()
/Linux-v6.6/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-v6.6/scripts/gdb/
Dvmlinux-gdb.py20 gdb.execute("", to_string=True)