Home | History | Annotate | Download | only in http

Lines Matching full:buf_len

135 int HttpStreamParser::ReadResponseBody(IOBuffer* buf, int buf_len,
140 DCHECK_LE(buf_len, kMaxBufSize);
146 user_read_buf_len_ = buf_len;
304 int buf_len = static_cast<int>(request_body_->buf_len());
310 } else if (buf_len) {
312 std::string chunk_header = StringPrintf("%X\r\n", buf_len);
316 memcpy(chunk_ptr, request_body_->buf()->data(), buf_len);
317 chunk_ptr += buf_len;
319 chunk_length_without_encoding_ = buf_len;
320 chunk_length_ = chunk_header.length() + buf_len + 2;
334 int buf_len = static_cast<int>(request_body_->buf_len());
335 result = connection_->socket()->Write(request_body_->buf(), buf_len,