Searched refs:write_buf (Results 1 - 16 of 16) sorted by relevance

/external/clang/test/CodeGen/
H A D2003-11-19-BitFieldArray.c4 int write_buf; member in struct:_GIOChannel
/external/chromium_org/net/socket/
H A Dssl_server_socket_unittest.cc273 scoped_refptr<IOBuffer> write_buf = new StringIOBuffer(kTestData); local
278 server.Write(write_buf.get(), kTestDataSize, CompletionCallback());
292 written = client.Write(write_buf.get(), kTestDataSize, CompletionCallback());
424 scoped_refptr<StringIOBuffer> write_buf = local
433 write_buf.get(), write_buf->size(), write_callback.callback());
445 while (read_buf->BytesConsumed() < write_buf->size()) {
453 EXPECT_EQ(write_buf->size(), read_buf->BytesConsumed());
455 EXPECT_EQ(0, memcmp(write_buf->data(), read_buf->data(), write_buf
507 scoped_refptr<StringIOBuffer> write_buf = new StringIOBuffer("testing123"); local
[all...]
H A Dunix_domain_client_socket_posix_unittest.cc94 scoped_refptr<DrainableIOBuffer> write_buf(
99 retry_count > 0 && write_buf->BytesRemaining() > 0;
101 int rv = socket->Write(write_buf.get(),
102 write_buf->BytesRemaining(),
104 EXPECT_GE(write_buf->BytesRemaining(), rv);
110 write_buf->DidConsume(rv);
112 EXPECT_LE(0, write_buf->BytesRemaining());
113 return write_buf->BytesConsumed();
H A Ddeterministic_socket_data_unittest.cc184 scoped_refptr<IOBuffer> write_buf(new IOBuffer(len));
185 memcpy(write_buf->data(), data, len);
188 write_buf.get(),
479 scoped_refptr<IOBuffer> write_buf(new IOBuffer(kLen1));
480 memcpy(write_buf->data(), kMsg1, kLen1);
483 write_buf.get(),
/external/e2fsprogs/lib/ext2fs/
H A Dext_attr.c84 char *write_buf; local
91 write_buf = buf;
94 write_buf = (char *) inbuf;
96 retval = io_channel_write_blk64(fs->io, block, 1, write_buf);
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Dmem_fs_node_test.cc328 const char write_buf[] = "hello world"; local
336 ASSERT_EQ(0, handle.Write(write_buf, strlen(write_buf), &byte_count));
337 ASSERT_EQ(byte_count, strlen(write_buf));
346 ASSERT_EQ(0, handle.Write(write_buf, strlen(write_buf), &byte_count));
347 ASSERT_EQ(byte_count, strlen(write_buf));
355 ASSERT_EQ(EACCES, handle.Write(write_buf, strlen(write_buf), &byte_count));
/external/chromium_org/net/server/
H A Dhttp_server.cc65 bool writing_in_progress = !connection->write_buf()->IsEmpty();
66 if (connection->write_buf()->Append(data) && !writing_in_progress)
127 connection->write_buf()->set_max_buffer_size(size);
275 HttpConnection::QueuedWriteIOBuffer* write_buf = connection->write_buf(); local
276 while (rv == OK && write_buf->GetSizeToWrite() > 0) {
278 write_buf,
279 write_buf->GetSizeToWrite(),
303 connection->write_buf()->DidConsume(rv);
H A Dhttp_connection.h119 QueuedWriteIOBuffer* write_buf() const { return write_buf_.get(); } function in class:net::HttpConnection
/external/chromium_org/remoting/protocol/
H A Dfake_authenticator.cc43 scoped_refptr<net::IOBuffer> write_buf = new net::IOBuffer(1); local
44 write_buf->data()[0] = 0;
46 write_buf.get(), 1,
/external/libnfc-nxp/src/
H A DphFriNfc_TopazDynamicMap.c1289 uint8_t write_buf[] = {0x00}; local
1320 result = phFriNfc_Tpz_H_NxpWrite (psNdefMap, write_buf,
1321 sizeof (write_buf));
1539 write_buf[write_index] = PH_FRINFC_TOPAZ_CC_BYTE0;
1550 result = phFriNfc_Tpz_H_NxpWrite(psNdefMap, write_buf,
1576 write_buf[write_index] = PH_FRINFC_TOPAZ_CC_BYTE0;
1584 result = phFriNfc_Tpz_H_NxpWrite(psNdefMap, write_buf,
1636 uint8_t write_buf[TOPAZ_WRITE_8_DATA_LENGTH]; local
1640 (void)memcpy ((void *)write_buf, (void *)
1644 write_buf[ps_tpz_inf
3214 uint8_t write_buf[TOPAZ_WRITE_8_DATA_LENGTH]; local
3334 uint8_t write_buf[TOPAZ_WRITE_8_DATA_LENGTH]; local
3506 uint8_t write_buf[TOPAZ_WRITE_8_DATA_LENGTH]; local
3822 uint8_t write_buf[TOPAZ_WRITE_8_DATA_LENGTH]; local
[all...]
/external/chromium_org/content/browser/appcache/
H A Dappcache_disk_cache_unittest.cc153 scoped_refptr<net::IOBuffer> write_buf(new net::WrappedIOBuffer(kData));
154 entry1->Write(0, 0, write_buf.get(), kDataLen, completion_callback_);
160 entry2->Write(0, 0, write_buf.get(), kDataLen, completion_callback_);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dfuse.h244 int (*write_buf)(const char*, member in struct:fuse_operations
/external/valgrind/main/coregrind/
H A Dvgdb.c384 Bool write_buf(int fd, char* buf, int size, const char* desc, Bool notify) function
445 return write_buf(to_pid, buf, nrread, "to_pid", /* notify */ True);
469 return write_buf(to_gdb, buf, nrread, "to_gdb", /* notify */ False);
674 write_buf(sigusr1_fd, &control_c, 1,
961 write_buf(to_pid, buf, 1, "write \\003 to wake up", /* notify */ True);
985 write_buf(to_pid, hexcommand, strlen(hexcommand),
/external/chromium_org/jingle/glue/
H A Dfake_ssl_client_socket_unittest.cc170 scoped_refptr<net::IOBuffer> write_buf(
173 fake_ssl_client_socket.Write(write_buf.get(),
/external/chromium_org/net/spdy/
H A Dspdy_proxy_client_socket_unittest.cc1235 scoped_refptr<IOBufferWithSize> write_buf(CreateBuffer(kMsg1, kLen1));
1239 write_buf.get(), write_buf->size(), write_callback_.callback()));
1368 scoped_refptr<IOBufferWithSize> write_buf(CreateBuffer(kMsg1, kLen1));
1372 write_buf.get(), write_buf->size(), write_callback_.callback()));
/external/opencv/cxcore/src/
H A Dcxpersistence.cpp4489 char* write_buf = 0; local
4543 CV_CALL( write_buf = (char*)cvAlloc( write_buf_size ));
4555 char* src_ptr = write_buf;
4595 cvWriteRawData( fs, write_buf, write_count, dt );
4597 src_ptr = write_buf;
4604 cvWriteRawData( fs, write_buf, write_count, dt );
4623 cvFree( &write_buf );

Completed in 483 milliseconds