/external/chromium_org/net/dns/ |
D | dns_query.cc | 26 io_buffer_ = new IOBufferWithSize(sizeof(dns_protocol::Header) + in DnsQuery() 29 reinterpret_cast<dns_protocol::Header*>(io_buffer_->data()); in DnsQuery() 52 reinterpret_cast<const dns_protocol::Header*>(io_buffer_->data()); in id() 57 return base::StringPiece(io_buffer_->data() + sizeof(dns_protocol::Header), in qname() 64 io_buffer_->data() + sizeof(dns_protocol::Header) + qname_size_, &type); in qtype() 69 return base::StringPiece(io_buffer_->data() + sizeof(dns_protocol::Header), in question() 75 io_buffer_ = new IOBufferWithSize(orig.io_buffer()->size()); in DnsQuery() 76 memcpy(io_buffer_.get()->data(), orig.io_buffer()->data(), in DnsQuery() 77 io_buffer_.get()->size()); in DnsQuery() 79 reinterpret_cast<dns_protocol::Header*>(io_buffer_->data()); in DnsQuery() [all …]
|
D | dns_response.cc | 145 : io_buffer_(new IOBufferWithSize(dns_protocol::kMaxUDPSize + 1)) { in DnsResponse() 149 : io_buffer_(new IOBufferWithSize(length)) { in DnsResponse() 155 : io_buffer_(new IOBufferWithSize(length)), in DnsResponse() 156 parser_(io_buffer_->data(), length, answer_offset) { in DnsResponse() 158 memcpy(io_buffer_->data(), data, length); in DnsResponse() 167 if (nbytes < query.io_buffer()->size() || nbytes >= io_buffer_->size()) in InitParse() 181 if (question != base::StringPiece(io_buffer_->data() + hdr_size, in InitParse() 187 parser_ = DnsRecordParser(io_buffer_->data(), in InitParse() 198 if (nbytes < static_cast<int>(hdr_size) || nbytes >= io_buffer_->size()) in InitParseWithoutQuery() 202 io_buffer_->data(), nbytes, hdr_size); in InitParseWithoutQuery() [all …]
|
D | dns_query.h | 39 IOBufferWithSize* io_buffer() const { return io_buffer_.get(); } in io_buffer() 51 scoped_refptr<IOBufferWithSize> io_buffer_; variable
|
D | dns_response.h | 115 IOBufferWithSize* io_buffer() { return io_buffer_.get(); } in io_buffer() 158 scoped_refptr<IOBufferWithSize> io_buffer_; variable
|
/external/chromium_org/media/cdm/ppapi/ |
D | cdm_file_io_impl.cc | 127 PP_DCHECK(io_buffer_.empty()); in Read() 130 io_buffer_.resize(kReadSize); in Read() 160 PP_DCHECK(io_buffer_.empty()); in Write() 162 io_buffer_.assign(data, data + data_size); in Write() 294 PP_DCHECK(!io_buffer_.empty()); in ReadFile() 299 file_io_.Read(io_offset_, &io_buffer_[0], io_buffer_.size(), cb), in ReadFile() 315 PP_DCHECK(static_cast<size_t>(bytes_read) <= io_buffer_.size()); in OnFileRead() 318 io_buffer_.begin(), in OnFileRead() 319 io_buffer_.begin() + bytes_read); in OnFileRead() 329 io_buffer_.clear(); in OnFileRead() [all …]
|
D | cdm_file_io_impl.h | 151 std::vector<char> io_buffer_; variable
|
/external/chromium_org/chromeos/dbus/ |
D | pipe_reader.cc | 18 : io_buffer_(new net::IOBufferWithSize(4096)), in PipeReader() 41 io_buffer_.get(), io_buffer_->size(), in StartIO() 57 AcceptData(io_buffer_->data(), byte_count); in OnDataReady() 61 io_buffer_.get(), io_buffer_->size(), in OnDataReady()
|
D | pipe_reader.h | 60 scoped_refptr<net::IOBufferWithSize> io_buffer_; variable
|
/external/chromium_org/chrome/browser/chromeos/file_system_provider/operations/ |
D | read_file_unittest.cc | 110 io_buffer_ = make_scoped_refptr(new net::IOBuffer(kOffset + kLength)); in SetUp() 114 scoped_refptr<net::IOBuffer> io_buffer_; member in chromeos::file_system_provider::operations::FileSystemProviderOperationsReadFileTest 125 io_buffer_.get(), in TEST_F() 175 io_buffer_.get(), in TEST_F() 197 io_buffer_.get(), in TEST_F() 229 EXPECT_EQ(data, std::string(io_buffer_->data(), kLength)); in TEST_F() 244 io_buffer_.get(), in TEST_F()
|
/external/chromium_org/content/browser/fileapi/ |
D | mock_url_request_delegate.cc | 18 : io_buffer_(new net::IOBuffer(kBufferSize)) { in MockURLRequestDelegate() 48 if (!request->Read(io_buffer_.get(), kBufferSize, &bytes_read)) { in ReadSome() 60 response_data_.append(io_buffer_->data(), in ReceiveData()
|
D | mock_url_request_delegate.h | 32 scoped_refptr<net::IOBuffer> io_buffer_; variable
|
/external/chromium_org/google_apis/gcm/base/ |
D | socket_stream.cc | 24 io_buffer_(new net::IOBuffer(kDefaultBufferSize)), in SocketInputStream() 25 read_buffer_(new net::DrainableIOBuffer(io_buffer_.get(), in SocketInputStream() 50 *data = io_buffer_->data() + next_pos_; in Next() 131 if (unread_data_ptr != io_buffer_->data()) { in RebuildBuffer() 135 std::memmove(io_buffer_->data(), unread_data_ptr, unread_data_size); in RebuildBuffer() 210 io_buffer_(new net::IOBuffer(kDefaultBufferSize)), in SocketOutputStream() 211 write_buffer_(new net::DrainableIOBuffer(io_buffer_.get(), in SocketOutputStream()
|
D | socket_stream.h | 111 const scoped_refptr<net::IOBuffer> io_buffer_; variable 184 const scoped_refptr<net::IOBuffer> io_buffer_; variable
|
/external/chromium_org/webkit/browser/fileapi/ |
D | file_writer_delegate.cc | 32 io_buffer_(new net::IOBufferWithSize(kReadBufSize)), in FileWriterDelegate() 113 if (request_->Read(io_buffer_.get(), io_buffer_->size(), &bytes_read_)) { in Read() 131 cursor_ = new net::DrainableIOBuffer(io_buffer_.get(), bytes_read_); in OnDataReceived()
|
D | file_writer_delegate.h | 99 scoped_refptr<net::IOBufferWithSize> io_buffer_; variable
|
D | copy_or_move_operation_delegate.cc | 546 io_buffer_(new net::IOBufferWithSize(buffer_size)), in StreamCopyHelper() 572 io_buffer_.get(), io_buffer_->size(), in Read() 600 Write(callback, new net::DrainableIOBuffer(io_buffer_.get(), result)); in DidRead()
|
D | copy_or_move_operation_delegate.h | 83 scoped_refptr<net::IOBufferWithSize> io_buffer_; variable
|
/external/chromium_org/chrome/browser/local_discovery/ |
D | privet_traffic_detector.cc | 60 io_buffer_( in PrivetTrafficDetector() 153 const char* buffer_begin = io_buffer_->data(); in IsPrivetPacket() 181 io_buffer_, in DoLoop() 182 io_buffer_->size(), in DoLoop()
|
D | privet_traffic_detector.h | 60 scoped_refptr<net::IOBufferWithSize> io_buffer_;
|
/external/chromium_org/content/browser/service_worker/ |
D | service_worker_write_to_cache_job.cc | 121 io_buffer_ = NULL; in ReadRawData() 157 io_buffer_ = buf; in ReadNetData() 210 io_buffer_, amount_to_write, in WriteDataToCache() 217 io_buffer_ = NULL; in OnWriteDataComplete()
|
D | service_worker_write_to_cache_job.h | 98 scoped_refptr<net::IOBuffer> io_buffer_; variable
|
/external/chromium_org/extensions/browser/api/socket/ |
D | socket_api.cc | 402 : socket_id_(0), io_buffer_(NULL), io_buffer_size_(0) {} in SocketWriteFunction() 412 io_buffer_ = new net::WrappedIOBuffer(data->GetBuffer()); in Prepare() 425 socket->Write(io_buffer_, in AsyncWorkStart() 482 io_buffer_(NULL), in SocketSendToFunction() 497 io_buffer_ = new net::WrappedIOBuffer(data->GetBuffer()); in Prepare() 535 socket_->SendTo(io_buffer_, in StartSendTo()
|
D | socket_api.h | 300 scoped_refptr<net::IOBuffer> io_buffer_; variable 346 scoped_refptr<net::IOBuffer> io_buffer_; variable
|
/external/chromium_org/extensions/browser/api/sockets_tcp/ |
D | sockets_tcp_api.cc | 338 io_buffer_ = new net::WrappedIOBuffer(params_->data.data()); in Prepare() 350 socket->Write(io_buffer_, in AsyncWorkStart()
|
D | sockets_tcp_api.h | 189 scoped_refptr<net::IOBuffer> io_buffer_; variable
|