Lines Matching refs:format
29 * scan date expression in s using format
31 * if non-null, f points to the first unused format char
165 * the format scan workhorse
169 scan(register const char* s, char** e, const char* format, char** f, Time_t t, long flags)
198 if (!(d = *format++))
202 format--;
205 format = (const char*)*--sp;
209 format--;
212 else if (d == '%' && (d = *format) && format++ && d != '%')
225 if ((n = tmlex(s, &u, tm_info.format + lo, hi - lo, NiL, 0)) < 0)
240 if ((n = tmlex(s, &u, tm_info.format + lo, hi - lo, NiL, 0)) < 0)
266 if (*format)
268 d = *format++;
310 if ((n = tmlex(s, &u, tm_info.format + TM_MERIDIAN, TM_UT - TM_MERIDIAN, NiL, 0)) < 0)
357 p = tm_info.format[TM_DATE];
360 p = tm_info.format[TM_TIME];
401 if (!*format || *format == '%' && *(format + 1) == '|')
409 *sp++ = (char*)format;
410 format = (const char*)p;
422 format = (const char*)stack[0];
423 if (*format)
425 p = (char*)format;
427 format += strlen(format);
432 format = (const char*)p;
447 while (isspace(*format))
448 format++;
449 *f = (char*)format;
455 * format==0 DATEMSK
456 * *format==0 DATEMSK and tmxdate()
457 * *format!=0 format
461 tmxscan(const char* s, char** e, const char* format, char** f, Time_t t, long flags)
473 if (!format || !*format)
525 *f = (char*)format;
526 if (format)
532 return scan(s, e, format, f, t, flags);