Home
last modified time | relevance | path

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

/curl/tests/unit/
H A Dunit1652.c35 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 Dunit1303.c30 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 Dunit1305.c43 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 Dunit1302.c31 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 Dlib1525.c35 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 Dlib1527.c34 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 Dlib1526.c34 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 Dlib1591.c34 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 Dlib1662.c26 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 Dlib1940.c29 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 Dlib1514.c33 static char testdata[]="dummy"; variable
62 struct WriteThis pooh = { testdata, sizeof(testdata)-1 }; in test()
H A Dlib668.c28 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 Dlib508.c28 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 Dlib578.c29 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 Dlib554.c28 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 Dlib650.c28 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 Dlib667.c28 static char testdata[]= variable
87 pooh.readptr = testdata; in test()
88 pooh.sizeleft = (curl_off_t) strlen(testdata); in test()
H A Dlib1517.c28 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 Dlib643.c28 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 Dlib552.c33 struct testdata { struct
92 struct testdata *config = (struct testdata *)userp; in my_trace()
173 struct testdata config; in test()
H A Dlib654.c28 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 Dtest301417 testdata
45 testdata
H A Dtest143818 testdata
46 testdata
H A Dtest143917 testdata
45 testdata
H A Dtest145718 testdata
46 testdata

Completed in 23 milliseconds