Home
last modified time | relevance | path

Searched refs:incomplete_control_frame_body_ (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/net/websockets/
Dwebsocket_basic_stream.cc316 if (incomplete_control_frame_body_) { in ConvertChunkToFrame()
321 incomplete_control_frame_body_ = new GrowableIOBuffer(); in ConvertChunkToFrame()
326 incomplete_control_frame_body_->SetCapacity(kMaxControlFramePayload); in ConvertChunkToFrame()
331 if (incomplete_control_frame_body_) { in ConvertChunkToFrame()
334 const int body_size = incomplete_control_frame_body_->offset(); in ConvertChunkToFrame()
339 incomplete_control_frame_body_->StartOfBuffer(), in ConvertChunkToFrame()
341 incomplete_control_frame_body_ = NULL; // Frame now complete. in ConvertChunkToFrame()
404 incomplete_control_frame_body_->offset() + data_buffer->size(); in AddToIncompleteControlFrameBody()
405 CHECK_GE(incomplete_control_frame_body_->capacity(), new_offset) in AddToIncompleteControlFrameBody()
408 memcpy(incomplete_control_frame_body_->data(), in AddToIncompleteControlFrameBody()
[all …]
Dwebsocket_basic_stream.h139 scoped_refptr<GrowableIOBuffer> incomplete_control_frame_body_; variable