Home
last modified time | relevance | path

Searched refs:max_time (Results 1 - 25 of 75) sorted by relevance

123

/third_party/ltp/testcases/realtime/func/gtod_latency/
H A Dgtod_infinite.c107 nsec_t max_time = START_MAX; in main() local
177 ((diff_time > max_time) || (diff_time > REPORT_MIN))) { in main()
178 if (diff_time > max_time) in main()
179 max_time = diff_time; in main()
184 max_time, ctime(&tt)); in main()
188 max_time = 0; in main()
/third_party/musl/porting/liteos_a/user/src/select/
H A Dselect.c15 const time_t max_time = (1ULL<<8*sizeof(time_t)-1)-1; in select() local
18 if (us/1000000 > max_time - s) { in select()
19 s = max_time; in select()
/third_party/musl/src/select/
H A Dselect.c15 const time_t max_time = (1ULL<<8*sizeof(time_t)-1)-1; in select() local
18 if (us/1000000 > max_time - s) { in select()
19 s = max_time; in select()
/third_party/rust/crates/minimal-lexical/scripts/
H A Dtimings.py135 max_time = 0
139 max_time = max(timings[key][0], max_time)
140 return max_time
/third_party/node/deps/openssl/openssl/crypto/bio/
H A Dbio_sock.c389 * Wait on fd at most until max_time; succeed immediately if max_time == 0.
393 int BIO_socket_wait(int fd, int for_read, time_t max_time) in BIO_socket_wait() argument
401 if (max_time == 0) in BIO_socket_wait()
405 if (max_time < now) in BIO_socket_wait()
411 tv.tv_sec = (long)(max_time - now); /* might overflow */ in BIO_socket_wait()
H A Dbio_lib.c861 static int bio_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds) in bio_wait() argument
868 if (max_time == 0) /* no timeout */ in bio_wait()
873 return BIO_socket_wait(fd, BIO_should_read(bio), max_time); in bio_wait()
877 sec_diff = (long)(max_time - time(NULL)); /* might overflow */ in bio_wait()
882 if (sec_diff == 0) { /* we are below the 1 seconds resolution of max_time */ in bio_wait()
894 * Wait on (typically socket-based) BIO at most until max_time.
895 * Succeed immediately if max_time == 0.
901 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds) in BIO_wait() argument
903 int rv = bio_wait(bio, max_time, nap_milliseconds); in BIO_wait()
922 time_t max_time in BIO_do_connect_retry() local
[all...]
/third_party/openssl/crypto/bio/
H A Dbio_sock.c389 * Wait on fd at most until max_time; succeed immediately if max_time == 0.
393 int BIO_socket_wait(int fd, int for_read, time_t max_time) in BIO_socket_wait() argument
401 if (max_time == 0) in BIO_socket_wait()
405 if (max_time < now) in BIO_socket_wait()
411 tv.tv_sec = (long)(max_time - now); /* might overflow */ in BIO_socket_wait()
H A Dbio_lib.c861 static int bio_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds) in bio_wait() argument
868 if (max_time == 0) /* no timeout */ in bio_wait()
873 return BIO_socket_wait(fd, BIO_should_read(bio), max_time); in bio_wait()
877 sec_diff = (long)(max_time - time(NULL)); /* might overflow */ in bio_wait()
882 if (sec_diff == 0) { /* we are below the 1 seconds resolution of max_time */ in bio_wait()
894 * Wait on (typically socket-based) BIO at most until max_time.
895 * Succeed immediately if max_time == 0.
901 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds) in BIO_wait() argument
903 int rv = bio_wait(bio, max_time, nap_milliseconds); in BIO_wait()
922 time_t max_time in BIO_do_connect_retry() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/http/
H A Dhttp_client.c66 time_t max_time; /* Maximum end time of current transfer, or 0 */ member
266 rctx->max_time = timeout > 0 ? time(NULL) + timeout : 0; in OSSL_HTTP_REQ_CTX_set_expected()
268 rctx->max_time = rctx->max_total_time; in OSSL_HTTP_REQ_CTX_set_expected()
505 static int may_still_retry(time_t max_time, int *ptimeout) in may_still_retry() argument
509 if (max_time != 0) { in may_still_retry()
510 if (max_time < now) { in may_still_retry()
514 time_diff = max_time - now; in may_still_retry()
902 /* will not actually wait if rctx->max_time == 0 */ in OSSL_HTTP_REQ_CTX_exchange()
903 if (BIO_wait(rctx->rbio, rctx->max_time, 100 /* milliseconds */) <= 0) in OSSL_HTTP_REQ_CTX_exchange()
1138 time_t max_time in OSSL_HTTP_get() local
1308 time_t max_time = timeout > 0 ? time(NULL) + timeout : 0; OSSL_HTTP_proxy_connect() local
[all...]
/third_party/openssl/crypto/http/
H A Dhttp_client.c66 time_t max_time; /* Maximum end time of current transfer, or 0 */ member
259 rctx->max_time = timeout > 0 ? time(NULL) + timeout : 0; in OSSL_HTTP_REQ_CTX_set_expected()
261 rctx->max_time = rctx->max_total_time; in OSSL_HTTP_REQ_CTX_set_expected()
494 static int may_still_retry(time_t max_time, int *ptimeout) in may_still_retry() argument
498 if (max_time != 0) { in may_still_retry()
499 if (max_time < now) { in may_still_retry()
503 time_diff = max_time - now; in may_still_retry()
891 /* will not actually wait if rctx->max_time == 0 */ in OSSL_HTTP_REQ_CTX_exchange()
892 if (BIO_wait(rctx->rbio, rctx->max_time, 100 /* milliseconds */) <= 0) in OSSL_HTTP_REQ_CTX_exchange()
1127 time_t max_time in OSSL_HTTP_get() local
1297 time_t max_time = timeout > 0 ? time(NULL) + timeout : 0; OSSL_HTTP_proxy_connect() local
[all...]
/third_party/lwip/src/core/ipv4/
H A Digmp.c102 static void igmp_start_timer(struct igmp_group *group, u8_t max_time);
725 * @param max_time the time in multiples of IGMP_TMR_INTERVAL (decrease with
729 igmp_start_timer(struct igmp_group *group, u8_t max_time) argument
732 group->timer = (u16_t)(max_time > 2 ? (LWIP_RAND() % max_time) : 1);
735 group->timer = max_time / 2;
/third_party/tzdata/
H A Dzic.c893 static zic_t const max_time = MAXVAL(zic_t, TIME_T_BITS_IN_FILE); variable
912 intmax_t lo = min_time, hi = max_time; in timerange_option()
928 if (*hi_end || hi < lo || max_time < lo || hi < min_time) in timerange_option()
931 hi_time = min(hi, max_time); in timerange_option()
1982 z.z_untiltime < max_time && in inzsub()
1984 zones[nzones - 1].z_untiltime < max_time && in inzsub()
2070 if (dayoff > max_time / SECSPERDAY) { in getleapdatetime()
2363 if (hi < max_time) { in limitrange()
2534 thismax = max_time; in writezone()
3012 if (hi_time < max_time) in stringzone()
[all...]
/third_party/icu/icu4c/source/tools/tzcode/
H A Dzic.c868 static const zic_t max_time = -1 - ((zic_t) -1 << (TIME_T_BITS_IN_FILE - 1)); variable
1246 z.z_untiltime < max_time && in inzsub()
1248 zones[nzones - 1].z_untiltime < max_time && in inzsub()
1331 if (dayoff > max_time / SECSPERDAY) { in inleap()
2523 jtime == max_time) in outzone()
2965 if (t1 == max_time && t2 > 0) in tadd()
2966 return max_time; in tadd()
2969 if (t1 < 0 ? t2 < min_time - t1 : max_time - t1 < t2) { in tadd()
2991 return max_time; in rpytime()
3056 if (dayoff > max_time / SECSPERDA in rpytime()
[all...]
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
H A Dzic.c867 static const zic_t max_time = -1 - ((zic_t) -1 << (TIME_T_BITS_IN_FILE - 1)); variable
1245 z.z_untiltime < max_time && in inzsub()
1247 zones[nzones - 1].z_untiltime < max_time && in inzsub()
1330 if (dayoff > max_time / SECSPERDAY) { in inleap()
2522 jtime == max_time) in outzone()
2964 if (t1 == max_time && t2 > 0) in tadd()
2965 return max_time; in tadd()
2968 if (t1 < 0 ? t2 < min_time - t1 : max_time - t1 < t2) { in tadd()
2990 return max_time; in rpytime()
3055 if (dayoff > max_time / SECSPERDA in rpytime()
[all...]
/third_party/lwip/test/sockets/
H A Dsockets_stresstest.c439 u32_t max_time = sys_now() + (TEST_TIME_SECONDS * 1000); in sockets_stresstest_conn_client() local
473 while (sys_now() < max_time) { in sockets_stresstest_conn_client()
/third_party/f2fs-tools/tools/f2fs_io/
H A Df2fs_io.c528 u64 total_time = 0, max_time = 0, max_time_t = 0; in do_write() local
608 if (max_time < max_time_t) in do_write()
609 max_time = max_time_t; in do_write()
639 max_time); in do_write()
/third_party/node/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/
H A Dbio.h707 int BIO_socket_wait(int fd, int for_read, time_t max_time);
709 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds);
/third_party/node/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/
H A Dbio.h707 int BIO_socket_wait(int fd, int for_read, time_t max_time);
709 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds);
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/
H A Dbio.h707 int BIO_socket_wait(int fd, int for_read, time_t max_time);
709 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds);
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/
H A Dbio.h707 int BIO_socket_wait(int fd, int for_read, time_t max_time);
709 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds);
/third_party/node/deps/openssl/config/archs/linux-elf/asm_avx2/include/openssl/
H A Dbio.h707 int BIO_socket_wait(int fd, int for_read, time_t max_time);
709 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds);
/third_party/node/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/
H A Dbio.h707 int BIO_socket_wait(int fd, int for_read, time_t max_time);
709 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds);
/third_party/node/deps/openssl/config/archs/linux-armv4/asm/include/openssl/
H A Dbio.h707 int BIO_socket_wait(int fd, int for_read, time_t max_time);
709 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds);
/third_party/node/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/openssl/
H A Dbio.h707 int BIO_socket_wait(int fd, int for_read, time_t max_time);
709 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds);
/third_party/node/deps/openssl/config/archs/linux-elf/asm/include/openssl/
H A Dbio.h707 int BIO_socket_wait(int fd, int for_read, time_t max_time);
709 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds);

Completed in 41 milliseconds

123