Searched refs:receive_buffer_ (Results 1 – 7 of 7) sorted by relevance
/external/chromium_org/native_client_sdk/src/examples/api/socket/ |
D | socket.cc | 60 char receive_buffer_[kBufferSize]; member in ExampleInstance 262 memset(receive_buffer_, 0, kBufferSize); in Receive() 267 udp_socket_.RecvFrom(receive_buffer_, kBufferSize, callback); in Receive() 271 tcp_socket_.Read(receive_buffer_, kBufferSize, callback); in Receive() 307 PostMessage(std::string("Received: ") + std::string(receive_buffer_, result)); in OnReceiveCompletion()
|
D | echo_server.cc | 138 result = incoming_socket_.Write(receive_buffer_, result, callback); in OnReadCompletion() 163 incoming_socket_.Read(receive_buffer_, kBufferSize, callback); in TryRead()
|
D | echo_server.h | 43 char receive_buffer_[kBufferSize]; variable
|
/external/chromium_org/remoting/client/plugin/ |
D | pepper_packet_socket_factory.cc | 89 std::vector<char> receive_buffer_; member in remoting::__anond55f91ab0111::UdpPacketSocket 311 receive_buffer_.resize(kReceiveBufferSize); in DoRead() 316 socket_.RecvFrom(&receive_buffer_[0], receive_buffer_.size(), callback); in DoRead() 331 SignalReadPacket(this, &receive_buffer_[0], result, socket_address, in HandleReadResult()
|
/external/chromium_org/remoting/jingle_glue/ |
D | chromium_socket_factory.cc | 88 scoped_refptr<net::IOBuffer> receive_buffer_; member in remoting::__anond2cd11540111::UdpPacketSocket 301 receive_buffer_ = new net::IOBuffer(kReceiveBufferSize); in DoRead() 303 receive_buffer_.get(), in DoRead() 330 SignalReadPacket(this, receive_buffer_->data(), result, address, in HandleReadResult()
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/ |
D | echo_server.cc | 146 result = incoming_socket_.Write(receive_buffer_, result, callback); in OnReadCompletion() 171 incoming_socket_.Read(receive_buffer_, kBufferSize, callback); in TryRead()
|
D | echo_server.h | 58 char receive_buffer_[kBufferSize]; variable
|