Searched refs:chars (Results 1 – 9 of 9) sorted by relevance
63 if size_str.chars().all(|c| c.is_ascii_digit()) { in parse_size_from_string() 68 let mut chars = size_str.chars().rev(); in parse_size_from_string() 69 let unit = chars.next()?; in parse_size_from_string() 70 let number_str: String = chars.rev().collect(); in parse_size_from_string() 64 let mut chars = size_str.chars().rev(); parse_size_from_string() localVariable
63 if size_str.chars().all(|c| c.is_ascii_digit()) { in parse_size_from_string()68 let mut chars = size_str.chars().rev(); in parse_size_from_string() localVariable69 let unit = chars.next()?; in parse_size_from_string()70 let number_str: String = chars.rev().collect(); in parse_size_from_string()
304 let count_leading_slashes = in_dragonos_path.chars().take_while(|c| *c == '/').count(); in clean_src()
304 let count_leading_slashes = in_dragonos_path.chars().take_while(|c| *c == '/').count(); in clean_all()
304 let count_leading_slashes = in_dragonos_path.chars().take_while(|c| *c == '/').count(); in clean()
304 let count_leading_slashes = in_dragonos_path.chars().take_while(|c| *c == '/').count(); in do_install()