Home
last modified time | relevance | path

Searched refs:trim_end_matches (Results 1 - 6 of 6) sorted by relevance

/third_party/rust/crates/bindgen/bindgen/ir/
H A Dcomment.rs50 .trim_end_matches('/') in preprocess_multi_line()
51 .trim_end_matches('*'); in preprocess_multi_line()
/third_party/rust/crates/cxx/gen/build/src/
H A Ddeps.rs78 let without_counter = k.trim_end_matches(|ch: char| ch.is_ascii_digit()); in direct_dependencies()
/third_party/rust/crates/rust-openssl/openssl-sys/build/
H A Dmain.rs332 let version = version.trim_end_matches(|c: char| !c.is_ascii_hexdigit()); in parse_version()
/third_party/rust/crates/codespan/codespan-reporting/src/term/
H A Drenderer.rs241 let source = source.trim_end_matches(['\n', '\r', '\0'].as_ref()); in render_snippet_source()
/third_party/rust/crates/libc/libc-test/
H A Dbuild.rs868 field.trim_end_matches("e_nsec").to_string() + ".tv_nsec" in test_solarish()
/third_party/rust/crates/memchr/bench/data/code/
H A Drust-library.rs352 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"); in trim_ws()
5139 assert_eq!(" \t a \t ".trim_end_matches(| in trim_ws()
[all...]

Completed in 27 milliseconds