/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
ChannelsTest.java | 96 String writebuf = ""; //$NON-NLS-1$ local 98 writebuf = writebuf + ((char) (val + 64)); 100 this.fouts.write(writebuf.getBytes()); 185 ByteBuffer writebuf = ByteBuffer.allocate(this.writebufSize); local 187 writebuf.putChar((char) (val + 64)); 192 writeres = rbChannel.write(writebuf); 195 writebuf.flip(); 196 writeres = rbChannel.write(writebuf); 205 ByteBuffer writebuf = null local 227 ByteBuffer writebuf = ByteBuffer.allocateDirect(this.writebufSize); local 503 String writebuf = ""; \/\/$NON-NLS-1\$ local 532 String writebuf = ""; \/\/$NON-NLS-1\$ local 555 String writebuf = ""; \/\/$NON-NLS-1\$ local [all...] |
/external/quake/quake/src/WinQuake/ |
snd_sun.cpp | 184 static unsigned char writebuf[1024]; local 199 if (bytes > sizeof(writebuf)) { 200 bytes = sizeof(writebuf); 204 p = writebuf; 214 if (write(audio_fd, writebuf, bytes) < bytes)
|
/external/dropbear/ |
packet.c | 53 buffer * writebuf = NULL; local 59 writebuf = (buffer*)examine(&ses.writequeue); 61 len = writebuf->len - writebuf->pos; 64 written = write(ses.sock, buf_getptr(writebuf, len), len); 82 buf_free(writebuf); 83 writebuf = NULL; 86 buf_incrpos(writebuf, written); 408 /* encrypt the writepayload, putting into writebuf, ready for write_packet() 414 buffer * writebuf; /* the packet which will go on the wire * local [all...] |
channel.h | 72 circbuffer *writebuf; /* data from the wire, for local consumption */ member in struct:Channel 73 circbuffer *extrabuf; /* extended-data for the program - used like writebuf
|
common-channel.c | 153 newchan->writebuf = cbuf_new(RECV_MAXWINDOW); 226 writechannel(channel, channel->writefd, channel->writebuf); 251 if (channel->writefd >= 0 && cbuf_getused(channel->writebuf) > 0) { 267 TRACE(("writebuf size %d extrabuf size %d", 268 cbuf_getused(channel->writebuf), 425 dropbear_assert(channel->recvwindow <= cbuf_getavail(channel->writebuf)); 459 if ((channel->writefd >= 0 && cbuf_getused(channel->writebuf) > 0 ) 518 cbuf_free(channel->writebuf); 519 channel->writebuf = NULL; 658 common_recv_msg_channel_data(channel, channel->writefd, channel->writebuf); [all...] |
/frameworks/base/cmds/servicemanager/ |
binder.c | 312 } writebuf; local 320 writebuf.cmd = BC_TRANSACTION; 321 writebuf.txn.target = target; 322 writebuf.txn.code = code; 323 writebuf.txn.flags = 0; 324 writebuf.txn.data_size = msg->data - msg->data0; 325 writebuf.txn.offs_size = ((char*) msg->offs) - ((char*) msg->offs0); 326 writebuf.txn.data = msg->data0; 327 writebuf.txn.offs = msg->offs0; 329 bwr.write_size = sizeof(writebuf); [all...] |
/external/chromium/net/base/ |
nss_memio.c | 51 struct memio_buffer writebuf; member in struct:PRFilePrivate 193 memio_buffer_destroy(&secret->writebuf); 250 mb = &secret->writebuf; 366 memio_buffer_new(&secret->writebuf, bufsize); 415 struct memio_buffer* mb = &((PRFilePrivate *)secret)->writebuf; 426 struct memio_buffer* mb = &((PRFilePrivate *)secret)->writebuf;
|