Home | History | Annotate | Download | only in testcurl

Lines Matching defs:cbc

56 struct CBC
66 struct CBC *cbc = ctx;
68 if (cbc->pos + size * nmemb > cbc->size)
70 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
71 cbc->pos += size * nmemb;
130 struct CBC cbc[3];
142 cbc[i].buf = buf;
143 cbc[i].size = 2048;
144 cbc[i].pos = 0;
148 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc[i]);
184 if (cbc[i].pos != strlen ("/hello_world"))
189 if (0 != strncmp ("/hello_world", cbc[i].buf, strlen ("/hello_world")))
221 struct CBC cbc[3];
231 cbc[i].buf = buf;
232 cbc[i].size = 2048;
233 cbc[i].pos = 0;
237 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc[i]);
280 if (cbc[i].pos != strlen ("/hello_world"))
285 if (0 != strncmp ("/hello_world", cbc[i].buf, strlen ("/hello_world")))