Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 70) sorted by relevance

123

/curl/tests/libtest/
H A Dlib1947.c41 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 Dlib582.c37 int count; /* number of sockets actually stored in array */ member
56 for(i = 0; i < sockets->count; ++i) { in removeFd()
58 if(i < sockets->count - 1) in removeFd()
60 sizeof(curl_socket_t) * (sockets->count - (i + 1))); in removeFd()
61 --sockets->count; in removeFd()
86 else if(sockets->count >= sockets->max_count) { in addFd()
94 sockets->sockets[sockets->count] = fd; in addFd()
95 ++sockets->count; in addFd()
190 for(i = 0; i < sockets->count; ++i) { in updateFdSet()
216 for(i = 0; i < sockets->count; ++i) { in checkFdSet()
H A Dlib530.c44 int count; /* number of sockets actually stored in array */ member
63 for(i = 0; i < sockets->count; ++i) { in removeFd()
65 if(i < sockets->count - 1) in removeFd()
67 sizeof(curl_socket_t) * (sockets->count - (i + 1))); in removeFd()
68 --sockets->count; in removeFd()
94 else if(sockets->count + 1 > sockets->max_count) { in addFd()
106 sockets->sockets[sockets->count] = fd; in addFd()
107 ++sockets->count; in addFd()
222 for(i = 0; i < sockets->count; ++i) { in updateFdSet()
251 for(i = 0; i < sockets->count; ++i) { in checkFdSet()
/curl/tests/http/
H A Dtest_02_download.py121 r.check_response(http_status=200, count=count)
157 r.check_response(http_status=200, count=count)
176 r.check_response(count=count, http_status=200)
189 r.check_response(count=count, http_status=200)
202 r.check_response(count=count, http_status=200)
215 r.check_response(count=count, http_status=200)
232 r.check_response(count=count, http_status=200)
245 r.check_response(count=count, http_status=200)
258 r.check_response(count=count, http_status=200)
314 r.check_response(count=count, http_status=200)
[all …]
H A Dtest_12_reuse.py52 count = 100
56 r.check_response(count=count, http_status=200)
60 assert (count/2 - delta) < r.total_connects < (count/2 + delta)
72 count = 5
78 r.check_response(count=count, http_status=200)
80 assert r.total_connects == count
H A Dtest_07_upload.py97 r.check_stats(count=count, http_status=200, exitcode=0)
116 r.check_stats(count=count, http_status=200, exitcode=0)
133 r.check_response(count=count, http_status=200)
135 r.check_stats(count=count, http_status=200, exitcode=0)
152 r.check_stats(count=count, http_status=200, exitcode=0)
191 r.check_response(count=count, http_status=200)
209 r.check_stats(count=count, exitcode=exp_exit)
226 r.check_response(count=count, http_status=200)
246 r.check_response(count=count, http_status=200)
525 r.check_response(count=count, http_status=200)
[all …]
H A Dtest_03_goaway.py52 count = 3
70 r.check_response(count=count, http_status=200)
78 assert r.duration >= timedelta(seconds=count)
90 count = 3
109 assert r.duration >= timedelta(seconds=count-1)
110 r.check_response(count=count, http_status=200, connect_count=2)
120 count = 3
141 r.check_response(count=count, http_status=200, connect_count=2)
148 assert r.duration >= timedelta(seconds=count)
H A Dtest_30_vsftpd.py78 r.check_stats(count=1, http_status=226)
89 count = 1
92 r.check_stats(count=count, http_status=226)
93 self.check_downloads(curl, srcfile, count)
101 count = 10
104 r.check_stats(count=count, http_status=226)
113 count = 10
118 r.check_stats(count=count, http_status=226)
129 count = 1
132 r.check_stats(count=count, http_status=226)
[all …]
H A Dtest_08_caddy.py85 count = 50
89 r.check_response(count=count, http_status=200, connect_count=1)
99 count = 20
105 r.check_response(count=count, http_status=200)
122 count = 40
126 r.check_response(count=count, http_status=200, connect_count=1)
138 count = 20
142 r.check_response(count=count, http_status=200, connect_count=1)
157 count = 50
163 r.check_response(count=count, http_status=200)
[all …]
H A Dtest_16_info.py61 count = 2
65 r.check_stats(count=count, http_status=200, exitcode=0)
74 count = 2
80 r.check_stats(count=count, http_status=200, exitcode=0)
88 count = 2
97 r.check_response(count=count, http_status=200)
98 r.check_stats(count=count, http_status=200, exitcode=0)
105 count = 2
109 r.check_stats(count=count, http_status=200, exitcode=0)
H A Dtest_31_vsftpds.py88 r.check_stats(count=1, http_status=226)
99 count = 1
102 r.check_stats(count=count, http_status=226)
103 self.check_downloads(curl, srcfile, count)
111 count = 10
114 r.check_stats(count=count, http_status=226)
123 count = 10
128 r.check_stats(count=count, http_status=226)
139 count = 1
142 r.check_stats(count=count, http_status=226)
[all …]
H A Dtest_04_stuttered.py55 count = 1
61 r.check_response(count=1, http_status=200)
71 count = 50
80 r.check_response(count=warmups+count, http_status=200)
93 count = 50
102 r.check_response(count=warmups+count, http_status=200)
115 count = 50
124 r.check_response(count=warmups+count, http_status=200)
H A Dscorecard.py124 count = 1
212 if count > 1:
214 count=count)
216 count=count)
243 proto=proto, count=count)
260 proto=proto, count=count)
297 '1': self.do_requests(url=url, proto=proto, count=count),
298 '6': self.do_requests(url=url, proto=proto, count=count,
300 '25': self.do_requests(url=url, proto=proto, count=count,
302 '50': self.do_requests(url=url, proto=proto, count=count,
[all …]
H A Dtest_18_methods.py61 count = 1
65 r.check_stats(count=count, http_status=204, exitcode=0)
73 count = 1
78 r.check_stats(count=count, http_status=204, exitcode=0)
H A Dtest_10_proxy.py67 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 Dtest_05_errors.py57 count = 1
80 count = 20
89 assert len(r.stats) == count, f'did not get all stats: {r}'
103 r.check_response(http_status=200, count=1)
108 r.check_response(http_status=200, count=1)
125 count = 10 if proto == 'h2' else 1
139 r.check_response(http_status=200, count=count)
H A Dtest_06_eyeballs.py53 r.check_response(count=1, http_status=200)
72 r.check_response(count=1, http_status=200)
82 r.check_response(count=1, http_status=200)
90 r.check_response(count=1, http_status=200)
101 r.check_response(count=1, http_status=0, exitcode=False)
112 r.check_response(count=1, http_status=None, exitcode=False)
H A Dtest_13_proxy_auth.py69 r.check_response(count=1, http_status=407)
79 r.check_response(count=1, http_status=200)
90 r.check_response(count=1, http_status=407)
102 r.check_response(count=1, http_status=200)
120 r.check_response(count=1, http_status=200)
154 r.check_response(count=1, http_status=200,
/curl/lib/
H A Dwarnless.h74 ssize_t curlx_read(int fd, void *buf, size_t count);
76 ssize_t curlx_write(int fd, const void *buf, size_t count);
87 #define read(fd, buf, count) curlx_read(fd, buf, count) argument
89 #define write(fd, buf, count) curlx_write(fd, buf, count) argument
/curl/scripts/
H A Dcopyright.pl58 my $count = 0;
66 $count++;
68 if(!$count) {
76 $count++;
78 $found = $count;
/curl/.github/scripts/
H A Dverify-examples.pl94 my $count;
102 $count++;
105 print "Verified $count man pages ok\n";
/curl/tests/unit/
H A Dunit1309.c44 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 Dtool_util.c41 LARGE_INTEGER count; in tvnow() local
42 QueryPerformanceCounter(&count); in tvnow()
43 now.tv_sec = (long)(count.QuadPart / tool_freq.QuadPart); in tvnow()
44 now.tv_usec = (long)((count.QuadPart % tool_freq.QuadPart) * 1000000 / in tvnow()
/curl/tests/
H A Dconftest.py62 count = int(metafunc.config.getoption("repeat"))
64 metafunc.parametrize('repeat', range(count))
/curl/tests/data/
H A Dtest22926 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --ftp-account "one count"
35 ACCT one count

Completed in 57 milliseconds

123