Searched refs:to_string (Results 1 – 17 of 17) sorted by relevance
/linux/rust/macros/ |
H A D | pin_data.rs |
|
H A D | kunit.rs | 11 let attr = attr.to_string(); in kunit_tests() 27 TokenTree::Ident(ident) => match ident.to_string().as_str() { in kunit_tests() 46 TokenTree::Group(ident) if ident.to_string() == "[test]" => match body_it.next() { in kunit_tests() 47 Some(TokenTree::Ident(ident)) if ident.to_string() == "fn" => { in kunit_tests() 49 Some(TokenTree::Ident(ident)) => ident.to_string(), in kunit_tests() 160 Some(TokenTree::Group(group)) if group.to_string() == "[test]" => (), in kunit_tests()
|
H A D | vtable.rs | 14 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()
|
H A D | helpers.rs | 7 Some(ident.to_string()) in try_ident() 15 Some(literal.to_string()) in try_literal() 28 Some(content.to_string()) in try_string() 78 TokenTree::Ident(i) if i.to_string() == "fn" => { in function_name()
|
H A D | paste.rs | 14 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 D | pinned_drop.rs |
|
H A D | module.rs | 123 Some(TokenTree::Ident(ident)) => ident.to_string(), in parse()
|
/linux/scripts/ |
H A D | generate_rust_target.rs | 88 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() 242 let mut features = "-mmx,+soft-float".to_string(); in main() 259 vec![("kind".to_string(), Value::String("none".to_string()))], in main()
|
H A D | rustdoc_test_gen.rs | 131 let name = path.file_name().unwrap().to_str().unwrap().to_string(); in main() 141 last_file = file.to_string(); in main()
|
/linux/scripts/gdb/linux/ |
H A D | utils.py | 105 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 D | symbols.py | 170 gdb.execute(cmdline, to_string=True) 188 gdb.execute("symbol-file", to_string=True)
|
H A D | mm.py | 54 tcr_el1 = gdb.execute("info registers $TCR_EL1", to_string=True)
|
/linux/lib/kunit/ |
H A D | attributes.c | 39 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 D | pinned_drop.rs | 12 assert!(matches!(&toks[0], TokenTree::Ident(i) if i.to_string() == "impl")); in pinned_drop() 30 matches!(tt, TokenTree::Ident(i) if i.to_string() == "PinnedDrop"), in pinned_drop()
|
/linux/tools/usb/usbip/libsrc/ |
H A D | usbip_common.c | 94 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 D | usbip_common.h | 131 #define to_string(s) #s macro
|
/linux/scripts/gdb/ |
H A D | vmlinux-gdb.py | 20 gdb.execute("", to_string=True)
|