• Home
  • Raw
  • Download

Lines Matching defs:str

15 fn equals(s: &str, pattern: &str) -> bool {  in equals()
37 pub fn number(s: &str, min: usize, max: usize) -> ParseResult<(&str, i64)> { in number()
70 pub fn nanosecond(s: &str) -> ParseResult<(&str, i64)> { in nanosecond()
89 pub fn nanosecond_fixed(s: &str, digits: usize) -> ParseResult<(&str, i64)> { in nanosecond_fixed()
102 pub fn short_month0(s: &str) -> ParseResult<(&str, u8)> { in short_month0()
126 pub fn short_weekday(s: &str) -> ParseResult<(&str, Weekday)> { in short_weekday()
146 pub fn short_or_long_month0(s: &str) -> ParseResult<(&str, u8)> { in short_or_long_month0()
148 static LONG_MONTH_SUFFIXES: [&'static str; 12] = in short_or_long_month0() variable
164 pub fn short_or_long_weekday(s: &str) -> ParseResult<(&str, Weekday)> { in short_or_long_weekday()
166 static LONG_WEEKDAY_SUFFIXES: [&'static str; 7] = in short_or_long_weekday() variable
181 pub fn char(s: &str, c1: u8) -> ParseResult<&str> { in char()
190 pub fn space(s: &str) -> ParseResult<&str> { in space()
202 pub fn colon_or_space(s: &str) -> ParseResult<&str> { in colon_or_space()
210 pub fn timezone_offset<F>(s: &str, consume_colon: F) -> ParseResult<(&str, i32)> in timezone_offset()
212 F: FnMut(&str) -> ParseResult<&str>, in timezone_offset()
218 mut s: &str, in timezone_offset_internal()
221 ) -> ParseResult<(&str, i32)> in timezone_offset_internal()
223 F: FnMut(&str) -> ParseResult<&str>, in timezone_offset_internal()
275 pub fn timezone_offset_zulu<F>(s: &str, colon: F) -> ParseResult<(&str, i32)> in timezone_offset_zulu()
277 F: FnMut(&str) -> ParseResult<&str>, in timezone_offset_zulu()
299 pub fn timezone_offset_permissive<F>(s: &str, colon: F) -> ParseResult<(&str, i32)> in timezone_offset_permissive()
301 F: FnMut(&str) -> ParseResult<&str>, in timezone_offset_permissive()
311 pub fn timezone_offset_2822(s: &str) -> ParseResult<(&str, Option<i32>)> { in timezone_offset_2822()
348 pub fn timezone_name_skip(s: &str) -> ParseResult<(&str, ())> { in timezone_name_skip()