Home
last modified time | relevance | path

Searched refs:leap_days (Results 1 – 7 of 7) sorted by relevance

/external/curl/lib/
Dparsedate.c287 int leap_days = year - (mon <= 1); in time2epoch() local
288 leap_days = ((leap_days / 4) - (leap_days / 100) + (leap_days / 400) in time2epoch()
291 + leap_days + month_days_cumulative[mon] + mday - 1) * 24 in time2epoch()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Djson_decode.c1028 const uint32_t leap_days = y_adj / 4 - y_adj / 100 + y_adj / 400; in jsondec_epochdays() local
1029 return y_adj * 365 + leap_days + month_days + (d - 1) - 2472632; in jsondec_epochdays()
/external/libcups/cups/
Dhttp-support.c827 static const int leap_days[] = /* Days to a month, leap years */ in httpGetDateTime() local
863 days = leap_days[i] + day - 1; in httpGetDateTime()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/cmake/upb/json/
Dparser.c1711 uint32_t leap_days = 1 + (febs / 4) - (febs / 100) + (febs / 400); in epoch_days() local
1712 uint32_t days = 365 * year_adj + leap_days + month_yday[month - 1] + day - 1; in epoch_days()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/json/
Dparser.rl1709 uint32_t leap_days = 1 + (febs / 4) - (febs / 100) + (febs / 400);
1710 uint32_t days = 365 * year_adj + leap_days + month_yday[month - 1] + day - 1;
/external/protobuf/php/ext/google/protobuf/
Dupb.c10480 int64_t leap_days = years / 4 - years / 100 + years / 400; in epoch() local
10482 int64_t days = years * 365 + yday + leap_days; in epoch()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c14319 int64_t leap_days = years / 4 - years / 100 + years / 400; in epoch() local
14321 int64_t days = years * 365 + yday + leap_days; in epoch()