Searched defs:file (Results 76 - 100 of 113) sorted by relevance

12345

/dalvik/dx/src/com/android/dx/dex/file/
H A DMethodHandlesSection.java5 * you may not use this file except in compliance with the License.
16 package com.android.dx.dex.file;
H A DAnnotationItem.java5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
47 * {@link com.android.dx.dex.file.AnnotationItem.TypeIdSorter} */
60 * {@code null-ok;} encoded form, ready for writing to a file; set during
147 public void addContents(DexFile file) { argument
148 type = file.getTypeIds().intern(annotation.getType());
149 ValueEncoder.addContents(file, annotation);
168 * Write a (listing file) annotation for this instance to the given
191 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument
216 ValueEncoder encoder = new ValueEncoder(file, ou
[all...]
H A DAnnotationsDirectoryItem.java5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
244 public void addContents(DexFile file) { argument
245 MixedItemSection wordData = file.getWordData();
253 item.addContents(file);
259 item.addContents(file);
265 item.addContents(file);
288 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument
317 item.writeTo(file, out);
327 item.writeTo(file, ou
[all...]
H A DCodeItem.java5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
33 * {@code dex} file.
36 /** file alignment of this class, in bytes */
108 public void addContents(DexFile file) { argument
109 MixedItemSection byteData = file.getByteData();
110 TypeIdsSection typeIds = file.getTypeIds();
125 file.internIfAppropriate(c);
185 final DexFile file = addedTo.getFile();
195 IndexedItem item = file
226 writeTo0(DexFile file, AnnotatedOutput out) argument
290 writeCodes(DexFile file, AnnotatedOutput out) argument
[all...]
H A DMixedItemSection.java5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
33 * 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 DSection.java5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
23 * A section of a {@code .dex} file. Each section consists of a list
30 /** {@code non-null;} file that this instance is part of */
31 private final DexFile file; field in class:Section
37 /** {@code >= -1;} offset from the start of the file to this part, or
60 * Constructs an instance. The file offset is initially unknown.
64 * @param file {@code non-null;} file that this instance is part of
68 public Section(String name, DexFile file, in argument
[all...]
H A DValueEncoder.java5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
105 /** {@code non-null;} file being written */
106 private final DexFile file; field in class:ValueEncoder
114 * @param file {@code non-null;} file being written
117 public ValueEncoder(DexFile file, AnnotatedOutput out) { argument
118 if (file == null) {
119 throw new NullPointerException("file == null");
126 this.file
412 addContents(DexFile file, Annotation annotation) argument
434 addContents(DexFile file, Constant cst) argument
[all...]
H A DCallSiteIdsSection.java5 * you may not use this file except in compliance with the License.
16 package com.android.dx.dex.file;
25 * A section in the DEX file for call site identifiers.
29 /** A map from call site references to their DEX file identifier. */
32 /** A map from call site instances to their DEX file item. */
38 * @param dexFile {@code non-null;} file that this instance is part of
77 * This method is synchronized as it is called during class file translation which runs
97 * Adds an association between call site constant and its DEX file representation.
99 * This method is not synchronized as it is called during DEX file writing which happens
100 * concurrently on a per DEX file basi
[all...]
H A DDebugInfoConstants.java5 * 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 DStatistics.java5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
25 * Statistics about the contents of a file.
H A DClassDataItem.java5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
37 * {@code dex} file, as opposed to a random-access form.
62 * {@code null-ok;} encoded form, ready for writing to a file; set during
225 public void addContents(DexFile file) { argument
229 field.addContents(file);
236 field.addContents(file);
243 method.addContents(file);
250 method.addContents(file);
336 * @param file {
339 encodeOutput(DexFile file, AnnotatedOutput out) argument
371 encodeSize(DexFile file, AnnotatedOutput out, String label, int size) argument
391 encodeList(DexFile file, AnnotatedOutput out, String label, ArrayList<? extends EncodedMember> list) argument
411 writeTo0(DexFile file, AnnotatedOutput out) argument
[all...]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DAnnotationItem.java5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
62 * {@code null-ok;} encoded form, ready for writing to a file; set during
145 public void addContents(DexFile file) { argument
146 type = file.getTypeIds().intern(annotation.getType());
147 ValueEncoder.addContents(file, annotation);
166 * Write a (listing file) annotation for this instance to the given
189 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument
214 ValueEncoder encoder = new ValueEncoder(file, out);
H A DAnnotationsDirectoryItem.java5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.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 DCodeItem.java5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.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 DMixedItemSection.java5 * 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 DSection.java5 * 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 DValueEncoder.java5 * 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 DDebugInfoConstants.java5 * 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 DStatistics.java5 * 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 DClassDataItem.java5 * 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 DClassDefItem.java5 * 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 DDebugInfoDecoder.java5 * 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 DDebugInfoEncoder.java5 * 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...]
/dalvik/dx/src/com/android/dx/io/
H A DDexIndexPrinter.java5 * you may not use this file except in compliance with the License.
29 * Executable that prints all indices of a dex file.
35 public DexIndexPrinter(File file) throws IOException { argument
36 this.dex = new Dex(file);
/dalvik/dx/src/com/android/multidex/
H A DPath.java5 * you may not use this file except in compliance with the License.
34 static ClassPathElement getClassPathElement(File file) argument
36 if (file.isDirectory()) {
37 return new FolderPathElement(file);
38 } else if (file.isFile()) {
39 return new ArchivePathElement(new ZipFile(file));
40 } else if (file.exists()) {
41 throw new IOException("\"" + file.getPath() +
42 "\" is not a directory neither a zip file");
44 throw new FileNotFoundException("File \"" + file
[all...]

Completed in 221 milliseconds

12345