/libcore/luni/src/main/java/java/security/ |
H A D | DigestInputStream.java | 35 // Indicates whether digest functionality is on or off 107 * @param off 118 public int read(byte[] b, int off, int len) throws IOException { argument 120 int bytesRead = in.read(b, off, len); 125 digest.update(b, off, bytesRead); 152 (isOn ? ", is on" : ", is off");
|
H A D | DigestOutputStream.java | 35 // Indicates whether digest functionality is on or off 96 * @param off 104 public void write(byte[] b, int off, int len) throws IOException { argument 107 digest.update(b, off, len); 110 out.write(b, off, len); 134 (isOn ? ", is on" : ", is off");
|
H A D | SecureClassLoader.java | 74 * @param off 82 * if {@code off} or {@code len} are not valid in respect to 91 protected final Class<?> defineClass(String name, byte[] b, int off, int len, argument 93 return cs == null ? defineClass(name, b, off, len) : defineClass(name, 94 b, off, len, getPD(cs));
|
H A D | SignatureSpi.java | 97 * @param off 105 protected abstract void engineUpdate(byte[] b, int off, int len) argument
|
H A D | Signature.java | 454 * @param off 462 public final void update(byte[] data, int off, int len) argument 467 if (data == null || off < 0 || len < 0 || 468 off + len > data.length) { 471 engineUpdate(data, off, len);
|
/libcore/luni/src/main/java/java/util/zip/ |
H A D | CheckedInputStream.java | 72 * into {@code buf}, starting at offset {@code off}. The checksum is 77 * @param off 88 public int read(byte[] buf, int off, int nbytes) throws IOException { argument 89 int x = in.read(buf, off, nbytes); 91 check.update(buf, off, x);
|
H A D | CheckedOutputStream.java | 73 * Writes n bytes of data from {@code buf} starting at offset {@code off} to 78 * @param off 87 public void write(byte[] buf, int off, int nbytes) throws IOException { argument 88 out.write(buf, off, nbytes); 89 check.update(buf, off, nbytes);
|
H A D | Checksum.java | 43 * @param off 48 public void update(byte[] buf, int off, int nbytes); argument
|
H A D | GZIPOutputStream.java | 99 * Write up to nbytes of data from the given buffer, starting at offset off, 103 public void write(byte[] buffer, int off, int nbytes) throws IOException { argument 104 super.write(buffer, off, nbytes); 105 crc.update(buffer, off, nbytes);
|
/libcore/luni/src/main/java/javax/crypto/ |
H A D | CipherOutputStream.java | 80 * {@code off} to this cipher output stream. 84 * @param off 91 @Override public void write(byte[] b, int off, int len) throws IOException { argument 95 byte[] result = cipher.update(b, off, len);
|
H A D | CipherInputStream.java | 114 * {@code buf} starting at offset {@code off}. 127 public int read(byte[] buf, int off, int len) throws IOException { argument 139 buf[off+i] = (byte) b;
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | SSLSocketOutputStream.java | 42 public void write(byte[] b, int off, int len) throws IOException { argument 43 owner.writeAppData(b, off, len);
|
H A D | SSLInputStream.java | 101 public int read(byte[] b, int off, int len) throws IOException { argument 108 b[off+i] = (byte) read_b;
|
H A D | SSLSocketInputStream.java | 117 @Override public int read(byte[] b, int off, int len) throws IOException { argument 124 b[off+i] = (byte) read_b;
|
/libcore/luni/src/main/native/ |
H A D | java_util_zip_Adler32.cpp | 26 static jlong Adler32_updateImpl(JNIEnv* env, jobject, jbyteArray byteArray, int off, int len, jlong crc) { argument 31 return adler32(crc, reinterpret_cast<const Bytef*>(bytes.get() + off), len);
|
H A D | java_util_zip_CRC32.cpp | 26 static jlong CRC32_updateImpl(JNIEnv* env, jobject, jbyteArray byteArray, int off, int len, jlong crc) { argument 31 jlong result = crc32(crc, reinterpret_cast<const Bytef*>(bytes.get() + off), len);
|
H A D | zip.h | 52 void setDictionary(JNIEnv* env, jbyteArray javaDictionary, int off, int len, bool inflate) { argument 58 env->GetByteArrayRegion(javaDictionary, off, len, &dictionaryBytes[0]); 73 void setInput(JNIEnv* env, jbyteArray buf, jint off, jint len) { argument 82 env->GetByteArrayRegion(buf, off, len, &input[0]);
|
H A D | java_util_zip_Deflater.cpp | 24 static void Deflater_setDictionaryImpl(JNIEnv* env, jobject, jbyteArray dict, int off, int len, jlong handle) { argument 25 toNativeZipStream(handle)->setDictionary(env, dict, off, len, false); 65 static void Deflater_setInputImpl(JNIEnv* env, jobject, jbyteArray buf, jint off, jint len, jlong handle) { argument 66 toNativeZipStream(handle)->setInput(env, buf, off, len); 69 static jint Deflater_deflateImpl(JNIEnv* env, jobject recv, jbyteArray buf, int off, int len, jlong handle, int flushStyle) { argument 75 stream->stream.next_out = reinterpret_cast<Bytef*>(out.get() + off);
|
H A D | java_util_zip_Inflater.cpp | 49 static void Inflater_setInputImpl(JNIEnv* env, jobject, jbyteArray buf, jint off, jint len, jlong handle) { argument 50 toNativeZipStream(handle)->setInput(env, buf, off, len); 53 static jint Inflater_setFileInputImpl(JNIEnv* env, jobject, jobject javaFileDescriptor, jlong off, jint len, jlong handle) { argument 69 int rc = TEMP_FAILURE_RETRY(lseek(fd, off, SEEK_SET)); 89 static jint Inflater_inflateImpl(JNIEnv* env, jobject recv, jbyteArray buf, int off, int len, jlong handle) { argument 95 stream->stream.next_out = reinterpret_cast<Bytef*>(out.get() + off); 140 static void Inflater_setDictionaryImpl(JNIEnv* env, jobject, jbyteArray dict, int off, int len, jlong handle) { argument 141 toNativeZipStream(handle)->setDictionary(env, dict, off, len, true);
|
/libcore/luni/src/main/java/libcore/net/url/ |
H A D | FtpURLInputStream.java | 46 public int read(byte[] buf, int off, int nbytes) throws IOException { argument 47 return is.read(buf, off, nbytes);
|
/libcore/luni/src/test/java/tests/java/security/ |
H A D | SecureClassLoaderTest.java | 231 public Class define(String name, byte[] b, int off, int len, argument 233 return defineClass(name, b, off, len, cs);
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
H A D | SHA1withDSA_SignatureImpl.java | 299 * off offset in byte array to start from 305 protected void engineUpdate(byte[] b, int off, int len) argument 308 msgDigest.update(b, off, len);
|
/libcore/luni/src/test/java/tests/targets/security/ |
H A D | SignatureTestMD2withRSA.java | 169 protected void engineUpdate(byte[] b, int off, int len) argument
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | MySignature1.java | 80 protected void engineUpdate(byte[] b, int off, int len) argument 83 if (off < 0 || off > b.length || off > len) { 84 throw new IllegalArgumentException("incorrect parameter off");
|
H A D | MySignature2.java | 60 protected void engineUpdate(byte[] b, int off, int len) argument
|