Searched refs:off (Results 51 - 75 of 152) sorted by relevance

1234567

/dalvik/libcore/security/src/main/java/java/security/
H A DSecureClassLoader.java90 * @param off
98 * if {@code off} or {@code len} are not valid in respect to
107 protected final Class<?> defineClass(String name, byte[] b, int off, int len, argument
109 return cs == null ? defineClass(name, b, off, len) : defineClass(name,
110 b, off, len, getPD(cs));
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/signers/
H A DISO9796d2Signer.java191 int off,
194 digest.update(in, off, len);
200 mBuf[messageLength + i] = in[off + i];
392 int off = block.length - delta - hash.length;
397 if ((off - mStart) <= 0)
413 digest.update(block, mStart, off - mStart);
418 block[off + i] ^= hash[i];
419 if (block[off + i] != 0)
428 recoveredMessage = new byte[off - mStart];
439 block[off
189 update( byte[] in, int off, int len) argument
[all...]
H A DISO9796d2PSSSigner.java227 int off,
232 this.update(in[off]);
233 off++;
239 digest.update(in, off, len);
304 int off = block.length - messageLength - salt.length - hLen - tLength - 1;
306 block[off] = 0x01;
308 System.arraycopy(mBuf, 0, block, off + 1, messageLength);
309 System.arraycopy(salt, 0, block, off + 1 + messageLength, salt.length);
481 int off = block.length - tLength - hash.length;
485 if (hash[i] != block[off
225 update( byte[] in, int off, int len) argument
[all...]
/dalvik/libcore/archive/src/main/java/java/util/zip/
H A DDeflaterOutputStream.java194 * {@code off} and writes it to the underlying stream.
198 * @param off
206 public void write(byte[] buffer, int off, int nbytes) throws IOException { argument
211 if (off <= buffer.length && nbytes >= 0 && off >= 0
212 && buffer.length - off >= nbytes) {
216 def.setInput(buffer, off, nbytes);
H A DInflaterInputStream.java140 * {@code buffer} starting at {@code off}.
144 * @param off
153 public int read(byte[] buffer, int off, int nbytes) throws IOException { argument
163 if (off < 0 || nbytes < 0 || off + nbytes > buffer.length) {
176 if (off > buffer.length || nbytes < 0 || off < 0
177 || buffer.length - off < nbytes) {
188 int result = inf.inflate(buffer, off, nbytes);
H A DZipInputStream.java408 private int getShort(byte[] buffer, int off) { argument
409 return (buffer[off] & 0xFF) | ((buffer[off + 1] & 0xFF) << 8);
412 private long getLong(byte[] buffer, int off) { argument
414 l |= (buffer[off] & 0xFF);
415 l |= (buffer[off + 1] & 0xFF) << 8;
416 l |= (buffer[off + 2] & 0xFF) << 16;
417 l |= ((long) (buffer[off + 3] & 0xFF)) << 24;
/dalvik/libcore/nio/src/main/java/java/nio/
H A DByteBuffer.java426 * @param off
431 * greater than {@code dest.length - off}
434 * if either {@code off} or {@code len} is invalid.
438 public ByteBuffer get(byte[] dest, int off, int len) { argument
440 if ((off < 0) || (len < 0) || ((long) off + (long) len > length)) {
447 for (int i = off; i < off + len; i++) {
763 * @param off
768 * greater than {@code src.length - off}
777 put(byte[] src, int off, int len) argument
[all...]
H A DCharBuffer.java369 * @param off
374 * greater than {@code dest.length - off}.
377 * if either {@code off} or {@code len} is invalid.
381 public CharBuffer get(char[] dest, int off, int len) { argument
383 if ((off < 0) || (len < 0) || (long) off + (long) len > length) {
390 for (int i = off; i < off + len; i++) {
527 * @param off
532 * greater than {@code src.length - off}
541 put(char[] src, int off, int len) argument
[all...]
H A DDirectByteBuffer.java95 public final ByteBuffer get(byte[] dest, int off, int len) { argument
97 if ((off < 0) || (len < 0) || (long) off + (long) len > length) {
103 getBaseAddress().getByteArray(offset + position, dest, off, len);
H A DReadWriteHeapByteBuffer.java120 public ByteBuffer put(byte[] src, int off, int len) { argument
121 if (off < 0 || len < 0 || (long) off + (long) len > src.length) {
130 System.arraycopy(src, off, backingArray, offset + position, len);
/dalvik/libcore/security/src/main/java/org/bouncycastle/util/encoders/
H A DBase64Encoder.java52 int off,
61 for (int i = off; i < off + dataLength; i += 3)
84 d1 = data[off + dataLength] & 0xff;
94 d1 = data[off + dataLength] & 0xff;
95 d2 = data[off + dataLength + 1] & 0xff;
125 int off,
133 int end = off + length;
135 while (end > off)
145 int i = off;
50 encode( byte[] data, int off, int length, OutputStream out) argument
123 decode( byte[] data, int off, int length, OutputStream out) argument
[all...]
H A DBase64.java53 int off,
58 return encoder.encode(data, off, length, out);
51 encode( byte[] data, int off, int length, OutputStream out) argument
/dalvik/libcore/crypto/src/main/java/javax/crypto/
H A DCipherOutputStream.java100 * {@code off} to this cipher output stream.
104 * @param off
112 public void write(byte[] b, int off, int len) throws IOException { argument
116 byte[] result = cipher.update(b, off, len);
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/ftp/
H A DFtpURLInputStream.java45 public int read(byte[] buf, int off, int nbytes) throws IOException { argument
46 return is.read(buf, off, nbytes);
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DSSLInputStream.java113 public int read(byte[] b, int off, int len) throws IOException { argument
120 b[off+i] = (byte) read_b;
/dalvik/vm/compiler/template/armv5te/
H A DTEMPLATE_MONITOR_ENTER.S16 @ refresh Jit's on/off status
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/util/
H A DZoneInfo.java56 private static String nullName(byte[] data, int where, int off) { argument
57 if (off < 0)
60 int end = where + off;
64 return new String(data, where + off, end - (where + off));
190 public void setRawOffset(int off) { argument
191 mRawOffset = off;
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/engines/
H A DIESEngine.java134 int off = cipher.processBytes(in_enc, inOff, inLen, tmp, 0);
136 off += cipher.doFinal(tmp, off);
138 M = new byte[off];
140 System.arraycopy(tmp, 0, M, 0, off);
207 int off = cipher.processBytes(in, inOff, inLen, C, 0);
209 cipher.doFinal(C, off);
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/
H A DSHAOutputStream.java145 * @param off offset into the source buffer where to start the copying
149 private void copyToInternalBuffer(byte[] buffer, int off, int len) { argument
151 index = off;
391 * @param off
397 private static String toStringBlock(byte[] block, int off, int len) { argument
401 for (int i = off; i < off + len; ++i) {
411 * <code>buffer</code> starting at offset <code>off</code> to the
417 * @param off
423 public void write(byte[] buffer, int off, in argument
[all...]
/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
H A DAdler32Test.java184 int off = 2;// accessing the 2nd element of byteArray
188 adl.update(byteArray, off, len);
197 adl.update(byteArray, off, lenError);
202 "update(byte[],int,int) failed b/c lenError>byte[].length-off",
H A DCRC32Test.java202 int off = 2;// accessing the 2nd element of byteArray
206 crc.update(byteArray, off, len);
215 crc.update(byteArray, off, lenError);
220 "update(byte[],int,int) failed b/c lenError>byte[].length-off",
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/sampled/
H A DAudioInputStream.java94 public int read(byte[] b, int off, int len) throws IOException { argument
102 res = stream.read(b, off, l);
109 res = line.read(b, off, l);
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DMySignature2.java60 protected void engineUpdate(byte[] b, int off, int len) argument
/dalvik/vm/
H A DLinearAlloc.c298 * chunk header size off so we're back to the header pointer.
609 int off = pHdr->firstOffset; local
612 while (off < pHdr->curOffset) {
613 rawLen = *(u4*) (pHdr->mapAddr + off);
617 LOGI(" %p (%3d): %clen=%d%s\n", pHdr->mapAddr + off + HEADER_EXTRA,
618 (int) ((off + HEADER_EXTRA) / SYSTEM_PAGE_SIZE),
623 off += fullLen;
671 int off = pHdr->firstOffset; local
674 while (off < pHdr->curOffset) {
675 rawLen = *(u4*) (pHdr->mapAddr + off);
[all...]
/dalvik/libcore/archive/src/main/native/
H A Djava_util_zip_Inflater.c105 jbyteArray buf, jint off, jint len,
123 (*env)->GetByteArrayRegion(env, buf, off, len, (jbyte*) baseAddr);
128 jobject javaFileDescriptor, jlong off, jint len, jlong handle)
150 lseek(fd, off, SEEK_SET);
158 jbyteArray buf, int off, int len,
179 stream->stream->next_out = (Bytef *) out + off;
245 jbyteArray dict, int off,
259 (*env)->GetByteArrayRegion (env, dict, off, len, (mcSignednessBull)dBytes);
104 Java_java_util_zip_Inflater_setInputImpl(JNIEnv * env, jobject recv, jbyteArray buf, jint off, jint len, jlong handle) argument
127 Java_java_util_zip_Inflater_setFileInputImpl(JNIEnv * env, jobject recv, jobject javaFileDescriptor, jlong off, jint len, jlong handle) argument
157 Java_java_util_zip_Inflater_inflateImpl(JNIEnv * env, jobject recv, jbyteArray buf, int off, int len, jlong handle) argument
244 Java_java_util_zip_Inflater_setDictionaryImpl(JNIEnv * env, jobject recv, jbyteArray dict, int off, int len, jlong handle) argument

Completed in 480 milliseconds

1234567