Home
last modified time | relevance | path

Searched refs:TM_YEAR_BASE (Results 1 – 25 of 578) sorted by relevance

12345678910>>...24

/dports/security/gnome-ssh-askpass/openssh-6.6p1/openbsd-compat/
H A Dstrptime.c38 #define TM_YEAR_BASE 1900 /* from tzfile.h */ macro
76 century = TM_YEAR_BASE; in _strptime()
331 tm->tm_year = i - TM_YEAR_BASE; in _strptime()
363 if (century == TM_YEAR_BASE) { in _strptime()
365 tm->tm_year = relyear + 2000 - TM_YEAR_BASE; in _strptime()
367 tm->tm_year = relyear + 1900 - TM_YEAR_BASE; in _strptime()
369 tm->tm_year = relyear + century - TM_YEAR_BASE; in _strptime()
/dports/security/openssh-portable/openssh-8.8p1/openbsd-compat/
H A Dstrptime.c38 #define TM_YEAR_BASE 1900 /* from tzfile.h */ macro
76 century = TM_YEAR_BASE; in _strptime()
331 tm->tm_year = i - TM_YEAR_BASE; in _strptime()
363 if (century == TM_YEAR_BASE) { in _strptime()
365 tm->tm_year = relyear + 2000 - TM_YEAR_BASE; in _strptime()
367 tm->tm_year = relyear + 1900 - TM_YEAR_BASE; in _strptime()
369 tm->tm_year = relyear + century - TM_YEAR_BASE; in _strptime()
/dports/devel/upp/upp/bazaar/plugin/gdal/port/
H A Dcpl_time.cpp33 #define TM_YEAR_BASE 1900 macro
100 pRet->tm_year = (int) (y - TM_YEAR_BASE); in CPLUnixTimeToYMDHMS()
139 const int* ip = mon_lengths[isleap(TM_YEAR_BASE + brokendowntime->tm_year)]; in CPLYMDHMSToUnixTime()
144 days += (TM_YEAR_BASE + (GIntBig)brokendowntime->tm_year - EPOCH_YEAR) * DAYSPERNYEAR + in CPLYMDHMSToUnixTime()
145 LEAPS_THRU_END_OF(TM_YEAR_BASE + (GIntBig)brokendowntime->tm_year - 1) - in CPLYMDHMSToUnixTime()
/dports/comms/gammu/gammu-1.42.0/libgammu/misc/
H A Dstrptime.c113 century = TM_YEAR_BASE; in _strptime()
364 tm->tm_year = i - TM_YEAR_BASE; in _strptime()
396 if (century == TM_YEAR_BASE) { in _strptime()
398 tm->tm_year = relyear + 2000 - TM_YEAR_BASE; in _strptime()
400 tm->tm_year = relyear + 1900 - TM_YEAR_BASE; in _strptime()
402 tm->tm_year = relyear + century - TM_YEAR_BASE; in _strptime()
/dports/games/gtkevemon/gtkevemon-ac2ca34/src/util/
H A Dstrptime.cc42 #define TM_YEAR_BASE 1900 macro
217 i = i * 100 - TM_YEAR_BASE; in strptime()
299 i = TM_YEAR_BASE; /* just for data sanity... */ in strptime()
301 tm->tm_year = i - TM_YEAR_BASE; in strptime()
315 i = i + 2000 - TM_YEAR_BASE; in strptime()
317 i = i + 1900 - TM_YEAR_BASE; in strptime()
/dports/games/wolfpack/empire-4.4.1/src/lib/w32/
H A Dstrptime.c53 #define TM_YEAR_BASE 1900 macro
239 i = i * 100 - TM_YEAR_BASE; in strptime()
321 i = TM_YEAR_BASE; /* just for data sanity... */ in strptime()
323 tm->tm_year = i - TM_YEAR_BASE; in strptime()
337 i = i + 2000 - TM_YEAR_BASE; in strptime()
339 i = i + 1900 - TM_YEAR_BASE; in strptime()
/dports/net/ndpi/nDPI-92a1be2/src/lib/third_party/src/
H A Dstrptime.c42 #ifndef TM_YEAR_BASE
43 #define TM_YEAR_BASE 1900 macro
375 tm->tm_year = i - TM_YEAR_BASE; in strptime()
389 tm->tm_year = i + 2000 - TM_YEAR_BASE; in strptime()
391 tm->tm_year = i + 1900 - TM_YEAR_BASE; in strptime()
/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/unix-time-0.4.7/cbits/
H A Dwin_patch.h20 #if !defined(TM_YEAR_BASE)
21 #define TM_YEAR_BASE 1900 macro
48 #if !defined(TM_YEAR_BASE)
49 #define TM_YEAR_BASE 1900 macro
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/unix-time-0.4.7/cbits/
H A Dwin_patch.h20 #if !defined(TM_YEAR_BASE)
21 #define TM_YEAR_BASE 1900 macro
48 #if !defined(TM_YEAR_BASE)
49 #define TM_YEAR_BASE 1900 macro
/dports/devel/hs-hoogle/hoogle-5.0.18.2/_cabal_deps/unix-time-0.4.7/cbits/
H A Dwin_patch.h20 #if !defined(TM_YEAR_BASE)
21 #define TM_YEAR_BASE 1900 macro
48 #if !defined(TM_YEAR_BASE)
49 #define TM_YEAR_BASE 1900 macro
/dports/www/hs-yesod-bin/yesod-bin-1.6.1/_cabal_deps/unix-time-0.4.7/cbits/
H A Dwin_patch.h20 #if !defined(TM_YEAR_BASE)
21 #define TM_YEAR_BASE 1900 macro
48 #if !defined(TM_YEAR_BASE)
49 #define TM_YEAR_BASE 1900 macro
/dports/www/hs-wai-app-static/wai-app-static-3.1.7.2/_cabal_deps/unix-time-0.4.7/cbits/
H A Dwin_patch.h20 #if !defined(TM_YEAR_BASE)
21 #define TM_YEAR_BASE 1900 macro
48 #if !defined(TM_YEAR_BASE)
49 #define TM_YEAR_BASE 1900 macro
/dports/www/hs-postgrest/postgrest-8.0.0/_cabal_deps/unix-time-0.4.7/cbits/
H A Dwin_patch.h20 #if !defined(TM_YEAR_BASE)
21 #define TM_YEAR_BASE 1900 macro
48 #if !defined(TM_YEAR_BASE)
49 #define TM_YEAR_BASE 1900 macro
/dports/devel/hs-git-annex/git-annex-8.20210903/_cabal_deps/unix-time-0.4.7/cbits/
H A Dwin_patch.h20 #if !defined(TM_YEAR_BASE)
21 #define TM_YEAR_BASE 1900 macro
48 #if !defined(TM_YEAR_BASE)
49 #define TM_YEAR_BASE 1900 macro
/dports/devel/stack/stack-2.7.3/_cabal_deps/unix-time-0.4.7/cbits/
H A Dwin_patch.h20 #if !defined(TM_YEAR_BASE)
21 #define TM_YEAR_BASE 1900 macro
48 #if !defined(TM_YEAR_BASE)
49 #define TM_YEAR_BASE 1900 macro
/dports/lang/purescript/purescript-0.14.5/_cabal_deps/unix-time-0.4.7/cbits/
H A Dwin_patch.h20 #if !defined(TM_YEAR_BASE)
21 #define TM_YEAR_BASE 1900 macro
48 #if !defined(TM_YEAR_BASE)
49 #define TM_YEAR_BASE 1900 macro
/dports/shells/bash/bash-5.1/lib/sh/
H A Dmktime.c101 #define TM_YEAR_BASE 1900 macro
155 int a4 = (year >> 2) + (TM_YEAR_BASE >> 2) - ! (year & 3);
156 int b4 = (tp->tm_year >> 2) + (TM_YEAR_BASE >> 2) - ! (tp->tm_year & 3);
231 int yday = ((__mon_yday[__isleap (year + TM_YEAR_BASE)]
248 tm.tm_year = EPOCH_YEAR - TM_YEAR_BASE;
344 tp->tm_year + TM_YEAR_BASE, tp->tm_mon + 1, tp->tm_mday,
387 tm.tm_year -= TM_YEAR_BASE;
/dports/math/oleo/oleo-1.99.16/lib/
H A Dmktime.c86 #define TM_YEAR_BASE 1900 macro
148 int a4 = (year >> 2) + (TM_YEAR_BASE >> 2) - ! (year & 3);
149 int b4 = (tp->tm_year >> 2) + (TM_YEAR_BASE >> 2) - ! (tp->tm_year & 3);
224 int yday = ((__mon_yday[__isleap (year + TM_YEAR_BASE)]
241 tm.tm_year = EPOCH_YEAR - TM_YEAR_BASE;
337 tp->tm_year + TM_YEAR_BASE, tp->tm_mon + 1, tp->tm_mday,
380 tm.tm_year -= TM_YEAR_BASE;
/dports/devel/cvs-devel/cvs-1.12.13/lib/
H A Dmktime.c115 #define TM_YEAR_BASE 1900 macro
116 verify (base_year_is_a_multiple_of_100, TM_YEAR_BASE % 100 == 0);
127 || ((year / 100) & 3) == (- (TM_YEAR_BASE / 100) & 3))); in leapyear()
175 int a4 = SHR (year1, 2) + SHR (TM_YEAR_BASE, 2) - ! (year1 & 3); in ydhms_diff()
176 int b4 = SHR (year0, 2) + SHR (TM_YEAR_BASE, 2) - ! (year0 & 3); in ydhms_diff()
337 EPOCH_YEAR - TM_YEAR_BASE, 0, 0, 0, - guessed_offset); in __mktime_internal()
361 - SHR (EPOCH_YEAR - TM_YEAR_BASE, LOG2_YEARS_PER_BIENNIUM) in __mktime_internal()
546 tp->tm_year + TM_YEAR_BASE, tp->tm_mon + 1, tp->tm_mday, in print_tm()
586 tm.tm_year -= TM_YEAR_BASE; in main()
/dports/devel/blame/blame-1.3.1/lib/
H A Dmktime.c115 #define TM_YEAR_BASE 1900 macro
116 verify (base_year_is_a_multiple_of_100, TM_YEAR_BASE % 100 == 0);
127 || ((year / 100) & 3) == (- (TM_YEAR_BASE / 100) & 3))); in leapyear()
175 int a4 = SHR (year1, 2) + SHR (TM_YEAR_BASE, 2) - ! (year1 & 3); in ydhms_diff()
176 int b4 = SHR (year0, 2) + SHR (TM_YEAR_BASE, 2) - ! (year0 & 3); in ydhms_diff()
338 EPOCH_YEAR - TM_YEAR_BASE, 0, 0, 0, - guessed_offset); in __mktime_internal()
362 - SHR (EPOCH_YEAR - TM_YEAR_BASE, LOG2_YEARS_PER_BIENNIUM) in __mktime_internal()
547 tp->tm_year + TM_YEAR_BASE, tp->tm_mon + 1, tp->tm_mday, in print_tm()
587 tm.tm_year -= TM_YEAR_BASE; in main()
/dports/devel/poco/poco-1.10.1-all/Foundation/wcelibcex-1.0/src/
H A Dwce_mktime.c109 if (tmbuff->tm_mon < 0 || tmbuff->tm_mon > 11 || tmbuff->tm_year < (EPOCH_YEAR - TM_YEAR_BASE)) in __wceex_mktime_internal()
118 for (i = EPOCH_YEAR; i < tmbuff->tm_year + TM_YEAR_BASE; i++) in __wceex_mktime_internal()
134 if (tmbuff->tm_mon > 1 && IS_LEAP_YEAR(tmbuff->tm_year + TM_YEAR_BASE)) in __wceex_mktime_internal()
/dports/textproc/tttcmds/tttcmds-1.0.20190920/src/contrib/date/
H A Ddate.c62 #ifndef TM_YEAR_BASE
63 #define TM_YEAR_BASE 1900 macro
250 lt->tm_year = ATOI2(p) * 100 - TM_YEAR_BASE; in setthetime()
259 lt->tm_year += 2000 - TM_YEAR_BASE; in setthetime()
261 lt->tm_year += 1900 - TM_YEAR_BASE; in setthetime()
/dports/dns/bind916/bind-9.16.27/lib/isc/
H A Dtm.c70 #ifndef TM_YEAR_BASE
71 #define TM_YEAR_BASE 1900 macro
429 tm->tm_year = i - TM_YEAR_BASE; in isc_tm_strptime()
444 tm->tm_year = i + 2000 - TM_YEAR_BASE; in isc_tm_strptime()
446 tm->tm_year = i + 1900 - TM_YEAR_BASE; in isc_tm_strptime()
/dports/dns/bind911/bind-9.11.37/lib/isc/
H A Dtm.c66 #ifndef TM_YEAR_BASE
67 #define TM_YEAR_BASE 1900 macro
399 tm->tm_year = i - TM_YEAR_BASE; in isc_tm_strptime()
413 tm->tm_year = i + 2000 - TM_YEAR_BASE; in isc_tm_strptime()
415 tm->tm_year = i + 1900 - TM_YEAR_BASE; in isc_tm_strptime()
/dports/dns/samba-nsupdate/bind-9.16.5/lib/isc/
H A Dtm.c68 #ifndef TM_YEAR_BASE
69 #define TM_YEAR_BASE 1900 macro
427 tm->tm_year = i - TM_YEAR_BASE; in isc_tm_strptime()
442 tm->tm_year = i + 2000 - TM_YEAR_BASE; in isc_tm_strptime()
444 tm->tm_year = i + 1900 - TM_YEAR_BASE; in isc_tm_strptime()

12345678910>>...24