| /linux/rust/macros/ |
| H A D | module.rs | 7 fn expect_string_array(it: &mut token_stream::IntoIter) -> Vec<String> { in expect_string_array() argument 28 buffer: String, 29 param_buffer: String, 37 buffer: String::new(), in new() 38 param_buffer: String::new(), in new() 188 fn expect_param_default(param_it: &mut token_stream::IntoIter) -> String { in expect_param_default() argument 194 let mut value = sign.map(String::from).unwrap_or_default(); in expect_param_default() 201 type_: String, 202 license: String, 203 name: String, [all …]
|
| H A D | helpers.rs | 5 pub(crate) fn try_ident(it: &mut token_stream::IntoIter) -> Option<String> { in try_ident() argument 24 pub(crate) fn try_literal(it: &mut token_stream::IntoIter) -> Option<String> { in try_literal() argument 32 pub(crate) fn try_string(it: &mut token_stream::IntoIter) -> Option<String> { in try_string() argument 48 pub(crate) fn expect_ident(it: &mut token_stream::IntoIter) -> String { in expect_ident() argument 60 pub(crate) fn expect_string(it: &mut token_stream::IntoIter) -> String { in expect_string() argument 64 pub(crate) fn expect_string_ascii(it: &mut token_stream::IntoIter) -> String { in expect_string_ascii() argument 101 pub(crate) fn file() -> String { in file() 124 pub(crate) fn expect_string_field(it: &mut token_stream::IntoIter, expected_name: &str) -> String { in expect_string_field() argument
|
| H A D | paste.rs | 5 fn concat_helper(tokens: &[TokenTree]) -> Vec<(String, Span)> { in concat_helper() argument 62 let pasted: String = segments.into_iter().map(|x| x.0).collect(); in concat()
|
| /linux/tools/power/cpupower/utils/helpers/ |
| H A D | helpers.h | 22 #define _(String) gettext(String) argument 24 #define gettext_noop(String) String argument 26 #define N_(String) gettext_noop(String) argument 30 #define _(String) String argument 31 #define N_(String) String argument
|
| /linux/scripts/ |
| H A D | generate_rust_target.rs | 22 String(String), enumerator 27 type Object = Vec<(String, Value)>; 51 Value::String(string) => write!(formatter, "\"{}\"", string), in fmt() 80 impl From<String> for Value { 81 fn from(value: String) -> Self { in from() 82 Self::String(value) in from() 88 Self::String(value.to_string()) in from() 130 struct KernelConfig(HashMap<String, String>); 139 let mut line = String::new(); in from_stdin() 267 vec![("kind".to_string(), Value::String("none".to_string()))], in main()
|
| H A D | rustdoc_test_gen.rs | 97 let mut candidates = String::new(); in find_real_path() 121 let mut rust_tests = String::new(); in main() 122 let mut c_test_declarations = String::new(); in main() 123 let mut c_test_cases = String::new(); in main() 124 let mut body = String::new(); in main() 125 let mut last_file = String::new(); in main()
|
| H A D | rustdoc_test_builder.rs | 22 let mut body = String::new(); in main()
|
| H A D | checkpatch.pl | 554 our $String = qr{(?:\b[Lu])?"[X\t]*"}; 1097 our $FuncArg = qr{$Typecast{0,1}($LvalOrFunc|$Constant|$String)}; 1686 return "" if ($line !~ m/($String)/g); 3868 …if ($line =~ /^\+\s*$logFunctions\s*\(\s*(?:(?:KERN_\S+\s*|[^"]*))?($String\s*(?:|,|\)\s*;)\s*)$/ … 3874 } elsif ($line =~ /^\+\s*$String\s*(?:\s*|,|\)\s*;)\s*$/ || 3875 $line =~ /^\+\s*#\s*define\s+\w+\s+$String$/) { 3895 } elsif ($sline =~ /\s*($String(?:\s*(?:\\|,\s*|\)\s*;\s*))?)$/ && 5981 while ($dstat =~ s/($String)\s*$Ident/$1/ || 5982 $dstat =~ s/$Ident\s*($String)/$1/) 6302 if ($line =~ /^\+\s*$String/ && [all …]
|
| /linux/rust/syn/ |
| H A D | bigint.rs | 15 pub(crate) fn to_string(&self) -> String { in to_string() argument 16 let mut repr = String::with_capacity(self.digits.len()); in to_string()
|
| H A D | error.rs | 113 message: String, 163 fn new(span: Span, message: String) -> Error { in new() 194 fn new_spanned(tokens: TokenStream, message: String) -> Error { in new_spanned() 342 fn new2(start: Span, end: Span, message: String) -> Error { in new2()
|
| H A D | file.rs | 82 pub shebang: Option<String>,
|
| H A D | lit.rs | 146 pub fn value(&self) -> String { in value() argument 149 String::from(value) in value() 1290 let mut content = String::new(); in parse_lit_str_cooked() 1441 (String::from(value).into_bytes(), suffix) in parse_lit_byte_str_raw() 1524 (CString::new(String::from(value)).unwrap(), suffix) in parse_lit_c_str_raw() 1853 let mut digits = String::from_utf8(bytes).unwrap(); in parse_lit_float()
|
| /linux/rust/proc-macro2/ |
| H A D | fallback.rs | 324 source_text: String::new(), 340 source_text: String, 405 fn source_text(&mut self, span: Span) -> String { in source_text() argument 478 fn filepath(&self, span: Span) -> String { in filepath() argument 579 pub(crate) fn file(&self) -> String { in file() argument 623 pub(crate) fn source_text(&self) -> Option<String> { in source_text() argument 628 pub(crate) fn source_text(&self) -> Option<String> { in source_text() argument 923 pub(crate) repr: String, 944 pub(crate) fn _new(repr: String) -> Self { in _new() 1035 let mut repr = String::with_capacity(string.len() + 2); in string() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-firmware-papr-energy-scale-info | 19 Description: String description of the energy attribute of <id> 29 Description: String value of the energy attribute of <id>
|
| H A D | configfs-usb-gadget | 137 This group contains "OS String" extension handling attributes. 143 qw_sign an identifier to be reported as "OS String"
|
| /linux/rust/proc-macro2/probe/ |
| H A D | proc_macro_span_file.rs | 10 pub fn file(this: &Span) -> String { in file() argument
|
| H A D | proc_macro_span.rs | 35 pub fn file(this: &Span) -> String { in file() argument
|
| /linux/rust/pin-init/src/ |
| H A D | __internal.rs | 193 use ::std::{borrow::ToOwned, println, string::String}; in stack_init_reuse() 199 b: String, in stack_init_reuse()
|
| /linux/Documentation/devicetree/bindings/powerpc/opal/ |
| H A D | sensor-groups.txt | 13 - type : String to indicate the type of sensor-group
|
| /linux/rust/quote/ |
| H A D | ident_fragment.rs | 89 ident_fragment_display!(bool, str, String, char);
|
| H A D | to_tokens.rs | 120 impl ToTokens for String { implementation
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | samsung-sxgbe.txt | 13 - phy-mode: String, operation mode of the PHY interface.
|
| /linux/Documentation/devicetree/bindings/mtd/ |
| H A D | nvidia-tegra20-nand.txt | 25 - nand-ecc-mode: String, operation mode of the NAND ecc mode. Currently only
|
| /linux/Documentation/usb/ |
| H A D | linux-cdc-acm.inf | 100 ; String Definitions
|
| /linux/Documentation/arch/arm/ |
| H A D | uefi.rst | 71 bootargs String Kernel command line
|