Home
last modified time | relevance | path

Searched refs:send_buffer_ (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/base/
Dtestutils.h304 send_buffer_.insert(send_buffer_.end(), data, data + len); in QueueData()
340 while (sent < send_buffer_.size()) { in Flush()
341 int result = socket_->Send(&send_buffer_[sent], in Flush()
342 send_buffer_.size() - sent); in Flush()
349 size_t new_size = send_buffer_.size() - sent; in Flush()
350 memmove(&send_buffer_[0], &send_buffer_[sent], new_size); in Flush()
351 send_buffer_.resize(new_size); in Flush()
355 if (!send_buffer_.empty()) { in OnConnectEvent()
367 if (!send_buffer_.empty()) { in OnWriteEvent()
375 Buffer send_buffer_, recv_buffer_; variable
Dvirtualsocketserver.cc489 size_t capacity = server_->send_buffer_capacity_ - send_buffer_.size(); in SendTcp()
497 send_buffer_.insert(send_buffer_.end(), cpv, cpv + consumed); in SendTcp()
841 size_t data_size = std::min(socket->send_buffer_.size(), max_data_size); in SendTcp()
845 AddPacketToNetwork(socket, recipient, cur_time, &socket->send_buffer_[0], in SendTcp()
849 size_t new_buffer_size = socket->send_buffer_.size() - data_size; in SendTcp()
852 if (data_size < socket->send_buffer_.size()) { in SendTcp()
854 memmove(&socket->send_buffer_[0], &socket->send_buffer_[data_size], in SendTcp()
857 socket->send_buffer_.resize(new_buffer_size); in SendTcp()
861 && (socket->send_buffer_.size() < send_buffer_capacity_)) { in SendTcp()
Dvirtualsocketserver.h325 SendBuffer send_buffer_; variable
/external/webrtc/talk/app/webrtc/test/
Dfakeaudiocapturemodule.cc617 Sample* buffer_ptr = reinterpret_cast<Sample*>(send_buffer_); in SetSendBuffer()
619 sizeof(send_buffer_) / kNumberBytesPerSample; in SetSendBuffer()
733 if (audio_callback_->RecordedDataIsAvailable(send_buffer_, kNumberSamples, in SendFrameP()
Dfakeaudiocapturemodule.h272 char send_buffer_[kNumberSamples * kNumberBytesPerSample]; variable