Home
last modified time | relevance | path

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

/curl/tests/libtest/
H A Dlib547.c41 int *counter = (int *)clientp; in readcallback() local
43 if(*counter) { in readcallback()
48 (*counter)++; /* bump */ in readcallback()
62 int *counter = (int *)clientp; in ioctlcallback() local
66 *counter = 0; /* clear counter to make the read callback restart */ in ioctlcallback()
80 int counter = 0; in test() local
105 test_setopt(curl, CURLOPT_IOCTLDATA, &counter); in test()
108 test_setopt(curl, CURLOPT_READDATA, &counter); in test()
H A Dlib555.c48 int *counter = (int *)clientp; in readcallback() local
50 if(*counter) { in readcallback()
55 (*counter)++; /* bump */ in readcallback()
69 int *counter = (int *)clientp; in ioctlcallback() local
73 *counter = 0; /* clear counter to make the read callback restart */ in ioctlcallback()
83 int counter = 0; in test() local
100 easy_setopt(curl, CURLOPT_IOCTLDATA, &counter); in test()
103 easy_setopt(curl, CURLOPT_READDATA, &counter); in test()
H A Dlib510.c38 int counter; member
49 data = testpost[pooh->counter]; in read_callback()
58 pooh->counter++; /* advance pointer */ in read_callback()
70 pooh.counter = 0; in test()
H A Dlib586.c37 int counter; member
67 printf("lock: %-6s [%s]: %d\n", what, user->text, user->counter); in test_lock()
68 user->counter++; in test_lock()
94 printf("unlock: %-6s [%s]: %d\n", what, user->text, user->counter); in test_unlock()
95 user->counter++; in test_unlock()
144 user.counter = 0; in test()
H A Dlib579.c38 int counter; member
84 data = testpost[pooh->counter]; in read_callback()
89 pooh->counter++; /* advance pointer */ in read_callback()
101 pooh.counter = 0; in test()
H A Dlib1540.c34 int counter; /* count write callback invokes */ member
73 st->counter++; in write_callback()
74 if(st->counter > 1) { in write_callback()
H A Dlib1552.c40 int counter = 3; in test() local
61 while(still_running && counter--) { in test()
H A Dlib506.c39 int counter; member
80 printf("lock: %-6s [%s]: %d\n", what, user->text, user->counter); in test_lock()
81 user->counter++; in test_lock()
116 printf("unlock: %-6s [%s]: %d\n", what, user->text, user->counter); in test_unlock()
117 user->counter++; in test_unlock()
191 user.counter = 0; in test()
H A Dlib1553.c55 int counter = 1; in test() local
90 while(still_running && counter--) { in test()
/curl/packages/OS400/rpg-examples/
H A DINMEMORY40 d tagcount 10u 0 Tag counter
68 d counter ds likeds(countdata) HTML tag counter
70 counter.tagcount = 0;
71 counter.tagopen = *off;
80 curl_easy_setopt(h: CURLOPT_WRITEDATA: %addr(counter));
97 response = 'Tag count: ' + %char(counter.tagcount);
113 d counter ds likeds(countdata) based(userdata) HTML tag counter
122 if counter.tagopen; // Did we see '<' ?
123 counter.tagopen = *off;
125 counter.tagcount = counter.tagcount + 1; // Count this tag.
[all …]
/curl/tests/data/
H A Dtest58618 [OPEN] counter: 1
19 [OPEN] counter: 2
23 [CLOSE] counter: 2
24 [CLOSE] counter: 1
H A Dtest59517 [OPEN] counter: 1
18 [OPEN] counter: 2
20 [CLOSE] counter: 2
21 [CLOSE] counter: 1
H A Dtest59617 [OPEN] counter: 1
18 [OPEN] counter: 2
19 [CLOSE] counter: 2
21 [CLOSE] counter: 1
H A Dtest58524 [OPEN] counter: 1
32 [CLOSE] counter: 1
H A Dtest123618 [] globbing overflowing the range counter
/curl/tests/unit/
H A Dunit1606.c55 int counter = 1; in runawhile() local
71 now.tv_sec = ++counter; in runawhile()
73 } while(counter < 100); in runawhile()
/curl/tests/server/
H A Dtftpd.c324 bfs[1].counter = BF_FREE; in rw_init()
347 bfs[current].counter = BF_FREE; /* free old one */ in readit()
351 if(b->counter == BF_FREE) /* if it's empty */ in readit()
355 return b->counter; in readit()
372 if(b->counter != BF_FREE) /* nop if not free */ in read_ahead()
387 b->counter = (int)copy_n; in read_ahead()
416 b->counter = (int)(p - dp->th_data); in read_ahead()
427 if(bfs[current].counter != BF_FREE) /* if not free */ in writeit()
451 if(b->counter < -1) /* anything to flush? */ in write_behind()
468 count = b->counter; /* remember byte count */ in write_behind()
[all …]
/curl/docs/libcurl/opts/
H A DCURLMOPT_PUSHDATA.md75 int counter;
78 curl_multi_setopt(multi, CURLMOPT_PUSHDATA, &counter);
H A DCURLMOPT_PUSHFUNCTION.md136 int counter;
139 curl_multi_setopt(multi, CURLMOPT_PUSHDATA, &counter);
/curl/tests/
H A Druntests.pl2060 my $counter;
2111 $counter = 25;
2117 last if((not $fullstats) && (not $counter--));
2121 $counter = 10;
2127 last if((not $fullstats) && (not $counter--));
2131 $counter = 25;
2137 last if((not $fullstats) && (not $counter--));
2141 $counter = 15;
2147 last if((not $fullstats) && (not $counter--));
2151 $counter = 10;
[all …]
/curl/docs/libcurl/
H A Dcurl_pushheader_byname.md74 int counter;
77 curl_multi_setopt(multi, CURLMOPT_PUSHDATA, &counter);
H A Dcurl_multi_socket.md38 curl_multi_socket(3) on a specific socket and the counter decreases by one, it
H A Dcurl_multi_socket_action.md49 socket and the counter decreases by one, it DOES NOT necessarily mean that
H A Dlibcurl-tutorial.md1405 When a transfer within the multi stack has finished, the counter of running
/curl/docs/cmdline-opts/
H A Dmax-time.md25 If you enable retrying the transfer (--retry) then the maximum time counter is

Completed in 172 milliseconds