Lines Matching defs:buf
3923 const char *buf, size_t blen,
3940 end_ptr = memchr(buf, 0x0a, blen);
3945 result = Curl_dyn_addn(&data->state.headerb, buf, blen);
3973 line_length = (end_ptr - buf) + 1;
3974 result = Curl_dyn_addn(&data->state.headerb, buf, line_length);
3979 buf += line_length;
4054 result = Curl_ws_accept(data, buf, blen);
4300 * Any remaining `buf` bytes are already HTTP/2 and passed to
4302 result = Curl_http2_upgrade(data, conn, FIRSTSOCKET, buf, blen);
4510 const char *buf, size_t blen,
4522 result = http_rw_headers(data, buf, blen, pconsumed);
4542 const char *buf, size_t blen,
4551 result = Curl_http_write_resp_hds(data, buf, blen, &consumed, done);
4557 buf += consumed;
4566 result = Curl_client_write(data, flags, (char *)buf, blen);
4643 struct dynbuf buf;
4648 Curl_dyn_init(&buf, DYN_HTTP_REQUEST);
4672 result = Curl_dyn_add(&buf, user);
4676 result = Curl_dyn_addf(&buf, ":%s", pass);
4680 result = Curl_dyn_add(&buf, "@");
4684 result = Curl_dyn_add(&buf, host);
4688 result = Curl_dyn_addf(&buf, ":%s", port);
4692 req->authority = strdup(Curl_dyn_ptr(&buf));
4702 Curl_dyn_free(&buf);
4709 struct dynbuf buf;
4714 Curl_dyn_init(&buf, DYN_HTTP_REQUEST);
4732 result = Curl_dyn_add(&buf, path);
4737 result = Curl_dyn_addf(&buf, "?%s", query);
4741 req->path = strdup(Curl_dyn_ptr(&buf));
4750 Curl_dyn_free(&buf);