Home
last modified time | relevance | path

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

/external/webrtc/examples/peerconnection/server/
Ddata_socket.h63 : SocketBase(socket), method_(INVALID), content_length_(0) {} in DataSocket()
80 size_t content_length() const { return content_length_; } in content_length()
87 return method_ != POST || data_.length() >= content_length_; in data_received()
133 size_t content_length_; variable
Ddata_socket.cc160 content_length_ = 0; in Clear()
228 assert(content_length_ == 0); in ParseContentLengthAndType()
242 content_length_ = atoi(headers); in ParseContentLengthAndType()
262 return !content_type_.empty() && content_length_ != 0; in ParseContentLengthAndType()
/external/webrtc/rtc_base/
Dsocket_adapters.cc293 size_t consume = std::min(*len - pos, content_length_); in ProcessInput()
296 content_length_ -= consume; in ProcessInput()
297 if (content_length_ == 0) { in ProcessInput()
351 content_length_ = 0; in SendRequest()
367 if (content_length_) { in ProcessLine()
434 content_length_ = strtoul(data + 15, 0, 0); in ProcessLine()
Dsocket_adapters.h114 size_t content_length_; variable