/external/chromium/net/base/ |
io_buffer.h | 20 class NET_EXPORT IOBuffer : public base::RefCountedThreadSafe<IOBuffer> { 22 IOBuffer(); 23 explicit IOBuffer(int buffer_size); 28 friend class base::RefCountedThreadSafe<IOBuffer>; 32 explicit IOBuffer(char* data); 34 virtual ~IOBuffer(); 42 // argument to IO functions. Please keep using IOBuffer* for API declarations. 43 class NET_EXPORT IOBufferWithSize : public IOBuffer { 55 // This is a read only IOBuffer. The data is stored in a string an [all...] |
io_buffer.cc | 11 IOBuffer::IOBuffer() 15 IOBuffer::IOBuffer(int buffer_size) { 20 IOBuffer::IOBuffer(char* data) 24 IOBuffer::~IOBuffer() { 30 : IOBuffer(size), 38 : IOBuffer(static_cast<char*>(NULL)) [all...] |
/external/chromium_org/net/base/ |
io_buffer.h | 23 // IMPORTANT: Never re-use an IOBuffer after cancelling the IO operation that 36 // Instead, think of the underlying |char*| buffer contained by the IOBuffer 39 // Whenever you call an asynchronous operation that takes an IOBuffer, 43 // ==> The IOBuffer's data should NOT be manipulated, destroyed, or read 47 // an IOBuffer is cancelled, the caller should release their 48 // reference to this IOBuffer at the time of cancellation since 52 // takes an IOBuffer, and then delete that class (which generally will 53 // trigger cancellation), the IOBuffer which had been passed to Read() should 56 // This usage contract is assumed by any API which takes an IOBuffer, even 71 // reference counting we can add a reference to the IOBuffer and make sur [all...] |
io_buffer.cc | 11 IOBuffer::IOBuffer() 15 IOBuffer::IOBuffer(int buffer_size) { 20 IOBuffer::IOBuffer(char* data) 24 IOBuffer::~IOBuffer() { 30 : IOBuffer(size), 35 : IOBuffer(data) [all...] |
upload_element_reader.h | 14 class IOBuffer; 52 virtual int Read(IOBuffer* buf,
|
/external/chromium/net/socket/ |
socket.h | 13 class IOBuffer; 31 virtual int Read(IOBuffer* buf, int buf_len, 46 virtual int Write(IOBuffer* buf, int buf_len,
|
/external/chromium/net/udp/ |
datagram_server_socket.h | 15 class IOBuffer; 39 virtual int RecvFrom(IOBuffer* buf, 53 virtual int SendTo(IOBuffer* buf,
|
udp_socket_libevent.h | 54 int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); 59 int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback); 74 int RecvFrom(IOBuffer* buf, 88 int SendTo(IOBuffer* buf, 148 int SendToOrWrite(IOBuffer* buf, 153 int InternalRecvFrom(IOBuffer* buf, int buf_len, IPEndPoint* address); 154 int InternalSendTo(IOBuffer* buf, int buf_len, const IPEndPoint* address); 172 scoped_refptr<IOBuffer> read_buf_; 177 scoped_refptr<IOBuffer> write_buf_;
|
udp_socket_win.h | 56 int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); 61 int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback); 76 int RecvFrom(IOBuffer* buf, 90 int SendTo(IOBuffer* buf, 136 int SendToOrWrite(IOBuffer* buf, 141 int InternalRecvFrom(IOBuffer* buf, int buf_len, IPEndPoint* address); 142 int InternalSendTo(IOBuffer* buf, int buf_len, const IPEndPoint* address); 164 scoped_refptr<IOBuffer> read_iobuffer_; 170 scoped_refptr<IOBuffer> write_iobuffer_;
|
/external/chromium_org/net/socket/ |
socket.h | 13 class IOBuffer; 31 virtual int Read(IOBuffer* buf, int buf_len, 46 virtual int Write(IOBuffer* buf, int buf_len,
|
/external/chromium_org/remoting/base/ |
socket_reader.h | 13 class IOBuffer; 27 typedef base::Callback<void(scoped_refptr<net::IOBuffer> data, 42 void CallCallback(scoped_refptr<net::IOBuffer> data, int result); 46 scoped_refptr<net::IOBuffer> read_buffer_;
|
compound_buffer.h | 6 // each stored in a refcounted IOBuffer. It is needed for encoding/decoding 28 class IOBuffer; 44 void Append(net::IOBuffer* buffer, int size); 45 void Append(net::IOBuffer* buffer, const char* start, int size); 47 void Prepend(net::IOBuffer* buffer, int size); 48 void Prepend(net::IOBuffer* buffer, const char* start, int size); 51 // Same as above, but creates new IOBuffer and copies the data. 64 // object holds reference to the IOBuffer objects). 85 DataChunk(net::IOBuffer* buffer, const char* start, int size); 88 scoped_refptr<net::IOBuffer> buffer [all...] |
/external/chromium_org/android_webview/browser/ |
input_stream.h | 11 class IOBuffer; 43 virtual bool Read(net::IOBuffer* dest, int length, int* bytes_read) = 0;
|
/external/chromium/net/websockets/ |
websocket_frame_handler.h | 17 class IOBuffer; 38 // Updates current IOBuffer. 45 // Gets current IOBuffer. 49 IOBuffer* GetCurrentBuffer() { return current_buffer_.get(); } 52 // Returns original buffer size of current IOBuffer. 57 // Releases current IOBuffer. 69 scoped_refptr<IOBuffer> current_buffer_;
|
/external/chromium_org/net/udp/ |
datagram_server_socket.h | 15 class IOBuffer; 39 virtual int RecvFrom(IOBuffer* buf, 53 virtual int SendTo(IOBuffer* buf,
|
/external/chromium_org/net/disk_cache/flash/ |
storage_unittest.cc | 28 scoped_refptr<net::IOBuffer> write_buffer(new net::IOBuffer(size)); 29 scoped_refptr<net::IOBuffer> read_buffer(new net::IOBuffer(size));
|
internal_entry.h | 18 class IOBuffer; 44 int ReadData(int index, int offset, net::IOBuffer* buf, int buf_len, 46 int WriteData(int index, int offset, net::IOBuffer* buf, int buf_len,
|
log_store_entry.h | 16 class IOBuffer; 36 int ReadData(int index, int offset, net::IOBuffer* buf, int buf_len); 37 int WriteData(int index, int offset, net::IOBuffer* buf, int buf_len);
|
/external/chromium_org/net/http/ |
http_stream.h | 22 class IOBuffer;
|
/external/chromium/chrome/browser/download/ |
download_types.h | 17 class IOBuffer; 31 typedef std::pair<net::IOBuffer*, int> Contents;
|
/external/chromium_org/android_webview/browser/net/ |
input_stream_reader.h | 12 class IOBuffer; 42 virtual int ReadRawData(net::IOBuffer* buffer, int buffer_size);
|
/external/chromium_org/webkit/browser/appcache/ |
appcache_executable_handler.h | 14 class IOBuffer; 46 const GURL& handler_url, net::IOBuffer* handler_source) = 0;
|
/external/chromium_org/webkit/browser/fileapi/ |
file_stream_writer.h | 18 class IOBuffer; 54 virtual int Write(net::IOBuffer* buf, int buf_len,
|
/external/chromium_org/content/browser/loader/ |
certificate_resource_handler.h | 20 class IOBuffer; 59 scoped_refptr<net::IOBuffer>* buf, 78 typedef std::vector<std::pair<scoped_refptr<net::IOBuffer>, 86 scoped_refptr<net::IOBuffer> read_buffer_; 87 scoped_refptr<net::IOBuffer> resource_buffer_; // Downloaded certificate.
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
test_util.h | 20 class IOBuffer; 57 scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(kBufferSize));
|