Searched refs:write (Results 151 - 175 of 204) sorted by relevance

123456789

/libcore/luni/src/main/java/libcore/net/
H A DUriCodec.java167 out.write((byte) ((d1 << 4) + d2));
172 out.write(replacement, 0, replacement.length);
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DAbstractSessionContext.java198 daos.write(data);
207 daos.write(data);
H A DHandshakeIODataStream.java29 * for handshake layer. It provides read and write operations
35 * data pipe: write operations plases the data into the pipe,
40 * and write operations consecuently. I.e. it first reads all
236 // position in the buffer available for write
238 // position in the buffer where the last write session has begun
244 // 1. there were not write operations yet
247 // just started to write after the reading
249 // error: attempt to write outbound data into the stream before
256 // set up the write positions
272 public void write(byt method in class:HandshakeIODataStream
339 public void write(byte[] vector) { method in class:HandshakeIODataStream
[all...]
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
H A DHttpURLConnectionTest.java97 socket.getOutputStream().write((
112 socket.getOutputStream().write((
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
H A DObjectInputStreamTest.java255 oos.write('T');
331 * writeObject which simply read and write the first field but not the
452 out.write(begStream, 0, begStream.length);
453 out.write(cName.length); // second byte for C class name length
454 out.write(cName, 0, cName.length); // C class name
466 out.write(midStream, 0, midStream.length);
467 out.write(aName.length); // second byte for A class name length
468 out.write(aName, 0, aName.length); // A class name
499 out.write(endStream, 0, endStream.length);
/libcore/luni/src/test/java/tests/api/java/lang/
H A DProcessManagerTest.java43 out.write(greeting.getBytes());
44 out.write('\n');
/libcore/support/src/test/java/tests/support/resource/
H A DSupport_Resources.java147 out.write(buffer, 0, c);
192 out.write(b);
/libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
H A DZipFileTest.java46 if (iRead > 0) bs.write(buf, 0, iRead);
144 out.write(buf, 0, result);
466 fos.write(rbuf, 0, rbuf.length);
/libcore/luni/src/main/java/libcore/io/
H A DForwardingOs.java134 public int write(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException { return os.write(fd, buffer); } method in class:ForwardingOs
135 public int write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoException { return os.write(fd, bytes, byteOffset, byteCount); } method in class:ForwardingOs
H A DOs.java128 public int write(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException; method in interface:Os
129 public int write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoException; method in interface:Os
H A DPosix.java178 public int write(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException { method in class:Posix
185 public int write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoException { method in class:Posix
/libcore/luni/src/test/java/libcore/java/io/
H A DOldBufferedInputStreamTest.java210 fos.write(fileString.getBytes());
H A DOldFileInputStreamTest.java199 fos.write(fileString.getBytes());
/libcore/luni/src/test/java/libcore/java/net/
H A DURLConnectionTest.java330 server.enqueue(new MockResponse().setBody("This response will fail to write"));
350 out.write(new byte[] {1, 2, 3});
365 out.write(new byte[] {1, 2, 3});
417 out.write('x');
423 out.write(buf, 0, Math.min(buf.length, n - i));
595 bytesOut.write(mockResponse.getBody());
596 bytesOut.write("\r\nYOU SHOULD NOT SEE THIS".getBytes());
1123 outputStream.write("ABCDEFGHIJKLMNOPQ".getBytes("US-ASCII"));
1157 outputStream.write(requestBody);
1297 outputStream.write(requestBod
[all...]
H A DOldURLClassLoaderTest.java100 out.write(resValues[0].getBytes());
109 out.write(resValues[1].getBytes());
/libcore/luni/src/test/java/libcore/java/util/zip/
H A DOldAndroidZipFileTest.java90 out.write(input, 0, input.length);
H A DOldZipInputStreamTest.java48 zos.write(dataBytes);
/libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/
H A DCertPinManagerTest.java42 fstream.write(text);
89 // write a pinfile with two entries, one longer than the other
141 // write a pinfile with two entries, one longer than the other
153 // write a pinfile with two entries, one longer than the other
165 // write a pinfile with two entries, one longer than the other
/libcore/support/src/test/java/tests/support/
H A DSupport_Exec.java146 writer.write(c);
/libcore/luni/src/main/java/java/util/jar/
H A DJarVerifier.java97 public void write(int value) { method in class:JarVerifier.VerifierEntry
105 public void write(byte[] buf, int off, int nbytes) { method in class:JarVerifier.VerifierEntry
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DCipherTest.java350 baos.write(output);
357 baos.write(output);
408 baos.write(output);
414 baos.write(output);
471 out.write(buff, 0, readlen);
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
H A DHttpsURLConnectionTest.java615 out.write(buf, 0, read);
975 os.write(respAuthenticationRequired.getBytes());
1000 os.write(proxyResponse.getBytes());
1037 os.write(("HTTP/1.1 " + responseCode
1085 connection.getOutputStream().write(clientsData.getBytes());
/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DSSLSocketTest.java167 server.getOutputStream().write(serverToClient);
168 client.getOutputStream().write(clientToServer);
945 output.write(-1);
950 output.write(null, -1, -1);
985 wrapping.getOutputStream().write(42);
1056 // RI does not support write timeout on sockets
1089 client.getOutputStream().write(new byte[sendBufferSize + 1]);
/libcore/luni/src/main/java/java/nio/
H A DDatagramChannelImpl.java350 @Override public int write(ByteBuffer src) throws IOException { method in class:DatagramChannelImpl
365 * @see java.nio.channels.DatagramChannel#write(java.nio.ByteBuffer[], int,
369 public long write(ByteBuffer[] sources, int offset, int length) throws IOException { method in class:DatagramChannelImpl
437 * Status check, must be open and connected, for read and write.
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
H A DHandshakeCompletedEventTest.java441 ostream.write(i);
504 ostream.write(i);

Completed in 877 milliseconds

123456789