/libcore/luni/src/main/java/java/io/ |
H A D | Externalizable.java | 39 * Writes the receiver to the ObjectOutput <code>output</code>. 41 * @param output 44 * if an error occurs attempting to write to {@code output}. 46 public void writeExternal(ObjectOutput output) throws IOException; argument
|
H A D | EmulatedFieldsForDumping.java | 188 * @param output 196 public void write(ObjectOutput output) throws IOException { argument 197 if (!output.equals(oos)) { 204 output.writeInt(fieldValue != null ? ((Integer) fieldValue).intValue() : 0); 206 output.writeByte(fieldValue != null ? ((Byte) fieldValue).byteValue() : 0); 208 output.writeChar(fieldValue != null ? ((Character) fieldValue).charValue() : 0); 210 output.writeShort(fieldValue != null ? ((Short) fieldValue).shortValue() : 0); 212 output.writeBoolean(fieldValue != null ? ((Boolean) fieldValue).booleanValue() : false); 214 output.writeLong(fieldValue != null ? ((Long) fieldValue).longValue() : 0); 216 output [all...] |
H A D | ObjectOutputStream.java | 57 private DataOutputStream output; field in class:ObjectOutputStream 257 * {@code output}. 259 * @param output 266 public ObjectOutputStream(OutputStream output) throws IOException { argument 267 this.output = (output instanceof DataOutputStream) ? (DataOutputStream) output 268 : new DataOutputStream(output); 277 primitiveTypes = this.output; 284 * Writes optional information for class {@code aClass} to the output [all...] |
/libcore/luni/src/main/java/javax/crypto/ |
H A D | ExemptionMechanismSpi.java | 50 * into the {@code output} buffer at offset {@code outputOffset}. 52 * @param output 53 * the output buffer for the result key blob. 55 * the offset in the output buffer to start. 56 * @return the number of bytes written to the {@code output} buffer. 62 protected abstract int engineGenExemptionBlob(byte[] output, argument 67 * Returns the size in bytes for the output buffer needed to hold the output 73 * @return the size in bytes for the output buffer.
|
H A D | ExemptionMechanism.java | 205 * Returns the size in bytes for the output buffer needed to hold the output 211 * @return the size in bytes for the output buffer. 315 * into the {@code output} buffer. 317 * @param output 318 * the output buffer for the result key blob. 319 * @return the number of bytes written to the {@code output} buffer. 328 public final int genExemptionBlob(byte[] output) argument 331 return genExemptionBlob(output, 0); 336 * into the {@code output} buffe 351 genExemptionBlob(byte[] output, int outputOffset) argument [all...] |
H A D | Mac.java | 333 * output} buffer at offset {@code outOffset}. 339 * @param output 340 * the output buffer 342 * the offset in the output buffer 344 * if the specified output buffer is either too small for the 345 * digest to be stored, the specified output buffer is {@code 347 * of the output buffer. 351 public final void doFinal(byte[] output, int outOffset) argument 356 if (output == null) { 357 throw new ShortBufferException("output [all...] |
H A D | CipherSpi.java | 125 * The actual output length of the next call to {@code update} or {@code 288 * transformed bytes are stored in the {@code output} buffer. 290 * If the size of the {@code output} buffer is too small to hold the result, 293 * output buffer. 301 * @param output 302 * the output buffer. 304 * the offset in the output buffer. 305 * @return the number of bytes placed in output. 307 * if the size of the {@code output} buffer is too small. 310 int inputLen, byte[] output, in 309 engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 331 engineUpdate(ByteBuffer input, ByteBuffer output) argument 419 engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 451 engineDoFinal(ByteBuffer input, ByteBuffer output) argument [all...] |
H A D | Cipher.java | 389 * Returns the length in bytes an output buffer needs to be when this cipher 394 * @return the output buffer length for the input length. 902 * transformed bytes are stored in the {@code output} buffer. 904 * If the size of the {@code output} buffer is too small to hold the result, 907 * output buffer. 915 * @param output 916 * the output buffer. 917 * @return the number of bytes placed in output. 919 * if the size of the {@code output} buffer is too small. 924 * if the input is {@code null}, the output i 928 update(byte[] input, int inputOffset, int inputLen, byte[] output) argument 963 update(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 1012 update(ByteBuffer input, ByteBuffer output) argument 1071 doFinal(byte[] output, int outputOffset) argument 1176 doFinal(byte[] input, int inputOffset, int inputLen, byte[] output) argument 1214 doFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 1254 doFinal(ByteBuffer input, ByteBuffer output) argument [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
H A D | ExemptionMechanismSpiTest.java | 56 protected int engineGenExemptionBlob(byte[] output, int outputOffset) throws ShortBufferException, ExemptionMechanismException { argument 57 return super.engineGenExemptionBlob(output, outputOffset); 97 assertEquals("Incorrect output size", 10, emSpi.engineGetOutputSize(100));
|
H A D | ExemptionMechanismTest.java | 152 * Test for <code>genExemptionBlob((byte[] output, int outputOffset)</code> method 222 protected int engineGenExemptionBlob(byte[] output, int outputOffset) argument 224 if (output.length - outputOffset < 225 super.engineGenExemptionBlob(output, outputOffset)) { 228 if (output[outputOffset + 3] == 33) { 231 return super.engineGenExemptionBlob(output, outputOffset);
|
H A D | CipherSpiTest.java | 56 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, argument 59 return super.engineDoFinal(input, inputOffset, inputLen, output, outputOffset); 116 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, argument 118 return super.engineUpdate(input, inputOffset, inputLen, output, outputOffset); 210 * throws ShortBufferException is there is no space in output to hold result 262 * throws ShortBufferException is there is no space in output to hold result 365 byte[] output, int outputOffset) throws ShortBufferException { 368 if ((output.length - outputOffset) < t) { 372 output[i + outputOffset] = initV[i]; 390 byte[] output, in 364 engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 389 engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 405 engineUpdate(ByteBuffer input, ByteBuffer output) argument 409 engineDoFinal(ByteBuffer input, ByteBuffer output) argument [all...] |
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
H A D | TestSSLEnginePair.java | 120 ByteBuffer output, 124 // make the other side's output into our input 153 if (output.remaining() != output.capacity()) { 156 SSLEngineResult wrapResult = engine.wrap(EMPTY_BYTE_BUFFER, output); 169 // shift consumed input, restore to output mode 119 handshakeCompleted(SSLEngine engine, ByteBuffer output, ByteBuffer input, ByteBuffer scratch) argument
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
H A D | MyCipher.java | 105 byte[] output, int outputOffset) throws ShortBufferException { 117 byte[] output, int outputOffset) throws ShortBufferException, 104 engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 116 engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument
|
H A D | MyExemptionMechanismSpi.java | 55 protected int engineGenExemptionBlob(byte[] output, int outputOffset) argument
|
/libcore/luni/src/main/java/java/nio/charset/ |
H A D | CharsetDecoderICU.java | 30 * data[INPUT_OFFSET] = on input contains the start of input and on output the number of input bytes consumed 31 * data[OUTPUT_OFFSET] = on input contains the start of output and on output the number of output chars written 40 private char[] output= null; field in class:CharsetDecoderICU 98 output = null; 117 ec = NativeConverter.decode(converterHandle, input, inEnd, output, outEnd, data, true); 145 ec = NativeConverter.decode(converterHandle, input, inEnd, output, outEnd, data, false); 172 output = out.array(); 181 output [all...] |
H A D | CharsetDecoder.java | 29 * {@link java.nio.ByteBuffer ByteBuffer} and the output character sequence is a 38 * output buffer must be flushed between invocations;</li> 43 * output.</li> 48 * bytes have run out, the output buffer has been filled or some error has 51 * further action, which includes filling the input buffer, flushing the output 187 CharBuffer output = CharBuffer.allocate(length); 190 result = decode(in, output, false); 195 output = allocateMore(output); 198 result = decode(in, output, tru 232 allocateMore(CharBuffer output) argument [all...] |
H A D | CharsetEncoder.java | 29 * output byte sequence is a {@link java.nio.ByteBuffer ByteBuffer}. 38 * The input buffer must be filled and the output buffer must be flushed between invocations. 41 * input buffer has been exhausted, the output buffer has been filled, or an 44 * the output buffer, or recovering from an error and try again, accordingly. 48 * <li>Invoke {@link #flush(ByteBuffer)} to flush remaining output.</li> 280 ByteBuffer output = ByteBuffer.allocate(length); 283 result = encode(in, output, false); 287 output = allocateMore(output); 292 result = encode(in, output, tru 330 allocateMore(ByteBuffer output) argument [all...] |
H A D | CharsetEncoderICU.java | 45 * data[INPUT_OFFSET] = on input contains the start of input and on output the number of input chars consumed 46 * data[OUTPUT_OFFSET] = on input contains the start of output and on output the number of output bytes written 55 private byte[] output = null; field in class:CharsetEncoderICU 126 output = null; 145 ec = NativeConverter.encode(converterHandle, input, inEnd, output, outEnd, data, true); 174 ec = NativeConverter.encode(converterHandle, input, inEnd, output, outEnd, data, false); 213 output = out.array(); 222 output [all...] |
/libcore/luni/src/main/java/libcore/icu/ |
H A D | NativeConverter.java | 19 char[] output, int outEnd, int[] data, boolean flush); 22 byte[] output, int outEnd, int[] data, boolean flush); 18 decode(long converterHandle, byte[] input, int inEnd, char[] output, int outEnd, int[] data, boolean flush) argument 21 encode(long converterHandle, char[] input, int inEnd, byte[] output, int outEnd, int[] data, boolean flush) argument
|
/libcore/luni/src/main/java/org/apache/harmony/crypto/internal/ |
H A D | NullCipherSpi.java | 107 byte[] output, int outputOffset) throws ShortBufferException { 111 System.arraycopy(input, inputOffset, output, outputOffset, inputLen); 116 public int engineUpdate(ByteBuffer input, ByteBuffer output) argument 118 if (input == null || output == null) { 123 output.put(input); 125 throw new ShortBufferException("output buffer too small"); 141 byte[] output, int outputOffset) throws ShortBufferException, 143 int result = engineUpdate(input, inputOffset, inputLen, output, 149 public int engineDoFinal(ByteBuffer input, ByteBuffer output) argument 152 return engineUpdate(input, output); 106 engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 140 engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument [all...] |
/libcore/luni/src/main/java/java/util/logging/ |
H A D | FileHandler.java | 53 * <li>java.util.logging.FileHandler.count specifies how many output files to 66 * output files. See below for details. Defaults to "%h/java%u.log".</li> 70 * be replaced to generate output files: 110 // the count of files which the output cycle through 116 // whether the FileHandler should open a existing file for output in append 120 // the pattern for output file name 126 // output stream, which can measure the output file length 127 private MeasureOutputStream output; field in class:FileHandler 129 // used output fil [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldObjectOutputStreamTest.java | 83 public BasicObjectOutputStream(OutputStream output) throws IOException { argument 84 super(output);
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | SSLSocketImpl.java | 70 protected OutputStream output; field in class:SSLSocketImpl 182 output = super.getOutputStream(); 192 output.close(); 516 output.write(alertProtocol.wrap()); 610 output.write(alertProtocol.wrap()); 646 output.write(recordProtocol.wrap(ContentType.APPLICATION_DATA, 650 output.write(recordProtocol.wrap( 657 output.write( 698 output.write(handshakeProtocol.wrap()); 740 output [all...] |