Home
last modified time | relevance | path

Searched refs:to_string (Results 1 - 21 of 21) sorted by relevance

/kernel/linux/linux-6.6/rust/macros/
H A Dpin_data.rs27 .skip_while(|tt| !matches!(tt, TokenTree::Ident(i) if i.to_string() == "struct"))
64 if matches!(&tt, TokenTree::Ident(i) if i.to_string() == "struct") {
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()
H A Dvtable.rs14 TokenTree::Ident(ident) => match ident.to_string().as_str() {
34 TokenTree::Ident(ident) if ident.to_string() == "fn" => {
36 Some(TokenTree::Ident(ident)) => ident.to_string(),
42 TokenTree::Ident(ident) if ident.to_string() == "const" => {
44 Some(TokenTree::Ident(ident)) => ident.to_string(),
H A Dhelpers.rs7 Some(ident.to_string())
15 Some(literal.to_string())
28 Some(content.to_string())
122 TokenTree::Ident(i) if i.to_string() == "const" => {}
H A 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()
H A Dpinned_drop.rs9 assert!(matches!(&toks[0], TokenTree::Ident(i) if i.to_string() == "impl"));
27 matches!(tt, TokenTree::Ident(i) if i.to_string() == "PinnedDrop"),
H A Dmodule.rs113 Some(TokenTree::Ident(ident)) => ident.to_string(), in parse()
/kernel/linux/linux-6.6/scripts/
H A 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()
[all...]
/kernel/liteos_a/testsuites/unittest/process/plimits/smoke/
H A DIt_process_plimits_pid_005.cpp51 std::string missPid = std::to_string(vprocessId); in ItProcessPlimitsPid005()
52 std::string runPid = std::to_string(pid); in ItProcessPlimitsPid005()
61 std::string fWrite = std::to_string(i); in ItProcessPlimitsPid005()
/kernel/linux/linux-5.10/scripts/gdb/linux/
H A Dutils.py81 endian = gdb.execute("show endian", to_string=True)
145 target_arch = gdb.execute("show architecture", to_string=True)
162 return gdb.execute("monitor info version", to_string=True) != ""
168 thread_info = gdb.execute("info thread 2", to_string=True)
H A Dsymbols.py39 show_pagination = gdb.execute("show pagination", to_string=True)
132 gdb.execute(cmdline, to_string=True)
153 gdb.execute("symbol-file", to_string=True)
/kernel/linux/linux-6.6/scripts/gdb/linux/
H A 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)
H A 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)
/kernel/linux/linux-6.6/lib/kunit/
H A Dattributes.c29 * @to_string: function to return string representation of given
39 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()
251 /* Free to_string of attribute if needed */ in kunit_print_attr()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/scripts/gdb/
H A Dvmlinux-gdb.py20 gdb.execute("", to_string=True)
/kernel/linux/linux-5.10/tools/perf/util/c++/
H A Dclang-test.cpp28 std::to_string(kernel_version)); in __test__clang_to_IR()
/kernel/linux/linux-6.6/scripts/gdb/
H A Dvmlinux-gdb.py20 gdb.execute("", to_string=True)
/kernel/liteos_a/testsuites/unittest/process/plimits/
H A Dprocess_plimits_test.cpp646 string strpid = to_string(pid); in GetProcessInfo()

Completed in 8 milliseconds