/external/cronet/net/filter/ |
D | brotli_source_stream_unittest.cc | 78 scoped_refptr<IOBufferWithSize> out_buffer_; 93 out_buffer_ = base::MakeRefCounted<IOBufferWithSize>(kDefaultBufferSize); in TEST_F() 112 out_buffer_ = base::MakeRefCounted<IOBufferWithSize>(kDefaultBufferSize); in TEST_F() 130 out_buffer_ = base::MakeRefCounted<IOBufferWithSize>(kDefaultBufferSize); in TEST_F() 155 out_buffer_ = base::MakeRefCounted<IOBufferWithSize>(kDefaultBufferSize); in TEST_F() 175 out_buffer_ = base::MakeRefCounted<IOBufferWithSize>(kDefaultBufferSize); in TEST_F() 187 out_buffer_ = base::MakeRefCounted<IOBufferWithSize>(kDefaultBufferSize); in TEST_F() 208 out_buffer_ = base::MakeRefCounted<IOBufferWithSize>(kSmallBufferSize); in TEST_F() 211 base::MakeRefCounted<IOBufferWithSize>(source_data_len()); in TEST_F() 236 out_buffer_ = base::MakeRefCounted<IOBufferWithSize>(kSmallBufferSize); in TEST_F() [all …]
|
D | filter_source_stream_unittest.cc | 282 scoped_refptr<IOBufferWithSize> output_buffer = in TEST_P() 283 base::MakeRefCounted<IOBufferWithSize>(kDefaultBufferSize); in TEST_P() 307 scoped_refptr<IOBufferWithSize> output_buffer = in TEST_P() 308 base::MakeRefCounted<IOBufferWithSize>(kDefaultBufferSize); in TEST_P() 335 scoped_refptr<IOBufferWithSize> output_buffer = in TEST_P() 336 base::MakeRefCounted<IOBufferWithSize>(kDefaultBufferSize); in TEST_P() 361 scoped_refptr<IOBufferWithSize> output_buffer = in TEST_P() 362 base::MakeRefCounted<IOBufferWithSize>(kDefaultBufferSize); in TEST_P() 394 scoped_refptr<IOBufferWithSize> output_buffer = in TEST_P() 395 base::MakeRefCounted<IOBufferWithSize>(kDefaultBufferSize); in TEST_P() [all …]
|
D | brotli_source_stream_fuzzer.cc | 26 scoped_refptr<net::IOBufferWithSize> io_buffer = in LLVMFuzzerTestOneInput() 27 base::MakeRefCounted<net::IOBufferWithSize>(64); in LLVMFuzzerTestOneInput()
|
D | gzip_source_stream_fuzzer.cc | 39 scoped_refptr<net::IOBufferWithSize> io_buffer = in LLVMFuzzerTestOneInput() 40 base::MakeRefCounted<net::IOBufferWithSize>(64); in LLVMFuzzerTestOneInput()
|
/external/cronet/net/websockets/ |
D | websocket_inflater_test.cc | 20 std::string ToString(IOBufferWithSize* buffer) { in ToString() 34 scoped_refptr<IOBufferWithSize> actual1, actual2; in TEST() 60 scoped_refptr<IOBufferWithSize> buffer = inflater.GetOutput(1); in TEST() 72 scoped_refptr<IOBufferWithSize> actual; in TEST() 102 scoped_refptr<IOBufferWithSize> actual; in TEST() 116 scoped_refptr<IOBufferWithSize> actual1, actual2; in TEST() 140 scoped_refptr<IOBufferWithSize> actual1, actual2; in TEST() 161 scoped_refptr<IOBufferWithSize> actual1, actual2; in TEST() 173 scoped_refptr<IOBufferWithSize> actual1, actual2; in TEST() 188 scoped_refptr<IOBufferWithSize> compressed; in TEST() [all …]
|
D | websocket_deflater_test.cc | 16 std::string ToString(IOBufferWithSize* buffer) { in ToString() 25 scoped_refptr<IOBufferWithSize> actual = in TEST() 34 scoped_refptr<IOBufferWithSize> actual1, actual2; in TEST() 51 scoped_refptr<IOBufferWithSize> actual1, actual2; in TEST() 70 scoped_refptr<IOBufferWithSize> actual; in TEST() 83 scoped_refptr<IOBufferWithSize> actual; in TEST() 108 scoped_refptr<IOBufferWithSize> actual; in TEST() 125 scoped_refptr<IOBufferWithSize> actual; in TEST()
|
D | websocket_inflater.h | 22 class IOBufferWithSize; variable 64 scoped_refptr<IOBufferWithSize> GetOutput(size_t size); 119 base::circular_deque<scoped_refptr<IOBufferWithSize>> buffers_;
|
D | websocket_inflater.cc | 18 class ShrinkableIOBufferWithSize : public IOBufferWithSize { 20 explicit ShrinkableIOBufferWithSize(size_t size) : IOBufferWithSize(size) {} in ShrinkableIOBufferWithSize() 88 scoped_refptr<IOBufferWithSize> WebSocketInflater::GetOutput(size_t size) { in GetOutput() 245 buffers_.push_back(base::MakeRefCounted<IOBufferWithSize>(capacity_)); in Push() 274 IOBufferWithSize* buffer = buffers_.back().get(); in PushToLastBuffer()
|
D | websocket_deflater.h | 21 class IOBufferWithSize; variable 60 scoped_refptr<IOBufferWithSize> GetOutput(size_t size);
|
D | websocket_deflate_stream.h | 113 std::vector<scoped_refptr<IOBufferWithSize>> deflater_outputs_; 115 std::vector<scoped_refptr<IOBufferWithSize>> inflater_outputs_;
|
D | websocket_deflater.cc | 121 scoped_refptr<IOBufferWithSize> WebSocketDeflater::GetOutput(size_t size) { in GetOutput() 126 auto result = base::MakeRefCounted<IOBufferWithSize>(length_to_copy); in GetOutput()
|
D | websocket_deflate_stream_fuzzer.cc | 93 auto buffer = base::MakeRefCounted<IOBufferWithSize>(payload.size()); in CreateFrame() 101 std::vector<scoped_refptr<IOBufferWithSize>> buffers_;
|
D | websocket_basic_stream.h | 28 class IOBufferWithSize; variable 204 scoped_refptr<IOBufferWithSize> read_buffer_;
|
/external/cronet/net/dns/ |
D | dns_query_unittest.cc | 30 std::tuple<char*, size_t> AsTuple(const IOBufferWithSize* buf) { in AsTuple() 37 auto packet = base::MakeRefCounted<IOBufferWithSize>(length); in ParseAndCreateDnsQueryFromRawPacket() 324 auto packet = base::MakeRefCounted<IOBufferWithSize>(data.size()); in TEST() 358 auto packet = base::MakeRefCounted<IOBufferWithSize>(data.size()); in TEST() 391 auto packet = base::MakeRefCounted<IOBufferWithSize>(data.size()); in TEST() 413 auto packet = base::MakeRefCounted<IOBufferWithSize>(sizeof(kData) - 1); in TEST() 438 auto packet = base::MakeRefCounted<IOBufferWithSize>(sizeof(kData) - 1); in TEST() 454 auto packet = base::MakeRefCounted<IOBufferWithSize>(sizeof(kData) - 1); in TEST() 476 auto packet = base::MakeRefCounted<IOBufferWithSize>(sizeof(kData) - 1); in TEST() 501 auto packet = base::MakeRefCounted<IOBufferWithSize>(sizeof(kData) - 1); in TEST() [all …]
|
D | dns_query.h | 32 class IOBufferWithSize; variable 61 explicit DnsQuery(scoped_refptr<IOBufferWithSize> buffer); 97 IOBufferWithSize* io_buffer() const { return io_buffer_.get(); } in io_buffer() 116 scoped_refptr<IOBufferWithSize> io_buffer_;
|
D | dns_response_fuzzer.cc | 25 const net::IOBufferWithSize& packet, in ValidateParsedResponse() 85 base::MakeRefCounted<net::IOBufferWithSize>(response_string.size()); in LLVMFuzzerTestOneInput() 94 auto query_packet = base::MakeRefCounted<net::IOBufferWithSize>(query_size); in LLVMFuzzerTestOneInput()
|
D | dns_query.cc | 121 io_buffer_ = base::MakeRefCounted<IOBufferWithSize>(buffer_size); in DnsQuery() 158 DnsQuery::DnsQuery(scoped_refptr<IOBufferWithSize> buffer) in DnsQuery() 254 io_buffer_ = base::MakeRefCounted<IOBufferWithSize>(orig.io_buffer()->size()); in CopyFrom()
|
/external/cronet/net/base/ |
D | file_stream_unittest.cc | 50 scoped_refptr<IOBufferWithSize> CreateTestDataBuffer() { in CreateTestDataBuffer() 51 scoped_refptr<IOBufferWithSize> buf = in CreateTestDataBuffer() 52 base::MakeRefCounted<IOBufferWithSize>(kTestDataSize); in CreateTestDataBuffer() 135 scoped_refptr<IOBufferWithSize> read_buffer = in TEST_F() 136 base::MakeRefCounted<IOBufferWithSize>(kTestDataSize); in TEST_F() 153 scoped_refptr<IOBufferWithSize> write_buffer = CreateTestDataBuffer(); in TEST_F() 180 scoped_refptr<IOBufferWithSize> buf = in TEST_F() 181 base::MakeRefCounted<IOBufferWithSize>(10); in TEST_F() 201 scoped_refptr<IOBufferWithSize> buf = in TEST_F() 202 base::MakeRefCounted<IOBufferWithSize>(4); in TEST_F() [all …]
|
D | io_buffer.cc | 44 IOBufferWithSize::IOBufferWithSize(size_t size) : IOBuffer(size), size_(size) { in IOBufferWithSize() function in net::IOBufferWithSize 48 IOBufferWithSize::IOBufferWithSize(char* data, size_t size) in IOBufferWithSize() function in net::IOBufferWithSize 53 IOBufferWithSize::~IOBufferWithSize() = default;
|
D | io_buffer.h | 104 class NET_EXPORT IOBufferWithSize : public IOBuffer { 106 explicit IOBufferWithSize(size_t size); 114 IOBufferWithSize(char* data, size_t size); 115 ~IOBufferWithSize() override;
|
/external/cronet/net/socket/ |
D | udp_socket_perftest.cc | 46 : buffer_(base::MakeRefCounted<IOBufferWithSize>(kPacketSize)) {} in UDPSocketPerfTest() 66 scoped_refptr<IOBufferWithSize> buffer_; 85 scoped_refptr<IOBufferWithSize> io_buffer = in WritePacketsToSocket() 86 base::MakeRefCounted<IOBufferWithSize>(kPacketSize); in WritePacketsToSocket()
|
D | tcp_socket_unittest.cc | 61 class IOBufferWithDestructionCallback : public IOBufferWithSize { 64 : IOBufferWithSize(1024), in IOBufferWithDestructionCallback() 206 scoped_refptr<IOBufferWithSize> write_buffer = in TestSPWNotifications() 207 base::MakeRefCounted<IOBufferWithSize>(message.size()); in TestSPWNotifications() 215 scoped_refptr<IOBufferWithSize> read_buffer = in TestSPWNotifications() 216 base::MakeRefCounted<IOBufferWithSize>(message.size()); in TestSPWNotifications() 426 scoped_refptr<IOBufferWithSize> write_buffer = in TEST_F() 427 base::MakeRefCounted<IOBufferWithSize>(message.size() - bytes_written); in TEST_F() 443 scoped_refptr<IOBufferWithSize> read_buffer = in TEST_F() 444 base::MakeRefCounted<IOBufferWithSize>(message.size() - bytes_read); in TEST_F() [all …]
|
D | transport_client_socket_test_util.cc | 58 scoped_refptr<IOBufferWithSize> read_buffer = in ReadDataOfExpectedLength() 59 base::MakeRefCounted<IOBufferWithSize>(expected_bytes_read); in ReadDataOfExpectedLength()
|
D | tcp_server_socket_unittest.cc | 327 scoped_refptr<IOBufferWithSize> write_buffer = in TEST_F() 328 base::MakeRefCounted<IOBufferWithSize>(message.size() - bytes_written); in TEST_F() 343 scoped_refptr<IOBufferWithSize> read_buffer = in TEST_F() 344 base::MakeRefCounted<IOBufferWithSize>(message.size() - bytes_read); in TEST_F()
|
/external/cronet/net/http/ |
D | http_stream_parser_fuzzer.cc | 72 scoped_refptr<net::IOBufferWithSize> io_buffer = in LLVMFuzzerTestOneInput() 73 base::MakeRefCounted<net::IOBufferWithSize>(64); in LLVMFuzzerTestOneInput()
|