Home
last modified time | relevance | path

Searched refs:chars (Results 1 – 9 of 9) sorted by relevance

/DADK/dadk-config/src/rootfs/utils/
H A Dsize.rs63 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
H A Dsize.rs63 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() localVariable
69 let unit = chars.next()?; in parse_size_from_string()
70 let number_str: String = chars.rev().collect(); in parse_size_from_string()
/DADK/dadk-user/src/executor/
H A Dmod.rs304 let count_leading_slashes = in_dragonos_path.chars().take_while(|c| *c == '/').count(); in clean_src()
H A Dmod.rs304 let count_leading_slashes = in_dragonos_path.chars().take_while(|c| *c == '/').count(); in clean_src()
H A Dmod.rs304 let count_leading_slashes = in_dragonos_path.chars().take_while(|c| *c == '/').count(); in clean_src()
H A Dmod.rs304 let count_leading_slashes = in_dragonos_path.chars().take_while(|c| *c == '/').count(); in clean_all()
H A Dmod.rs304 let count_leading_slashes = in_dragonos_path.chars().take_while(|c| *c == '/').count(); in clean()
H A Dmod.rs304 let count_leading_slashes = in_dragonos_path.chars().take_while(|c| *c == '/').count(); in clean()
H A Dmod.rs304 let count_leading_slashes = in_dragonos_path.chars().take_while(|c| *c == '/').count(); in do_install()