Searched refs:trim_start (Results 1 – 7 of 7) sorted by relevance
52 fn trim_start<'a>(s: &'a str, prefix: &str) -> Option<&'a str> { in trim_start() function72 trim_start(&l, "CMAKE_CXX_COMPILER:").map_or(false, |s| { in clean_up_stale_cache()237 let t = trim_start(&l, "OPENSSL_CRYPTO_LIBRARY:FILEPATH=") in figure_ssl_path()238 .or_else(|| trim_start(&l, "OPENSSL_SSL_LIBRARY:FILEPATH=")); in figure_ssl_path()
23 if line != define && !line.trim_start().starts_with("//") { in write()
658 static inline void trim_start(string &s) { in trim_start() function664 trim_start(s); in trim_start_end()
1104 trim_start(fragment); in extractText()
259 if *start <= source.len() - source.trim_start().len() => in render_snippet_source()536 MultiLabel::Top(start) if *start <= source.len() - source.trim_start().len() => { in render_snippet_source()
367 line[PREFIX.len()..].trim_start().chars().next(), in thread_is_sleeping()
2125 self.trim_start().trim_end() in trim()2145 fn trim_start(&self) -> &[u8] { in trim_start() method