/external/chromium_org/net/socket/ |
H A D | ssl_server_socket_unittest.cc | 130 int PropogateData(scoped_refptr<IOBuffer> read_buf, int read_buf_len) { argument 133 memcpy(read_buf->data(), buf->data(), copied); 274 scoped_refptr<IOBuffer> read_buf = new IOBuffer(kReadBufSize); local 282 int read = client.Read(read_buf.get(), kReadBufSize, CompletionCallback()); 285 EXPECT_EQ(0, memcmp(kTestData, read_buf->data(), read)); 290 server.Read(read_buf.get(), kReadBufSize, callback.callback())); 299 EXPECT_EQ(0, memcmp(kTestData, read_buf->data(), read)); 426 scoped_refptr<DrainableIOBuffer> read_buf = local 436 read_buf.get(), read_buf [all...] |
H A D | unix_domain_client_socket_posix_unittest.cc | 57 scoped_refptr<DrainableIOBuffer> read_buf( 63 retry_count > 0 && (read_buf->BytesConsumed() < min_data_len || 68 read_buf.get(), read_buf->BytesRemaining(), read_callback.callback()); 69 EXPECT_GE(read_buf->BytesRemaining(), rv); 75 DCHECK_EQ(0, read_buf->BytesConsumed()); 83 read_buf->DidConsume(rv); 85 EXPECT_LE(0, read_buf->BytesRemaining()); 86 return read_buf->BytesConsumed();
|
H A D | deterministic_socket_data_unittest.cc | 172 scoped_refptr<IOBuffer> read_buf(new IOBuffer(len)); 175 read_buf.get(), 335 scoped_refptr<IOBuffer> read_buf(new IOBuffer(kLen1)); 338 read_buf.get(),
|
H A D | ssl_client_socket_unittest.cc | 1667 scoped_refptr<IOBuffer> read_buf(new IOBuffer(4096)); 1668 rv = raw_sock->Read(read_buf.get(), 4096, read_callback.callback());
|
/external/chromium_org/net/server/ |
H A D | http_server.cc | 121 connection->read_buf()->set_max_buffer_size(size); 165 HttpConnection::ReadIOBuffer* read_buf = connection->read_buf(); local 167 if (read_buf->RemainingCapacity() == 0 && !read_buf->IncreaseCapacity()) { 173 read_buf, 174 read_buf->RemainingCapacity(), 198 HttpConnection::ReadIOBuffer* read_buf = connection->read_buf(); local 199 read_buf [all...] |
H A D | web_socket.cc | 51 if (connection->read_buf()->GetSize() < 91 HttpConnection::ReadIOBuffer* read_buf = connection_->read_buf(); variable 92 if (read_buf->StartOfBuffer()[0]) 95 base::StringPiece data(read_buf->StartOfBuffer(), read_buf->GetSize()); 101 read_buf->DidConsume(pos + 1); 143 key3_.assign(connection->read_buf()->StartOfBuffer() + *pos, 221 HttpConnection::ReadIOBuffer* read_buf = connection_->read_buf(); variable [all...] |
H A D | http_connection.h | 118 ReadIOBuffer* read_buf() const { return read_buf_.get(); } function in class:net::HttpConnection
|
/external/chromium_org/mojo/embedder/ |
H A D | platform_channel_pair_posix_unittest.cc | 181 char read_buf[100]; local 182 size_t bytes_read = fread(read_buf, 1, sizeof(read_buf), fp.get()); 184 EXPECT_EQ(std::string(j + 1, '0' + i), std::string(read_buf, bytes_read)); 246 char read_buf[100]; local 247 size_t bytes_read = fread(read_buf, 1, sizeof(read_buf), fp.get()); 249 EXPECT_EQ(file_contents, std::string(read_buf, bytes_read));
|
/external/chromium_org/net/http/ |
H A D | http_basic_state.h | 50 scoped_refptr<GrowableIOBuffer> read_buf() const;
|
H A D | http_basic_state.cc | 42 scoped_refptr<GrowableIOBuffer> HttpBasicState::read_buf() const { function in class:net::HttpBasicState
|
/external/chromium_org/remoting/protocol/ |
H A D | fake_authenticator.cc | 56 scoped_refptr<net::IOBuffer> read_buf = new net::IOBuffer(1); local 58 socket_->Read(read_buf.get(), 1,
|
/external/chromium_org/sandbox/linux/seccomp-bpf-helpers/ |
H A D | baseline_policy_unittest.cc | 79 char read_buf[kTestTransferSize + 1] = {0}; local 80 transfered = HANDLE_EINTR(read(read_end.get(), read_buf, sizeof(read_buf))); 82 BPF_ASSERT_EQ(0, memcmp(kTestString, read_buf, kTestTransferSize));
|
/external/chromium_org/content/browser/appcache/ |
H A D | appcache_disk_cache_unittest.cc | 158 scoped_refptr<net::IOBuffer> read_buf = new net::IOBuffer(kDataLen); local 159 entry1->Read(0, 0, read_buf.get(), kDataLen, completion_callback_); 177 entry1->Read(0, 0, read_buf.get(), kDataLen, completion_callback_));
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
H A D | mem_fs_node_test.cc | 329 char read_buf[10]; local 345 ASSERT_EQ(EACCES, handle.Read(read_buf, 10, &byte_count)); 356 ASSERT_EQ(0, handle.Read(read_buf, sizeof(read_buf), &byte_count)); 357 ASSERT_EQ(byte_count, sizeof(read_buf));
|
H A D | filesystem_test.cc | 190 char read_buf[10]; local 192 ASSERT_EQ(0, file->Read(attrs, read_buf, sizeof(read_buf), &result_bytes));
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
H A D | fuse.h | 249 int (*read_buf)(const char*, member in struct:fuse_operations
|
/external/chromium_org/jingle/glue/ |
H A D | fake_ssl_client_socket_unittest.cc | 164 scoped_refptr<net::IOBuffer> read_buf( 167 read_buf.get(), read_buf_len, test_completion_callback.callback());
|
/external/valgrind/main/coregrind/ |
H A D | vgdb.c | 364 int read_buf (int fd, char* buf, const char* desc) function 435 nrread = read_buf(from_gdb, buf, "from gdb on stdin"); 459 nrread = read_buf(from_pid, buf, "from pid"); 569 bufcnt = read_buf (fd, buf, "static buf readchar");
|
/external/chromium_org/net/spdy/ |
H A D | spdy_proxy_client_socket_unittest.cc | 1231 scoped_refptr<IOBuffer> read_buf(new IOBuffer(kLen1)); 1233 sock_->Read(read_buf.get(), kLen1, read_callback_.callback())); 1364 scoped_refptr<IOBuffer> read_buf(new IOBuffer(kLen1)); 1366 sock_->Read(read_buf.get(), kLen1, read_callback.callback()));
|
/external/chromium_org/net/websockets/ |
H A D | websocket_basic_handshake_stream.cc | 509 state_.read_buf(),
|
/external/chromium_org/third_party/zlib/ |
H A D | deflate.c | 88 local int read_buf OF((z_streamp strm, Bytef *buf, unsigned size)); 566 * (See also read_buf()). 1016 local int read_buf(strm, buf, size) function 1538 n = read_buf(s->strm, s->window + s->strstart + s->lookahead, more);
|
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/ |
H A D | fx_zlib_deflate.c | 87 local int read_buf OF((z_streamp strm, Bytef *buf, unsigned size)); 343 s->wrap = 0; /* avoid computing Adler-32 in read_buf */ 639 * (See also read_buf()). 1075 local int read_buf( function 1466 n = read_buf(s->strm, s->window + s->strstart + s->lookahead, more);
|
/external/qemu/distrib/zlib-1.2.8/ |
H A D | deflate.c | 87 local int read_buf OF((z_streamp strm, Bytef *buf, unsigned size)); 344 s->wrap = 0; /* avoid computing Adler-32 in read_buf */ 640 * (See also read_buf()). 1076 local int read_buf(strm, buf, size) function 1467 n = read_buf(s->strm, s->window + s->strstart + s->lookahead, more);
|
/external/zlib/src/ |
H A D | deflate.c | 87 local int read_buf OF((z_streamp strm, Bytef *buf, unsigned size)); 344 s->wrap = 0; /* avoid computing Adler-32 in read_buf */ 640 * (See also read_buf()). 1076 local int read_buf(strm, buf, size) function 1467 n = read_buf(s->strm, s->window + s->strstart + s->lookahead, more);
|
/external/opencv/cxcore/src/ |
H A D | cxpersistence.cpp | 4632 char* read_buf = 0; local 4729 CV_CALL( read_buf = (char*)cvAlloc( read_buf_size )); 4748 char* dst_ptr = read_buf; 4758 cvReadRawDataSlice( fs, &reader, count, read_buf, dt ); 4760 dst_ptr = read_buf; 4807 cvFree( &read_buf );
|