Home
last modified time | relevance | path

Searched refs:mytm (Results 1 – 6 of 6) sorted by relevance

/openbsd/src/gnu/usr.bin/perl/cpan/Time-Piece/
DPiece.xs741 struct tm mytm; in _strptime() local
752 memset(&mytm, 0, sizeof(mytm)); in _strptime()
755 mytm = *localtime(&t); in _strptime()
757 mytm = *gmtime(&t); in _strptime()
759 tm->tm_sec = mytm.tm_sec; in _strptime()
760 tm->tm_min = mytm.tm_min; in _strptime()
761 tm->tm_hour = mytm.tm_hour; in _strptime()
762 tm->tm_mday = mytm.tm_mday; in _strptime()
763 tm->tm_mon = mytm.tm_mon; in _strptime()
764 tm->tm_year = mytm.tm_year; in _strptime()
[all …]
/openbsd/src/gnu/usr.bin/perl/
Dlocale.c7500 struct tm mytm; in S_emulate_langinfo() local
7507 ints_to_tm(&mytm, locale, 30, 30, hour, mday, mon, 2011, 0, 0, 0); in S_emulate_langinfo()
7513 &mytm, in S_emulate_langinfo()
7524 succeeded = strftime_tm(format, sv, locale, &mytm); in S_emulate_langinfo()
7625 struct tm mytm; in S_emulate_langinfo() local
7651 ints_to_tm(&mytm, locale, sec, min, hour, mday, mon, year, 0, 0, 0); in S_emulate_langinfo()
7656 &mytm, in S_emulate_langinfo()
7663 succeeded = strftime_tm(fmts[j], alt_dig_sv, locale, &mytm); in S_emulate_langinfo()
8128 struct tm mytm; in Perl_my_strftime() local
8129 ints_to_tm(&mytm, locale, sec, min, hour, mday, mon, year, wday, yday, in Perl_my_strftime()
[all …]
Dproto.h4916 Perl_sv_strftime_tm(pTHX_ SV *fmt, const struct tm *mytm);
4918 assert(fmt); assert(mytm)
7029 S_strftime8(pTHX_ const char *fmt, SV *sv, const char *locale, const struct tm *mytm, const utf8nes…
7031 assert(fmt); assert(sv); assert(locale); assert(mytm); assert(result_utf8ness)
7034 S_strftime_tm(pTHX_ const char *fmt, SV *sv, const char *locale, const struct tm *mytm)
7037 assert(fmt); assert(sv); assert(locale); assert(mytm)
7040 S_sv_strftime_common(pTHX_ SV *fmt, const char *locale, const struct tm *mytm);
7042 assert(fmt); assert(locale); assert(mytm)
Dembed.fnc3424 |NN const struct tm *mytm
4436 |NN const struct tm *mytm \
4443 |NN const struct tm *mytm
4447 |NN const struct tm *mytm
/openbsd/src/lib/libc/time/
Dlocaltime.c1547 struct tm mytm; in ctime_r() local
1549 return asctime_r(localtime_r(timep, &mytm), buf); in ctime_r()
1649 struct tm yourtm, mytm; in time2sub() local
1731 if ((*funcp)(&t, offset, &mytm) == NULL) { in time2sub()
1739 dir = tmcomp(&mytm, &yourtm); in time2sub()
1760 if (yourtm.tm_isdst < 0 || mytm.tm_isdst == yourtm.tm_isdst) in time2sub()
1780 if ((*funcp)(&newt, offset, &mytm) == NULL) in time2sub()
1782 if (tmcomp(&mytm, &yourtm) != 0) in time2sub()
1784 if (mytm.tm_isdst != yourtm.tm_isdst) in time2sub()
/openbsd/src/gnu/usr.bin/perl/ext/POSIX/
DPOSIX.xs3510 struct tm mytm; variable
3511 init_tm(&mytm); /* XXX workaround - see init_tm() in core util.c */
3512 mytm.tm_sec = sec;
3513 mytm.tm_min = min;
3514 mytm.tm_hour = hour;
3515 mytm.tm_mday = mday;
3516 mytm.tm_mon = mon;
3517 mytm.tm_year = year;
3518 mytm.tm_wday = wday;
3519 mytm.tm_yday = yday;
[all …]