Home
last modified time | relevance | path

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

12

/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 = post[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 my_lock()
68 user->counter++; in my_lock()
94 printf("unlock: %-6s [%s]: %d\n", what, user->text, user->counter); in my_unlock()
95 user->counter++; in my_unlock()
144 user.counter = 0; in test()
H A Dlib579.c38 int counter; member
77 data = post[pooh->counter]; in read_callback()
82 pooh->counter++; /* advance pointer */ in read_callback()
94 pooh.counter = 0; in test()
H A Dlib500.c31 static int counter; variable
39 printf("[OPEN] counter: %d\n", ++counter); in tst_opensocket()
46 printf("[CLOSE] counter: %d\n", counter--); in tst_closesocket()
54 counter = 0; in setupcallbacks()
H A Dlib1540.c33 int counter; /* count write callback invokes */ member
72 st->counter++; in write_callback()
73 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 my_lock()
81 user->counter++; in my_lock()
116 printf("unlock: %-6s [%s]: %d\n", what, user->text, user->counter); in my_unlock()
117 user->counter++; in my_unlock()
191 user.counter = 0; in test()
H A Dlib1553.c55 int counter = 1; in test() local
90 while(still_running && counter--) { in test()
H A Dlibntlmconnect.c36 static int counter[MAX_EASY_HANDLES]; variable
50 counter[idx] += (int)(size * nmemb); in callback()
226 printf("Data connection %d: %d\n", i, counter[i]); 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.c327 bfs[1].counter = BF_FREE; in rw_init()
350 bfs[current].counter = BF_FREE; /* free old one */ in readit()
354 if(b->counter == BF_FREE) /* if it's empty */ in readit()
358 return b->counter; in readit()
375 if(b->counter != BF_FREE) /* nop if not free */ in read_ahead()
390 b->counter = (int)copy_n; in read_ahead()
419 b->counter = (int)(p - dp->th_data); in read_ahead()
430 if(bfs[current].counter != BF_FREE) /* if not free */ in writeit()
454 if(b->counter < -1) /* anything to flush? */ in write_behind()
471 count = b->counter; /* remember byte count */ in write_behind()
[all …]
/curl/docs/libcurl/opts/
H A DCURLMOPT_PUSHDATA.md72 int counter;
75 curl_multi_setopt(multi, CURLMOPT_PUSHDATA, &counter);
H A DCURLMOPT_PUSHFUNCTION.md133 int counter;
136 curl_multi_setopt(multi, CURLMOPT_PUSHDATA, &counter);
/curl/tests/
H A Druntests.pl1997 my $counter;
2048 $counter = 25;
2054 last if((not $fullstats) && (not $counter--));
2058 $counter = 10;
2064 last if((not $fullstats) && (not $counter--));
2068 $counter = 25;
2074 last if((not $fullstats) && (not $counter--));
2078 $counter = 15;
2084 last if((not $fullstats) && (not $counter--));
2088 $counter = 10;
[all …]
/curl/docs/libcurl/
H A Dcurl_pushheader_byname.md71 int counter;
74 curl_multi_setopt(multi, CURLMOPT_PUSHDATA, &counter);
H A Dcurl_multi_socket.md37 curl_multi_socket(3) on a specific socket and the counter decreases by one, it
/curl/docs/cmdline-opts/
H A Dmax-time.md25 If you enable retrying the transfer (--retry) then the maximum time counter is

Completed in 65 milliseconds

12