Home
last modified time | relevance | path

Searched refs:next_state_ (Results 1 – 25 of 43) sorted by relevance

12

/external/chromium/net/http/
Dhttp_proxy_client_socket.cc39 next_state_(STATE_NONE), in HttpProxyClientSocket()
66 DCHECK_EQ(STATE_NONE, next_state_); in RestartWithAuth()
109 next_state_ = STATE_DONE; in Connect()
110 if (next_state_ == STATE_DONE) in Connect()
113 DCHECK_EQ(STATE_NONE, next_state_); in Connect()
114 next_state_ = STATE_GENERATE_AUTH_TOKEN; in Connect()
128 next_state_ = STATE_NONE; in Disconnect()
133 return next_state_ == STATE_DONE && transport_->socket()->IsConnected(); in IsConnected()
137 return next_state_ == STATE_DONE && in IsConnectedAndIdle()
180 if (next_state_ != STATE_DONE) { in Read()
[all …]
Dhttp_cache_transaction.cc103 : next_state_(STATE_NONE), in Transaction()
196 next_state_ = STATE_CACHE_WRITE_TRUNCATED_RESPONSE; in AddTruncatedFlag()
231 next_state_ = STATE_GET_BACKEND; in Start()
408 DCHECK(next_state_ != STATE_NONE); in DoLoop()
412 State state = next_state_; in DoLoop()
413 next_state_ = STATE_NONE; in DoLoop()
565 } while (rv != ERR_IO_PENDING && next_state_ != STATE_NONE); in DoLoop()
575 next_state_ = STATE_GET_BACKEND_COMPLETE; in DoGetBackend()
618 next_state_ = STATE_SEND_REQUEST; in DoGetBackendComplete()
620 next_state_ = STATE_INIT_ENTRY; in DoGetBackendComplete()
[all …]
Dhttp_network_transaction.cc112 next_state_(STATE_NONE), in HttpNetworkTransaction()
126 next_state_ == STATE_NONE && in ~HttpNetworkTransaction()
165 next_state_ = STATE_CREATE_STREAM; in Start()
176 DCHECK_EQ(STATE_NONE, next_state_); in RestartIgnoringLastError()
178 next_state_ = STATE_CREATE_STREAM; in RestartIgnoringLastError()
193 DCHECK_EQ(STATE_NONE, next_state_); in RestartWithCertificate()
202 next_state_ = STATE_CREATE_STREAM; in RestartWithCertificate()
228 DCHECK_EQ(STATE_CREATE_STREAM_COMPLETE, next_state_); in RestartWithAuth()
258 next_state_ = STATE_DRAIN_BODY_FOR_AUTH_RESTART; in PrepareForAuthRestart()
288 next_state_ = STATE_CREATE_STREAM; in DidDrainBodyForAuthRestart()
[all …]
Dhttp_response_body_drainer.cc18 next_state_(STATE_NONE), in HttpResponseBodyDrainer()
29 next_state_ = STATE_DRAIN_RESPONSE_BODY; in Start()
45 DCHECK_NE(next_state_, STATE_NONE); in DoLoop()
49 State state = next_state_; in DoLoop()
50 next_state_ = STATE_NONE; in DoLoop()
64 } while (rv != ERR_IO_PENDING && next_state_ != STATE_NONE); in DoLoop()
70 next_state_ = STATE_DRAIN_RESPONSE_BODY_COMPLETE; in DoDrainResponseBody()
94 next_state_ = STATE_DRAIN_RESPONSE_BODY; in DoDrainResponseBodyComplete()
Dhttp_stream_factory_impl_job.cc51 next_state_(STATE_NONE), in Job()
75 if (next_state_ == STATE_WAITING_USER_ACTION) { in ~Job()
84 if (stream_.get() && next_state_ != STATE_DONE) in ~Job()
103 next_state_ = STATE_RESTART_TUNNEL_AUTH; in RestartTunnelWithProxyAuth()
109 switch (next_state_) { in GetLoadState()
127 DCHECK_EQ(STATE_NONE, next_state_); in WaitFor()
128 DCHECK_EQ(STATE_NONE, job->next_state_); in WaitFor()
141 if (next_state_ == STATE_WAIT_FOR_JOB_COMPLETE) { in Resume()
305 next_state_ = STATE_WAITING_USER_ACTION; in RunLoop()
326 next_state_ = STATE_WAITING_USER_ACTION; in RunLoop()
[all …]
Dhttp_proxy_client_socket_pool.cc109 switch (next_state_) { in GetLoadState()
140 DCHECK_NE(next_state_, STATE_NONE); in DoLoop()
144 State state = next_state_; in DoLoop()
145 next_state_ = STATE_NONE; in DoLoop()
180 } while (rv != ERR_IO_PENDING && next_state_ != STATE_NONE); in DoLoop()
186 next_state_ = STATE_TCP_CONNECT_COMPLETE; in DoTransportConnect()
207 next_state_ = STATE_HTTP_PROXY_CONNECT; in DoTransportConnectComplete()
217 next_state_ = STATE_SPDY_PROXY_CREATE_STREAM; in DoSSLConnect()
221 next_state_ = STATE_SSL_CONNECT_COMPLETE; in DoSSLConnect()
265 next_state_ = STATE_SPDY_PROXY_CREATE_STREAM; in DoSSLConnectComplete()
[all …]
Dhttp_auth_handler_negotiate.cc104 next_state_(STATE_NONE), in HttpAuthHandlerNegotiate()
217 next_state_ = STATE_GENERATE_AUTH_TOKEN; in GenerateAuthTokenImpl()
225 next_state_ = STATE_RESOLVE_CANONICAL_NAME; in GenerateAuthTokenImpl()
248 DCHECK(next_state_ != STATE_NONE); in DoLoop()
252 State state = next_state_; in DoLoop()
253 next_state_ = STATE_NONE; in DoLoop()
274 } while (rv != ERR_IO_PENDING && next_state_ != STATE_NONE); in DoLoop()
280 next_state_ = STATE_RESOLVE_CANONICAL_NAME_COMPLETE; in DoResolveCanonicalName()
303 next_state_ = STATE_GENERATE_AUTH_TOKEN; in DoResolveCanonicalNameComplete()
310 next_state_ = STATE_GENERATE_AUTH_TOKEN_COMPLETE; in DoGenerateAuthToken()
Dhttp_response_body_drainer.h56 State next_state_; variable
/external/chromium/net/socket_stream/
Dsocket_stream.cc53 next_state_(STATE_NONE), in SocketStream()
135 DCHECK_EQ(next_state_, STATE_NONE); in Connect()
140 next_state_ = STATE_RESOLVE_PROXY; in Connect()
155 if (!socket_.get() || !socket_->IsConnected() || next_state_ == STATE_NONE) in SendData()
195 if (next_state_ == STATE_NONE) in Close()
263 if (next_state_ == STATE_TCP_CONNECT || next_state_ == STATE_AUTH_REQUIRED) { in DoClose()
271 if (next_state_ == STATE_READ_WRITE && !current_write_buf_) in DoClose()
286 DCHECK_EQ(next_state_, STATE_NONE); in Finish()
302 next_state_ = STATE_CLOSE; in DidEstablishConnection()
305 next_state_ = STATE_READ_WRITE; in DidEstablishConnection()
[all …]
/external/chromium/net/spdy/
Dspdy_proxy_client_socket.cc34 next_state_(STATE_DISCONNECTED), in SpdyProxyClientSocket()
93 if (next_state_ == STATE_OPEN) in Connect()
96 DCHECK_EQ(STATE_DISCONNECTED, next_state_); in Connect()
97 next_state_ = STATE_GENERATE_AUTH_TOKEN; in Connect()
114 next_state_ = STATE_DISCONNECTED; in Disconnect()
123 return next_state_ == STATE_OPEN || next_state_ == STATE_CLOSED; in IsConnected()
155 if (next_state_ == STATE_DISCONNECTED) in Read()
165 DCHECK(next_state_ == STATE_OPEN || next_state_ == STATE_CLOSED); in Read()
202 if (next_state_ == STATE_DISCONNECTED) in Write()
265 DCHECK_NE(STATE_DISCONNECTED, next_state_); in OnIOComplete()
[all …]
/external/chromium/net/ftp/
Dftp_network_transaction.cc202 next_state_(STATE_NONE) { in FtpNetworkTransaction()
212 next_state_ = STATE_CTRL_WRITE_QUIT; in Stop()
237 next_state_ = STATE_CTRL_RESOLVE_HOST; in Start()
252 next_state_ = STATE_CTRL_RESOLVE_HOST; in RestartWithAuth()
268 next_state_ = STATE_DATA_READ; in Read()
280 if (next_state_ == STATE_CTRL_RESOLVE_HOST_COMPLETE) in GetLoadState()
283 if (next_state_ == STATE_CTRL_CONNECT_COMPLETE || in GetLoadState()
284 next_state_ == STATE_DATA_CONNECT_COMPLETE) in GetLoadState()
287 if (next_state_ == STATE_DATA_READ_COMPLETE) in GetLoadState()
320 next_state_ = STATE_NONE; in ResetStateForRestart()
[all …]
/external/chromium/net/proxy/
Dinit_proxy_resolver.cc42 next_state_(STATE_NONE), in InitProxyResolver()
49 if (next_state_ != STATE_NONE) in ~InitProxyResolver()
57 DCHECK_EQ(STATE_NONE, next_state_); in Init()
73 next_state_ = STATE_WAIT; in Init()
98 DCHECK_NE(STATE_NONE, next_state_); in OnIOCompletion()
107 DCHECK_NE(next_state_, STATE_NONE); in DoLoop()
110 State state = next_state_; in DoLoop()
111 next_state_ = STATE_NONE; in DoLoop()
139 } while (rv != ERR_IO_PENDING && next_state_ != STATE_NONE); in DoLoop()
150 next_state_ = STATE_WAIT_COMPLETE; in DoWait()
[all …]
Dinit_proxy_resolver.h130 State next_state_; variable
/external/chromium/net/socket/
Dsocks5_client_socket.cc36 next_state_(STATE_NONE), in SOCKS5ClientSocket()
52 next_state_(STATE_NONE), in SOCKS5ClientSocket()
79 DCHECK_EQ(STATE_NONE, next_state_); in Connect()
88 next_state_ = STATE_GREET_WRITE; in Connect()
106 next_state_ = STATE_NONE; in Disconnect()
159 DCHECK_EQ(STATE_NONE, next_state_); in Read()
170 DCHECK_EQ(STATE_NONE, next_state_); in Write()
196 DCHECK_NE(STATE_NONE, next_state_); in OnIOComplete()
205 DCHECK_NE(next_state_, STATE_NONE); in DoLoop()
208 State state = next_state_; in DoLoop()
[all …]
Dsocks_client_socket.cc63 next_state_(STATE_NONE), in SOCKSClientSocket()
79 next_state_(STATE_NONE), in SOCKSClientSocket()
106 DCHECK_EQ(STATE_NONE, next_state_); in Connect()
113 next_state_ = STATE_RESOLVE_HOST; in Connect()
133 next_state_ = STATE_NONE; in Disconnect()
187 DCHECK_EQ(STATE_NONE, next_state_); in Read()
198 DCHECK_EQ(STATE_NONE, next_state_); in Write()
225 DCHECK_NE(STATE_NONE, next_state_); in OnIOComplete()
234 DCHECK_NE(next_state_, STATE_NONE); in DoLoop()
237 State state = next_state_; in DoLoop()
[all …]
Dsocks_client_socket_pool.cc84 switch (next_state_) { in GetLoadState()
104 DCHECK_NE(next_state_, STATE_NONE); in DoLoop()
108 State state = next_state_; in DoLoop()
109 next_state_ = STATE_NONE; in DoLoop()
130 } while (rv != ERR_IO_PENDING && next_state_ != STATE_NONE); in DoLoop()
136 next_state_ = STATE_TRANSPORT_CONNECT_COMPLETE; in DoTransportConnect()
154 next_state_ = STATE_SOCKS_CONNECT; in DoTransportConnectComplete()
159 next_state_ = STATE_SOCKS_CONNECT_COMPLETE; in DoSOCKSConnect()
196 next_state_ = STATE_TRANSPORT_CONNECT; in ConnectInternal()
Dtransport_client_socket_pool.cc141 switch (next_state_) { in GetLoadState()
193 DCHECK_NE(next_state_, STATE_NONE); in DoLoop()
197 State state = next_state_; in DoLoop()
198 next_state_ = STATE_NONE; in DoLoop()
219 } while (rv != ERR_IO_PENDING && next_state_ != STATE_NONE); in DoLoop()
225 next_state_ = STATE_RESOLVE_HOST_COMPLETE; in DoResolveHost()
232 next_state_ = STATE_TRANSPORT_CONNECT; in DoResolveHostComplete()
237 next_state_ = STATE_TRANSPORT_CONNECT_COMPLETE; in DoTransportConnect()
319 if (next_state_ != STATE_TRANSPORT_CONNECT_COMPLETE) { in DoIPv6FallbackTransportConnect()
352 if (next_state_ != STATE_TRANSPORT_CONNECT_COMPLETE) { in DoIPv6FallbackTransportConnectComplete()
[all …]
Dssl_client_socket_pool.cc156 switch (next_state_) { in GetLoadState()
195 DCHECK_NE(next_state_, STATE_NONE); in DoLoop()
199 State state = next_state_; in DoLoop()
200 next_state_ = STATE_NONE; in DoLoop()
235 } while (rv != ERR_IO_PENDING && next_state_ != STATE_NONE); in DoLoop()
258 next_state_ = STATE_TRANSPORT_CONNECT_COMPLETE; in DoTransportConnect()
271 next_state_ = STATE_SSL_CONNECT; in DoTransportConnectComplete()
278 next_state_ = STATE_SOCKS_CONNECT_COMPLETE; in DoSOCKSConnect()
288 next_state_ = STATE_SSL_CONNECT; in DoSOCKSConnectComplete()
295 next_state_ = STATE_TUNNEL_CONNECT_COMPLETE; in DoTunnelConnect()
[all …]
Dtcp_client_socket_pool.cc114 switch (next_state_) { in GetLoadState()
134 DCHECK_NE(next_state_, STATE_NONE); in DoLoop()
138 State state = next_state_; in DoLoop()
139 next_state_ = STATE_NONE; in DoLoop()
160 } while (rv != ERR_IO_PENDING && next_state_ != STATE_NONE); in DoLoop()
166 next_state_ = STATE_RESOLVE_HOST_COMPLETE; in DoResolveHost()
173 next_state_ = STATE_TCP_CONNECT; in DoResolveHostComplete()
178 next_state_ = STATE_TCP_CONNECT_COMPLETE; in DoTCPConnect()
225 next_state_ = STATE_RESOLVE_HOST; in ConnectInternal()
Dssl_client_socket_win.cc403 next_state_(STATE_NONE), in SSLClientSocketWin()
562 DCHECK(next_state_ == STATE_NONE); in Connect()
574 next_state_ = STATE_HANDSHAKE_WRITE; in Connect()
657 next_state_ = STATE_NONE; in Disconnect()
869 DCHECK(next_state_ != STATE_NONE); in DoLoop()
872 State state = next_state_; in DoLoop()
873 next_state_ = STATE_NONE; in DoLoop()
897 next_state_ = STATE_COMPLETED_HANDSHAKE; in DoLoop()
905 } while (rv != ERR_IO_PENDING && next_state_ != STATE_NONE); in DoLoop()
910 next_state_ = STATE_HANDSHAKE_READ_COMPLETE; in DoHandshakeRead()
[all …]
Dssl_client_socket_win.h79 return next_state_ == STATE_COMPLETED_HANDSHAKE; in completed_handshake()
151 State next_state_; variable
/external/chromium/chrome/browser/net/websocket_experiment/
Dwebsocket_experiment_task.cc126 next_state_(STATE_NONE), in WebSocketExperimentTask()
231 next_state_ = STATE_URL_FETCH; in Run()
236 next_state_ = STATE_NONE; in Cancel()
296 if (next_state_ != STATE_URL_FETCH_COMPLETE) { in OnURLFetchComplete()
297 DVLOG(1) << "unexpected state=" << next_state_ in OnURLFetchComplete()
312 if (next_state_ == STATE_WEBSOCKET_CONNECT_COMPLETE) in OnOpen()
315 DVLOG(1) << "unexpected state=" << next_state_ in OnOpen()
333 switch (next_state_) { in OnMessage()
340 DVLOG(1) << "unexpected state=" << next_state_ in OnMessage()
362 << " next_state=" << next_state_ in OnClose()
[all …]
Dwebsocket_experiment_runner.cc62 : next_state_(STATE_NONE), in WebSocketExperimentRunner()
76 DCHECK_EQ(next_state_, STATE_NONE); in Run()
77 next_state_ = STATE_RUN_WS; in Run()
86 next_state_ = STATE_NONE; in Cancel()
178 if (next_state_ == STATE_NONE) { in DoLoop()
186 State state = next_state_; in DoLoop()
188 next_state_ = STATE_NONE; in DoLoop()
193 next_state_ = STATE_RUN_WS; in DoLoop()
210 next_state_ = STATE_IDLE; in DoLoop()
212 next_state_ = static_cast<State>(state + 1); in DoLoop()
[all …]
Dwebsocket_experiment_runner.h68 State next_state_; variable
/external/chromium/net/url_request/
Dview_cache_helper.cc84 next_state_(STATE_NONE), in ViewCacheHelper()
127 next_state_ = STATE_GET_BACKEND; in GetInfoHTML()
154 DCHECK(next_state_ != STATE_NONE); in DoLoop()
158 State state = next_state_; in DoLoop()
159 next_state_ = STATE_NONE; in DoLoop()
202 } while (rv != ERR_IO_PENDING && next_state_ != STATE_NONE); in DoLoop()
211 next_state_ = STATE_GET_BACKEND_COMPLETE; in DoGetBackend()
233 next_state_ = STATE_OPEN_NEXT_ENTRY; in DoGetBackendComplete()
237 next_state_ = STATE_OPEN_ENTRY; in DoGetBackendComplete()
242 next_state_ = STATE_OPEN_NEXT_ENTRY_COMPLETE; in DoOpenNextEntry()
[all …]

12