Lines Matching refs:str
13 use std::str::FromStr;
16 fn lit(s: &str) -> Lit {
29 fn test_string(s: &str, value: &str) {
68 fn test_byte_string(s: &str, value: &[u8]) {
100 fn test_byte(s: &str, value: u8) {
122 fn test_char(s: &str, value: char) {
148 fn test_int(s: &str, value: u64, suffix: &str) {
188 fn test_float(s: &str, value: f64, suffix: &str) {
227 fn get_suffix(token: &str) -> String {