Home
last modified time | relevance | path

Searched refs:written_data_ (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/content/browser/renderer_host/p2p/
Dsocket_host_test_utils.cc24 written_data_(written_data), in FakeSocket()
88 if (written_data_) { in Write()
89 written_data_->insert(written_data_->end(), in Write()
99 if (written_data_) { in DoAsyncWrite()
100 written_data_->insert(written_data_->end(), in DoAsyncWrite()
Dsocket_host_test_utils.h77 std::string* written_data_; variable
/external/chromium_org/third_party/webrtc/base/
Dtestutils.h164 written_data_.clear(); in Clear()
190 if (written_data_.size() > 0) { in ReadData()
191 data.insert(0, &written_data_[0], written_data_.size()); in ReadData()
193 written_data_.clear(); in ReadData()
248 if (written_data_.size() >= write_block_) { in Write()
251 if (data_len > (write_block_ - written_data_.size())) { in Write()
252 data_len = write_block_ - written_data_.size(); in Write()
257 written_data_.insert(written_data_.end(), cdata, cdata + data_len); in Write()
264 Buffer readable_data_, written_data_; variable
/external/chromium_org/remoting/protocol/
Dbuffered_socket_writer_unittest.cc38 written_data_ = socket_->written_data(); in DestroyWriterAndQuit()
105 std::string written_data_; member in remoting::protocol::BufferedSocketWriterTest
150 ASSERT_GE(written_data_.size(), in TEST_F()
152 EXPECT_EQ(0, memcmp(test_buffer_->data(), written_data_.data(), in TEST_F()
Dfake_stream_socket.h40 const std::string& written_data() const { return written_data_; } in written_data()
108 std::string written_data_; variable
Dfake_stream_socket.cc131 written_data_.insert(written_data_.end(), in DoWrite()