Searched refs:write (Results 176 - 200 of 298) sorted by relevance

1234567891011>>

/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DClientKeyExchange.java132 out.write(exchange_keys);
/dalvik/libcore/xml/src/test/java/tests/xml/
H A DDeclarationTest.java65 out.write(contents.getBytes("UTF-8"));
/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
H A DDalvikExecTest.java153 jarOut.write("This Resource contains some text.".getBytes());
226 jarOut.write("This Resource contains some text.".getBytes());
284 out.write(buffer, 0, count);
/dalvik/libcore/support/src/test/java/tests/support/resource/
H A DSupport_Resources.java122 out.write(buf, 0, result);
165 * Util method to write resource files directly to an OutputStream.
168 * @param out - OutputStream to write to.
179 out.write(buffer, 0, count);
185 throw new RuntimeException("Failed to write to passed stream.", e);
217 out.write(b);
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
H A DPrintStreamTest.java81 tobj.write(1);
109 tobj.write(1);
147 tobj.write(1);
177 tobj.write(1);
296 public void write(int b) throws IOException {
300 public void write(byte[] b, int o, int l) throws IOException {
803 * @tests java.io.PrintStream#write(byte[], int, int)
808 method = "write",
812 // Test for method void java.io.PrintStream.write(byte [], int, int)
814 os.write(fileStrin
[all...]
H A DFileDescriptorTest.java75 fos.write("Test String".getBytes());
/dalvik/libcore/luni/src/main/java/java/util/
H A DProperties.java194 * the {@code PrintStream} to write the content to in human readable
230 * the {@code PrintWriter} to write the content to in human
489 * @param out the {@code OutputStream} to write to.
527 * @param out the {@code OutputStream} to write to.
529 * @throws IOException if an error occurs during the write to the {@code
544 writer.write("#"); //$NON-NLS-1$
545 writer.write(comment);
546 writer.write(lineSeparator);
548 writer.write("#"); //$NON-NLS-1$
549 writer.write(ne
[all...]
/dalvik/libcore/luni/src/main/java/java/io/
H A DObjectOutputStream.java39 * A specialized {@link OutputStream} that is able to write (serialize) Java
62 * Where we write to
72 * Where we write primitive types to
77 * Where the write primitive types are actually written to
248 public abstract void write(ObjectOutput out) throws IOException; method in class:ObjectOutputStream.PutField
326 // So write...() methods can be used by
366 * Do the necessary work to see if the receiver can be used to write
405 * Default method to write objects to this stream. Serializable fields
450 // write primitive types we had and the marker of end-of-buffer
451 output.write(writte
743 public void write(byte[] buffer) throws IOException { method in class:ObjectOutputStream
764 public void write(byte[] buffer, int offset, int length) throws IOException { method in class:ObjectOutputStream
780 public void write(int value) throws IOException { method in class:ObjectOutputStream
[all...]
H A DEmulatedFieldsForDumping.java195 public void write(ObjectOutput output) throws IOException { method in class:EmulatedFieldsForDumping
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/
H A DFileChannelImpl.java425 return write(buffer, position);
462 return target.write(buffer);
510 * @see java.nio.channels.WritableByteChannel#write(java.nio.ByteBuffer)
513 public int write(ByteBuffer buffer, long position) throws IOException { method in class:FileChannelImpl
537 public int write(ByteBuffer buffer) throws IOException { method in class:FileChannelImpl
560 bytesWritten = (int) fileSystem.write(handle, buffer
575 public long write(ByteBuffer[] buffers, int offset, int length) method in class:FileChannelImpl
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
H A DSourceChannelTest.java99 sink.write(ByteBuffer.allocate(1));
134 sink.write(buffer);
224 long writeCount = sink.write(bufArray);
307 sink.write(buffer);
392 sink.write(bufArray);
515 sink.write(buffer);
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/
H A DSHAOutputStream.java83 // Optimization, for write
99 * returned by getHash() if write() is never called.
420 * number of bytes in buffer to write
423 public void write(byte[] buffer, int off, int len) { method in class:SHAOutputStream
458 public void write(int b) { method in class:SHAOutputStream
461 write(oneByte, 0, 1);
/dalvik/dx/src/com/android/dx/dex/code/form/
H A DForm21c.java129 write(out,
H A DForm21h.java118 write(out, opcodeUnit(insn, regs.get(0).getReg()), bits);
/dalvik/libcore/archive/src/main/java/java/util/jar/
H A DJarInputStream.java176 verStream.write(buffer, offset, r);
H A DJarFile.java86 entry.write(r);
115 entry.write(buf, off, size);
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/
H A DOSFileSystem.java100 * Direct read/write APIs work on addresses.
124 public long write(int fileDescriptor, byte[] bytes, int offset, int length) method in class:OSFileSystem
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/
H A DBERInputStream.java57 bOut.write(b1);
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
H A DJCERSACipher.java387 bOut.write(input, inputOffset, inputLen);
414 bOut.write(input, inputOffset, inputLen);
442 bOut.write(input, inputOffset, inputLen);
484 bOut.write(input, inputOffset, inputLen);
/dalvik/libcore/support/src/test/java/tests/support/
H A DSupport_GetPutFieldsDeprecated.java29 * {@code ObjectOutputStream.PutField.write(ObjectOutput)} to write the fields
132 putField.write(oos);
H A DSupport_TestWebData.java113 out.write(in.read());
H A DSupport_TestWebServer.java641 ps.write(buf, 0, 5);
642 ps.write(EOL);
680 // Post method write body data
732 ps.write(bytes, offset, count);
738 ps.write(EOL);
856 * @param ps The PrintStream to write to
865 * @param ps The PrintStream to write to
/dalvik/vm/jdwp/
H A DJdwpAdb.c346 (void) write(netState->wakeFds[1], "", 1);
464 * TODO: we currently assume the write() will complete in one
468 cc = write(netState->clientSock, expandBufGetBuffer(pReply),
557 * EINTR, (2) open an additional fd ("wakePipe") and write to
637 cc = write(netState->clientSock, netState->inputBuffer,
664 * The entire packet must be sent with a single write() call to avoid
681 * TODO: we currently assume the write() will complete in one
686 cc = write(netState->clientSock, expandBufGetBuffer(pReq),
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
H A DSocketTest.java637 os.write(1);
643 o.write(1);
655 o.write(1);
1168 theOutput.write(sendString.getBytes());
1215 theOutput.write(sendString.getBytes());
1791 // now validate that connected socket can be used to read/write
1803 theOutput.write(sendString.getBytes());
1822 theOutput2.write(sendString.getBytes());
2103 // now validate that connected socket can be used to read/write
2117 theOutput.write(sendStrin
[all...]
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
H A DHttpURLConnectionTest.java104 socket.getOutputStream().write((
119 socket.getOutputStream().write((

Completed in 477 milliseconds

1234567891011>>