Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Dhttpbase.cc249 if (HM_RECV == base_->mode_) in GetState()
263 if (HM_RECV != base_->mode_) { in Read()
325 if (HM_RECV == base->mode_ && base->http_stream_) { in Close()
334 if (!base_ || HM_RECV != base_->mode_) in GetAvailable()
449 mode_ = HM_RECV; in recv()
484 if ((mode_ == HM_RECV) && is_valid_end_of_input()) { in HandleStreamClose()
499 ASSERT(HM_RECV == mode_); in DoReceiveLoop()
741 if ((HM_RECV == mode) && doc_stream_) { in do_complete()
769 if ((events & SE_READ) && (mode_ == HM_RECV)) { in OnHttpStreamEvent()
782 if (mode_ == HM_RECV) { in OnHttpStreamEvent()
[all …]
Dhttpbase_unittest.cc340 VerifyTransferComplete(HM_RECV, HE_NONE); in TEST_F()
377 VerifyTransferComplete(HM_RECV, HE_NONE); in TEST_F()
400 VerifyTransferComplete(HM_RECV, HE_NONE); in TEST_F()
434 VerifyTransferComplete(HM_RECV, HE_NONE); in TEST_F()
459 VerifyTransferComplete(HM_RECV, HE_NONE); in TEST_F()
485 VerifyTransferComplete(HM_RECV, HE_NONE); in TEST_F()
519 VerifyTransferComplete(HM_RECV, HE_DISCONNECTED); in TEST_F()
Dhttpbase.h71 enum HttpMode { HM_NONE, HM_CONNECT, HM_RECV, HM_SEND }; enumerator
Dhttpserver.cc206 } else if (mode == HM_RECV) { in onHttpComplete()