Home
last modified time | relevance | path

Searched refs:year_adj (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/upb/cmake/upb/json/
Dparser.c1709 uint32_t year_adj = year + 4800; /* Ensure positive year, multiple of 400. */ in epoch_days() local
1710 uint32_t febs = year_adj - (month <= 2 ? 1 : 0); /* Februaries since base. */ in epoch_days()
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.rl1707 uint32_t year_adj = year + 4800; /* Ensure positive year, multiple of 400. */
1708 uint32_t febs = year_adj - (month <= 2 ? 1 : 0); /* Februaries since base. */
1710 uint32_t days = 365 * year_adj + leap_days + month_yday[month - 1] + day - 1;