HomeSort by: relevance | last modified time | path
    Searched defs:is_leap (Results 1 - 6 of 6) sorted by relevancy

  /src/crypto/external/bsd/heimdal/dist/lib/roken/
timegm.c 41 is_leap(unsigned y) function
65 if (tm->tm_mday < 1 || tm->tm_mday > ndays[is_leap(tm->tm_year)][tm->tm_mon])
75 res += is_leap(i) ? 366 : 365;
78 res += ndays[is_leap(tm->tm_year)][i];
  /src/crypto/external/bsd/heimdal/dist/lib/asn1/
timegm.c 41 is_leap(unsigned y) function
73 if (tm->tm_mday < 1 || tm->tm_mday > (int)ndays[is_leap(tm->tm_year)][tm->tm_mon])
83 res += is_leap(i) ? 366 : 365;
86 res += ndays[is_leap(tm->tm_year)][i];
120 unsigned dayinyear = (is_leap(tm->tm_year) ? 366 : 365);
129 unsigned daysinmonth = ndays[is_leap(tm->tm_year)][tm->tm_mon];
  /src/external/gpl3/gcc/dist/libstdc++-v3/src/c++98/
locale_facets.cc 140 is_leap(int year) function in namespace:__anon14881
174 return (mon_yday[is_leap (1900 + tm->tm_year)][tm->tm_mon]
200 while (mon_yday[is_leap(1900 + tm->tm_year)][t_mon]
208 - mon_yday[is_leap(1900 + tm->tm_year)][t_mon - 1] + 1);
234 while (mon_yday[is_leap(1900 + tm->tm_year)][t_mon]
242 - mon_yday[is_leap(1900 + tm->tm_year)][t_mon - 1] + 1);
  /src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++98/
locale_facets.cc 140 is_leap(int year) function in namespace:__anon17267
174 return (mon_yday[is_leap (1900 + tm->tm_year)][tm->tm_mon]
200 while (mon_yday[is_leap(1900 + tm->tm_year)][t_mon]
208 - mon_yday[is_leap(1900 + tm->tm_year)][t_mon - 1] + 1);
234 while (mon_yday[is_leap(1900 + tm->tm_year)][t_mon]
242 - mon_yday[is_leap(1900 + tm->tm_year)][t_mon - 1] + 1);
  /src/external/mpl/bind/dist/lib/dns/
time.c 46 #define is_leap(y) ((((y) % 4) == 0 && ((y) % 100) != 0) || ((y) % 400) == 0) macro
47 #define year_secs(y) ((is_leap(y) ? 366 : 365) * 86400)
48 #define month_secs(m, y) ((days[m] + ((m == 1 && is_leap(y)) ? 1 : 0)) * 86400)
165 RANGE(1, days[month - 1] + ((month == 2 && is_leap(year)) ? 1 : 0),
187 if (is_leap(year) && month > 2) {
192 secs = (is_leap(i) ? 366 : 365) * 86400;
197 secs = (is_leap(i) ? 366 : 365) * 86400;
  /src/external/mpl/dhcp/bind/dist/lib/dns/
time.c 47 #define is_leap(y) ((((y) % 4) == 0 && ((y) % 100) != 0) || ((y) % 400) == 0) macro
48 #define year_secs(y) ((is_leap(y) ? 366 : 365) * 86400)
49 #define month_secs(m, y) ((days[m] + ((m == 1 && is_leap(y)) ? 1 : 0)) * 86400)
166 RANGE(1, days[month - 1] + ((month == 2 && is_leap(year)) ? 1 : 0),
188 if (is_leap(year) && month > 2) {
193 secs = (is_leap(i) ? 366 : 365) * 86400;
198 secs = (is_leap(i) ? 366 : 365) * 86400;

Completed in 24 milliseconds