/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. 35 * Reads the named file, translating {@link IOException} to a 38 * @param fileName {@code non-null;} name of the file to read 39 * @return {@code non-null;} contents of the file 42 File file = new File(fileName); 43 return readFile(file); 47 * Reads the given file, translating {@link IOException} to a 50 * @param file {@code non-null;} the file to read 51 * @return {@code non-null;} contents of the file 53 readFile(File file) argument [all...] |
/dalvik/dx/src/com/android/dex/util/ |
H A D | FileUtils.java | 5 * you may not use this file except in compliance with the License. 31 * Reads the named file, translating {@link IOException} to a 34 * @param fileName {@code non-null;} name of the file to read 35 * @return {@code non-null;} contents of the file 38 File file = new File(fileName); 39 return readFile(file); 43 * Reads the given file, translating {@link IOException} to a 46 * @param file {@code non-null;} the file to read 47 * @return {@code non-null;} contents of the file 49 readFile(File file) argument [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
H A D | FieldIdItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 22 * Representation of a field reference inside a Dalvik file. 42 public void addContents(DexFile file) { argument 43 super.addContents(file); 45 TypeIdsSection typeIds = file.getTypeIds(); 60 protected int getTypoidIdx(DexFile file) { argument 61 TypeIdsSection typeIds = file.getTypeIds();
|
H A D | MethodIdItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 22 * Representation of a method reference inside a Dalvik file. 42 public void addContents(DexFile file) { argument 43 super.addContents(file); 45 ProtoIdsSection protoIds = file.getProtoIds(); 60 protected int getTypoidIdx(DexFile file) { argument 61 ProtoIdsSection protoIds = file.getProtoIds();
|
H A D | Item.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 23 * repeated piece of a Dalvik file. 59 * This will <i>not</i> add an item to the file for this instance itself 65 * @param file {@code non-null;} the file to populate 67 public abstract void addContents(DexFile file); argument 76 * @param file {@code non-null;} the file to use for reference 79 public abstract void writeTo(DexFile file, AnnotatedOutpu argument [all...] |
H A D | MemberIdsSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 20 * Member (field or method) refs list section of a {@code .dex} file. 24 * Constructs an instance. The file offset is initially unknown. 28 * @param file {@code non-null;} file that this instance is part of 30 public MemberIdsSection(String name, DexFile file) { argument 31 super(name, file, 4);
|
H A D | IdItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 22 * Representation of a reference to an item inside a Dalvik file. 47 public void addContents(DexFile file) { argument 48 TypeIdsSection typeIds = file.getTypeIds();
|
H A D | HeaderItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 24 * File header section of a {@code .dex} file. 28 * {@code non-null;} the file format magic number, represented as the 60 public void addContents(DexFile file) { argument 66 public void writeTo(DexFile file, AnnotatedOutput out) { argument 67 int mapOff = file.getMap().getFileOffset(); 68 Section firstDataSection = file.getFirstDataSection(); 69 Section lastDataSection = file.getLastDataSection(); 79 Hex.u4(file [all...] |
H A D | UniformItemSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 25 * A section of a {@code .dex} file which consists of a sequence of 31 * Constructs an instance. The file offset is initially unknown. 35 * @param file {@code non-null;} file that this instance is part of 39 public UniformItemSection(String name, DexFile file, int alignment) { argument 40 super(name, file, alignment); 71 DexFile file = getFile(); 76 one.addContents(file); [all...] |
H A D | MemberIdItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 26 * Dalvik file. 29 /** size of instances when written out to a file, in bytes */ 54 public void addContents(DexFile file) { argument 55 super.addContents(file); 57 StringIdsSection stringIds = file.getStringIds(); 63 public final void writeTo(DexFile file, AnnotatedOutput out) { argument 64 TypeIdsSection typeIds = file.getTypeIds(); 65 StringIdsSection stringIds = file 92 getTypoidIdx(DexFile file) argument [all...] |
H A D | EncodedMember.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 69 * @param file {@code non-null;} the file to populate 71 public abstract void addContents(DexFile file); argument 76 * @param file {@code non-null;} file this instance is part of 84 public abstract int encode(DexFile file, AnnotatedOutput out, argument
|
H A D | HeaderSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 26 * File header section of a {@code .dex} file. 33 * Constructs an instance. The file offset is initially unknown. 35 * @param file {@code non-null;} file that this instance is part of 37 public HeaderSection(DexFile file) { argument 38 super(null, file, 4);
|
H A D | AnnotationSetRefItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 57 public void addContents(DexFile file) { argument 58 MixedItemSection wordData = file.getWordData(); 71 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument
|
/dalvik/dx/src/com/android/dx/dex/file/ |
H A D | FieldIdItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 22 * Representation of a field reference inside a Dalvik file. 42 public void addContents(DexFile file) { argument 43 super.addContents(file); 45 TypeIdsSection typeIds = file.getTypeIds(); 60 protected int getTypoidIdx(DexFile file) { argument 61 TypeIdsSection typeIds = file.getTypeIds();
|
H A D | MethodIdItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 22 * Representation of a method reference inside a Dalvik file. 42 public void addContents(DexFile file) { argument 43 super.addContents(file); 45 ProtoIdsSection protoIds = file.getProtoIds(); 60 protected int getTypoidIdx(DexFile file) { argument 61 ProtoIdsSection protoIds = file.getProtoIds();
|
H A D | Item.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 23 * repeated piece of a Dalvik file. 59 * This will <i>not</i> add an item to the file for this instance itself 65 * @param file {@code non-null;} the file to populate 67 public abstract void addContents(DexFile file); argument 76 * @param file {@code non-null;} the file to use for reference 79 public abstract void writeTo(DexFile file, AnnotatedOutpu argument [all...] |
H A D | IdItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 22 * Representation of a reference to an item inside a Dalvik file. 47 public void addContents(DexFile file) { argument 48 TypeIdsSection typeIds = file.getTypeIds();
|
H A D | HeaderItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 26 * File header section of a {@code .dex} file. 50 public void addContents(DexFile file) { argument 56 public void writeTo(DexFile file, AnnotatedOutput out) { argument 57 int mapOff = file.getMap().getFileOffset(); 58 Section firstDataSection = file.getFirstDataSection(); 59 Section lastDataSection = file.getLastDataSection(); 64 String magic = file.getDexOptions().getMagic(); 71 Hex.u4(file [all...] |
H A D | UniformItemSection.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 which consists of a sequence of 30 * Constructs an instance. The file offset is initially unknown. 34 * @param file {@code non-null;} file that this instance is part of 38 public UniformItemSection(String name, DexFile file, int alignment) { argument 39 super(name, file, alignment); 70 DexFile file = getFile(); 75 one.addContents(file); [all...] |
H A D | MemberIdItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 27 * Dalvik file. 52 public void addContents(DexFile file) { argument 53 super.addContents(file); 55 StringIdsSection stringIds = file.getStringIds(); 61 public final void writeTo(DexFile file, AnnotatedOutput out) { argument 62 TypeIdsSection typeIds = file.getTypeIds(); 63 StringIdsSection stringIds = file.getStringIds(); 67 int typoidIdx = getTypoidIdx(file); 90 getTypoidIdx(DexFile file) argument [all...] |
H A D | MethodHandleItem.java | 5 * you may not use this file except in compliance with the License. 16 package com.android.dx.dex.file; 27 * Representation of a method handle in a DEX file. 31 /** The item size when placed in a DEX file. */ 40 * @param methodHandle {@code non-null;} The method handle to represent in the DEX file. 60 public void addContents(DexFile file) { argument 61 MethodHandlesSection methodHandles = file.getMethodHandles(); 67 public void writeTo(DexFile file, AnnotatedOutput out) { argument 68 int targetIndex = getTargetIndex(file); 81 out.writeShort(getTargetIndex(file)); 85 getTargetIndex(DexFile file) argument [all...] |
H A D | EncodedMember.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 68 * @param file {@code non-null;} the file to populate 70 public abstract void addContents(DexFile file); argument 75 * @param file {@code non-null;} file this instance is part of 83 public abstract int encode(DexFile file, AnnotatedOutput out, argument
|
H A D | HeaderSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 25 * File header section of a {@code .dex} file. 32 * Constructs an instance. The file offset is initially unknown. 34 * @param file {@code non-null;} file that this instance is part of 36 public HeaderSection(DexFile file) { argument 37 super(null, file, 4);
|
H A D | AnnotationSetRefItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 57 public void addContents(DexFile file) { argument 58 MixedItemSection wordData = file.getWordData(); 71 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument
|
/dalvik/dx/tests/131-perf/ |
H A D | ClassGen.java | 25 for (int file = start; file <= end; file++) { 27 File f = new File("src/Clazz" + file + ".java"); 29 pw.println("class Clazz" + file + " {"); 34 pw.println(" boolean m" + method + "_" + (file%(end/2)) + "() {" 39 + file + ".class + \".method" + method 40 + "() \" + Clazz" + (end-file+1) + ".f1);");
|