Searched refs:oneByte (Results 1 - 24 of 24) sorted by relevance

/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
H A DSHA1_MessageDigestImpl.java42 private byte[] oneByte; // one byte buffer needed to use in engineUpdate(byte) field in class:SHA1_MessageDigestImpl
56 oneByte = new byte[1];
147 cloneObj.oneByte = oneByte.clone();
261 oneByte[0] = input;
262 SHA1Impl.updateHash( buffer, oneByte, 0, 0 );
/libcore/luni/src/main/java/java/io/
H A DFilterOutputStream.java120 * integer {@code oneByte} is written.
122 * @param oneByte
128 public void write(int oneByte) throws IOException { argument
129 out.write(oneByte);
H A DPipedOutputStream.java152 * the integer {@code oneByte} is written. The written byte can then be read
159 * @param oneByte
171 public void write(int oneByte) throws IOException { argument
176 stream.receive(oneByte);
H A DDataOutput.java61 * @param oneByte
67 public abstract void write(int oneByte) throws IOException; argument
104 * bytes of the integer {@code oneByte} are written.
H A DOutputStream.java112 * the integer {@code oneByte} is written to the stream.
114 * @param oneByte
119 public abstract void write(int oneByte) throws IOException; argument
H A DBufferedOutputStream.java160 * {@code oneByte} is written. If there is room in the buffer, the byte is
162 * plus {@code oneByte} are written to the target stream, the target is
165 * @param oneByte
171 public synchronized void write(int oneByte) throws IOException { argument
177 buf[count++] = (byte) oneByte;
H A DByteArrayOutputStream.java207 * Writes the specified byte {@code oneByte} to the OutputStream. Only the
208 * low order byte of {@code oneByte} is written.
210 * @param oneByte
214 public synchronized void write(int oneByte) { argument
218 buf[count++] = (byte) oneByte;
H A DFileOutputStream.java191 public void write(int oneByte) throws IOException { argument
192 write(new byte[] { (byte) oneByte }, 0, 1);
H A DDataOutputStream.java104 * the integer {@code oneByte} is written.
106 * @param oneByte
113 public void write(int oneByte) throws IOException { argument
114 out.write(oneByte);
H A DPushbackInputStream.java297 * Pushes the specified byte {@code oneByte} back to this stream. Only the
298 * least significant byte of the integer {@code oneByte} is pushed back.
300 * {@code (byte) oneByte}.
305 * @param oneByte
311 public void unread(int oneByte) throws IOException { argument
318 buf[--pos] = (byte) oneByte;
H A DPipedInputStream.java363 * significant byte of the integer {@code oneByte} is stored at index
368 * @param oneByte
377 protected synchronized void receive(int oneByte) throws IOException { argument
405 buffer[in++] = (byte) oneByte;
H A DPrintStream.java583 * the integer {@code oneByte} is written. This stream is flushed if
584 * {@code oneByte} is equal to the character {@code '\n'} and this stream is
590 * @param oneByte
594 public synchronized void write(int oneByte) { argument
600 out.write(oneByte);
601 int b = oneByte & 0xFF;
H A DRandomAccessFile.java701 * the least significant byte of the integer {@code oneByte} is written.
703 * @param oneByte
709 public void write(int oneByte) throws IOException { argument
710 scratch[0] = (byte) (oneByte & 0xff);
/libcore/support/src/test/java/tests/support/
H A DSupport_ASimpleOutputStream.java78 public void write(int oneByte) throws IOException { argument
83 buf[pos] = (byte)(oneByte & 255);
H A DSupport_OutputStream.java81 public void write(int oneByte) throws IOException { argument
86 buffer[position] = (byte)(oneByte & 255);
/libcore/luni/src/test/java/libcore/java/io/
H A DOldOutputStreamTest.java36 public void write(int oneByte) throws IOException { argument
38 buffer[position] = (byte) (oneByte & 255);
/libcore/support/src/test/java/libcore/java/io/
H A DNullPrintStream.java61 public void write(int oneByte) {} argument
/libcore/luni/src/main/java/java/nio/channels/
H A DChannels.java256 public synchronized void write(int oneByte) throws IOException { argument
257 byte[] wrappedByte = { (byte) oneByte };
/libcore/luni/src/main/java/java/util/logging/
H A DFileHandler.java540 public void write(int oneByte) throws IOException { argument
541 wrapped.write(oneByte);
/libcore/luni/src/main/java/java/net/
H A DPlainSocketImpl.java264 @Override public void write(int oneByte) throws IOException { argument
265 Streams.writeSingleByte(this, oneByte);
/libcore/luni/src/main/java/java/nio/
H A DSocketChannelImpl.java620 public void write(int oneByte) throws IOException { argument
625 buffer.put(0, (byte) (oneByte & 0xFF));
/libcore/support/src/test/java/tests/http/
H A DMockWebServer.java481 @Override public void write(int oneByte) { argument
484 super.write(oneByte);
/libcore/luni/src/main/java/libcore/io/
H A DDiskLruCache.java758 @Override public void write(int oneByte) { argument
760 out.write(oneByte);
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DOpenSSLSocketImpl.java689 public void write(int oneByte) throws IOException { argument
690 Streams.writeSingleByte(this, oneByte);

Completed in 411 milliseconds