Searched refs:eoh (Results 1 – 5 of 5) sorted by relevance
/external/chromium/net/websockets/ |
D | websocket_handshake_draft75.cc | 72 int eoh = HttpUtil::LocateEndOfHeaders(data, len); in ReadServerHandshake() local 73 if (eoh < 0) in ReadServerHandshake() 75 return eoh; in ReadServerHandshake() 102 int eoh = HttpUtil::LocateEndOfHeaders(data, len); in ReadServerHandshake() local 103 if (eoh == -1) in ReadServerHandshake() 104 return eoh; in ReadServerHandshake() 107 new HttpResponseHeaders(HttpUtil::AssembleRawHeaders(data, eoh))); in ReadServerHandshake() 109 DVLOG(1) << "Process Headers failed: " << std::string(data, eoh); in ReadServerHandshake() 124 return eoh; in ReadServerHandshake()
|
D | websocket_handshake.cc | 87 int eoh = HttpUtil::LocateEndOfHeaders(data, len); in ReadServerHandshake() local 88 if (eoh < 0) in ReadServerHandshake() 92 new HttpResponseHeaders(HttpUtil::AssembleRawHeaders(data, eoh))); in ReadServerHandshake() 97 return eoh; in ReadServerHandshake() 101 DVLOG(1) << "Process Headers failed: " << std::string(data, eoh); in ReadServerHandshake() 103 return eoh; in ReadServerHandshake() 105 if (len < static_cast<size_t>(eoh + Parameter::kExpectedResponseSize)) { in ReadServerHandshake() 111 if (memcmp(&data[eoh], expected, Parameter::kExpectedResponseSize)) { in ReadServerHandshake() 113 return eoh + Parameter::kExpectedResponseSize; in ReadServerHandshake() 116 return eoh + Parameter::kExpectedResponseSize; in ReadServerHandshake()
|
D | websocket.cc | 261 int eoh = handshake_->ReadServerHandshake(data, len); in DoReceivedData() local 262 if (eoh < 0) { in DoReceivedData() 266 SkipReadBuffer(eoh); in DoReceivedData()
|
/external/chromium/net/socket_stream/ |
D | socket_stream.cc | 711 int eoh = HttpUtil::LocateEndOfHeaders( in DoReadTunnelHeadersComplete() local 713 if (eoh == -1) { in DoReadTunnelHeadersComplete() 725 HttpUtil::AssembleRawHeaders(tunnel_response_headers_->headers(), eoh)); in DoReadTunnelHeadersComplete() 734 DCHECK_EQ(eoh, tunnel_response_headers_len_); in DoReadTunnelHeadersComplete() 742 if ((eoh < tunnel_response_headers_len_) && delegate_) in DoReadTunnelHeadersComplete() 744 this, tunnel_response_headers_->headers() + eoh, in DoReadTunnelHeadersComplete() 745 tunnel_response_headers_len_ - eoh); in DoReadTunnelHeadersComplete()
|
/external/chromium/net/http/ |
D | http_util_unittest.cc | 191 int eoh = HttpUtil::LocateEndOfHeaders(tests[i].input, input_len); in TEST() local 192 EXPECT_EQ(tests[i].expected_result, eoh); in TEST()
|