Searched refs:trim_end_matches (Results 1 – 8 of 8) sorted by relevance
/third_party/rust/crates/bindgen/bindgen/ir/ |
D | comment.rs | 50 .trim_end_matches('/') in preprocess_multi_line() 51 .trim_end_matches('*'); in preprocess_multi_line()
|
/third_party/rust/crates/cxx/gen/build/src/ |
D | deps.rs | 78 let without_counter = k.trim_end_matches(|ch: char| ch.is_ascii_digit()); in direct_dependencies()
|
/third_party/rust/crates/tracing/tracing-subscriber/src/filter/ |
D | directive.rs | 359 .trim_end_matches("}]") in from_str()
|
/third_party/rust/crates/os_str_bytes/src/ |
D | raw_str.rs | 807 pub fn trim_end_matches<P>(&self, pat: P) -> &Self in trim_end_matches() method
|
/third_party/rust/crates/codespan/codespan-reporting/src/term/ |
D | renderer.rs | 241 let source = source.trim_end_matches(['\n', '\r', '\0'].as_ref()); in render_snippet_source()
|
/third_party/rust/crates/libc/libc-test/ |
D | build.rs | 868 field.trim_end_matches("e_nsec").to_string() + ".tv_nsec" in test_solarish()
|
/third_party/rust/crates/tracing/tracing-opentelemetry/src/ |
D | layer.rs | 961 .trim_end_matches(')') in thread_id_integer()
|
/third_party/rust/crates/memchr/bench/data/code/ |
D | rust-library.rs | 352 make_test!(trim_end_ascii_char, s, { s.trim_end_matches(|c: char| c.is_ascii()) }); 4288 assert_eq!(" *** foo *** ".trim_end_matches(v), " *** foo *** "); in test_trim_end_matches() 4290 assert_eq!(" *** foo *** ".trim_end_matches(chars), " *** foo"); in test_trim_end_matches() 4291 assert_eq!(" *** *** ".trim_end_matches(chars), ""); in test_trim_end_matches() 4292 assert_eq!(" *** foo".trim_end_matches(chars), " *** foo"); in test_trim_end_matches() 4294 assert_eq!("11foo1bar11".trim_end_matches('1'), "11foo1bar"); in test_trim_end_matches() 4296 assert_eq!("12foo1bar12".trim_end_matches(chars), "12foo1bar"); in test_trim_end_matches() 4297 assert_eq!("123foo1bar123".trim_end_matches(|c: char| c.is_numeric()), "123foo1bar"); in test_trim_end_matches() 5137 assert_eq!(" \t a \t ".trim_end_matches(|c: char| c.is_whitespace()), " \t a"); 5139 assert_eq!(" \t a \t ".trim_end_matches(|c: char| c.is_whitespace()), " \t a"); [all …]
|