/dalvik/dx/src/com/android/dex/util/ |
ByteOutput.java | 17 package com.android.dex.util;
|
/dalvik/dx/tests/128-multidex-option-overflow/ |
run | 21 dx -JXmx1024m --dex --no-optimize --multi-dex --output=out classes
|
/test/suite_harness/tools/dex-tools/src/dex/structure/ |
DexAnnotationAttribute.java | 17 package dex.structure;
|
DexEncodedValue.java | 17 package dex.structure;
|
DexParameter.java | 17 package dex.structure;
|
WithModifiers.java | 17 package dex.structure;
|
DexAnnotatedElement.java | 17 package dex.structure;
|
/art/test/113-multidex/ |
build | 34 ${JACK} --import classes.jill.jar --output-dex . 35 mv classes.dex classes-1.dex 36 ${JACK} --import classes2.jill.jar --output-dex . 37 mv classes.dex classes2.dex 38 mv classes-1.dex classes.dex 42 ${DX} -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex classe [all...] |
/art/test/126-miranda-multidex/ |
build | 34 ${JACK} --import classes.jill.jar --output-dex . 35 mv classes.dex classes-1.dex 36 ${JACK} --import classes2.jill.jar --output-dex . 37 mv classes.dex classes2.dex 38 mv classes-1.dex classes.dex 42 ${DX} -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex classe [all...] |
/tools/dexter/slicer/ |
bytecode_encoder.cc | 26 static dex::u2 Pack_Z_8(dex::u4 a) { 27 dex::u2 fa = (a & 0xff); 33 static dex::u2 Pack_8_8(dex::u4 a, dex::u4 b) { 34 dex::u2 fa = (a & 0xff); 36 dex::u2 fb = (b & 0xff); 42 static dex::u2 Pack_4_4_8(dex::u4 a, dex::u4 b, dex::u4 c) [all...] |
writer.cc | 32 namespace dex { namespace 36 static dex::u4 OptIndex(const T* ir_node) { 37 return ir_node != nullptr ? ir_node->index : dex::kNoIndex; 41 static void WriteEncodedValueHeader(dex::u1 type, int arg, Section& data) { 42 assert((type & ~dex::kEncodedValueTypeMask) == 0); 44 dex::u1 header = dex::u1(type | (arg << dex::kEncodedValueArgShift)); 45 data.Push<dex::u1>(header); 50 static void WriteIntValue(dex::u1 type, T value, Section& data) [all...] |
/dalvik/dx/src/com/android/dex/ |
CallSiteId.java | 17 package com.android.dex; 19 import com.android.dex.Dex.Section; 20 import com.android.dex.util.Unsigned; 23 * A call_site_id_item: https://source.android.com/devices/tech/dalvik/dex-format#call-site-id-item 27 private final Dex dex; field in class:CallSiteId 30 public CallSiteId(Dex dex, int offset) { 31 this.dex = dex [all...] |
Annotation.java | 17 package com.android.dex; 19 import static com.android.dex.EncodedValueReader.ENCODED_ANNOTATION; 25 private final Dex dex; field in class:Annotation 29 public Annotation(Dex dex, byte visibility, EncodedValue encodedAnnotation) { 30 this.dex = dex; 49 public void writeTo(Dex.Section out) { 61 return dex == nul [all...] |
DexException.java | 17 package com.android.dex; 19 import com.android.dex.util.ExceptionWithContext; 23 * processing a dex file.
|
/dalvik/dx/tests/127-merge-stress/ |
run | 18 # DEX files from the Android build tree. 32 # Find all files that could contain dex bytecode. 33 candidates=`find "$ANDROID_BUILD_TOP/out" -name '*.dex' -o -name '*.jar' -o -name '*.apk'` 36 for dex in $candidates; do 37 if [[ "$dex" = *"core"* ]]; then 43 # classes.dex file. DexMerger assumes file contents based on the 44 # file extension. Android build names some DEX files with a .jar 47 if [[ "$dex" == *"jar" || "$dex" == *"apk" ]]; then 48 unzip -l "$dex" 2>&1 | grep -q -m 1 classes.de [all...] |
/art/test/1948-obsolete-const-method-handle/ |
build | 23 ${DX} --dex --min-sdk-version=28 --output=classes.dex classes 25 zip $TEST_NAME.jar classes.dex
|
/art/test/638-no-line-number/ |
build | 24 ${DX} --dex --output=classes.dex classes 25 zip $TEST_NAME.jar classes.dex
|
/dalvik/dx/tests/115-merge/ |
run | 24 dx --dex --output=test.jar com/android/dx/merge/* $dxjar 26 # Build a resource .jar containing the .dex files to merge 27 dx --dex --output=testdata/Annotated.dex testdata/Annotated* 28 dx --dex --output=testdata/Basic.dex testdata/Basic* 29 dx --dex --output=testdata/FillArrayData.dex testdata/FillArrayData* 30 dx --dex --output=testdata/StaticValues.dex testdata/StaticValues [all...] |
/dalvik/dx/tests/140-ssa-phi-overlap/ |
run | 17 dx --dex --output=classes.dex *.class 23 art -classpath classes.dex Test 1>art.out.log 2>art.err.log
|
/tools/dexter/slicer/export/slicer/ |
reader.h | 28 namespace dex { namespace 30 // Provides both a low level iteration over the .dex 31 // structures and incremental .dex IR creation. 34 // - only little-endian .dex files and host machines are supported 39 Reader(const dex::u1* image, size_t size); 47 // Low level dex format interface 48 const dex::Header* Header() const { return header_; } 49 const char* GetStringMUTF8(dex::u4 index) const; 50 slicer::ArrayView<const dex::ClassDef> ClassDefs() const; 51 slicer::ArrayView<const dex::StringId> StringIds() const [all...] |
/art/compiler/utils/ |
atomic_dex_ref_map_test.cc | 22 #include "dex/dex_file-inl.h" 23 #include "dex/method_reference.h" 32 std::unique_ptr<const DexFile> dex(OpenTestDexFile("Interfaces")); 33 ASSERT_TRUE(dex != nullptr); 38 EXPECT_FALSE(map.Get(MethodReference(dex.get(), 1), &value)); 39 EXPECT_FALSE(map.HaveDexFile(dex.get())); 40 // Error case: Dex file not registered. 41 EXPECT_TRUE(map.Insert(MethodReference(dex.get(), 1), 0, 1) == Map::kInsertResultInvalidDexFile); 42 map.AddDexFile(dex.get()); 43 EXPECT_TRUE(map.HaveDexFile(dex.get())) [all...] |
/art/test/022-interface/ |
build | 24 ${JACK} --import classes.jill.jar --output-dex . 26 ${DX} --debug --dex --dump-to=classes.lst --output=classes.dex classes 29 zip $TEST_NAME.jar classes.dex
|
/art/test/056-const-string-jumbo/ |
build | 43 ${JACK} --output-dex . src 49 ${DX} -JXmx500m --debug --dex --no-optimize --positions=none --no-locals --output=classes.dex classes 54 zip $TEST_NAME.jar classes.dex
|
/art/test/370-dex-v37/ |
build | 23 # Change the generated dex file to have a v36 magic number if it is version 35 24 if test -f classes.dex && head -c 7 classes.dex | grep -q 035; then 25 # place ascii value '037' into the classes.dex file starting at byte 4. 26 printf '037' | dd status=none conv=notrunc of=classes.dex bs=1 seek=4 count=3 28 zip $TEST_NAME.jar classes.dex
|
/dalvik/dx/tests/109-int-branch/ |
run | 17 dx --debug --dex --no-optimize --dump-method="blort.test*" blort.class
|