Searched refs:file (Results 1 - 25 of 136) sorted by relevance

123456

/dalvik/dexgen/src/com/android/dexgen/util/
H A DFileUtils.java5 * 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/tools/
H A Ddexcheck6 # you may not use this file except in compliance with the License.
52 # Check each file in turn. This is much faster with "dexdump -c", but that
57 for file in $files; do
58 echo $file
59 errout=`adb shell "dexdump /data/dalvik-cache/$file > dev/null"`
62 echo " Failure in $file: $errout"
/dalvik/dx/src/com/android/dx/util/
H A DFileUtils.java5 * 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/dexgen/src/com/android/dexgen/dex/file/
H A DFieldIdItem.java5 * 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 DMethodIdItem.java5 * 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 DItem.java5 * 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 DMemberIdsSection.java5 * 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 DIdItem.java5 * 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 DHeaderItem.java5 * 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 DUniformItemSection.java5 * 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 DMemberIdItem.java5 * 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 DEncodedMember.java5 * 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 DHeaderSection.java5 * 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 DAnnotationSetRefItem.java5 * 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 DFieldIdItem.java5 * 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 DMethodIdItem.java5 * 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 DItem.java5 * 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 DIdItem.java5 * 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 DHeaderItem.java5 * 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 DUniformItemSection.java5 * you may not use this file except in compliance with the License.
17 package com.android.dx.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 DMemberIdItem.java5 * 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 DEncodedMember.java5 * you may not use this file except in compliance with the License.
17 package com.android.dx.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 DHeaderSection.java5 * 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.
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 DAnnotationSetRefItem.java5 * 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/opcode-gen/
H A Dopcode-gen6 # you may not use this file except in compliance with the License.
17 # opcode-gen <file>
19 # This script uses the file bytecodes.txt (in this directory) to
20 # generate code inside the given <file>, based on the directives found
21 # in that file. Refer to those files to understand what's being
26 file="$1"
32 echo "must specify a file" 1>&2
59 "$file" > "$tmpfile"
62 cp "$tmpfile" "$file"

Completed in 167 milliseconds

123456