/freebsd/crypto/openssl/ |
H A D | e_os.h | 292 static ossl_inline void ossl_sleep(unsigned long millis) in ossl_sleep() argument 296 ts.tv_sec = (long int) (millis / 1000); in ossl_sleep() 297 ts.tv_nsec = (long int) (millis % 1000) * 1000000ul; in ossl_sleep() 303 PROCESS_DELAY_(millis * 1000); in ossl_sleep() 305 unsigned int s = (unsigned int)(millis / 1000); in ossl_sleep() 306 unsigned int us = (unsigned int)((millis % 1000) * 1000); in ossl_sleep() 315 static ossl_inline void ossl_sleep(unsigned long millis) 317 Sleep(millis); in ossl_sleep() argument 321 static ossl_inline void ossl_sleep(unsigned long millis) 331 } while (elapsedms < millis); in ossl_sleep() 323 ossl_sleep(unsigned long millis) ossl_sleep() argument [all...] |
/freebsd/contrib/llvm-project/lld/Common/ |
H A D | Timer.cpp | 38 double totalDuration = static_cast<double>(millis()); in print() 48 print(0, millis(), false); in print() 51 double Timer::millis() const { in millis() function in Timer 58 double p = 100.0 * millis() / totalDuration; in print() 63 stream << format("%-30s%7d ms (%5.1f%%)", s.c_str(), (int)millis(), p); in print()
|
/freebsd/crypto/openssl/crypto/ts/ |
H A D | ts_rsp_utils.c | 194 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 D | ts_rsp_sign.c | 155 ASN1_INTEGER_free(ctx->millis); in TS_RESP_CTX_free() 242 ASN1_INTEGER_free(ctx->millis); \ 243 ctx->millis = NULL; \ 248 int secs, int millis, int micros) in TS_RESP_CTX_set_accuracy() argument 256 if (millis in TS_RESP_CTX_set_accuracy() 257 && ((ctx->millis = ASN1_INTEGER_new()) == NULL in TS_RESP_CTX_set_accuracy() 258 || !ASN1_INTEGER_set(ctx->millis, millis))) in TS_RESP_CTX_set_accuracy() 557 if ((ctx->seconds || ctx->millis || ctx->micros) in ts_RESP_create_tst_info() 562 if (ctx->millis && !TS_ACCURACY_set_millis(accuracy, ctx->millis)) in ts_RESP_create_tst_info()
|
H A D | ts_local.h | 59 ASN1_INTEGER *millis; member 111 ASN1_INTEGER *millis; /* accuracy, 0 means not specified. */ member
|
H A D | ts_rsp_print.c | 183 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 D | ts_conf.c | 386 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 D | ts_asn1.c | 79 ASN1_IMP_OPT(TS_ACCURACY, millis, ASN1_INTEGER, 0),
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestGetAggregate.java | 178 consumer.setOption(Option.aggrate, Option.millis(TICK)); in startIncludedTest() 212 consumer.setOption(Option.aggrate, Option.millis(TICK)); in startClearedTest()
|
H A D | TestDrop.java | 157 consumer.setOption(Option.aggrate, Option.millis(101)); in main()
|
/freebsd/contrib/llvm-project/lld/include/lld/Common/ |
H A D | Timer.h | 47 double millis() const;
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common.cpp | 387 void SleepForMillis(unsigned millis) { internal_usleep((u64)millis * 1000); } in SleepForMillis() argument
|
H A D | sanitizer_common.h | 313 void SleepForMillis(unsigned millis);
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | ts.h | 197 int TS_ACCURACY_set_millis(TS_ACCURACY *a, const ASN1_INTEGER *millis); 302 int secs, int millis, int micros);
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | z_Windows_NT_util.cpp | 1509 void __kmp_thread_sleep(int millis) { in __kmp_thread_sleep() 1512 status = SleepEx((DWORD)millis, FALSE); in __kmp_thread_sleep() 1508 __kmp_thread_sleep(int millis) __kmp_thread_sleep() argument
|
H A D | z_Linux_util.cpp | 2036 void __kmp_thread_sleep(int millis) { sleep((millis + 500) / 1000); } in __kmp_thread_sleep() argument
|
H A D | kmp.h | 4020 extern void __kmp_thread_sleep(int millis);
|