/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 = post[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 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 D | lib579.c | 38 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 D | lib500.c | 31 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 D | lib1540.c | 33 int counter; /* count write callback invokes */ member 72 st->counter++; in write_callback() 73 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 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 D | lib1553.c | 55 int counter = 1; in test() local 90 while(still_running && counter--) { in test()
|
H A D | libntlmconnect.c | 36 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 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 | 327 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 D | CURLMOPT_PUSHDATA.md | 72 int counter; 75 curl_multi_setopt(multi, CURLMOPT_PUSHDATA, &counter);
|
H A D | CURLMOPT_PUSHFUNCTION.md | 133 int counter; 136 curl_multi_setopt(multi, CURLMOPT_PUSHDATA, &counter);
|
/curl/tests/ |
H A D | runtests.pl | 1995 my $counter; 2046 $counter = 25; 2052 last if((not $fullstats) && (not $counter--)); 2056 $counter = 10; 2062 last if((not $fullstats) && (not $counter--)); 2066 $counter = 25; 2072 last if((not $fullstats) && (not $counter--)); 2076 $counter = 15; 2082 last if((not $fullstats) && (not $counter--)); 2086 $counter = 10; [all …]
|
/curl/docs/libcurl/ |
H A D | curl_pushheader_byname.md | 71 int counter; 74 curl_multi_setopt(multi, CURLMOPT_PUSHDATA, &counter);
|
H A D | curl_multi_socket.md | 37 curl_multi_socket(3) on a specific socket and the counter decreases by one, it
|
/curl/docs/cmdline-opts/ |
H A D | max-time.md | 25 If you enable retrying the transfer (--retry) then the maximum time counter is
|