Home
last modified time | relevance | path

Searched refs:ms (Results 1 – 25 of 29) sorted by relevance

12

/curl/src/
H A Dtool_sleep.c46 void tool_go_sleep(long ms) in tool_go_sleep() argument
49 delay(ms); in tool_go_sleep()
51 Sleep((DWORD)ms); in tool_go_sleep()
54 timeout.tv_sec = ms / 1000L; in tool_go_sleep()
55 ms = ms % 1000L; in tool_go_sleep()
56 timeout.tv_usec = (int)ms * 1000; in tool_go_sleep()
H A Dtool_sleep.h28 void tool_go_sleep(long ms);
/curl/lib/
H A Dtimediff.c37 struct timeval *curlx_mstotv(struct timeval *tv, timediff_t ms) in curlx_mstotv() argument
42 if(ms < 0) in curlx_mstotv()
45 if(ms > 0) { in curlx_mstotv()
46 timediff_t tv_sec = ms / 1000; in curlx_mstotv()
47 timediff_t tv_usec = (ms % 1000) * 1000; /* max=999999 */ in curlx_mstotv()
H A Dtimediff.h45 struct timeval *curlx_mstotv(struct timeval *tv, timediff_t ms);
H A Deasy.c410 ev->ms = timeout_ms; in events_timer()
586 pollrc = Curl_poll(fds, (unsigned int)numfds, ev->ms); in wait_or_timeout()
589 numfds, ev->ms, pollrc); in wait_or_timeout()
599 if(ev->ms > 0) in wait_or_timeout()
600 Curl_wait_ms(ev->ms); in wait_or_timeout()
607 ev->ms = 0; in wait_or_timeout()
635 if(!ev->msbump && ev->ms >= 0) { in wait_or_timeout()
643 "time spent %ldms\n", ev->ms, (long)timediff); in wait_or_timeout()
645 if(timediff > ev->ms) in wait_or_timeout()
646 ev->ms = 0; in wait_or_timeout()
[all …]
H A Dasyn-thread.c642 timediff_t ms; in Curl_resolver_getsock() local
659 ms = Curl_timediff(Curl_now(), reslv->start); in Curl_resolver_getsock()
660 if(ms < 3) in Curl_resolver_getsock()
662 else if(ms <= 50) in Curl_resolver_getsock()
663 milli = ms/3; in Curl_resolver_getsock()
664 else if(ms <= 250) in Curl_resolver_getsock()
H A Dconnect.c181 timediff_t left_ms = 0, ms; in Curl_conn_shutdown_timeleft() local
192 ms = Curl_shutdown_timeleft(conn, i, nowp); in Curl_conn_shutdown_timeleft()
193 if(ms && (!left_ms || ms < left_ms)) in Curl_conn_shutdown_timeleft()
194 left_ms = ms; in Curl_conn_shutdown_timeleft()
399 #define USETIME(ms) ((ms > TIMEOUT_LARGE) ? (ms / 2) : ms) argument
H A Dconncache.c966 timediff_t next_from_now_ms = 0, ms; in cpool_perform() local
993 ms = Curl_conn_shutdown_timeleft(conn, nowp); in cpool_perform()
994 if(ms && ms < next_from_now_ms) in cpool_perform()
995 next_from_now_ms = ms; in cpool_perform()
H A Dcf-socket.c1731 timediff_t ms = Curl_timediff(ctx->first_byte_at, ctx->started_at); in cf_socket_query() local
1732 *pres1 = (ms < INT_MAX) ? (int)ms : INT_MAX; in cf_socket_query()
/curl/docs/cmdline-opts/
H A Dhappy-eyeballs-timeout-ms.md4 Long: happy-eyeballs-timeout-ms
5 Arg: <ms>
14 - --happy-eyeballs-timeout-ms 500 $URL
17 # `--happy-eyeballs-timeout-ms`
26 "It is RECOMMENDED that connection attempts be paced 150-250 ms apart to
28 200 ms. Firefox and Chrome currently default to 300 ms.
H A DMakefile.inc120 happy-eyeballs-timeout-ms.md \
/curl/tests/libtest/
H A Dfirst.c67 void wait_ms(int ms) in wait_ms() argument
69 if(ms < 0) in wait_ms()
72 Sleep((DWORD)ms); in wait_ms()
76 curlx_mstotv(&t, ms); in wait_ms()
H A Dtest.h71 extern void wait_ms(int ms); /* wait this many milliseconds */
/curl/docs/libcurl/opts/
H A DCURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS.md39 150-250 ms apart to balance human factors against network load." libcurl
40 currently defaults to 200 ms. Firefox and Chrome currently default to 300 ms.
H A DCURLOPT_ACCEPTTIMEOUT_MS.md25 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_ACCEPTTIMEOUT_MS, long ms);
H A DCURLOPT_UPKEEP_INTERVAL_MS.md57 /* Set the interval to 30000ms / 30s */
H A DCURLMOPT_TIMERFUNCTION.md25 long timeout_ms, /* timeout in number of ms */
/curl/tests/
H A Dtest1139.pl83 my @ms = sort @m;
85 if($ms[$i] ne $m[$i]) {
86 print STDERR "$file:1:ERROR: $m[$i] is not alphabetical (expected $ms[$i])\n";
/curl/docs/libcurl/
H A Dcurl_easy_upkeep.md58 /* Set the interval to 30000ms / 30s */
/curl/projects/
H A Dbuild-openssl.bat221 if exist "%START_DIR%\ms\do_ms.bat" (
462 call ms\do_ms.bat
464 call ms\do_win64a.bat
470 nmake -f ms\nt.mak
472 nmake -f ms\ntdll.mak
/curl/docs/
H A Doptions-in-versions85 --happy-eyeballs-timeout-ms 7.59.0
/curl/tests/data/
H A Dtest39639 yLrOzSoJKq2aJUadLQgFtLV6UcfzOw296pBr0/ms+rHmnTs5jnmC0eqLUKV72l4Ym3HYkknmcEsY
/curl/lib/vtls/
H A Dwolfssl.c184 unsigned char *ms, *sr, *cr; in wolfssl_log_tls12_secret() local
205 if(wolfSSL_get_keys(ssl, &ms, &msLen, &sr, &srLen, &cr, &crLen) != in wolfssl_log_tls12_secret()
214 x |= ms[i]; in wolfssl_log_tls12_secret()
220 Curl_tls_keylog_write("CLIENT_RANDOM", cr, ms, msLen); in wolfssl_log_tls12_secret()
/curl/lib/vquic/
H A Dcurl_quiche.c1558 timediff_t ms = Curl_timediff(ctx->q.first_byte_at, ctx->started_at); in cf_quiche_query() local
1559 *pres1 = (ms < INT_MAX) ? (int)ms : INT_MAX; in cf_quiche_query()
/curl/CMake/
H A DPickyWarnings.cmake190 -Wno-pedantic-ms-format # gcc 4.5 (MinGW-only)

Completed in 54 milliseconds

12