Lines Matching refs:cbc
49 struct CBC
59 struct CBC *cbc = ctx;
61 if (cbc->pos + size * nmemb > cbc->size)
63 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
64 cbc->pos += size * nmemb;
154 struct CBC cbc;
157 cbc.buf = buf;
158 cbc.size = 2048;
159 cbc.pos = 0;
167 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
190 if (cbc.pos != strlen ("/hello_world"))
192 if (0 != strncmp ("/hello_world", cbc.buf, strlen ("/hello_world")))
203 struct CBC cbc;
206 cbc.buf = buf;
207 cbc.size = 2048;
208 cbc.pos = 0;
216 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
239 if (cbc.pos != strlen ("/hello_world"))
241 if (0 != strncmp ("/hello_world", cbc.buf, strlen ("/hello_world")))
252 struct CBC cbc;
255 cbc.buf = buf;
256 cbc.size = 2048;
257 cbc.pos = 0;
266 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
289 if (cbc.pos != strlen ("/hello_world"))
291 if (0 != strncmp ("/hello_world", cbc.buf, strlen ("/hello_world")))
302 struct CBC cbc;
315 cbc.buf = buf;
316 cbc.size = 2048;
317 cbc.pos = 0;
325 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
411 if (cbc.pos != strlen ("/hello_world"))
413 if (0 != strncmp ("/hello_world", cbc.buf, strlen ("/hello_world")))