/dalvik/dx/src/com/android/dx/io/ |
H A D | EncodedValueReader.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 44 protected final ByteInput in; field in class:EncodedValueReader 46 public EncodedValueReader(ByteInput in) { argument 47 this.in = in; 50 public EncodedValueReader(EncodedValue in) { argument 51 this(in.asByteInput()); 55 int size = Leb128Utils.readUnsignedLeb128(in); 64 int typeIndex = Leb128Utils.readUnsignedLeb128(in); 137 readIndex(ByteInput in, int byteCount) argument [all...] |
H A D | DexIndexPrinter.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 91 DexBuffer.Section in = dexBuffer.open(tableOfContents.typeLists.off); 93 int size = in.readInt(); 96 System.out.print(" " + dexBuffer.typeNames().get((int) in.readShort())); 99 in.readShort(); // retain alignment
|
/dalvik/dx/tests/117-modified-utf8/com/android/dx/util/ |
H A D | Mutf8Test.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 26 ByteInput in = new ByteArrayByteInput( 28 assertEquals('A', in.readByte()); 29 assertEquals("BC\u0000", Mutf8.decode(in, new char[3])); 30 assertEquals('E', in.readByte());
|
/dalvik/tools/dmtracedump/ |
H A D | dumpdir.sh | 7 for F in $FILES
|
/dalvik/vm/compiler/template/ |
H A D | rebuild.sh | 6 # you may not use this file except in compliance with the License. 11 # Unless required by applicable law or agreed to in writing, software 18 # Rebuild for all known targets. Necessary until the stuff in "out" gets 22 for arch in ia32 armv5te armv5te-vfp armv7-a armv7-a-neon mips; do TARGET_ARCH_EXT=$arch make -f Makefile-template; done
|
/dalvik/dx/src/com/android/dx/io/instructions/ |
H A D | InstructionCodec.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 34 CodeInput in) throws EOFException { 47 CodeInput in) throws EOFException { 62 CodeInput in) throws EOFException { 81 CodeInput in) throws EOFException { 100 CodeInput in) throws EOFException { 116 CodeInput in) throws EOFException { 117 int baseAddress = in.cursor() - 1; 133 CodeInput in) throw 757 decode(int opcodeUnit, CodeInput in) argument 768 decodeRegisterList( InstructionCodec format, int opcodeUnit, CodeInput in) argument 833 decodeRegisterRange( InstructionCodec format, int opcodeUnit, CodeInput in) argument [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
H A D | FileUtils.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 75 FileInputStream in = new FileInputStream(file); 78 int amt = in.read(result, at, length); 85 in.close();
|
/dalvik/tools/ |
H A D | dexcheck | 6 # you may not use this file except in compliance with the License. 11 # Unless required by applicable law or agreed to in writing, software 26 # /data/dalvik-cache. If in doubt, run the command. Power users may 35 # Failure in system@app@Maps.apk@classes.dex: ERROR: DEX parse failed 52 # Check each file in turn. This is much faster with "dexdump -c", but that 53 # flag was not available in 1.6 and earlier. 55 # The dexdump found in older builds does not stop on checksum failures and 57 for file in $files; do 62 echo " Failure in $file: $errout"
|
/dalvik/dx/tests/ |
H A D | run-all-tests | 6 # you may not use this file except in compliance with the License. 11 # Unless required by applicable law or agreed to in writing, software 40 for i in *; do 55 for i in $failNames; do
|
/dalvik/dx/src/com/android/dx/util/ |
H A D | Mutf8.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 22 * Modified UTF-8 as described in the dex file format spec. 30 * Decodes bytes from {@code in} into {@code out} until a delimiter 0x00 is 33 public static String decode(ByteInput in, char[] out) throws UTFDataFormatException { argument 36 char a = (char) (in.readByte() & 0xff); 44 int b = in.readByte() & 0xff; 50 int b = in.readByte() & 0xff; 51 int c = in.readByte() & 0xff;
|
H A D | Leb128Utils.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 32 * Gets the number of bytes in the unsigned LEB128 encoding of the 35 * @param value the value in question 36 * @return its write size, in bytes 53 * Gets the number of bytes in the signed LEB128 encoding of the 56 * @param value the value in question 57 * @return its write size, in bytes 80 * Reads an signed integer from {@code in}. 82 public static int readSignedLeb128(ByteInput in) { argument 110 readUnsignedLeb128(ByteInput in) argument [all...] |
H A D | FileUtils.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 75 FileInputStream in = new FileInputStream(file); 78 int amt = in.read(result, at, length); 85 in.close();
|
/dalvik/tools/hprof-conv/ |
H A D | HprofConv.c | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 144 * Get the amount of data currently in the buffer. 196 static int ebReadString(ExpandBuf* pBuf, FILE* in) argument 203 ic = getc(in); 204 if (feof(in) || ferror(in)) { 221 static int ebReadData(ExpandBuf* pBuf, FILE* in, size_t count, int eofExpected) argument 228 actual = fread(pBuf->storage + pBuf->curLen, 1, count, in); 230 if (eofExpected && feof(in) 573 filterData(FILE* in, FILE* out) argument 676 FILE* in = stdin; local [all...] |
/dalvik/vm/mterp/ |
H A D | rebuild.sh | 6 # you may not use this file except in compliance with the License. 11 # Unless required by applicable law or agreed to in writing, software 18 # Rebuild for all known targets. Necessary until the stuff in "out" gets 23 for arch in portable allstubs armv5te armv5te-vfp armv7-a armv7-a-neon mips x86; do TARGET_ARCH_EXT=$arch make -f Makefile-mterp; done 26 # approach is to prevent them from being generated in the first place, but
|
/dalvik/vm/mterp/x86/ |
H A D | stub.S | 2 SAVE_PC_FP_TO_SELF %ecx # leaves rSELF in %ecx
|
H A D | OP_AGET.S | 17 # arrayObj in eax 18 # index in ecx
|
H A D | OP_AGET_WIDE.S | 15 # arrayObj in eax 16 # index in ecx
|
H A D | OP_APUT.S | 17 # arrayObj in eax 18 # index in ecx
|
H A D | OP_APUT_WIDE.S | 15 # arrayObj in eax 16 # index in ecx
|
/dalvik/dx/src/com/android/dx/merge/ |
H A D | DexMerger.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 190 * result in too many bytes wasted, compact the result. To compact, 221 * merged dex file. Populates maps from old to new indices in the process. 296 * sorting in memory. 330 DexBuffer.Section in = source.open(section.off); 332 int offset = in.getPosition(); 333 T value = read(in, indexMap, 0); 340 abstract T read(DexBuffer.Section in, IndexMap indexMap, int index); argument 381 @Override String read(DexBuffer.Section in, IndexMa 601 transformAnnotationSets(DexBuffer in, IndexMap indexMap) argument 611 transformAnnotationDirectories(DexBuffer in, IndexMap indexMap) argument 621 transformStaticValues(DexBuffer in, IndexMap indexMap) argument 635 transformClassDef(DexBuffer in, ClassDef classDef, IndexMap indexMap) argument 664 transformAnnotationDirectory( DexBuffer in, DexBuffer.Section directoryIn, IndexMap indexMap) argument 736 transformClassData(DexBuffer in, ClassData classData, IndexMap indexMap) argument 765 transformMethods(DexBuffer in, IndexMap indexMap, ClassData.Method[] methods) argument 784 transformCode(DexBuffer in, Code code, IndexMap indexMap) argument 863 transformDebugInfoItem(DexBuffer.Section in, IndexMap indexMap) argument 955 transformStaticValues(DexBuffer.Section in, IndexMap indexMap) argument [all...] |
/dalvik/hit/src/com/android/hit/ |
H A D | HprofParser.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 61 * When a sub-tag of this type appears in a HPROF_HEAP_DUMP or 65 * may appear in a single HEAP_DUMP[_SEGMENT]. 95 public HprofParser(DataInputStream in) { argument 96 mInput = in; 105 DataInputStream in = mInput; 107 mIdSize = in.readInt(); 110 in.readLong(); // Timestamp, ignored for now 113 int tag = in [all...] |
/dalvik/dexlist/ |
H A D | Android.mk | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software 16 # dexlist -- list all concrete methods found in a DEX file
|
/dalvik/vm/ |
H A D | ReconfigureDvm.mk | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software 17 # Variables used in the included Dvm.mk.
|
/dalvik/dexgen/ |
H A D | Android.mk | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software
|
/dalvik/tests/ |
H A D | run-all-tests | 6 # you may not use this file except in compliance with the License. 11 # Unless required by applicable law or agreed to in writing, software 107 for i in *; do 122 for i in $failNames; do
|