Home
last modified time | relevance | path

Searched refs:write_buf (Results 1 – 11 of 11) sorted by relevance

/external/chromium/net/socket/
Dssl_server_socket_unittest.cc194 scoped_refptr<net::IOBuffer> write_buf = new net::StringIOBuffer(kTestData); in TEST() local
198 EXPECT_EQ(kTestDataSize, server.Write(write_buf, kTestDataSize, NULL)); in TEST()
206 EXPECT_EQ(kTestDataSize, client.Write(write_buf, kTestDataSize, NULL)); in TEST()
330 scoped_refptr<net::StringIOBuffer> write_buf = in TEST_F() local
337 server_ret = server_socket_->Write(write_buf, write_buf->size(), in TEST_F()
349 EXPECT_EQ(0, memcmp(write_buf->data(), read_buf->data(), write_buf->size())); in TEST_F()
352 write_buf = new net::StringIOBuffer("hello123"); in TEST_F()
355 client_ret = client_socket_->Write(write_buf, write_buf->size(), in TEST_F()
365 EXPECT_EQ(0, memcmp(write_buf->data(), read_buf->data(), write_buf->size())); in TEST_F()
/external/bluetooth/glib/glib/
Dgiochannel.c98 channel->write_buf = NULL; in g_io_channel_init()
152 if (channel->write_buf) in g_io_channel_unref()
153 g_string_free (channel->write_buf, TRUE); in g_io_channel_unref()
395 if (channel->write_buf && channel->write_buf->len > 0) in g_io_channel_shutdown()
412 g_string_truncate(channel->write_buf, 0); in g_io_channel_shutdown()
454 if (channel->write_buf && channel->write_buf->len > 0) in g_io_channel_purge()
476 if (channel->write_buf) in g_io_channel_purge()
477 g_string_truncate (channel->write_buf, 0); in g_io_channel_purge()
609 if (channel->write_buf && (channel->write_buf->len < channel->buf_size)) in g_io_channel_get_buffer_condition()
1020 if (channel->write_buf == NULL || channel->write_buf->len == 0) in g_io_channel_flush()
[all …]
Dgiochannel.h123 GString *write_buf; /* Data ready to be written to the file */ member
/external/e2fsprogs/lib/ext2fs/
Dext_attr.c79 char *write_buf; in ext2fs_write_ext_attr() local
86 write_buf = buf; in ext2fs_write_ext_attr()
89 write_buf = (char *) inbuf; in ext2fs_write_ext_attr()
91 retval = io_channel_write_blk(fs->io, block, 1, write_buf); in ext2fs_write_ext_attr()
/external/libnfc-nxp/src/
DphFriNfc_TopazDynamicMap.c1286 uint8_t write_buf[] = {0x00}; in phFriNfc_Tpz_H_ProWrResp() local
1317 result = phFriNfc_Tpz_H_NxpWrite (psNdefMap, write_buf, in phFriNfc_Tpz_H_ProWrResp()
1318 sizeof (write_buf)); in phFriNfc_Tpz_H_ProWrResp()
1536 write_buf[write_index] = PH_FRINFC_TOPAZ_CC_BYTE0; in phFriNfc_Tpz_H_ProWrResp()
1547 result = phFriNfc_Tpz_H_NxpWrite(psNdefMap, write_buf, in phFriNfc_Tpz_H_ProWrResp()
1573 write_buf[write_index] = PH_FRINFC_TOPAZ_CC_BYTE0; in phFriNfc_Tpz_H_ProWrResp()
1581 result = phFriNfc_Tpz_H_NxpWrite(psNdefMap, write_buf, in phFriNfc_Tpz_H_ProWrResp()
1633 uint8_t write_buf[TOPAZ_WRITE_8_DATA_LENGTH]; in phFriNfc_Tpz_H_UpdateNdefTypeField() local
1637 (void)memcpy ((void *)write_buf, (void *) in phFriNfc_Tpz_H_UpdateNdefTypeField()
1641 write_buf[ps_tpz_info->ByteNumber] = PH_FRINFC_TOPAZ_NDEF_T; in phFriNfc_Tpz_H_UpdateNdefTypeField()
[all …]
/external/clang/test/CodeGen/
D2003-11-19-BitFieldArray.c4 int write_buf; member
/external/valgrind/main/coregrind/
Dvgdb.c1320 Bool write_buf(int fd, char* buf, int size, char* desc, Bool notify) in write_buf() function
1380 return write_buf(to_pid, buf, nrread, "to_pid", /* notify */ True); in read_from_gdb_write_to_pid()
1404 return write_buf(to_gdb, buf, nrread, "to_gdb", /* notify */ False); in read_from_pid_write_to_gdb()
1608 write_buf(sigusr1_fd, &control_c, 1, in received_signal()
1894 write_buf(to_pid, buf, 1, "write \\003 to wake up", /* notify */ True); in standalone_send_commands()
1917 write_buf(to_pid, hexcommand, strlen(hexcommand), in standalone_send_commands()
/external/kernel-headers/original/linux/mtd/
Dnand.h348 void (*write_buf)(struct mtd_info *mtd, const uint8_t *buf, int len); member
/external/kernel-headers/original/linux/
Dtty.h227 unsigned char *write_buf; member
/external/opencv/cxcore/src/
Dcxpersistence.cpp4489 char* write_buf = 0; in icvWriteGraph() local
4543 CV_CALL( write_buf = (char*)cvAlloc( write_buf_size )); in icvWriteGraph()
4555 char* src_ptr = write_buf; in icvWriteGraph()
4595 cvWriteRawData( fs, write_buf, write_count, dt ); in icvWriteGraph()
4597 src_ptr = write_buf; in icvWriteGraph()
4604 cvWriteRawData( fs, write_buf, write_count, dt ); in icvWriteGraph()
4623 cvFree( &write_buf ); in icvWriteGraph()
/external/bluetooth/glib/
DChangeLog.pre-2-2793 channel->write_buf. (#96373)