/curl/tests/unit/ |
H A D | unit1652.c | 35 static struct Curl_easy *testdata; variable 67 testdata = curl_easy_init(); in unit_setup() 68 if(!testdata) { in unit_setup() 80 curl_easy_cleanup(testdata); in unit_stop() 106 Curl_infof(testdata, "%s", input); 115 Curl_infof(testdata, ""); 117 Curl_infof(testdata, "%s", (char *)NULL); 123 Curl_infof(testdata, "%s", input); 131 Curl_infof(testdata, "%s", input); 138 Curl_infof(testdata, "%s", input); [all …]
|
H A D | unit1303.c | 30 static struct Curl_easy *testdata; variable 37 testdata = curl_easy_init(); in unit_setup() 38 if(!testdata) { in unit_setup() 47 curl_easy_cleanup(testdata); in unit_stop() 58 #define TIMEOUTS(x,y) testdata->set.timeout = x; \ 59 testdata->set.connecttimeout = y 140 testdata->progress.t_startsingle.tv_sec = BASE; 141 testdata->progress.t_startsingle.tv_usec = 0; 142 testdata->progress.t_startop.tv_sec = BASE; 143 testdata->progress.t_startop.tv_usec = 0; [all …]
|
H A D | unit1305.c | 43 static struct Curl_easy *testdata; variable 50 testdata = curl_easy_init(); in unit_setup() 51 if(!testdata) { in unit_setup() 69 curl_easy_cleanup(testdata); in unit_stop()
|
H A D | unit1302.c | 31 static struct Curl_easy *testdata; variable 38 testdata = curl_easy_init(); in unit_setup() 39 if(!testdata) { in unit_setup() 48 curl_easy_cleanup(testdata); in unit_stop()
|
/curl/tests/libtest/ |
H A D | lib1525.c | 35 static char testdata[] = "Hello Cloud!\n"; variable 40 if(amount < strlen(testdata)) { in read_callback() 41 return strlen(testdata); in read_callback() 44 memcpy(ptr, testdata, strlen(testdata)); in read_callback() 45 return strlen(testdata); in read_callback() 87 test_setopt(curl, CURLOPT_INFILESIZE, (long)strlen(testdata)); in test()
|
H A D | lib1527.c | 34 static char testdata[] = "Hello Cloud!\n"; variable 39 if(amount < strlen(testdata)) { in read_callback() 40 return strlen(testdata); in read_callback() 43 memcpy(ptr, testdata, strlen(testdata)); in read_callback() 44 return strlen(testdata); in read_callback() 88 test_setopt(curl, CURLOPT_INFILESIZE, (long)strlen(testdata)); in test()
|
H A D | lib1526.c | 34 static char testdata[] = "Hello Cloud!\n"; variable 39 if(amount < strlen(testdata)) { in read_callback() 40 return strlen(testdata); in read_callback() 43 memcpy(ptr, testdata, strlen(testdata)); in read_callback() 44 return strlen(testdata); in read_callback() 90 test_setopt(curl, CURLOPT_INFILESIZE, (long)strlen(testdata)); in test()
|
H A D | lib1591.c | 34 static char testdata[] = "Hello Cloud!\r\n"; variable 41 if(consumed == strlen(testdata)) { in read_callback() 45 if(amount > strlen(testdata)-consumed) { in read_callback() 46 amount = strlen(testdata); in read_callback() 51 memcpy(ptr, testdata, amount); in read_callback()
|
H A D | lib1662.c | 26 static char testdata[]="mooaaa"; variable 35 size_t len = strlen(testdata); in read_callback() 41 memcpy(ptr, testdata, strlen(testdata)); in read_callback()
|
H A D | lib1940.c | 29 static const char *testdata[]={ variable 53 for(i = 0; testdata[i]; i++) { in showem() 54 if(CURLHE_OK == curl_easy_header(easy, testdata[i], 0, type, in showem() 66 if(CURLHE_OK != curl_easy_header(easy, testdata[i], index, type, in showem()
|
H A D | lib1514.c | 33 static char testdata[]="dummy"; variable 62 struct WriteThis pooh = { testdata, sizeof(testdata)-1 }; in test()
|
H A D | lib668.c | 28 static char testdata[]= "dummy"; variable 80 pooh1.readptr = testdata; in test() 81 pooh1.sizeleft = (curl_off_t) strlen(testdata); in test() 89 curl_mime_data_cb(part, (curl_off_t) strlen(testdata), in test()
|
H A D | lib508.c | 28 static char testdata[]="this is what we post to the silly web server\n"; variable 59 pooh.readptr = testdata; in test() 60 pooh.sizeleft = strlen(testdata); in test()
|
H A D | lib578.c | 29 static char testdata[]="this is a short string.\n"; variable 31 static size_t data_size = sizeof(testdata) / sizeof(char); 78 test_setopt(curl, CURLOPT_POSTFIELDS, testdata); in test()
|
H A D | lib554.c | 28 static char testdata[]= variable 73 pooh.readptr = testdata; in test_once() 74 pooh.sizeleft = strlen(testdata); in test_once() 107 pooh2.readptr = testdata; in test_once() 108 pooh2.sizeleft = strlen(testdata); in test_once()
|
H A D | lib650.c | 28 static char testdata[] = variable 85 CURLFORM_COPYCONTENTS, &testdata, in test() 94 contentlength = (long)(strlen(testdata) - 1); in test() 99 formarray[0].value = testdata; in test() 120 testdata[0]++; in test()
|
H A D | lib667.c | 28 static char testdata[]= variable 87 pooh.readptr = testdata; in test() 88 pooh.sizeleft = (curl_off_t) strlen(testdata); in test()
|
H A D | lib1517.c | 28 static char testdata[]="this is what we post to the silly web server\n"; variable 73 pooh.readptr = testdata; in test() 74 pooh.sizeleft = strlen(testdata); in test()
|
H A D | lib643.c | 28 static char testdata[]= variable 70 pooh.readptr = testdata; in test_once() 72 datasize = (curl_off_t)strlen(testdata); in test_once() 125 pooh2.readptr = testdata; in test_once() 127 datasize = (curl_off_t)strlen(testdata); in test_once()
|
H A D | lib552.c | 33 struct testdata { struct 92 struct testdata *config = (struct testdata *)userp; in my_trace() 173 struct testdata config; in test()
|
H A D | lib654.c | 28 static char testdata[]= variable 97 pooh.readptr = testdata; in test() 98 pooh.sizeleft = (curl_off_t) strlen(testdata); in test()
|
/curl/tests/data/ |
H A D | test3014 | 17 testdata 45 testdata
|
H A D | test1438 | 18 testdata 46 testdata
|
H A D | test1439 | 17 testdata 45 testdata
|
H A D | test1457 | 18 testdata 46 testdata
|