Home
last modified time | relevance | path

Searched refs:trim_start_matches (Results 1 - 8 of 8) sorted by relevance

/third_party/rust/crates/bindgen/bindgen/ir/
H A Dcomment.rs42 .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/
H A Dbuild.rs111 .trim_start_matches("my_prefixed_") in item_name()
117 .trim_start_matches("MY_PREFIXED_") in item_name()
/third_party/rust/crates/clang-sys/build/
H A Ddynamic.rs249 let name = filename.trim_start_matches("lib"); in link()
/third_party/rust/crates/cxx/gen/cmd/src/gen/
H A Dwrite.rs500 id.trim_start_matches("::"), in check_trivial_extern_type()
/third_party/rust/crates/cxx/gen/src/
H A Dwrite.rs500 id.trim_start_matches("::"), in check_trivial_extern_type()
/third_party/rust/crates/cxx/gen/lib/src/gen/
H A Dwrite.rs500 id.trim_start_matches("::"), in check_trivial_extern_type()
/third_party/rust/crates/cxx/gen/build/src/gen/
H A Dwrite.rs500 id.trim_start_matches("::"), in check_trivial_extern_type()
/third_party/rust/crates/memchr/bench/data/code/
H A Drust-library.rs351 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 "); in trim_ws()
5138 assert_eq!(" \t a \t ".trim_start_matches(| in trim_ws()
[all...]

Completed in 29 milliseconds