BalsaFrameEnums 54 net/tools/balsa/balsa_frame.cc parse_state_(BalsaFrameEnums::READING_HEADER_AND_FIRSTLINE), BalsaFrameEnums 55 net/tools/balsa/balsa_frame.cc last_error_(BalsaFrameEnums::NO_ERROR), BalsaFrameEnums 77 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::READING_HEADER_AND_FIRSTLINE; BalsaFrameEnums 78 net/tools/balsa/balsa_frame.cc last_error_ = BalsaFrameEnums::NO_ERROR; BalsaFrameEnums 85 net/tools/balsa/balsa_frame.cc const char* BalsaFrameEnums::ParseStateToString( BalsaFrameEnums 86 net/tools/balsa/balsa_frame.cc BalsaFrameEnums::ParseState error_code) { BalsaFrameEnums 116 net/tools/balsa/balsa_frame.cc const char* BalsaFrameEnums::ErrorCodeToString( BalsaFrameEnums 117 net/tools/balsa/balsa_frame.cc BalsaFrameEnums::ErrorCode error_code) { BalsaFrameEnums 213 net/tools/balsa/balsa_frame.cc BalsaFrameEnums::ErrorCode* error_code) { BalsaFrameEnums 242 net/tools/balsa/balsa_frame.cc *error_code = BalsaFrameEnums::INTERNAL_LOGIC_ERROR; BalsaFrameEnums 252 net/tools/balsa/balsa_frame.cc *error_code = BalsaFrameEnums::INTERNAL_LOGIC_ERROR; BalsaFrameEnums 261 net/tools/balsa/balsa_frame.cc *error_code = BalsaFrameEnums::INTERNAL_LOGIC_ERROR; BalsaFrameEnums 301 net/tools/balsa/balsa_frame.cc static_cast<BalsaFrameEnums::ErrorCode>( BalsaFrameEnums 302 net/tools/balsa/balsa_frame.cc BalsaFrameEnums::FAILED_TO_FIND_WS_AFTER_RESPONSE_VERSION + BalsaFrameEnums 328 net/tools/balsa/balsa_frame.cc static_cast<BalsaFrameEnums::ErrorCode>( BalsaFrameEnums 329 net/tools/balsa/balsa_frame.cc BalsaFrameEnums::FAILED_TO_FIND_WS_AFTER_RESPONSE_STATUSCODE BalsaFrameEnums 365 net/tools/balsa/balsa_frame.cc *error_code = BalsaFrameEnums::REQUEST_URI_TOO_LONG; BalsaFrameEnums 383 net/tools/balsa/balsa_frame.cc *error_code = BalsaFrameEnums::FAILED_CONVERTING_STATUS_CODE_TO_INT; BalsaFrameEnums 391 net/tools/balsa/balsa_frame.cc *error_code = BalsaFrameEnums::FAILED_CONVERTING_STATUS_CODE_TO_INT; BalsaFrameEnums 413 net/tools/balsa/balsa_frame.cc BalsaFrameEnums::ErrorCode previous_error = last_error_; BalsaFrameEnums 420 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::PARSE_ERROR; BalsaFrameEnums 441 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::MESSAGE_FULLY_READ; BalsaFrameEnums 556 net/tools/balsa/balsa_frame.cc last_error_ = BalsaFrameEnums::HEADER_MISSING_COLON; BalsaFrameEnums 598 net/tools/balsa/balsa_frame.cc last_error_ = BalsaFrameEnums::HEADER_MISSING_COLON; BalsaFrameEnums 683 net/tools/balsa/balsa_frame.cc last_error_ = BalsaFrameEnums::UNKNOWN_TRANSFER_ENCODING; BalsaFrameEnums 684 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::PARSE_ERROR; BalsaFrameEnums 811 net/tools/balsa/balsa_frame.cc last_error_ = BalsaFrameEnums::MULTIPLE_CONTENT_LENGTH_KEYS; BalsaFrameEnums 812 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::PARSE_ERROR; BalsaFrameEnums 830 net/tools/balsa/balsa_frame.cc last_error_ = BalsaFrameEnums::MULTIPLE_TRANSFER_ENCODING_KEYS; BalsaFrameEnums 831 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::PARSE_ERROR; BalsaFrameEnums 838 net/tools/balsa/balsa_frame.cc last_error_ = BalsaFrameEnums::INVALID_HEADER_FORMAT; BalsaFrameEnums 839 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::PARSE_ERROR; BalsaFrameEnums 858 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::MESSAGE_FULLY_READ; BalsaFrameEnums 872 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::READING_CHUNK_LENGTH; BalsaFrameEnums 884 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::MESSAGE_FULLY_READ; BalsaFrameEnums 886 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::READING_CONTENT; BalsaFrameEnums 893 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::PARSE_ERROR; BalsaFrameEnums 894 net/tools/balsa/balsa_frame.cc last_error_ = BalsaFrameEnums::UNPARSABLE_CONTENT_LENGTH; BalsaFrameEnums 912 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::PARSE_ERROR; BalsaFrameEnums 914 net/tools/balsa/balsa_frame.cc BalsaFrameEnums::REQUIRED_BODY_BUT_NO_CONTENT_LENGTH; BalsaFrameEnums 918 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::MESSAGE_FULLY_READ; BalsaFrameEnums 920 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::READING_UNTIL_CLOSE; BalsaFrameEnums 921 net/tools/balsa/balsa_frame.cc last_error_ = BalsaFrameEnums::MAYBE_BODY_BUT_NO_CONTENT_LENGTH; BalsaFrameEnums 960 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::PARSE_ERROR; BalsaFrameEnums 961 net/tools/balsa/balsa_frame.cc last_error_ = BalsaFrameEnums::NO_REQUEST_LINE_IN_REQUEST; BalsaFrameEnums 1018 net/tools/balsa/balsa_frame.cc if (parse_state_ == BalsaFrameEnums::MESSAGE_FULLY_READ) BalsaFrameEnums 1020 net/tools/balsa/balsa_frame.cc else if (parse_state_ == BalsaFrameEnums::PARSE_ERROR) BalsaFrameEnums 1062 net/tools/balsa/balsa_frame.cc if (parse_state_ == BalsaFrameEnums::MESSAGE_FULLY_READ) BalsaFrameEnums 1064 net/tools/balsa/balsa_frame.cc else if (parse_state_ == BalsaFrameEnums::PARSE_ERROR) BalsaFrameEnums 1098 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::PARSE_ERROR; BalsaFrameEnums 1099 net/tools/balsa/balsa_frame.cc last_error_ = BalsaFrameEnums::HEADERS_TOO_LONG; BalsaFrameEnums 1119 net/tools/balsa/balsa_frame.cc if (parse_state_ == BalsaFrameEnums::PARSE_ERROR) { BalsaFrameEnums 1123 net/tools/balsa/balsa_frame.cc if (parse_state_ == BalsaFrameEnums::PARSE_ERROR) { BalsaFrameEnums 1128 net/tools/balsa/balsa_frame.cc if (parse_state_ == BalsaFrameEnums::MESSAGE_FULLY_READ) { BalsaFrameEnums 1149 net/tools/balsa/balsa_frame.cc case BalsaFrameEnums::READING_CHUNK_DATA: BalsaFrameEnums 1151 net/tools/balsa/balsa_frame.cc case BalsaFrameEnums::READING_UNTIL_CLOSE: BalsaFrameEnums 1153 net/tools/balsa/balsa_frame.cc case BalsaFrameEnums::READING_CONTENT: BalsaFrameEnums 1162 net/tools/balsa/balsa_frame.cc case BalsaFrameEnums::READING_CHUNK_DATA: BalsaFrameEnums 1166 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::READING_CHUNK_TERM; BalsaFrameEnums 1171 net/tools/balsa/balsa_frame.cc BalsaFrameEnums::CALLED_BYTES_SPLICED_AND_EXCEEDED_SAFE_SPLICE_AMOUNT; BalsaFrameEnums 1175 net/tools/balsa/balsa_frame.cc case BalsaFrameEnums::READING_UNTIL_CLOSE: BalsaFrameEnums 1178 net/tools/balsa/balsa_frame.cc case BalsaFrameEnums::READING_CONTENT: BalsaFrameEnums 1182 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::MESSAGE_FULLY_READ; BalsaFrameEnums 1188 net/tools/balsa/balsa_frame.cc BalsaFrameEnums::CALLED_BYTES_SPLICED_AND_EXCEEDED_SAFE_SPLICE_AMOUNT; BalsaFrameEnums 1193 net/tools/balsa/balsa_frame.cc last_error_ = BalsaFrameEnums::CALLED_BYTES_SPLICED_WHEN_UNSAFE_TO_DO_SO; BalsaFrameEnums 1198 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::PARSE_ERROR; BalsaFrameEnums 1223 net/tools/balsa/balsa_frame.cc << BalsaFrameEnums::ParseStateToString(parse_state_) BalsaFrameEnums 1230 net/tools/balsa/balsa_frame.cc if (parse_state_ == BalsaFrameEnums::READING_HEADER_AND_FIRSTLINE) { BalsaFrameEnums 1239 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::PARSE_ERROR; BalsaFrameEnums 1240 net/tools/balsa/balsa_frame.cc last_error_ = BalsaFrameEnums::HEADERS_TOO_LONG; BalsaFrameEnums 1254 net/tools/balsa/balsa_frame.cc if (parse_state_ == BalsaFrameEnums::READING_HEADER_AND_FIRSTLINE) { BalsaFrameEnums 1259 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::PARSE_ERROR; BalsaFrameEnums 1260 net/tools/balsa/balsa_frame.cc last_error_ = BalsaFrameEnums::HEADERS_TOO_LONG; BalsaFrameEnums 1265 net/tools/balsa/balsa_frame.cc } else if (parse_state_ == BalsaFrameEnums::MESSAGE_FULLY_READ || BalsaFrameEnums 1266 net/tools/balsa/balsa_frame.cc parse_state_ == BalsaFrameEnums::PARSE_ERROR) { BalsaFrameEnums 1274 net/tools/balsa/balsa_frame.cc case BalsaFrameEnums::READING_CHUNK_LENGTH: BalsaFrameEnums 1329 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::PARSE_ERROR; BalsaFrameEnums 1330 net/tools/balsa/balsa_frame.cc last_error_ = BalsaFrameEnums::CHUNK_LENGTH_OVERFLOW; BalsaFrameEnums 1343 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::PARSE_ERROR; BalsaFrameEnums 1344 net/tools/balsa/balsa_frame.cc last_error_ = BalsaFrameEnums::INVALID_CHUNK_LENGTH; BalsaFrameEnums 1351 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::READING_CHUNK_EXTENSION; BalsaFrameEnums 1360 net/tools/balsa/balsa_frame.cc case BalsaFrameEnums::READING_CHUNK_EXTENSION: BalsaFrameEnums 1381 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::READING_CHUNK_DATA; BalsaFrameEnums 1385 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::READING_LAST_CHUNK_TERM; BalsaFrameEnums 1397 net/tools/balsa/balsa_frame.cc case BalsaFrameEnums::READING_CHUNK_DATA: BalsaFrameEnums 1413 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::READING_CHUNK_TERM; BalsaFrameEnums 1420 net/tools/balsa/balsa_frame.cc case BalsaFrameEnums::READING_CHUNK_TERM: BalsaFrameEnums 1426 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::READING_CHUNK_LENGTH; BalsaFrameEnums 1434 net/tools/balsa/balsa_frame.cc case BalsaFrameEnums::READING_LAST_CHUNK_TERM: BalsaFrameEnums 1456 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::READING_TRAILER; BalsaFrameEnums 1465 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::MESSAGE_FULLY_READ; BalsaFrameEnums 1476 net/tools/balsa/balsa_frame.cc case BalsaFrameEnums::READING_TRAILER: BalsaFrameEnums 1489 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::MESSAGE_FULLY_READ; BalsaFrameEnums 1503 net/tools/balsa/balsa_frame.cc case BalsaFrameEnums::READING_UNTIL_CLOSE: BalsaFrameEnums 1515 net/tools/balsa/balsa_frame.cc case BalsaFrameEnums::READING_CONTENT: BalsaFrameEnums 1531 net/tools/balsa/balsa_frame.cc parse_state_ = BalsaFrameEnums::MESSAGE_FULLY_READ; BalsaFrameEnums 1549 net/tools/balsa/balsa_frame.cc << BalsaFrameEnums::ParseStateToString(parse_state_) BalsaFrameEnums 1553 net/tools/balsa/balsa_frame.cc LOG(INFO) << BalsaFrameEnums::ErrorCodeToString(ErrorCode()); BalsaFrameEnums 113 net/tools/balsa/balsa_frame.h return parse_state_ == BalsaFrameEnums::MESSAGE_FULLY_READ; BalsaFrameEnums 116 net/tools/balsa/balsa_frame.h BalsaFrameEnums::ParseState ParseState() const { return parse_state_; } BalsaFrameEnums 120 net/tools/balsa/balsa_frame.h return parse_state_ == BalsaFrameEnums::PARSE_ERROR; BalsaFrameEnums 123 net/tools/balsa/balsa_frame.h BalsaFrameEnums::ErrorCode ErrorCode() const { return last_error_; } BalsaFrameEnums 253 net/tools/balsa/balsa_frame.h BalsaFrameEnums::ParseState parse_state_; BalsaFrameEnums 254 net/tools/balsa/balsa_frame.h BalsaFrameEnums::ErrorCode last_error_; BalsaFrameEnums 75 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::READING_HEADER_AND_FIRSTLINE, BalsaFrameEnums 98 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::READING_HEADER_AND_FIRSTLINE, BalsaFrameEnums 101 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::NO_ERROR, frame_->ErrorCode()); BalsaFrameEnums 144 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::MESSAGE_FULLY_READ, frame_->ParseState()); BalsaFrameEnums 194 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::MESSAGE_FULLY_READ, frame_->ParseState()); BalsaFrameEnums 258 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::READING_CONTENT, frame_->ParseState()); BalsaFrameEnums 262 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::MESSAGE_FULLY_READ, frame_->ParseState()); BalsaFrameEnums 295 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::MESSAGE_FULLY_READ, frame_->ParseState()); BalsaFrameEnums 300 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::READING_HEADER_AND_FIRSTLINE, BalsaFrameEnums 322 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::PARSE_ERROR, frame_->ParseState()); BalsaFrameEnums 323 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::FAILED_CONVERTING_STATUS_CODE_TO_INT, BalsaFrameEnums 346 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::PARSE_ERROR, frame_->ParseState()); BalsaFrameEnums 347 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::FAILED_CONVERTING_STATUS_CODE_TO_INT, BalsaFrameEnums 354 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::READING_HEADER_AND_FIRSTLINE, BalsaFrameEnums 373 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::PARSE_ERROR, frame_->ParseState()); BalsaFrameEnums 374 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::REQUEST_URI_TOO_LONG, frame_->ErrorCode()); BalsaFrameEnums 393 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::PARSE_ERROR, frame_->ParseState()); BalsaFrameEnums 394 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::HEADERS_TOO_LONG, frame_->ErrorCode()); BalsaFrameEnums 435 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::MESSAGE_FULLY_READ, frame_->ParseState()); BalsaFrameEnums 436 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::HEADER_MISSING_COLON, frame_->ErrorCode()); BalsaFrameEnums 490 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::READING_CONTENT, frame_->ParseState()); BalsaFrameEnums 494 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::READING_CONTENT, frame_->ParseState()); BalsaFrameEnums 500 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::MESSAGE_FULLY_READ, frame_->ParseState()); BalsaFrameEnums 536 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::READING_CONTENT, frame_->ParseState()); BalsaFrameEnums 540 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::READING_CONTENT, frame_->ParseState()); BalsaFrameEnums 544 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::READING_CONTENT, frame_->ParseState()); BalsaFrameEnums 548 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::MESSAGE_FULLY_READ, frame_->ParseState()); BalsaFrameEnums 580 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::READING_CONTENT, frame_->ParseState()); BalsaFrameEnums 584 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::READING_CONTENT, frame_->ParseState()); BalsaFrameEnums 588 net/tools/balsa/balsa_frame_test.cc ASSERT_EQ(BalsaFrameEnums::PARSE_ERROR, frame_->ParseState()); BalsaFrameEnums 592 net/tools/balsa/balsa_frame_test.cc BalsaFrameEnums::CALLED_BYTES_SPLICED_AND_EXCEEDED_SAFE_SPLICE_AMOUNT, BalsaFrameEnums 280 net/tools/balsa/balsa_headers.h BalsaFrameEnums::ErrorCode* error_code); BalsaFrameEnums 143 net/tools/flip_server/http_interface.cc return BalsaFrameEnums::ErrorCodeToString(http_framer_->ErrorCode()); BalsaFrameEnums 184 net/tools/flip_server/http_interface_test.cc ASSERT_EQ(BalsaFrameEnums::READING_HEADER_AND_FIRSTLINE, BalsaFrameEnums 192 net/tools/flip_server/http_interface_test.cc ASSERT_EQ(BalsaFrameEnums::MESSAGE_FULLY_READ, BalsaFrameEnums 217 net/tools/flip_server/http_interface_test.cc ASSERT_EQ(BalsaFrameEnums::READING_HEADER_AND_FIRSTLINE, BalsaFrameEnums 223 net/tools/flip_server/http_interface_test.cc ASSERT_EQ(BalsaFrameEnums::READING_UNTIL_CLOSE, BalsaFrameEnums 227 net/tools/flip_server/http_interface_test.cc ASSERT_EQ(BalsaFrameEnums::READING_HEADER_AND_FIRSTLINE, BalsaFrameEnums 242 net/tools/flip_server/http_interface_test.cc ASSERT_EQ(BalsaFrameEnums::READING_HEADER_AND_FIRSTLINE, BalsaFrameEnums 248 net/tools/flip_server/http_interface_test.cc ASSERT_EQ(BalsaFrameEnums::READING_UNTIL_CLOSE, BalsaFrameEnums 252 net/tools/flip_server/http_interface_test.cc ASSERT_EQ(BalsaFrameEnums::READING_HEADER_AND_FIRSTLINE,