Searched refs:trim_start_matches (Results 1 – 7 of 7) sorted by relevance
/third_party/rust/crates/bindgen/bindgen/ir/ |
D | comment.rs | 42 .map(|l| l.trim().trim_start_matches('/')) in preprocess_single_lines() 49 .trim_start_matches('/') in preprocess_multi_line() 56 .map(|line| line.trim().trim_start_matches('*').trim_start_matches('!')) in preprocess_multi_line()
|
/third_party/rust/crates/bindgen/bindgen-integration/ |
D | build.rs | 111 .trim_start_matches("my_prefixed_") in item_name() 117 .trim_start_matches("MY_PREFIXED_") in item_name()
|
/third_party/rust/crates/clang-sys/build/ |
D | dynamic.rs | 249 let name = filename.trim_start_matches("lib"); in link()
|
/third_party/rust/crates/os_str_bytes/src/ |
D | raw_str.rs | 855 pub fn trim_start_matches<P>(&self, pat: P) -> &Self in trim_start_matches() method
|
/third_party/rust/crates/tracing/tracing-opentelemetry/src/ |
D | layer.rs | 960 .trim_start_matches("ThreadId(") in thread_id_integer()
|
/third_party/rust/crates/cxx/gen/src/ |
D | write.rs | 500 id.trim_start_matches("::"), in check_trivial_extern_type()
|
/third_party/rust/crates/memchr/bench/data/code/ |
D | rust-library.rs | 351 make_test!(trim_start_ascii_char, s, { s.trim_start_matches(|c: char| c.is_ascii()) }); 4273 assert_eq!(" *** foo *** ".trim_start_matches(v), " *** foo *** "); in test_trim_start_matches() 4275 assert_eq!(" *** foo *** ".trim_start_matches(chars), "foo *** "); in test_trim_start_matches() 4276 assert_eq!(" *** *** ".trim_start_matches(chars), ""); in test_trim_start_matches() 4277 assert_eq!("foo *** ".trim_start_matches(chars), "foo *** "); in test_trim_start_matches() 4279 assert_eq!("11foo1bar11".trim_start_matches('1'), "foo1bar11"); in test_trim_start_matches() 4281 assert_eq!("12foo1bar12".trim_start_matches(chars), "foo1bar12"); in test_trim_start_matches() 4282 assert_eq!("123foo1bar123".trim_start_matches(|c: char| c.is_numeric()), "foo1bar123"); in test_trim_start_matches() 5136 assert_eq!(" \t a \t ".trim_start_matches(|c: char| c.is_whitespace()), "a \t "); 5138 assert_eq!(" \t a \t ".trim_start_matches(|c: char| c.is_whitespace()), "a \t "); [all …]
|