Searched refs:starts_with (Results 1 – 13 of 13) sorted by relevance
| /linux/rust/syn/ |
| H A D | whitespace.rs | 7 if s.starts_with("//") in skip() 8 && (!s.starts_with("///") || s.starts_with("////")) in skip() 9 && !s.starts_with("//!") in skip() 17 } else if s.starts_with("/**/") { in skip() 20 } else if s.starts_with("/*") in skip() 21 && (!s.starts_with("/**") || s.starts_with("/***")) in skip() 22 && !s.starts_with("/*!") in skip()
|
| H A D | lib.rs | 992 if content.starts_with(BOM) { in parse_file() 997 if content.starts_with("#!") { in parse_file() 999 if !rest.starts_with('[') { in parse_file()
|
| H A D | lifetime.rs | 41 if !symbol.starts_with('\'') { in new()
|
| H A D | lit.rs | 1343 assert!(s.starts_with('"')); in parse_lit_str_cooked()
|
| /linux/rust/proc-macro2/ |
| H A D | parse.rs | 28 pub(crate) fn starts_with(&self, s: &str) -> bool { in starts_with() method 29 self.rest.starts_with(s) in starts_with() 33 self.rest.starts_with(ch) in starts_with_char() 40 self.rest.starts_with(f) in starts_with_fn() 68 if self.starts_with(tag) { in parse() 85 if s.starts_with("//") in skip_whitespace() 86 && (!s.starts_with("///") || s.starts_with("////")) in skip_whitespace() 87 && !s.starts_with("//!") in skip_whitespace() 92 } else if s.starts_with("/**/") { in skip_whitespace() 95 } else if s.starts_with("/*") in skip_whitespace() [all …]
|
| H A D | fallback.rs | 82 if cursor.starts_with(BYTE_ORDER_MARK) { in from_str_checked() 113 }) if literal.repr.starts_with('-') => { in push_token_from_proc_macro() 882 other.starts_with("r#") && *self.sym == other[2..] in eq() 1200 .starts_with(|next| '0' <= next && next <= '7') in escape_utf8()
|
| /linux/tools/perf/util/ |
| H A D | drm_pmu.c | 132 static bool starts_with(const char *str, const char *prefix) starts_with() function
|
| /linux/tools/perf/arch/x86/util/ |
| H A D | pmu.c | 74 static bool starts_with(const char *str, const char *prefix) starts_with() function
|
| /linux/rust/macros/ |
| H A D | helpers.rs | |
| H A D | paste.rs | 15 if value.starts_with('"') && value.ends_with('"') { in concat_helper() 23 if value.starts_with("r#") { in concat_helper()
|
| /linux/arch/arm64/kvm/hyp/nvhe/ |
| H A D | gen-hyprel.c | 213 static inline bool starts_with(const char *str, const char *prefix) in starts_with() function 370 if (!starts_with(sh_orig_name, HYP_SECTION_PREFIX)) in emit_rela_section()
|
| /linux/scripts/ |
| H A D | generate_rust_target.rs | 148 if line.starts_with('#') { in from_stdin()
|
| /linux/tools/power/x86/turbostat/ |
| H A D | turbostat.c | 10969 bool starts_with(const char *str, const char *prefix) in starts_with() function 11087 if (starts_with(add_command, "name=")) { in parse_add_command_pmt() 11092 if (starts_with(add_command, "type=")) { in parse_add_command_pmt() 11097 if (starts_with(add_command, "domain=")) { in parse_add_command_pmt() 11119 if (starts_with(add_command, "format=")) { in parse_add_command_pmt()
|