/test/suite_harness/tools/dex-tools/src/dex/structure/ |
DexFile.java | 17 package dex.structure; 23 * {@code DexFile} represents a whole dex file, containing multiple classes.
|
DexEncodedAnnotation.java | 17 package dex.structure;
|
/tools/dexter/slicer/ |
reader.cc | 27 namespace dex { namespace 29 Reader::Reader(const dex::u1* image, size_t size) : image_(image), size_(size) { 31 header_ = ptr<dex::Header>(0); 34 // start with an "empty" .dex IR 36 dex_ir_->magic = slicer::MemView(header_, sizeof(dex::Header::magic)); 39 slicer::ArrayView<const dex::ClassDef> Reader::ClassDefs() const { 40 return section<dex::ClassDef>(header_->class_defs_off, 44 slicer::ArrayView<const dex::StringId> Reader::StringIds() const { 45 return section<dex::StringId>(header_->string_ids_off, 49 slicer::ArrayView<const dex::TypeId> Reader::TypeIds() const [all...] |
debuginfo_encoder.cc | 35 dbginfo_.Push<dex::u1>(dex::DBG_ADVANCE_PC); 42 case dex::DBG_ADVANCE_LINE: { 44 // vs the .dex image: the code IR uses it exclusively for source 45 // location (the .line directive) while .dex format uses it to 49 // it's not perfectly clear from the .dex specification 51 // .dex files do this so we have to support it 57 int adj_opcode = delta - dex::DBG_LINE_BASE; 59 if (adj_opcode < 0 || adj_opcode >= dex::DBG_LINE_RANGE) { 60 dbginfo_.Push<dex::u1>(dex::DBG_ADVANCE_LINE) [all...] |
/art/test/091-override-package-private-method/ |
build | 30 ${JACK} --import classes.jill.jar --output-dex . 31 zip $TEST_NAME.jar classes.dex 32 ${JACK} --import classes-ex.jill.jar --output-dex . 33 zip ${TEST_NAME}-ex.jar classes.dex 36 ${DX} -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex --dump-width=1000 classes 37 zip $TEST_NAME.jar classes.dex 38 ${DX} -JXmx256m --debug --dex --dump-to=classes-ex.lst --output=classes.dex --dump-width=1000 classes-ex 39 zip ${TEST_NAME}-ex.jar classes.dex [all...] |
/art/test/127-checker-secondarydex/ |
build | 30 ${JACK} --import classes.jill.jar --output-dex . 31 zip $TEST_NAME.jar classes.dex 32 ${JACK} --import classes-ex.jill.jar --output-dex . 33 zip ${TEST_NAME}-ex.jar classes.dex 36 ${DX} -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex --dump-width=1000 classes 37 zip $TEST_NAME.jar classes.dex 38 ${DX} -JXmx256m --debug --dex --dump-to=classes-ex.lst --output=classes.dex --dump-width=1000 classes-ex 39 zip ${TEST_NAME}-ex.jar classes.dex [all...] |
/art/test/138-duplicate-classes-check2/ |
build | 29 ${JACK} --import classes.jill.jar --output-dex . 30 zip ${TEST_NAME}.jar classes.dex 33 ${JACK} --import classes-ex.jill.jar --output-dex . 34 zip ${TEST_NAME}-ex.jar classes.dex 36 ${DX} -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex --dump-width=1000 classes 37 zip ${TEST_NAME}.jar classes.dex 38 ${DX} -JXmx256m --debug --dex --dump-to=classes-ex.lst --output=classes.dex --dump-width=1000 classes-ex 39 zip ${TEST_NAME}-ex.jar classes.dex [all...] |
/dalvik/dx/src/com/android/dx/command/grep/ |
Grep.java | 19 import com.android.dex.ClassData; 20 import com.android.dex.ClassDef; 21 import com.android.dex.Dex; 22 import com.android.dex.EncodedValueReader; 23 import com.android.dex.MethodId; 32 private final Dex dex; field in class:Grep 42 public Grep(final Dex dex, Pattern pattern, final PrintWriter out) [all...] |
/dalvik/dx/src/com/android/dex/ |
MethodId.java | 17 package com.android.dex; 19 import com.android.dex.util.Unsigned; 22 private final Dex dex; field in class:MethodId 27 public MethodId(Dex dex, int declaringClassIndex, int protoIndex, int nameIndex) { 28 this.dex = dex; 57 public void writeTo(Dex.Section out) { 65 if (dex == null) [all...] |
ProtoId.java | 17 package com.android.dex; 19 import com.android.dex.util.Unsigned; 22 private final Dex dex; field in class:ProtoId 27 public ProtoId(Dex dex, int shortyIndex, int returnTypeIndex, int parametersOffset) { 28 this.dex = dex; 54 public void writeTo(Dex.Section out) { 62 if (dex == null) [all...] |
DexIndexOverflowException.java | 17 package com.android.dex; 20 * Thrown when there's an index overflow writing a dex file.
|
/art/test/005-annotations/ |
build | 34 ${JACK} -D jack.dex.annotation.class-retention=true --import classes.jill.jar --output-dex . 37 ${DX} -JXmx256m --debug --dex --output=classes.dex classes 42 zip $TEST_NAME.jar classes.dex
|
/dalvik/dx/tests/125-main-dex-list/ |
run | 17 dx --dex --output=test.jar com/android/dx/multidex/* 19 dx -JXmx1024m --dex --no-optimize --multi-dex --main-dex-list=main.list --minimal-main-dex --output=out classes
|
/tools/dexter/slicer/export/slicer/ |
bytecode_encoder.h | 29 // Generates .dex bytecode from code IR 54 void FixupPackedSwitch(dex::u4 base_offset, dex::u4 payload_offset); 55 void FixupSparseSwitch(dex::u4 base_offset, dex::u4 payload_offset); 61 dex::u4 offset; // instruction to be fixed up 65 LabelFixup(dex::u4 offset, Label* label, bool short_fixup) : 74 dex::u4 offset_ = 0; 77 dex::u4 outs_count_ = 0; 81 std::map<dex::u4, const PackedSwitchPayload*> packed_switches_ [all...] |
index_map.h | 29 dex::u4 AllocateIndex() { 38 void MarkUsedIndex(dex::u4 index) { 48 dex::u4 alloc_pos_ = 0;
|
/art/test/004-ReferenceMap/ |
build | 20 # The test relies on DEX file produced by javac+dx so keep building with them for now 24 ${DX} -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex \ 26 zip $TEST_NAME.jar classes.dex
|
/art/test/004-StackWalk/ |
build | 20 # The test relies on DEX file produced by javac+dx so keep building with them for now 24 ${DX} -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex \ 26 zip $TEST_NAME.jar classes.dex
|
/art/test/023-many-interfaces/ |
build | 33 ${DX} --debug --dex --dump-to=classes.lst --output=classes.dex classes 34 zip $TEST_NAME.jar classes.dex
|
/art/test/303-verification-stress/ |
build | 33 ${DX} --debug --dex --output=classes.dex classes 34 zip $TEST_NAME.jar classes.dex
|
/libcore/luni/src/test/etc/loading-test2-jar/ |
build.sh | 39 rm -rf classes.dex 44 dx --dex --output=classes.dex classes 45 jar cf loading-test2.jar classes.dex -C resources . 48 mv classes.dex ${resourceDir}/loading-test2.dex
|
/dalvik/dx/tests/097-dex-branch-offset-zero/ |
run | 17 dx --debug --dex --positions=none --no-locals --dump-method=Blort.test'*' \ 24 dx --debug --dex --positions=none --no-locals --dump-method=Blort.test'*' \
|
/dalvik/dx/tests/111-use-null-as-array/ |
run | 17 dx --debug --dex --positions=none --no-locals \ 20 dx --debug --dex --positions=none --no-locals \
|
/dalvik/dx/tests/112-dex-return-jsr-result/ |
run | 21 dx --debug --dex --dump-to=- --dump-method=blort.zorch --dump-width=200 \ 60 dx --debug --dex --dump-to=- --dump-method=blort.zorch --dump-width=200 \
|
/dalvik/dx/tests/133-source-debug-extension/ |
run | 20 test_dex=HelloKt.dex 22 # Generate DEX file 23 dx --dex --output=$test_dex $test_class 25 # Extract for SMAP string in DEX and class file.
|
/frameworks/base/core/java/android/content/pm/dex/ |
IArtManager.aidl | 17 package android.content.pm.dex; 19 import android.content.pm.dex.ISnapshotRuntimeProfileCallback;
|