Home | History | Annotate | Download | only in testcurl

Lines Matching refs:cbc

51 struct CBC
61 struct CBC *cbc = ctx;
63 if (cbc->pos + size * nmemb > cbc->size)
65 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
66 cbc->pos += size * nmemb;
131 struct CBC cbc;
134 cbc.buf = buf;
135 cbc.size = 2048;
136 cbc.pos = 0;
144 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
167 if (cbc.pos != strlen ("/hello_world"))
169 if (0 != strncmp ("/hello_world", cbc.buf, strlen ("/hello_world")))