Home
last modified time | relevance | path

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

/external/rust/crates/quiche/deps/boringssl/src/crypto/asn1/
Dtime_support.c177 long from_jd, to_jd, diff_day; in OPENSSL_gmtime_diff() local
186 diff_day = to_jd - from_jd; in OPENSSL_gmtime_diff()
189 if (diff_day > 0 && diff_sec < 0) { in OPENSSL_gmtime_diff()
190 diff_day--; in OPENSSL_gmtime_diff()
193 if (diff_day < 0 && diff_sec > 0) { in OPENSSL_gmtime_diff()
194 diff_day++; in OPENSSL_gmtime_diff()
199 *out_days = (int)diff_day; in OPENSSL_gmtime_diff()
/external/boringssl/src/crypto/asn1/
Dtime_support.c177 long from_jd, to_jd, diff_day; in OPENSSL_gmtime_diff() local
186 diff_day = to_jd - from_jd; in OPENSSL_gmtime_diff()
189 if (diff_day > 0 && diff_sec < 0) { in OPENSSL_gmtime_diff()
190 diff_day--; in OPENSSL_gmtime_diff()
193 if (diff_day < 0 && diff_sec > 0) { in OPENSSL_gmtime_diff()
194 diff_day++; in OPENSSL_gmtime_diff()
199 *out_days = (int)diff_day; in OPENSSL_gmtime_diff()