Lines Matching refs:headers_
56 if (headers_ != NULL) {
57 headers_->Clear();
394 headers_,
406 headers_->whitespace_4_idx_ - headers_->non_whitespace_3_idx_;
408 begin + headers_->non_whitespace_1_idx_,
409 headers_->whitespace_4_idx_ - headers_->non_whitespace_1_idx_,
410 begin + headers_->non_whitespace_1_idx_,
411 headers_->whitespace_2_idx_ - headers_->non_whitespace_1_idx_,
412 begin + headers_->non_whitespace_2_idx_,
413 headers_->whitespace_3_idx_ - headers_
414 begin + headers_->non_whitespace_3_idx_,
420 begin + headers_->non_whitespace_1_idx_,
421 headers_->whitespace_4_idx_ - headers_->non_whitespace_1_idx_,
422 begin + headers_->non_whitespace_1_idx_,
423 headers_->whitespace_2_idx_ - headers_->non_whitespace_1_idx_,
424 begin + headers_->non_whitespace_2_idx_,
425 headers_->whitespace_3_idx_ - headers_->non_whitespace_2_idx_,
426 begin + headers_->non_whitespace_3_idx_,
427 headers_->whitespace_4_idx_ - headers_->non_whitespace_3_idx_);
472 const char* stream_begin = headers_->OriginalHeaderStreamBegin();
478 const char* header_lines_end_m16 = headers_->OriginalHeaderStreamEnd() - 16;
525 headers_->header_lines_.push_back(
582 HeaderLineDescription& current_header_line = headers_->header_lines_.back();
601 const HeaderLineDescription& header_line = headers_->header_lines_[line_idx];
602 const char* stream_begin = headers_->OriginalHeaderStreamBegin();
646 const HeaderLineDescription& header_line = headers_->header_lines_[line_idx];
647 const char* stream_begin = headers_->OriginalHeaderStreamBegin();
654 headers_->transfer_encoding_is_chunked_ = true;
657 headers_->transfer_encoding_is_chunked_ = false;
780 const char* stream_begin = headers_->OriginalHeaderStreamBegin();
788 header_lines_size = headers_->header_lines_.size();
791 headers_->header_lines_[i];
816 if ((headers_->content_length_status_ != content_length_status) ||
817 ((headers_->content_length_status_ ==
819 length != headers_->content_length_)) {
828 headers_->content_length_status_ = content_length_status;
829 headers_->content_length_ = length;
853 if (headers_->transfer_encoding_is_chunked_) {
854 headers_->content_length_ = 0;
855 headers_->content_length_status_ = BalsaHeadersEnums::NO_CONTENT_LENGTH;
870 (headers_->parsed_response_code_ >= 100 &&
871 headers_->parsed_response_code_ < 200) ||
872 (headers_->parsed_response_code_ == 204) ||
873 (headers_->parsed_response_code_ == 304))) {
875 if (headers_->transfer_encoding_is_chunked_) {
885 switch (headers_->content_length_status_) {
892 if (headers_->content_length_ == 0) {
914 base::StringPiece method = headers_->request_method();
940 << headers_->content_length_status_ << " which is unknown.";
959 size_t base_idx = headers_->GetReadableBytesFromHeaderStream();
1018 headers_->WriteFromFramer(checkpoint,
1021 const char* begin = headers_->OriginalHeaderStreamBegin();
1062 headers_->WriteFromFramer(checkpoint,
1065 const char* begin = headers_->OriginalHeaderStreamBegin();
1098 headers_->WriteFromFramer(checkpoint, message_current - checkpoint);
1106 if (headers_->GetReadableBytesFromHeaderStream() > max_header_length_) {
1116 headers_->DoneWritingFromFramer();
1120 headers_->GetReadablePtrFromHeaderStream(&readable_ptr, &readable_size);
1135 visitor_->ProcessHeaders(*headers_);
1149 headers_->WriteFromFramer(checkpoint, message_current - checkpoint);
1236 DCHECK(headers_ != NULL);
1237 if (headers_ == NULL) return 0;
1240 const size_t header_length = headers_->GetReadableBytesFromHeaderStream();
1264 // Note that headers_ is valid only if we are still reading headers.
1266 headers_->GetReadableBytesFromHeaderStream();