/libcore/dex/src/main/java/com/android/dex/ |
D | TableOfContents.java | 70 readMap(dex.open(mapList.off)); in readFrom() 95 mapList.off = headerIn.readInt(); in readHeader() 96 if (mapList.off == 0) { in readHeader() 100 stringIds.off = headerIn.readInt(); in readHeader() 102 typeIds.off = headerIn.readInt(); in readHeader() 104 protoIds.off = headerIn.readInt(); in readHeader() 106 fieldIds.off = headerIn.readInt(); in readHeader() 108 methodIds.off = headerIn.readInt(); in readHeader() 110 classDefs.off = headerIn.readInt(); in readHeader() 126 || (section.off != -1 && section.off != offset)) { in readMap() [all …]
|
D | Dex.java | 338 int position = tableOfContents.fieldIds.off + (SizeOf.MEMBER_ID_ITEM * fieldIndex); in nameIndexFromFieldIndex() 379 int position = tableOfContents.fieldIds.off + (SizeOf.MEMBER_ID_ITEM * fieldIndex); in typeIndexFromFieldIndex() 390 int position = tableOfContents.methodIds.off + (SizeOf.MEMBER_ID_ITEM * methodIndex); in declaringClassIndexFromMethodIndex() 400 int position = tableOfContents.methodIds.off + (SizeOf.MEMBER_ID_ITEM * methodIndex); in nameIndexFromMethodIndex() 412 int position = tableOfContents.methodIds.off + (SizeOf.MEMBER_ID_ITEM * methodIndex); in parameterTypeIndicesFromMethodIndex() 416 position = tableOfContents.protoIds.off + (SizeOf.PROTO_ID_ITEM * protoIndex); in parameterTypeIndicesFromMethodIndex() 443 int position = tableOfContents.methodIds.off + (SizeOf.MEMBER_ID_ITEM * methodIndex); in returnTypeIndexFromMethodIndex() 447 position = tableOfContents.protoIds.off + (SizeOf.PROTO_ID_ITEM * protoIndex); in returnTypeIndexFromMethodIndex() 458 int position = tableOfContents.typeIds.off + (SizeOf.TYPE_ID_ITEM * typeIndex); in descriptorIndexFromTypeIndex() 467 int position = tableOfContents.classDefs.off + (SizeOf.CLASS_DEF_ITEM * classDefIndex); in typeIndexFromClassDefIndex() [all …]
|
/libcore/luni/src/main/java/java/util/zip/ |
D | CheckedOutputStream.java | 87 public void write(byte[] buf, int off, int nbytes) throws IOException { in write() argument 88 out.write(buf, off, nbytes); in write() 89 check.update(buf, off, nbytes); in write()
|
D | GZIPOutputStream.java | 109 public void write(byte[] buffer, int off, int nbytes) throws IOException { in write() argument 110 super.write(buffer, off, nbytes); in write() 111 crc.update(buffer, off, nbytes); in write()
|
D | Checksum.java | 48 public void update(byte[] buf, int off, int nbytes); in update() argument
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | MySignature1.java | 80 protected void engineUpdate(byte[] b, int off, int len) in engineUpdate() argument 83 if (off < 0 || off > b.length || off > len) { in engineUpdate()
|
D | MySignature2.java | 60 protected void engineUpdate(byte[] b, int off, int len) in engineUpdate() argument
|
/libcore/luni/src/main/native/ |
D | java_util_zip_Inflater.cpp | 51 static void Inflater_setInputImpl(JNIEnv* env, jobject, jbyteArray buf, jint off, jint len, jlong h… in Inflater_setInputImpl() argument 52 toNativeZipStream(handle)->setInput(env, buf, off, len); in Inflater_setInputImpl() 55 static jint Inflater_setFileInputImpl(JNIEnv* env, jobject, jobject javaFileDescriptor, jlong off, … in Inflater_setFileInputImpl() argument 71 int rc = TEMP_FAILURE_RETRY(lseek(fd, off, SEEK_SET)); in Inflater_setFileInputImpl() 91 static jint Inflater_inflateImpl(JNIEnv* env, jobject recv, jbyteArray buf, int off, int len, jlong… in Inflater_inflateImpl() argument 97 stream->stream.next_out = reinterpret_cast<Bytef*>(out.get() + off); in Inflater_inflateImpl() 142 static void Inflater_setDictionaryImpl(JNIEnv* env, jobject, jbyteArray dict, int off, int len, jlo… in Inflater_setDictionaryImpl() argument 143 toNativeZipStream(handle)->setDictionary(env, dict, off, len, true); in Inflater_setDictionaryImpl()
|
D | ZipUtilities.cpp | 44 void NativeZipStream::setDictionary(JNIEnv* env, jbyteArray javaDictionary, int off, int len, in setDictionary() argument 51 env->GetByteArrayRegion(javaDictionary, off, len, &dictionaryBytes[0]); in setDictionary() 66 void NativeZipStream::setInput(JNIEnv* env, jbyteArray buf, jint off, jint len) { in setInput() argument 75 env->GetByteArrayRegion(buf, off, len, &input[0]); in setInput()
|
D | java_util_zip_Deflater.cpp | 26 static void Deflater_setDictionaryImpl(JNIEnv* env, jobject, jbyteArray dict, int off, int len, jlo… in Deflater_setDictionaryImpl() argument 27 toNativeZipStream(handle)->setDictionary(env, dict, off, len, false); in Deflater_setDictionaryImpl() 67 static void Deflater_setInputImpl(JNIEnv* env, jobject, jbyteArray buf, jint off, jint len, jlong h… in Deflater_setInputImpl() argument 68 toNativeZipStream(handle)->setInput(env, buf, off, len); in Deflater_setInputImpl() 71 static jint Deflater_deflateImpl(JNIEnv* env, jobject recv, jbyteArray buf, int off, int len, jlong… in Deflater_deflateImpl() argument 77 stream->stream.next_out = reinterpret_cast<Bytef*>(out.get() + off); in Deflater_deflateImpl()
|
D | ZipUtilities.h | 33 void setDictionary(JNIEnv* env, jbyteArray javaDictionary, int off, int len, bool inflate); 34 void setInput(JNIEnv* env, jbyteArray buf, jint off, jint len);
|
D | java_util_zip_Adler32.cpp | 26 static jlong Adler32_updateImpl(JNIEnv* env, jobject, jbyteArray byteArray, int off, int len, jlong… in Adler32_updateImpl() argument 31 return adler32(crc, reinterpret_cast<const Bytef*>(bytes.get() + off), len); in Adler32_updateImpl()
|
D | java_util_zip_CRC32.cpp | 26 static jlong CRC32_updateImpl(JNIEnv* env, jobject, jbyteArray byteArray, int off, int len, jlong c… in CRC32_updateImpl() argument 31 jlong result = crc32(crc, reinterpret_cast<const Bytef*>(bytes.get() + off), len); in CRC32_updateImpl()
|
/libcore/luni/src/main/java/java/security/ |
D | DigestOutputStream.java | 104 public void write(byte[] b, int off, int len) throws IOException { in write() argument 107 digest.update(b, off, len); in write() 110 out.write(b, off, len); in write()
|
D | SecureClassLoader.java | 91 protected final Class<?> defineClass(String name, byte[] b, int off, int len, in defineClass() argument 93 return cs == null ? defineClass(name, b, off, len) : defineClass(name, in defineClass() 94 b, off, len, getPD(cs)); in defineClass()
|
D | Signature.java | 512 public final void update(byte[] data, int off, int len) in update() argument 517 if (data == null || off < 0 || len < 0 || in update() 518 off + len > data.length) { in update() 521 engineUpdate(data, off, len); in update()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | CRC32Test.java | 149 int off = 2;// accessing the 2nd element of byteArray in test_update$BII() local 153 crc.update(byteArray, off, len); in test_update$BII() 161 crc.update(byteArray, off, lenError); in test_update$BII()
|
D | Adler32Test.java | 132 int off = 2;// accessing the 2nd element of byteArray in test_update$BII() local 136 adl.update(byteArray, off, len); in test_update$BII() 144 adl.update(byteArray, off, lenError); in test_update$BII()
|
/libcore/luni/src/main/java/libcore/net/url/ |
D | FtpURLInputStream.java | 46 public int read(byte[] buf, int off, int nbytes) throws IOException { in read() argument 47 return is.read(buf, off, nbytes); in read()
|
/libcore/luni/src/main/java/javax/crypto/ |
D | CipherOutputStream.java | 91 @Override public void write(byte[] b, int off, int len) throws IOException { in write() argument 95 byte[] result = cipher.update(b, off, len); in write()
|
D | CipherInputStream.java | 151 public int read(byte[] buf, int off, int len) throws IOException { in read() argument 163 System.arraycopy(outputBuffer, outputIndex, buf, off, len); in read()
|
/libcore/luni/src/test/java/tests/java/security/ |
D | SecureClassLoaderTest.java | 231 public Class define(String name, byte[] b, int off, int len, in define() argument 233 return defineClass(name, b, off, len, cs); in define()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | BufferedWriterTest.java | 57 public void write(char[] buf, int off, int len) throws IOException { in write() argument 58 for (int i = off; i < off + len; i++) { in write()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | SignatureSpiTest.java | 129 protected void engineUpdate(byte[] b, int off, int len) in testEngineGetParameters() 172 public void engineUpdate(byte[] b, int off, int len) { in engineUpdate() argument 206 public void engineUpdate(byte[] b, int off, int len) { in engineUpdate() argument 260 protected void engineUpdate(byte[] b, int off, int len) in engineUpdate() argument
|
/libcore/luni/src/main/java/java/io/ |
D | InputStreamReader.java | 230 int off = bytes.arrayOffset() + bytes.limit(); in read() local 231 int actualByteCount = in.read(bytes.array(), off, desiredByteCount); in read()
|