/curl/tests/http/ |
H A D | test_12_reuse.py | 50 count = 100 54 r.check_response(count=count, http_status=200) 58 assert (count/2 - delta) < r.total_connects < (count/2 + delta) 70 count = 5 76 r.check_response(count=count, http_status=200) 84 count = 2 97 r.check_response(count=count, http_status=200) 106 count = 2 119 r.check_response(count=count, http_status=200) 128 count = 2 [all …]
|
H A D | test_02_download.py | 105 r.check_response(http_status=200, count=count) 125 r.check_response(http_status=200, count=count) 161 r.check_response(http_status=200, count=count) 178 r.check_response(count=count, http_status=200) 191 r.check_response(count=count, http_status=200) 204 r.check_response(count=count, http_status=200) 217 r.check_response(count=count, http_status=200) 234 r.check_response(count=count, http_status=200) 247 r.check_response(count=count, http_status=200) 260 r.check_response(count=count, http_status=200) [all …]
|
H A D | test_31_vsftpds.py | 96 count = 1 99 r.check_stats(count=count, http_status=226) 111 r.check_stats(count=count, http_status=226) 125 r.check_stats(count=count, http_status=226) 139 r.check_stats(count=count, http_status=226) 154 r.check_stats(count=count, http_status=226) 170 r.check_stats(count=count, http_status=226) 189 r.check_stats(count=count, http_status=226) 206 r.check_stats(count=count, http_status=226) 220 r.check_stats(count=count, http_status=226) [all …]
|
H A D | test_30_vsftpd.py | 89 count = 1 92 r.check_stats(count=count, http_status=226) 104 r.check_stats(count=count, http_status=226) 118 r.check_stats(count=count, http_status=226) 129 count = 1 132 r.check_stats(count=count, http_status=226) 144 count = 1 147 r.check_stats(count=count, http_status=226) 162 r.check_stats(count=count, http_status=226) 175 r.check_stats(count=count, http_status=226) [all …]
|
H A D | test_07_upload.py | 99 r.check_stats(count=count, http_status=200, exitcode=0) 118 r.check_stats(count=count, http_status=200, exitcode=0) 135 r.check_response(count=count, http_status=200) 137 r.check_stats(count=count, http_status=200, exitcode=0) 154 r.check_stats(count=count, http_status=200, exitcode=0) 260 r.check_response(count=count, http_status=200) 278 r.check_stats(count=count, exitcode=exp_exit) 295 r.check_response(count=count, http_status=200) 315 r.check_response(count=count, http_status=200) 623 r.check_response(count=count, http_status=200) [all …]
|
H A D | test_03_goaway.py | 51 count = 3 69 r.check_response(count=count, http_status=200) 77 assert r.duration >= timedelta(seconds=count) 87 count = 3 106 assert r.duration >= timedelta(seconds=count-1) 107 r.check_response(count=count, http_status=200, connect_count=2) 117 count = 3 138 r.check_response(count=count, http_status=200, connect_count=2) 145 assert r.duration >= timedelta(seconds=count)
|
H A D | test_08_caddy.py | 90 count = 50 104 count = 20 110 r.check_response(count=count, http_status=200) 127 count = 40 143 count = 20 162 count = 50 168 r.check_response(count=count, http_status=200) 189 r.check_stats(count=count, http_status=200, exitcode=0) 202 count = 1 208 r.check_response(count=count, http_status=200) [all …]
|
H A D | test_19_shutdown.py | 64 r.check_response(http_status=200, count=2) 82 r.check_response(http_status=200, count=2) 91 count = 10 99 r.check_response(http_status=200, count=count) 102 assert len(shutdowns) == count, f'{shutdowns}' 110 count = 10 133 count = 10 146 r.check_response(http_status=200, count=count) 150 assert len(closings) == count, f'{closings}' 154 assert len(removes) == count, f'{removes}' [all …]
|
H A D | scorecard.py | 136 sample_size = count 137 count = 1 156 'count': count, 185 'count': count, 233 if count > 1: 234 props['serial'] = self.transfer_serial(url=url, count=count) 235 props['parallel'] = self.transfer_parallel(url=url, count=count) 245 scores[label] = self.download_url(label=label, url=url, count=count) 263 count = 1 355 if count > 1: [all …]
|
H A D | test_16_info.py | 58 count = 2 62 r.check_stats(count=count, http_status=200, exitcode=0, 73 count = 2 79 r.check_stats(count=count, http_status=200, exitcode=0, 89 count = 2 98 r.check_response(count=count, http_status=200) 99 r.check_stats(count=count, http_status=200, exitcode=0, 108 count = 2 112 r.check_stats(count=count, http_status=200, exitcode=0,
|
H A D | test_04_stuttered.py | 54 count = 1 60 r.check_response(count=1, http_status=200) 70 count = 50 79 r.check_response(count=warmups+count, http_status=200) 92 count = 50 101 r.check_response(count=warmups+count, http_status=200) 114 count = 50 123 r.check_response(count=warmups+count, http_status=200)
|
H A D | test_18_methods.py | 54 count = 1 58 r.check_stats(count=count, http_status=204, exitcode=0) 66 count = 1 71 r.check_stats(count=count, http_status=204, exitcode=0)
|
H A D | test_05_errors.py | 55 count = 1 78 count = 20 87 assert len(r.stats) == count, f'did not get all stats: {r}' 101 r.check_response(http_status=200, count=1) 106 r.check_response(http_status=200, count=1) 123 count = 10 if proto == 'h2' else 1 137 r.check_response(http_status=200, count=count)
|
H A D | test_10_proxy.py | 67 r.check_response(count=1, http_status=200) 81 r.check_response(count=1, http_status=200, 98 count = fcount 105 r.check_response(count=count, http_status=200, 108 for i in range(count): 181 count = fcount 187 r.check_response(count=count, http_status=200, 192 for i in range(count): 211 count = fcount 220 r.check_response(count=count, http_status=200) [all …]
|
H A D | test_06_eyeballs.py | 51 r.check_response(count=1, http_status=200) 70 r.check_response(count=1, http_status=200) 80 r.check_response(count=1, http_status=200) 88 r.check_response(count=1, http_status=200) 99 r.check_response(count=1, http_status=0, exitcode=False) 110 r.check_response(count=1, http_status=None, exitcode=False)
|
H A D | test_13_proxy_auth.py | 66 r.check_response(count=1, http_status=407) 76 r.check_response(count=1, http_status=200) 87 r.check_response(count=1, http_status=407) 99 r.check_response(count=1, http_status=200) 117 r.check_response(count=1, http_status=200) 151 r.check_response(count=1, http_status=200,
|
/curl/tests/libtest/ |
H A D | lib1947.c | 41 int count = 0; in test() local 64 h = curl_easy_nextheader(curl, origins, count, NULL); in test() 66 count++; in test() 68 printf("count = %u\n", count); in test() 80 count = 0; in test() 82 h = curl_easy_nextheader(curl, origins, count, NULL); in test() 84 count++; in test() 86 printf("count = %u\n", count); in test()
|
H A D | lib582.c | 36 int count; /* number of sockets actually stored in array */ member 54 for(i = 0; i < sockets->count; ++i) { in removeFd() 56 if(i < sockets->count - 1) in removeFd() 58 sizeof(curl_socket_t) * (sockets->count - (i + 1))); in removeFd() 59 --sockets->count; in removeFd() 84 else if(sockets->count >= sockets->max_count) { in addFd() 92 sockets->sockets[sockets->count] = fd; in addFd() 93 ++sockets->count; in addFd() 188 for(i = 0; i < sockets->count; ++i) { in updateFdSet() 214 for(i = 0; i < sockets->count; ++i) { in checkFdSet()
|
H A D | lib530.c | 43 int count; /* number of sockets actually stored in array */ member 61 for(i = 0; i < sockets->count; ++i) { in removeFd() 63 if(i < sockets->count - 1) in removeFd() 65 sizeof(curl_socket_t) * (sockets->count - (i + 1))); in removeFd() 66 --sockets->count; in removeFd() 92 else if(sockets->count + 1 > sockets->max_count) { in addFd() 104 sockets->sockets[sockets->count] = fd; in addFd() 105 ++sockets->count; in addFd() 220 for(i = 0; i < sockets->count; ++i) { in updateFdSet() 249 for(i = 0; i < sockets->count; ++i) { in checkFdSet()
|
/curl/lib/ |
H A D | warnless.h | 66 ssize_t curlx_read(int fd, void *buf, size_t count); 68 ssize_t curlx_write(int fd, const void *buf, size_t count); 79 #define read(fd, buf, count) curlx_read(fd, buf, count) argument 81 #define write(fd, buf, count) curlx_write(fd, buf, count) argument
|
H A D | timeval.c | 37 LARGE_INTEGER count; in Curl_now() local 38 QueryPerformanceCounter(&count); in Curl_now() 39 now.tv_sec = (time_t)(count.QuadPart / Curl_freq.QuadPart); in Curl_now() 40 now.tv_usec = (int)((count.QuadPart % Curl_freq.QuadPart) * 1000000 / in Curl_now()
|
/curl/.github/scripts/ |
H A D | verify-examples.pl | 94 my $count; 102 $count++; 105 print "Verified $count man pages ok\n";
|
/curl/tests/unit/ |
H A D | unit1309.c | 44 int count; in splayprint() local 58 for(count = 0, node = t->samen; node != t; node = node->samen, count++) in splayprint() 62 if(count) in splayprint() 63 printf(" [%d more]\n", count); in splayprint()
|
/curl/src/ |
H A D | tool_util.c | 42 LARGE_INTEGER count; in tvnow() local 43 QueryPerformanceCounter(&count); in tvnow() 44 now.tv_sec = (long)(count.QuadPart / tool_freq.QuadPart); in tvnow() 45 now.tv_usec = (long)((count.QuadPart % tool_freq.QuadPart) * 1000000 / in tvnow()
|
/curl/tests/data/ |
H A D | test229 | 26 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --ftp-account "one count" 35 ACCT one count
|