Lines Matching refs:cb
96 const size_t cb = size * nmemb; in tool_header_cb() local
97 const char *end = (char *)ptr + cb; in tool_header_cb()
122 if(rc != cb) in tool_header_cb()
187 if((cb > 20) && checkprefix("Content-disposition:", str)) { in tool_header_cb()
212 len = cb - (size_t)(p - str); in tool_header_cb()
253 char *clone = aprintf("%.*s", (int)cb, (char *)str); in tool_header_cb()
268 return cb; /* done for now */ in tool_header_cb()
273 char *value = memchr(ptr, ':', cb); in tool_header_cb()
297 value = memchr(ptr, ':', cb); in tool_header_cb()
302 fwrite(&value[1], cb - namelen - 1, 1, outs->stream); in tool_header_cb()
305 write_linked_location(per->curl, &value[1], cb - namelen - 1, in tool_header_cb()
309 fwrite(&value[1], cb - namelen - 1, 1, outs->stream); in tool_header_cb()
314 fwrite(ptr, cb, 1, outs->stream); in tool_header_cb()
316 return cb; in tool_header_cb()