Home
last modified time | relevance | path

Searched refs:millis (Results 1 – 12 of 12) sorted by relevance

/openssl/crypto/
H A Dsleep.c29 void OSSL_sleep(uint64_t millis) in OSSL_sleep() argument
48 void OSSL_sleep(uint64_t millis) in OSSL_sleep() argument
51 PROCESS_DELAY_(millis * 1000); in OSSL_sleep()
58 void OSSL_sleep(uint64_t millis) in OSSL_sleep() argument
62 ts.tv_sec = (long int) (millis / 1000); in OSSL_sleep()
71 void OSSL_sleep(uint64_t millis) in OSSL_sleep() argument
79 if (millis < limited_millis) in OSSL_sleep()
80 limited_millis = (DWORD)millis; in OSSL_sleep()
111 void OSSL_sleep(uint64_t millis) in OSSL_sleep() argument
113 ossl_sleep_secs(millis / 1000); in OSSL_sleep()
[all …]
/openssl/crypto/ts/
H A Dts_rsp_utils.c194 int TS_ACCURACY_set_millis(TS_ACCURACY *a, const ASN1_INTEGER *millis) in TS_ACCURACY_set_millis() argument
198 if (a->millis == millis) in TS_ACCURACY_set_millis()
200 if (millis != NULL) { in TS_ACCURACY_set_millis()
201 new_millis = ASN1_INTEGER_dup(millis); in TS_ACCURACY_set_millis()
207 ASN1_INTEGER_free(a->millis); in TS_ACCURACY_set_millis()
208 a->millis = new_millis; in TS_ACCURACY_set_millis()
214 return a->millis; in TS_ACCURACY_get_millis()
H A Dts_rsp_sign.c134 ASN1_INTEGER_free(ctx->millis); in TS_RESP_CTX_free()
226 ASN1_INTEGER_free(ctx->millis); \
227 ctx->millis = NULL; \
232 int secs, int millis, int micros) in TS_RESP_CTX_set_accuracy() argument
240 if (millis in TS_RESP_CTX_set_accuracy()
241 && ((ctx->millis = ASN1_INTEGER_new()) == NULL in TS_RESP_CTX_set_accuracy()
242 || !ASN1_INTEGER_set(ctx->millis, millis))) in TS_RESP_CTX_set_accuracy()
555 if ((ctx->seconds || ctx->millis || ctx->micros) in ts_RESP_create_tst_info()
560 if (ctx->millis && !TS_ACCURACY_set_millis(accuracy, ctx->millis)) in ts_RESP_create_tst_info()
H A Dts_local.h59 ASN1_INTEGER *millis; member
111 ASN1_INTEGER *millis; /* accuracy, 0 means not specified. */ member
H A Dts_rsp_print.c183 if (a->millis != NULL) in ts_ACCURACY_print_bio()
184 TS_ASN1_INTEGER_print_bio(bio, a->millis); in ts_ACCURACY_print_bio()
H A Dts_conf.c386 int secs = 0, millis = 0, micros = 0; in TS_CONF_set_accuracy() local
401 millis = atoi(val->value); in TS_CONF_set_accuracy()
410 if (!TS_RESP_CTX_set_accuracy(ctx, secs, millis, micros)) in TS_CONF_set_accuracy()
H A Dts_asn1.c79 ASN1_IMP_OPT(TS_ACCURACY, millis, ASN1_INTEGER, 0),
/openssl/doc/man3/
H A DOSSL_sleep.pod11 void OSSL_sleep(uint64_t millis);
16 thread for (at least) I<millis> milliseconds. The delay is not guaranteed;
/openssl/test/helpers/
H A Dquictestlib.h50 void qtest_add_time(uint64_t millis);
H A Dquictestlib.c350 void qtest_add_time(uint64_t millis) in qtest_add_time() argument
354 fake_now = ossl_time_add(fake_now, ossl_ms2time(millis)); in qtest_add_time()
/openssl/include/openssl/
H A Dts.h199 int TS_ACCURACY_set_millis(TS_ACCURACY *a, const ASN1_INTEGER *millis);
304 int secs, int millis, int micros);
H A Dcrypto.h.in549 void OSSL_sleep(uint64_t millis);

Completed in 24 milliseconds