Lines Matching defs:buf
298 const char *buf, size_t nbytes)
304 return Curl_cwriter_write(data, writer->next, type, buf, nbytes);
307 z->next_in = (Bytef *) buf;
455 const char *buf, size_t nbytes)
461 return Curl_cwriter_write(data, writer->next, type, buf, nbytes);
465 z->next_in = (Bytef *) buf;
494 switch(check_gzip_header((unsigned char *) buf, nbytes, &hlen)) {
496 z->next_in = (Bytef *) buf + hlen;
514 memcpy(z->next_in, buf, z->avail_in);
537 memcpy(z->next_in + z->avail_in - nbytes, buf, nbytes);
544 z->next_in = (Bytef *) buf + hlen + nbytes - z->avail_in;
562 z->next_in = (Bytef *) buf;
569 z->next_in = (Bytef *) buf;
662 const char *buf, size_t nbytes)
665 const uint8_t *src = (const uint8_t *) buf;
673 return Curl_cwriter_write(data, writer->next, type, buf, nbytes);
757 const char *buf, size_t nbytes)
766 return Curl_cwriter_write(data, writer->next, type, buf, nbytes);
774 in.src = buf;
864 void Curl_all_content_encodings(char *buf, size_t blen)
870 DEBUGASSERT(buf);
872 buf[0] = 0;
882 strcpy(buf, CONTENT_ENCODING_DEFAULT);
885 char *p = buf;
910 const char *buf, size_t nbytes)
916 (void) buf;
920 return Curl_cwriter_write(data, writer->next, type, buf, nbytes);
1043 void Curl_all_content_encodings(char *buf, size_t blen)
1045 DEBUGASSERT(buf);
1048 buf[0] = 0;
1050 strcpy(buf, CONTENT_ENCODING_DEFAULT);