Searched refs:epoch_days (Results 1 – 2 of 2) sorted by relevance
/external/rust/crates/grpcio-sys/grpc/third_party/upb/cmake/upb/json/ |
D | parser.c | 1706 static int epoch_days(int year, int month, int day) { in epoch_days() function 1717 int64_t ret = epoch_days(tp->tm_year + 1900, tp->tm_mon + 1, tp->tm_mday); in upb_timegm()
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/json/ |
D | parser.rl | 1703 /* epoch_days(1970, 1, 1) == 1970-01-01 == 0. */ 1704 static int epoch_days(int year, int month, int day) { 1715 int64_t ret = epoch_days(tp->tm_year + 1900, tp->tm_mon + 1, tp->tm_mday);
|