/curl/tests/libtest/ |
H A D | lib547.c | 41 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 D | lib555.c | 48 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 D | lib510.c | 38 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 D | lib586.c | 37 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 D | lib579.c | 38 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 D | lib1540.c | 34 int counter; /* count write callback invokes */ member 73 st->counter++; in write_callback() 74 if(st->counter > 1) { in write_callback()
|
H A D | lib1552.c | 40 int counter = 3; in test() local 61 while(still_running && counter--) { in test()
|
H A D | lib506.c | 39 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 D | lib1553.c | 55 int counter = 1; in test() local 90 while(still_running && counter--) { in test()
|
/curl/packages/OS400/rpg-examples/ |
H A D | INMEMORY | 40 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 D | test586 | 18 [OPEN] counter: 1 19 [OPEN] counter: 2 23 [CLOSE] counter: 2 24 [CLOSE] counter: 1
|
H A D | test595 | 17 [OPEN] counter: 1 18 [OPEN] counter: 2 20 [CLOSE] counter: 2 21 [CLOSE] counter: 1
|
H A D | test596 | 17 [OPEN] counter: 1 18 [OPEN] counter: 2 19 [CLOSE] counter: 2 21 [CLOSE] counter: 1
|
H A D | test585 | 24 [OPEN] counter: 1 32 [CLOSE] counter: 1
|
H A D | test1236 | 18 [] globbing overflowing the range counter
|
/curl/tests/unit/ |
H A D | unit1606.c | 55 int counter = 1; in runawhile() local 71 now.tv_sec = ++counter; in runawhile() 73 } while(counter < 100); in runawhile()
|
/curl/tests/server/ |
H A D | tftpd.c | 324 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() 467 count = b->counter; /* remember byte count */ in write_behind() [all …]
|
/curl/docs/libcurl/opts/ |
H A D | CURLMOPT_PUSHDATA.md | 75 int counter; 78 curl_multi_setopt(multi, CURLMOPT_PUSHDATA, &counter);
|
H A D | CURLMOPT_PUSHFUNCTION.md | 136 int counter; 139 curl_multi_setopt(multi, CURLMOPT_PUSHDATA, &counter);
|
/curl/tests/ |
H A D | runtests.pl | 2047 my $counter; 2098 $counter = 25; 2104 last if((not $fullstats) && (not $counter--)); 2108 $counter = 10; 2114 last if((not $fullstats) && (not $counter--)); 2118 $counter = 25; 2124 last if((not $fullstats) && (not $counter--)); 2128 $counter = 15; 2134 last if((not $fullstats) && (not $counter--)); 2138 $counter = 10; [all …]
|
/curl/docs/libcurl/ |
H A D | curl_pushheader_byname.md | 74 int counter; 77 curl_multi_setopt(multi, CURLMOPT_PUSHDATA, &counter);
|
H A D | curl_multi_socket.md | 38 curl_multi_socket(3) on a specific socket and the counter decreases by one, it
|
H A D | curl_multi_socket_action.md | 49 socket and the counter decreases by one, it DOES NOT necessarily mean that
|
H A D | libcurl-tutorial.md | 1405 When a transfer within the multi stack has finished, the counter of running
|
/curl/docs/cmdline-opts/ |
H A D | max-time.md | 25 If you enable retrying the transfer (--retry) then the maximum time counter is
|