Home
last modified time | relevance | path

Searched refs:offset_sec (Results 1 – 8 of 8) sorted by relevance

/external/boringssl/src/crypto/asn1/
Dtime_support.c103 static int julian_adj(const struct tm *tm, int off_day, long offset_sec, in julian_adj() argument
109 offset_day = offset_sec / SECS_PER_DAY; in julian_adj()
111 offset_hms = offset_sec - (offset_day * SECS_PER_DAY); in julian_adj()
144 int OPENSSL_gmtime_adj(struct tm *tm, int off_day, long offset_sec) { in OPENSSL_gmtime_adj() argument
149 if (!julian_adj(tm, off_day, offset_sec, &time_jd, &time_sec)) { in OPENSSL_gmtime_adj()
Da_time.c85 int offset_day, long offset_sec) in ASN1_TIME_adj() argument
95 if (offset_day || offset_sec) { in ASN1_TIME_adj()
96 if (!OPENSSL_gmtime_adj(ts, offset_day, offset_sec)) in ASN1_TIME_adj()
100 return ASN1_UTCTIME_adj(s, t, offset_day, offset_sec); in ASN1_TIME_adj()
101 return ASN1_GENERALIZEDTIME_adj(s, t, offset_day, offset_sec); in ASN1_TIME_adj()
Da_gentm.c216 long offset_sec) in ASN1_GENERALIZEDTIME_adj() argument
235 if (offset_day || offset_sec) { in ASN1_GENERALIZEDTIME_adj()
236 if (!OPENSSL_gmtime_adj(ts, offset_day, offset_sec)) in ASN1_GENERALIZEDTIME_adj()
Da_utctm.c190 int offset_day, long offset_sec) in ASN1_UTCTIME_adj() argument
209 if (offset_day || offset_sec) { in ASN1_UTCTIME_adj()
210 if (!OPENSSL_gmtime_adj(ts, offset_day, offset_sec)) in ASN1_UTCTIME_adj()
Dasn1_locl.h79 int OPENSSL_gmtime_adj(struct tm *tm, int offset_day, long offset_sec);
/external/boringssl/src/include/openssl/
Dasn1.h676 …_EXPORT ASN1_UTCTIME *ASN1_UTCTIME_adj(ASN1_UTCTIME *s, time_t t, int offset_day, long offset_sec);
685 …TIME *ASN1_GENERALIZEDTIME_adj(ASN1_GENERALIZEDTIME *s, time_t t, int offset_day, long offset_sec);
715 OPENSSL_EXPORT ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s,time_t t, int offset_day, long offset_sec);
Dx509.h703 OPENSSL_EXPORT ASN1_TIME * X509_time_adj_ex(ASN1_TIME *s, int offset_day, long offset_sec, time_t *…
/external/boringssl/src/crypto/x509/
Dx509_vfy.c1908 ASN1_TIME *X509_time_adj(ASN1_TIME *s, long offset_sec, time_t *in_tm) in X509_time_adj() argument
1910 return X509_time_adj_ex(s, 0, offset_sec, in_tm); in X509_time_adj()
1914 int offset_day, long offset_sec, time_t *in_tm) in X509_time_adj_ex() argument
1925 return ASN1_UTCTIME_adj(s, t, offset_day, offset_sec); in X509_time_adj_ex()
1927 return ASN1_GENERALIZEDTIME_adj(s, t, offset_day, offset_sec); in X509_time_adj_ex()
1929 return ASN1_TIME_adj(s, t, offset_day, offset_sec); in X509_time_adj_ex()