/external/chromium_org/net/socket/ |
ssl_server_socket_unittest.cc | 130 int PropogateData(scoped_refptr<IOBuffer> read_buf, int read_buf_len) { 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->BytesRemaining(), read_callback.callback()) [all...] |
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();
|
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(),
|
/external/chromium_org/net/server/ |
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->DidRead(rv) [all...] |
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...] |
http_connection.h | 118 ReadIOBuffer* read_buf() const { return read_buf_.get(); } function in class:net::HttpConnection
|
/external/llvm/test/CodeGen/ARM/ |
2011-06-29-MergeGlobalsAlign.ll | 6 @read_buf = external global i32 (i8*, i32)*
|
/system/extras/tests/directiotest/ |
directiotest.c | 176 void *read_buf = NULL, *write_buf = NULL; local 212 read_buf = pagealign_alloc(test_size); 214 if (!read_buf || !write_buf) { 246 if (do_read(fd, read_buf, cur_blk * blk_size, test_size) != 252 if (memcmp(write_buf, read_buf, test_size)) { 258 dump_hex(read_buf, test_size); 267 if (read_buf) 268 pagealign_free(read_buf, test_size);
|
/external/chromium_org/mojo/embedder/ |
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/ |
http_basic_state.h | 50 scoped_refptr<GrowableIOBuffer> read_buf() const;
|
http_basic_state.cc | 42 scoped_refptr<GrowableIOBuffer> HttpBasicState::read_buf() const { function in class:net::HttpBasicState
|
/hardware/qcom/audio/legacy/alsa_sound/ |
AudioUsbALSA.cpp | 100 char *read_buf, *str_start, *channel_start, *ratesStr, *ratesStrForVal, local 120 read_buf = (char *)malloc(BUFFSIZE); 121 memset(read_buf, 0x0, BUFFSIZE); 122 err = read(fd, read_buf, BUFFSIZE); 123 str_start = strstr(read_buf, type); 127 free(read_buf); 135 free(read_buf); 142 free(read_buf); 157 free(read_buf); 165 free(read_buf); [all...] |
/hardware/invensense/60xx/mlsdk/platform/include/ |
i2c.h | 91 char *read_buf, unsigned int read_len )); 99 char *read_buf, unsigned int read_len );
|
/external/chromium_org/sandbox/linux/seccomp-bpf-helpers/ |
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/ |
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/ |
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));
|
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/remoting/protocol/ |
fake_authenticator.cc | 56 scoped_refptr<net::IOBuffer> read_buf = new net::IOBuffer(1); local 58 socket_->Read(read_buf.get(), 1,
|
/bionic/tests/ |
dlext_test.cpp | 376 char read_buf; local 403 read(parent_done_pipe[0], &read_buf, 1); 414 read(child_done_pipe[0], &read_buf, 1);
|
/external/chromium_org/jingle/glue/ |
fake_ssl_client_socket_unittest.cc | 164 scoped_refptr<net::IOBuffer> read_buf( 167 read_buf.get(), read_buf_len, test_completion_callback.callback());
|
/development/ndk/platforms/android-3/include/linux/mtd/ |
nand.h | 186 void (*read_buf)(struct mtd_info *mtd, uint8_t *buf, int len); member in struct:nand_chip
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/mtd/ |
nand.h | 186 void (*read_buf)(struct mtd_info *mtd, uint8_t *buf, int len); member in struct:nand_chip
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/mtd/ |
nand.h | 186 void (*read_buf)(struct mtd_info *mtd, uint8_t *buf, int len); member in struct:nand_chip
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/mtd/ |
nand.h | 186 void (*read_buf)(struct mtd_info *mtd, uint8_t *buf, int len); member in struct:nand_chip
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/mtd/ |
nand.h | 186 void (*read_buf)(struct mtd_info *mtd, uint8_t *buf, int len); member in struct:nand_chip
|