/external/cronet/net/spdy/ |
D | spdy_read_queue.cc | 31 DCHECK_GT(buffer->GetRemainingSize(), 0u); in Enqueue() 32 total_size_ += buffer->GetRemainingSize(); in Enqueue() 42 std::min(len - bytes_copied, buffer->GetRemainingSize()); in Dequeue() 45 if (bytes_to_copy == buffer->GetRemainingSize()) in Dequeue()
|
D | spdy_buffer_unittest.cc | 30 return std::string(buffer.GetRemainingData(), buffer.GetRemainingSize()); in BufferToString() 40 EXPECT_EQ(kDataSize, buffer.GetRemainingSize()); in TEST_F() 52 EXPECT_EQ(kDataSize, buffer.GetRemainingSize()); in TEST_F() 85 EXPECT_EQ(0u, buffer.GetRemainingSize()); in TEST_F() 112 size_t io_buffer_size = buffer.GetRemainingSize(); in TEST_F()
|
D | spdy_buffer.cc | 75 if (GetRemainingSize() > 0) in ~SpdyBuffer() 76 ConsumeHelper(GetRemainingSize(), DISCARD); in ~SpdyBuffer() 83 size_t SpdyBuffer::GetRemainingSize() const { in GetRemainingSize() function in net::SpdyBuffer 102 DCHECK_LE(consume_size, GetRemainingSize()); in ConsumeHelper()
|
D | spdy_buffer.h | 69 size_t GetRemainingSize() const;
|
D | spdy_stream.cc | 536 recv_bytes_ += buffer ? buffer->GetRemainingSize() : 0; in OnDataReceived() 572 size_t length = buffer->GetRemainingSize(); in OnDataReceived() 863 DCHECK_GE(data_buffer->GetRemainingSize(), spdy::kDataFrameMinimumSize); in QueueNextDataFrame() 865 data_buffer->GetRemainingSize() - spdy::kDataFrameMinimumSize; in QueueNextDataFrame()
|
D | spdy_stream_test_util.cc | 143 buffer->Consume(buffer->GetRemainingSize()); in OnDataReceived()
|
D | spdy_proxy_client_socket.cc | 481 buffer->GetRemainingSize(), in OnDataReceived()
|
D | spdy_session.cc | 2496 DCHECK_GT(in_flight_write_->GetRemainingSize(), 0u); in DoWrite() 2535 in_flight_write_frame_size_ = in_flight_write_->GetRemainingSize(); in DoWrite() 2545 write_io_buffer.get(), in_flight_write_->GetRemainingSize(), in DoWrite() 2554 DCHECK_GT(in_flight_write_->GetRemainingSize(), 0u); in DoWriteComplete() 2570 DCHECK_LE(static_cast<size_t>(result), in_flight_write_->GetRemainingSize()); in DoWriteComplete() 2578 if (in_flight_write_->GetRemainingSize() == 0) { in DoWriteComplete()
|
/external/libbrillo/brillo/streams/ |
D | input_stream_set_test.cc | 96 TEST_F(InputStreamSetTest, GetRemainingSize) { in TEST_F() argument 97 EXPECT_CALL(*itf1_, GetRemainingSize()).WillOnce(Return(10)); in TEST_F() 98 EXPECT_CALL(*itf2_, GetRemainingSize()).WillOnce(Return(32)); in TEST_F() 99 EXPECT_EQ(42, stream_->GetRemainingSize()); in TEST_F()
|
D | input_stream_set.cc | 51 initial_stream_size += stream->GetRemainingSize(); in Create() 97 uint64_t InputStreamSet::GetRemainingSize() const { in GetRemainingSize() function in brillo::InputStreamSet 100 size += stream->GetRemainingSize(); in GetRemainingSize()
|
D | memory_stream_test.cc | 293 EXPECT_EQ(4, stream->GetRemainingSize()); in TEST() 300 EXPECT_EQ(0, stream->GetRemainingSize()); in TEST() 309 EXPECT_EQ(4, stream->GetRemainingSize()); in TEST() 316 EXPECT_EQ(0, stream->GetRemainingSize()); in TEST()
|
D | tls_stream.h | 46 uint64_t GetRemainingSize() const override { return 0; } in GetRemainingSize() function
|
D | mock_stream.h | 27 MOCK_METHOD(uint64_t, GetRemainingSize, (), (const, override));
|
D | input_stream_set.h | 70 uint64_t GetRemainingSize() const override;
|
D | fake_stream_test.cc | 77 EXPECT_EQ(0, stream_->GetRemainingSize()); in TEST_F() 89 EXPECT_EQ(0, stream_->GetRemainingSize()); in TEST_F() 101 EXPECT_EQ(0, stream_->GetRemainingSize()); in TEST_F()
|
D | file_stream.h | 109 uint64_t GetRemainingSize() const override;
|
D | fake_stream.h | 90 uint64_t GetRemainingSize() const override { return 0; } in GetRemainingSize() function
|
D | memory_stream.h | 155 uint64_t GetRemainingSize() const override;
|
D | stream.h | 155 virtual uint64_t GetRemainingSize() const = 0;
|
D | memory_stream.cc | 105 uint64_t MemoryStream::GetRemainingSize() const { in GetRemainingSize() function in brillo::MemoryStream
|
D | file_stream_test.cc | 315 TEST_F(FileStreamTest, GetRemainingSize) { in TEST_F() argument 318 EXPECT_EQ(1000u, stream_->GetRemainingSize()); in TEST_F() 322 EXPECT_EQ(0u, stream_->GetRemainingSize()); in TEST_F()
|
D | file_stream.cc | 381 uint64_t FileStream::GetRemainingSize() const { in GetRemainingSize() function in brillo::FileStream
|
/external/libbrillo/brillo/http/ |
D | http_form_data_fuzzer.cc | 119 while (form_stream->GetRemainingSize() > 0) { in LLVMFuzzerTestOneInput()
|
D | http_connection_curl.cc | 103 data_size = request_data_stream_->GetRemainingSize(); in PrepareRequest()
|
D | http_transport_fake.cc | 161 data_.reserve(stream->GetRemainingSize()); in SetData()
|