Lines Matching refs:len
211 static int checkday(const char *check, size_t len) in checkday() argument
215 if(len > 3) in checkday()
217 else if(len == 3) in checkday()
223 if((ilen == len) && in checkday()
224 strncasecompare(check, what[0], len)) in checkday()
231 static int checkmonth(const char *check, size_t len) in checkmonth() argument
235 if(len != 3) in checkmonth()
249 static int checktz(const char *check, size_t len) in checktz() argument
253 if(len > 4) /* longer than any valid timezone */ in checktz()
258 if((ilen == len) && in checktz()
259 strncasecompare(check, what->name, len)) in checktz()
379 size_t len = 0; in parsedate() local
381 while(ISALPHA(*p) && (len < NAME_LEN)) { in parsedate()
383 len++; in parsedate()
386 if(len != NAME_LEN) { in parsedate()
388 wdaynum = checkday(date, len); in parsedate()
393 monnum = checkmonth(date, len); in parsedate()
400 tzoff = checktz(date, len); in parsedate()
408 date += len; in parsedate()