Home
last modified time | relevance | path

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

12345678

/third_party/openssl/crypto/
Do_time.c69 static int julian_adj(const struct tm *tm, int off_day, long offset_sec,
72 int OPENSSL_gmtime_adj(struct tm *tm, int off_day, long offset_sec) in OPENSSL_gmtime_adj() argument
78 if (!julian_adj(tm, off_day, offset_sec, &time_jd, &time_sec)) in OPENSSL_gmtime_adj()
133 static int julian_adj(const struct tm *tm, int off_day, long offset_sec, in julian_adj() argument
140 offset_day = offset_sec / SECS_PER_DAY; in julian_adj()
142 offset_hms = offset_sec - (offset_day * SECS_PER_DAY); in julian_adj()
/third_party/node/deps/openssl/openssl/crypto/
Do_time.c69 static int julian_adj(const struct tm *tm, int off_day, long offset_sec,
72 int OPENSSL_gmtime_adj(struct tm *tm, int off_day, long offset_sec) in OPENSSL_gmtime_adj() argument
78 if (!julian_adj(tm, off_day, offset_sec, &time_jd, &time_sec)) in OPENSSL_gmtime_adj()
133 static int julian_adj(const struct tm *tm, int off_day, long offset_sec, in julian_adj() argument
140 offset_day = offset_sec / SECS_PER_DAY; in julian_adj()
142 offset_hms = offset_sec - (offset_day * SECS_PER_DAY); in julian_adj()
/third_party/openssl/doc/man3/
DX509_cmp_time.pod15 ASN1_TIME *X509_time_adj(ASN1_TIME *asn1_time, long offset_sec, time_t *in_tm);
17 offset_sec, time_t *in_tm);
18 ASN1_TIME *X509_gmtime_adj(ASN1_TIME *asn1_time, long offset_sec);
33 I<offset_day> and I<offset_sec> after I<in_tm>.
36 I<offset_sec> after I<in_tm>. This method can only handle second
50 I<offset_sec> after the current time. It is equivalent to calling
DASN1_TIME_set.pod27 long offset_sec);
29 int offset_day, long offset_sec);
32 long offset_sec);
75 by the time I<offset_day> and I<offset_sec> after the time_t value I<t>.
76 The values of I<offset_day> or I<offset_sec> can be negative to set a
77 time before I<t>. The I<offset_sec> value can also exceed the number of
168 in the I<offset_sec> and I<offset_day> parameters instead of directly
DOPENSSL_gmtime.pod14 int OPENSSL_gmtime_adj(struct tm *tm, int offset_day, long offset_sec);
23 OPENSSL_gmtime_adj() adds the offsets in I<offset_day> and I<offset_sec> to I<tm>.
/third_party/openssl/crypto/asn1/
Da_gentm.c64 long offset_sec) in ASN1_GENERALIZEDTIME_adj() argument
73 if (offset_day || offset_sec) { in ASN1_GENERALIZEDTIME_adj()
74 if (!OPENSSL_gmtime_adj(ts, offset_day, offset_sec)) in ASN1_GENERALIZEDTIME_adj()
Da_utctm.c58 int offset_day, long offset_sec) in ASN1_UTCTIME_adj() argument
67 if (offset_day || offset_sec) { in ASN1_UTCTIME_adj()
68 if (!OPENSSL_gmtime_adj(ts, offset_day, offset_sec)) in ASN1_UTCTIME_adj()
Da_time.c325 int offset_day, long offset_sec) in ASN1_TIME_adj() argument
335 if (offset_day || offset_sec) { in ASN1_TIME_adj()
336 if (!OPENSSL_gmtime_adj(ts, offset_day, offset_sec)) in ASN1_TIME_adj()
/third_party/node/deps/openssl/openssl/crypto/asn1/
Da_gentm.c64 long offset_sec) in ASN1_GENERALIZEDTIME_adj() argument
73 if (offset_day || offset_sec) { in ASN1_GENERALIZEDTIME_adj()
74 if (!OPENSSL_gmtime_adj(ts, offset_day, offset_sec)) in ASN1_GENERALIZEDTIME_adj()
Da_utctm.c58 int offset_day, long offset_sec) in ASN1_UTCTIME_adj() argument
67 if (offset_day || offset_sec) { in ASN1_UTCTIME_adj()
68 if (!OPENSSL_gmtime_adj(ts, offset_day, offset_sec)) in ASN1_UTCTIME_adj()
Da_time.c325 int offset_day, long offset_sec) in ASN1_TIME_adj() argument
335 if (offset_day || offset_sec) { in ASN1_TIME_adj()
336 if (!OPENSSL_gmtime_adj(ts, offset_day, offset_sec)) in ASN1_TIME_adj()
/third_party/openssl/ohos_lite/include/openssl/
Dasn1.h581 int offset_day, long offset_sec);
590 long offset_sec);
628 int offset_day, long offset_sec);
Dcrypto.h342 int OPENSSL_gmtime_adj(struct tm *tm, int offset_day, long offset_sec);
/third_party/node/deps/openssl/openssl/crypto/x509/
Dx509_vfy.c1956 ASN1_TIME *X509_time_adj(ASN1_TIME *s, long offset_sec, time_t *in_tm) in X509_time_adj() argument
1958 return X509_time_adj_ex(s, 0, offset_sec, in_tm); in X509_time_adj()
1962 int offset_day, long offset_sec, time_t *in_tm) in X509_time_adj_ex() argument
1973 return ASN1_UTCTIME_adj(s, t, offset_day, offset_sec); in X509_time_adj_ex()
1975 return ASN1_GENERALIZEDTIME_adj(s, t, offset_day, offset_sec); in X509_time_adj_ex()
1977 return ASN1_TIME_adj(s, t, offset_day, offset_sec); in X509_time_adj_ex()
/third_party/openssl/crypto/x509/
Dx509_vfy.c1956 ASN1_TIME *X509_time_adj(ASN1_TIME *s, long offset_sec, time_t *in_tm) in X509_time_adj() argument
1958 return X509_time_adj_ex(s, 0, offset_sec, in_tm); in X509_time_adj()
1962 int offset_day, long offset_sec, time_t *in_tm) in X509_time_adj_ex() argument
1973 return ASN1_UTCTIME_adj(s, t, offset_day, offset_sec); in X509_time_adj_ex()
1975 return ASN1_GENERALIZEDTIME_adj(s, t, offset_day, offset_sec); in X509_time_adj_ex()
1977 return ASN1_TIME_adj(s, t, offset_day, offset_sec); in X509_time_adj_ex()
/third_party/node/deps/openssl/config/archs/linux32-s390x/no-asm/include/openssl/
Dasn1.h737 int offset_day, long offset_sec);
746 long offset_sec);
844 int offset_day, long offset_sec);
/third_party/node/deps/openssl/config/archs/linux-ppc64le/asm/include/openssl/
Dasn1.h737 int offset_day, long offset_sec);
746 long offset_sec);
844 int offset_day, long offset_sec);
/third_party/node/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/openssl/
Dasn1.h737 int offset_day, long offset_sec);
746 long offset_sec);
844 int offset_day, long offset_sec);
/third_party/node/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/openssl/
Dasn1.h737 int offset_day, long offset_sec);
746 long offset_sec);
844 int offset_day, long offset_sec);
/third_party/node/deps/openssl/config/archs/linux64-mips64/no-asm/include/openssl/
Dasn1.h737 int offset_day, long offset_sec);
746 long offset_sec);
844 int offset_day, long offset_sec);
/third_party/node/deps/openssl/config/archs/BSD-x86/asm/include/openssl/
Dasn1.h737 int offset_day, long offset_sec);
746 long offset_sec);
844 int offset_day, long offset_sec);
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/
Dasn1.h737 int offset_day, long offset_sec);
746 long offset_sec);
844 int offset_day, long offset_sec);
/third_party/node/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/openssl/
Dasn1.h737 int offset_day, long offset_sec);
746 long offset_sec);
844 int offset_day, long offset_sec);
/third_party/node/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/openssl/
Dasn1.h737 int offset_day, long offset_sec);
746 long offset_sec);
844 int offset_day, long offset_sec);
/third_party/node/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/openssl/
Dasn1.h737 int offset_day, long offset_sec);
746 long offset_sec);
844 int offset_day, long offset_sec);

12345678