Home
last modified time | relevance | path

Searched refs:_strptime (Results 1 – 3 of 3) sorted by relevance

/openbsd/src/lib/libc/time/
Dstrptime.c80 static char *_strptime(const char *, const char *, struct tm *, int);
88 return(_strptime(buf, fmt, tm, 1)); in strptime()
93 _strptime(const char *buf, const char *fmt, struct tm *tm, int initialize) in _strptime() function
153 if (!(bp = _strptime(bp, _ctloc(d_t_fmt), tm, 0))) in _strptime()
159 if (!(bp = _strptime(bp, "%m/%d/%y", tm, 0))) in _strptime()
165 if (!(bp = _strptime(bp, "%Y-%m-%d", tm, 0))) in _strptime()
171 if (!(bp = _strptime(bp, "%H:%M", tm, 0))) in _strptime()
177 if (!(bp = _strptime(bp, "%I:%M:%S %p", tm, 0))) in _strptime()
183 if (!(bp = _strptime(bp, "%H:%M:%S", tm, 0))) in _strptime()
189 if (!(bp = _strptime(bp, _ctloc(t_fmt), tm, 0))) in _strptime()
[all …]
/openbsd/src/gnu/usr.bin/perl/cpan/Time-Piece/
DPiece.xs316 static char * _strptime(pTHX_ const char *, const char *, struct tm *,
339 _strptime(pTHX_ const char *buf, const char *fmt, struct tm *tm, int *got_GMT) in _strptime() function
379 buf = _strptime(aTHX_ buf, "%c", tm, got_GMT); in _strptime()
404 buf = _strptime(aTHX_ buf, "%a %d %b %Y %I:%M:%S %p %Z", tm, got_GMT); in _strptime()
410 buf = _strptime(aTHX_ buf, "%m/%d/%y", tm, got_GMT); in _strptime()
428 buf = _strptime(aTHX_ buf, "%Y-%m-%d", tm, got_GMT); in _strptime()
434 buf = _strptime(aTHX_ buf, "%H:%M", tm, got_GMT); in _strptime()
440 buf = _strptime(aTHX_ buf, "%I:%M:%S %p", tm, got_GMT); in _strptime()
454 buf = _strptime(aTHX_ buf, "%H:%M:%S", tm, got_GMT); in _strptime()
460 buf = _strptime(aTHX_ buf, "%I:%M:%S %p", tm, got_GMT); in _strptime()
[all …]
DPiece.pm598 my @vals = _strptime($string, $format, $islocal, $locales);