Home
last modified time | relevance | path

Searched refs:syntax_bits (Results 1 – 2 of 2) sorted by relevance

/openbmc/openbmc/poky/meta/recipes-extended/at/at/
H A Dposixtm.c65 year (struct tm *tm, const int *digit_pair, size_t n, unsigned int syntax_bits) in year() argument
76 if (syntax_bits & PDS_PRE_2000) in year()
83 if (! (syntax_bits & PDS_CENTURY)) in year()
110 posix_time_parse (struct tm *tm, const char *s, unsigned int syntax_bits) in posix_time_parse() argument
118 size_t len = (((syntax_bits & PDS_SECONDS) && (dot = strchr (s, '.'))) in posix_time_parse()
127 if (!(syntax_bits & PDS_SECONDS)) in posix_time_parse()
143 if (syntax_bits & PDS_LEADING_YEAR) in posix_time_parse()
145 if (year (tm, p, len - 4, syntax_bits)) in posix_time_parse()
159 if (syntax_bits & PDS_TRAILING_YEAR) in posix_time_parse()
161 if (year (tm, p, len, syntax_bits)) in posix_time_parse()
[all …]
H A Dposixtm.h35 bool posixtime (time_t *p, const char *s, unsigned int syntax_bits);