Home
last modified time | relevance | path

Searched refs:send_buffer_ (Results 1 – 7 of 7) 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/tensorflow/tensorflow/contrib/mpi/
Dmpi_rendezvous_mgr.h49 char* send_buffer_;
60 : send_buffer_(nullptr), send_buffer2_(nullptr), done1_(1), done2_(1) {} in MPISendTensorCall()
65 MPI_CHECK(MPI_Free_mem(send_buffer_)); in ~MPISendTensorCall()
Dmpi_rendezvous_mgr.cc170 &mpi_send_call->send_buffer_)); in AddRequest()
171 mpi_send_call->mRes_.SerializeToArray(mpi_send_call->send_buffer_, in AddRequest()
174 MPI_CHECK(MPI_Isend(mpi_send_call->send_buffer_, in AddRequest()
/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