Lines Matching refs:datestr
157 int mk_date (const char *datestr, struct rtc_time *tmp) in mk_date() argument
162 ptr = strchr (datestr,'.'); in mk_date()
163 len = strlen (datestr); in mk_date()
170 if ((len - (ptr - datestr)) != 2) in mk_date()
173 len = strlen (datestr); in mk_date()
186 if (cnvrt2 (datestr+ 8, ¢ury) || in mk_date()
187 cnvrt2 (datestr+10, &year) ) { in mk_date()
195 if (cnvrt2 (datestr+ 8, &year)) in mk_date()
206 if (cnvrt2 (datestr+0, &val) || in mk_date()
211 if (cnvrt2 (datestr+2, &val) || in mk_date()
217 if (cnvrt2 (datestr+4, &val) || in mk_date()
223 if (cnvrt2 (datestr+6, &val) || in mk_date()