/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
H A D | MixedItemSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 34 * A section of a {@code .dex} file which consists of a sequence of 79 * Constructs an instance. The file offset is initially unknown. 83 * @param file {@code non-null;} file that this instance is part of 88 public MixedItemSection(String name, DexFile file, int alignment, argument 90 super(name, file, alignment); 128 * Writes the portion of the file header that refers to this instance. 264 DexFile file [all...] |
H A D | Section.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 24 * A section of a {@code .dex} file. Each section consists of a list 31 /** {@code non-null;} file that this instance is part of */ 32 private final DexFile file; field in class:Section 38 /** {@code >= -1;} offset from the start of the file to this part, or 61 * Constructs an instance. The file offset is initially unknown. 65 * @param file {@code non-null;} file that this instance is part of 69 public Section(String name, DexFile file, in argument [all...] |
H A D | ValueEncoder.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 98 /** {@code non-null;} file being written */ 99 private final DexFile file; field in class:ValueEncoder 107 * @param file {@code non-null;} file being written 110 public ValueEncoder(DexFile file, AnnotatedOutput out) { argument 111 if (file == null) { 112 throw new NullPointerException("file == null"); 119 this.file 494 addContents(DexFile file, Annotation annotation) argument 516 addContents(DexFile file, Constant cst) argument [all...] |
H A D | DebugInfoConstants.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 130 * Sets the current file that that line numbers refer to. All subsequent 131 * line number entries make reference to this source file name, instead 137 * file name.
|
H A D | Statistics.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 26 * Statistics about the contents of a file.
|
H A D | ClassDataItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 41 * {@code dex} file, as opposed to a random-access form. 66 * {@code null-ok;} encoded form, ready for writing to a file; set during 229 public void addContents(DexFile file) { argument 233 field.addContents(file); 240 field.addContents(file); 247 method.addContents(file); 254 method.addContents(file); 340 * @param file { 343 encodeOutput(DexFile file, AnnotatedOutput out) argument 375 encodeSize(DexFile file, AnnotatedOutput out, String label, int size) argument 395 encodeList(DexFile file, AnnotatedOutput out, String label, ArrayList<? extends EncodedMember> list) argument 415 writeTo0(DexFile file, AnnotatedOutput out) argument [all...] |
H A D | ClassDefItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 45 /** size of instances when written out to a file, in bytes */ 63 /** {@code null-ok;} source file name or {@code null} if unknown */ 87 * @param sourceFile {@code null-ok;} source file name or 130 public void addContents(DexFile file) { argument 131 TypeIdsSection typeIds = file.getTypeIds(); 132 MixedItemSection byteData = file.getByteData(); 133 MixedItemSection wordData = file.getWordData(); 134 MixedItemSection typeLists = file 173 writeTo(DexFile file, AnnotatedOutput out) argument [all...] |
H A D | DebugInfoDecoder.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 36 import static com.android.dexgen.dex.file.DebugInfoConstants.*; 65 /** dex file this debug info will be stored in */ 66 private final DexFile file; field in class:DebugInfoDecoder 92 * @param file dex file this debug info will be stored in 95 boolean isStatic, CstMethodRef ref, DexFile file) { 103 this.file = file; 94 DebugInfoDecoder(byte[] encoded, int codesize, int regSize, boolean isStatic, CstMethodRef ref, DexFile file) argument 424 validateEncode(byte[] info, DexFile file, CstMethodRef ref, DalvCode code, boolean isStatic) argument 445 validateEncode0(byte[] info, int codeSize, int countRegisters, boolean isStatic, CstMethodRef ref, DexFile file, PositionList pl, LocalList ll) argument [all...] |
H A D | DebugInfoEncoder.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 40 import static com.android.dexgen.dex.file.DebugInfoConstants.*; 65 private final DexFile file; field in class:DebugInfoEncoder 101 * @param file {@code null-ok;} may only be {@code null} if simply using 109 DexFile file, int codeSize, int regSize, 113 this.file = file; 640 if ((string == null) || (file == null)) { 644 1 + file 108 DebugInfoEncoder(PositionList positions, LocalList locals, DexFile file, int codeSize, int regSize, boolean isStatic, CstMethodRef ref) argument [all...] |
H A D | AnnotationUtils.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 172 * across many signatures and the rest of the file.
|
/dalvik/dx/src/com/android/dx/dex/file/ |
H A D | AnnotationItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 60 * {@code null-ok;} encoded form, ready for writing to a file; set during 143 public void addContents(DexFile file) { argument 144 type = file.getTypeIds().intern(annotation.getType()); 145 ValueEncoder.addContents(file, annotation); 164 * Write a (listing file) annotation for this instance to the given 187 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument 212 ValueEncoder encoder = new ValueEncoder(file, out);
|
H A D | AnnotationsDirectoryItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 240 public void addContents(DexFile file) { argument 241 MixedItemSection wordData = file.getWordData(); 249 item.addContents(file); 255 item.addContents(file); 261 item.addContents(file); 284 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument 313 item.writeTo(file, out); 323 item.writeTo(file, ou [all...] |
H A D | CodeItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 42 * {@code dex} file. 45 /** file alignment of this class, in bytes */ 116 public void addContents(DexFile file) { argument 117 MixedItemSection byteData = file.getByteData(); 118 TypeIdsSection typeIds = file.getTypeIds(); 133 file.internIfAppropriate(c); 193 final DexFile file = addedTo.getFile(); 202 IndexedItem item = file 233 writeTo0(DexFile file, AnnotatedOutput out) argument 297 writeCodes(DexFile file, AnnotatedOutput out) argument [all...] |
H A D | MixedItemSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 34 * A section of a {@code .dex} file which consists of a sequence of 79 * Constructs an instance. The file offset is initially unknown. 83 * @param file {@code non-null;} file that this instance is part of 88 public MixedItemSection(String name, DexFile file, int alignment, argument 90 super(name, file, alignment); 128 * Writes the portion of the file header that refers to this instance. 264 DexFile file [all...] |
H A D | Section.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 24 * A section of a {@code .dex} file. Each section consists of a list 31 /** {@code non-null;} file that this instance is part of */ 32 private final DexFile file; field in class:Section 38 /** {@code >= -1;} offset from the start of the file to this part, or 61 * Constructs an instance. The file offset is initially unknown. 65 * @param file {@code non-null;} file that this instance is part of 69 public Section(String name, DexFile file, in argument [all...] |
H A D | ValueEncoder.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 96 /** {@code non-null;} file being written */ 97 private final DexFile file; field in class:ValueEncoder 105 * @param file {@code non-null;} file being written 108 public ValueEncoder(DexFile file, AnnotatedOutput out) { argument 109 if (file == null) { 110 throw new NullPointerException("file == null"); 117 this.file 492 addContents(DexFile file, Annotation annotation) argument 514 addContents(DexFile file, Constant cst) argument [all...] |
H A D | DebugInfoConstants.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 130 * Sets the current file that that line numbers refer to. All subsequent 131 * line number entries make reference to this source file name, instead 137 * file name.
|
H A D | Statistics.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 26 * Statistics about the contents of a file.
|
H A D | ClassDataItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 38 * {@code dex} file, as opposed to a random-access form. 63 * {@code null-ok;} encoded form, ready for writing to a file; set during 226 public void addContents(DexFile file) { argument 230 field.addContents(file); 237 field.addContents(file); 244 method.addContents(file); 251 method.addContents(file); 337 * @param file { 340 encodeOutput(DexFile file, AnnotatedOutput out) argument 372 encodeSize(DexFile file, AnnotatedOutput out, String label, int size) argument 392 encodeList(DexFile file, AnnotatedOutput out, String label, ArrayList<? extends EncodedMember> list) argument 412 writeTo0(DexFile file, AnnotatedOutput out) argument [all...] |
H A D | ClassDefItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 61 /** {@code null-ok;} source file name or {@code null} if unknown */ 85 * @param sourceFile {@code null-ok;} source file name or 128 public void addContents(DexFile file) { argument 129 TypeIdsSection typeIds = file.getTypeIds(); 130 MixedItemSection byteData = file.getByteData(); 131 MixedItemSection wordData = file.getWordData(); 132 MixedItemSection typeLists = file.getTypeLists(); 133 StringIdsSection stringIds = file 171 writeTo(DexFile file, AnnotatedOutput out) argument [all...] |
H A D | DebugInfoDecoder.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 37 import static com.android.dx.dex.file.DebugInfoConstants.*; 66 /** dex file this debug info will be stored in */ 67 private final DexFile file; field in class:DebugInfoDecoder 93 * @param file dex file this debug info will be stored in 96 boolean isStatic, CstMethodRef ref, DexFile file) { 104 this.file = file; 95 DebugInfoDecoder(byte[] encoded, int codesize, int regSize, boolean isStatic, CstMethodRef ref, DexFile file) argument 418 validateEncode(byte[] info, DexFile file, CstMethodRef ref, DalvCode code, boolean isStatic) argument 439 validateEncode0(byte[] info, int codeSize, int countRegisters, boolean isStatic, CstMethodRef ref, DexFile file, PositionList pl, LocalList ll) argument [all...] |
H A D | DebugInfoEncoder.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 40 import static com.android.dx.dex.file.DebugInfoConstants.*; 65 private final DexFile file; field in class:DebugInfoEncoder 101 * @param file {@code null-ok;} may only be {@code null} if simply using 109 DexFile file, int codeSize, int regSize, 113 this.file = file; 640 if ((string == null) || (file == null)) { 644 1 + file 108 DebugInfoEncoder(PositionList positions, LocalList locals, DexFile file, int codeSize, int regSize, boolean isStatic, CstMethodRef ref) argument [all...] |
/dalvik/dx/src/com/android/dx/io/ |
H A D | DexIndexPrinter.java | 5 * you may not use this file except in compliance with the License. 24 * Executable that prints all indices of a dex file. 30 public DexIndexPrinter(File file) throws IOException { argument 31 this.dexBuffer = new DexBuffer(file);
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
H A D | ClassPathOpener.java | 5 * you may not use this file except in compliance with the License. 56 * Provides the file name and byte array for a class path element. 62 * @param bytes {@code non-null;} file data 78 * Informs consumer that processing of an archive file has begun. 80 * @param file {@code non-null;} archive file being processed 82 void onProcessArchiveStart(File file); argument 107 File file = new File(pathname); 109 return processOne(file, true); 113 * Processes one file 120 processOne(File file, boolean topLevel) argument 205 processArchive(File file) argument [all...] |
/dalvik/hit/src/com/android/hit/ |
H A D | StackFrame.java | 5 * you may not use this file except in compliance with the License. 32 public StackFrame(long id, String method, String sig, String file, argument 37 mFilename = file;
|