Home
last modified time | relevance | path

Searched refs:io_state_ (Results 1 – 4 of 4) sorted by relevance

/external/chromium/net/http/
Dhttp_stream_parser.cc19 : io_state_(STATE_NONE), in HttpStreamParser()
44 DCHECK_EQ(STATE_NONE, io_state_); in SendRequest()
56 io_state_ = STATE_SENDING_HEADERS; in SendRequest()
65 DCHECK(io_state_ == STATE_REQUEST_SENT || io_state_ == STATE_DONE); in ReadResponseHeaders()
71 if (io_state_ == STATE_DONE) in ReadResponseHeaders()
75 io_state_ = STATE_READ_HEADERS; in ReadResponseHeaders()
83 io_state_ = STATE_READ_HEADERS_COMPLETE; in ReadResponseHeaders()
94 DCHECK(io_state_ == STATE_BODY_PENDING || io_state_ == STATE_DONE); in ReadResponseBody()
99 if (io_state_ == STATE_DONE) in ReadResponseBody()
104 io_state_ = STATE_READ_BODY; in ReadResponseBody()
[all …]
Dhttp_stream_parser.h112 State io_state_; variable
/external/chromium/net/flip/
Dflip_stream.cc25 io_state_(STATE_NONE), in FlipStream()
63 CHECK(io_state_ == STATE_NONE); in ReadResponseHeaders()
70 io_state_ = STATE_READ_HEADERS; in ReadResponseHeaders()
78 DCHECK_EQ(io_state_, STATE_NONE); in ReadResponseBody()
139 DCHECK_EQ(io_state_, STATE_NONE); in SendRequest()
141 io_state_ = STATE_SEND_HEADERS; in SendRequest()
143 io_state_ = STATE_READ_HEADERS; in SendRequest()
169 if (io_state_ == STATE_NONE) { in OnResponseReceived()
171 } else if (io_state_ == STATE_READ_HEADERS_COMPLETE) { in OnResponseReceived()
260 State state = io_state_; in DoLoop()
[all …]
Dflip_stream.h179 State io_state_; variable