Home
last modified time | relevance | path

Searched refs:StringIOBuffer (Results 1 – 25 of 37) sorted by relevance

12

/external/chromium_org/content/browser/streams/
Dstream_url_request_job_unittest.cc108 scoped_refptr<net::StringIOBuffer> buffer( in TEST_F()
109 new net::StringIOBuffer(kTestData1)); in TEST_F()
126 scoped_refptr<net::StringIOBuffer> buffer( in TEST_F()
127 new net::StringIOBuffer(large_data)); in TEST_F()
151 scoped_refptr<net::StringIOBuffer> buffer( in TEST_F()
152 new net::StringIOBuffer(kTestData2)); in TEST_F()
168 scoped_refptr<net::StringIOBuffer> buffer( in TEST_F()
169 new net::StringIOBuffer(kTestData2)); in TEST_F()
/external/chromium_org/net/base/
Dio_buffer.cc42 StringIOBuffer::StringIOBuffer(const std::string& s) in StringIOBuffer() function in net::StringIOBuffer
49 StringIOBuffer::StringIOBuffer(scoped_ptr<std::string> s) in StringIOBuffer() function in net::StringIOBuffer
56 StringIOBuffer::~StringIOBuffer() { in ~StringIOBuffer()
Dio_buffer.h114 class NET_EXPORT StringIOBuffer : public IOBuffer {
116 explicit StringIOBuffer(const std::string& s);
117 explicit StringIOBuffer(scoped_ptr<std::string> s);
122 virtual ~StringIOBuffer();
/external/chromium_org/net/url_request/
Durl_fetcher_response_writer_unittest.cc28 buf_ = new StringIOBuffer(kData); in SetUp()
32 scoped_refptr<StringIOBuffer> buf_;
62 buf_ = new StringIOBuffer(kData); in SetUp()
68 scoped_refptr<StringIOBuffer> buf_;
112 scoped_refptr<StringIOBuffer> buf2(new StringIOBuffer(data2)); in TEST_F()
150 buf_ = new StringIOBuffer(kData); in SetUp()
154 scoped_refptr<StringIOBuffer> buf_;
/external/chromium_org/content/browser/fileapi/
Dlocal_file_stream_writer_unittest.cc50 scoped_refptr<net::StringIOBuffer> buffer(new net::StringIOBuffer(data)); in WriteStringToWriter()
169 scoped_refptr<net::StringIOBuffer> buffer(new net::StringIOBuffer("xxx")); in TEST_F()
/external/chromium_org/net/quic/
Dquic_default_packet_writer.cc30 scoped_refptr<StringIOBuffer> buf( in WritePacket()
31 new StringIOBuffer(std::string(buffer, buf_len))); in WritePacket()
Dquic_server_packet_writer.cc70 scoped_refptr<StringIOBuffer> buf( in WritePacket()
71 new StringIOBuffer(std::string(buffer, buf_len))); in WritePacket()
/external/chromium_org/net/spdy/
Dspdy_stream_test_util.cc124 scoped_refptr<StringIOBuffer> buf(new StringIOBuffer(data_.as_string())); in OnResponseHeadersUpdated()
134 buf_(new StringIOBuffer(data.as_string())) {} in StreamDelegateWithBody()
Dspdy_stream_test_util.h120 scoped_refptr<StringIOBuffer> buf_;
/external/chromium_org/chrome/browser/chromeos/file_system_provider/fileapi/
Dfile_stream_writer_unittest.cc124 scoped_refptr<net::IOBuffer> io_buffer(new net::StringIOBuffer(kTextToWrite)); in TEST_F()
175 scoped_refptr<net::IOBuffer> io_buffer(new net::StringIOBuffer(kTextToWrite)); in TEST_F()
197 scoped_refptr<net::IOBuffer> io_buffer(new net::StringIOBuffer(kTextToWrite)); in TEST_F()
221 scoped_refptr<net::IOBuffer> io_buffer(new net::StringIOBuffer(kTextToWrite)); in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/dial/
Ddial_service.h24 class StringIOBuffer; variable
135 const scoped_refptr<net::StringIOBuffer>& send_buffer);
259 scoped_refptr<net::StringIOBuffer> send_buffer_;
Ddial_service.cc45 using net::StringIOBuffer;
192 const scoped_refptr<net::StringIOBuffer>& send_buffer) { in SendOneRequest()
390 send_buffer_ = new StringIOBuffer(BuildRequest()); in DialServiceImpl()
/external/chromium_org/net/socket/
Dssl_server_socket_unittest.cc92 new StringIOBuffer(std::string(buf->data(), buf_len)), in Write()
273 scoped_refptr<IOBuffer> write_buf = new StringIOBuffer(kTestData); in TEST()
424 scoped_refptr<StringIOBuffer> write_buf = in TEST_F()
425 new StringIOBuffer("testing123"); in TEST_F()
458 write_buf = new StringIOBuffer("hello123"); in TEST_F()
507 scoped_refptr<StringIOBuffer> write_buf = new StringIOBuffer("testing123"); in TEST_F()
Dunix_domain_client_socket_posix_unittest.cc337 new StringIOBuffer(std::string(kWriteDataSize, 'd'))); in TEST_F()
416 new StringIOBuffer(std::string(kWriteDataSize, 'd'))); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/file_system_provider/operations/
Dwrite_file_unittest.cc49 io_buffer_ = make_scoped_refptr(new net::StringIOBuffer(kWriteData)); in SetUp()
53 scoped_refptr<net::StringIOBuffer> io_buffer_;
/external/chromium_org/chrome/test/chromedriver/net/
Dadb_client_socket.cc140 scoped_refptr<net::StringIOBuffer> request_buffer = in OnSocketAvailable()
141 new net::StringIOBuffer(request_); in OnSocketAvailable()
384 scoped_refptr<net::StringIOBuffer> request_buffer = in SendCommand()
385 new net::StringIOBuffer(EncodeMessage(command)); in SendCommand()
Dwebsocket.cc168 new net::StringIOBuffer(pending_write_), in ContinueWritingIfNecessary()
/external/chromium_org/device/bluetooth/
Dbluetooth_socket_chromeos_unittest.cc204 scoped_refptr<net::StringIOBuffer> write_buffer( in TEST_F()
205 new net::StringIOBuffer("test")); in TEST_F()
267 write_buffer = new net::StringIOBuffer("second test"); in TEST_F()
/external/chromium_org/components/nacl/browser/
Dpnacl_translation_cache_unittest.cc70 new net::DrainableIOBuffer(new net::StringIOBuffer(nexe), nexe.size())); in StoreNexe()
226 new net::StringIOBuffer(std::string(kMaxMemCacheSize + 1, 'a')), in TEST_F()
/external/chromium_org/chrome/browser/devtools/device/adb/
Dadb_client_socket.cc188 scoped_refptr<net::StringIOBuffer> request_buffer = in SendCommand()
189 new net::StringIOBuffer(EncodeMessage(command)); in SendCommand()
/external/chromium_org/chrome/browser/devtools/device/
Dandroid_web_socket.cc241 scoped_refptr<net::StringIOBuffer> buffer = in SendPendingRequests()
242 new net::StringIOBuffer(request_buffer_); in SendPendingRequests()
Dandroid_device_manager.cc108 scoped_refptr<net::StringIOBuffer> request_buffer = in SendRequest()
109 new net::StringIOBuffer(request); in SendRequest()
/external/chromium_org/net/udp/
Dudp_socket_unittest.cc62 scoped_refptr<StringIOBuffer> io_buffer(new StringIOBuffer(msg)); in SendToSocket()
97 scoped_refptr<StringIOBuffer> io_buffer(new StringIOBuffer(msg)); in WriteSocket()
/external/chromium_org/content/browser/gpu/
Dshader_disk_cache.cc226 scoped_refptr<net::StringIOBuffer> io_buf = new net::StringIOBuffer(shader_); in WriteCallback()
/external/chromium_org/remoting/protocol/
Dssl_hmac_channel_authenticator.cc162 new net::StringIOBuffer(auth_bytes), auth_bytes.size()); in OnConnected()

12