Home | History | Annotate | Download | only in testzzuf

Lines Matching defs:cbc

42 struct CBC
68 struct CBC *cbc = ctx;
70 if (cbc->pos + size * nmemb > cbc->size)
72 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
73 cbc->pos += size * nmemb;
129 struct CBC cbc;
134 cbc.buf = buf;
135 cbc.size = 2048;
136 cbc.pos = 0;
149 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
180 struct CBC cbc;
185 cbc.buf = buf;
186 cbc.size = 2048;
187 cbc.pos = 0;
196 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
223 if (cbc.pos != strlen ("/hello_world"))
225 if (0 != strncmp ("/hello_world", cbc.buf, strlen ("/hello_world")))
238 struct CBC cbc;
253 cbc.buf = buf;
254 cbc.size = 2048;
255 cbc.pos = 0;
275 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);