Home
last modified time | relevance | path

Searched refs:in (Results 1 – 25 of 322) sorted by relevance

12345678910>>...13

/dalvik/dx/src/com/android/dex/
DEncodedValueReader.java47 protected final ByteInput in; field in EncodedValueReader
52 public EncodedValueReader(ByteInput in) { in EncodedValueReader() argument
53 this.in = in; in EncodedValueReader()
56 public EncodedValueReader(EncodedValue in) { in EncodedValueReader() argument
57 this(in.asByteInput()); in EncodedValueReader()
66 public EncodedValueReader(ByteInput in, int knownType) { in EncodedValueReader() argument
67 this.in = in; in EncodedValueReader()
71 public EncodedValueReader(EncodedValue in, int knownType) { in EncodedValueReader() argument
72 this(in.asByteInput(), knownType); in EncodedValueReader()
80 int argAndType = in.readByte() & 0xff; in peek()
[all …]
DEncodedValueCodec.java123 public static int readSignedInt(ByteInput in, int zwidth) { in readSignedInt() argument
126 result = (result >>> 8) | ((in.readByte() & 0xff) << 24); in readSignedInt()
138 public static int readUnsignedInt(ByteInput in, int zwidth, boolean fillOnRight) { in readUnsignedInt() argument
142 result = (result >>> 8) | ((in.readByte() & 0xff) << 24); in readUnsignedInt()
147 result = (result >>> 8) | ((in.readByte() & 0xff) << 24); in readUnsignedInt()
158 public static long readSignedLong(ByteInput in, int zwidth) { in readSignedLong() argument
161 result = (result >>> 8) | ((in.readByte() & 0xffL) << 56); in readSignedLong()
173 public static long readUnsignedLong(ByteInput in, int zwidth, boolean fillOnRight) { in readUnsignedLong() argument
177 result = (result >>> 8) | ((in.readByte() & 0xffL) << 56); in readUnsignedLong()
182 result = (result >>> 8) | ((in.readByte() & 0xffL) << 56); in readUnsignedLong()
DMutf8.java32 public static String decode(ByteInput in, char[] out) throws UTFDataFormatException { in decode() argument
35 char a = (char) (in.readByte() & 0xff); in decode()
43 int b = in.readByte() & 0xff; in decode()
49 int b = in.readByte() & 0xff; in decode()
50 int c = in.readByte() & 0xff; in decode()
DLeb128.java54 public static int readSignedLeb128(ByteInput in) { in readSignedLeb128() argument
61 cur = in.readByte() & 0xff; in readSignedLeb128()
82 public static int readUnsignedLeb128(ByteInput in) { in readUnsignedLeb128() argument
88 cur = in.readByte() & 0xff; in readUnsignedLeb128()
/dalvik/dx/src/com/android/dx/io/instructions/
DInstructionCodec.java35 CodeInput in) throws EOFException { in FORMAT_00X() argument
50 CodeInput in) throws EOFException { in FORMAT_10X() argument
67 CodeInput in) throws EOFException { in FORMAT_12X() argument
88 CodeInput in) throws EOFException { in FORMAT_11N() argument
109 CodeInput in) throws EOFException { in FORMAT_11X() argument
127 CodeInput in) throws EOFException { in FORMAT_10T() argument
128 int baseAddress = in.cursor() - 1; in FORMAT_10T()
146 CodeInput in) throws EOFException { in FORMAT_20T() argument
147 int baseAddress = in.cursor() - 1; in FORMAT_20T()
150 int target = (short) in.read(); // sign-extend in FORMAT_20T()
[all …]
DDecodedInstruction.java69 public static DecodedInstruction decode(CodeInput in) throws EOFException { in decode() argument
70 int opcodeUnit = in.read(); in decode()
74 return format.decode(opcodeUnit, in); in decode()
85 ShortArrayCodeInput in = new ShortArrayCodeInput(encodedInstructions); in decodeAll() local
88 while (in.hasMore()) { in decodeAll()
89 decoded[in.cursor()] = DecodedInstruction.decode(in); in decodeAll()
/dalvik/dx/tests/094-scala-locals/
Dexpected.txt6 live in:{}
13 live in:{}
20 live in:{}
27 live in:{}
34 live in:{14}
41 live in:{}
47 live in:{}
53 live in:{}
59 live in:{}
65 live in:{}
[all …]
/dalvik/opcode-gen/
DREADME.txt4 # you may not use this file except in compliance with the License.
9 # Unless required by applicable law or agreed to in writing, software
23 * Update the file bytecode.txt, in this directory.
25 * Run the regen-all script, in this directory. This will regenerate a
26 number of tables, definitions, and declarations in the code, in
29 * Implement/update the opcode in C in vm/mterp/c/...
33 * Implement/update the instruction in assembly in vm/mterp/{arm*,x86*}/...
35 in mterp/config-* and running "int:fast" as above.
37 * Implement/update the instruction in
40 * Rebuild the interpreter code. See the notes in vm/mterp/ReadMe.txt for
[all …]
/dalvik/dx/tests/086-ssa-edge-split/
Dexpected.txt6 live in:{}
13 live in:{}
19 live in:{}
26 live in:{}
31 live in:{}
40 live in:{}
48 live in:{}
56 live in:{}
64 live in:{}
71 live in:{}
[all …]
Dinfo.txt1 This is a test case for the edge-splitting algorthim used in the conversion to SSA form.
5 aspects of conversion end up altering the output in innocuous ways.
/dalvik/dx/tests/087-ssa-local-vars/
Dexpected.txt6 live in:{2}
13 live in:{}
19 live in:{}
26 live in:{}
31 live in:{}
37 live in:{}
45 live in:{12, 62, 63}
52 live in:{15, 62, 63}
59 live in:{15, 17, 62}
69 live in:{15, 17, 62}
[all …]
/dalvik/dx/tests/083-ssa-phi-placement/
Dexpected.txt6 live in:{}
14 live in:{}
20 live in:{}
27 live in:{}
32 live in:{}
41 live in:{}
53 live in:{}
62 live in:{}
71 live in:{}
80 live in:{}
[all …]
Dinfo.txt1 This is a test case for the phi placement algorthim used in the conversion to SSA form.
5 aspects of conversion end up altering the output in innocuous ways.
/dalvik/dx/tests/143-interface-methods/
Dexpected.txt3 Uncaught translation error: com.android.dx.cf.code.SimException: ERROR in InvokeDefault.foo:()V: in…
6 WARNING in DefaultDefinition.countIt:(Ljava/lang/String;)I: defining a default interface method req…
8 Uncaught translation error: com.android.dx.cf.code.SimException: ERROR in InvokeStatic.main:([Ljava…
11 WARNING in StaticDefinition.printIt:(Ljava/lang/String;)V: defining a static interface method requi…
14 Uncaught translation error: com.android.dx.cf.code.SimException: ERROR in InvokeDefault.foo:()V: in…
17 WARNING in DefaultDefinition.countIt:(Ljava/lang/String;)I: defining a default interface method req…
19 Uncaught translation error: com.android.dx.cf.code.SimException: ERROR in InvokeStatic.main:([Ljava…
22 WARNING in StaticDefinition.printIt:(Ljava/lang/String;)V: defining a static interface method requi…
25 Uncaught translation error: com.android.dx.cf.code.SimException: ERROR in InvokeDefault.foo:()V: in…
28 WARNING in DefaultDefinition.countIt:(Ljava/lang/String;)I: defining a default interface method req…
[all …]
/dalvik/dx/tests/117-modified-utf8/com/android/dx/util/
DMutf8Test.java29 ByteInput in = new ByteArrayByteInput( in testDecode() local
31 assertEquals('A', in.readByte()); in testDecode()
32 assertEquals("BC\u0000", Mutf8.decode(in, new char[3])); in testDecode()
33 assertEquals('E', in.readByte()); in testDecode()
/dalvik/dx/src/com/android/dx/merge/
DDexMerger.java287 private int readIntoMap(Dex.Section in, TableOfContents.Section section, IndexMap indexMap, in readIntoMap() argument
289 int offset = in != null ? in.getPosition() : -1; in readIntoMap()
291 T v = read(in, indexMap, index); in readIntoMap()
344 Dex.Section in = source.open(section.off); in readUnsortedValues() local
346 int offset = in.getPosition(); in readUnsortedValues()
347 T value = read(in, indexMap, 0); in readUnsortedValues()
354 abstract T read(Dex.Section in, IndexMap indexMap, int index); in read() argument
397 @Override String read(Dex.Section in, IndexMap indexMap, int index) { in mergeStringIds() argument
398 return in.readString(); in mergeStringIds()
419 @Override Integer read(Dex.Section in, IndexMap indexMap, int index) { in mergeTypeIds() argument
[all …]
/dalvik/tools/hprof-conv/
DHprofConv.c210 static int ebReadString(ExpandBuf* pBuf, FILE* in) in ebReadString() argument
217 ic = getc(in); in ebReadString()
218 if (feof(in) || ferror(in)) { in ebReadString()
235 static int ebReadData(ExpandBuf* pBuf, FILE* in, size_t count, int eofExpected) in ebReadData() argument
242 actual = fread(pBuf->storage + pBuf->curLen, 1, count, in); in ebReadData()
244 if (eofExpected && feof(in) && !ferror(in)) { in ebReadData()
604 static int filterData(FILE* in, FILE* out, int flags) in filterData() argument
617 if (ebReadString(pBuf, in) != 0) in filterData()
640 if (ebReadData(pBuf, in, 12, FALSE) != 0) in filterData()
655 if (ebReadData(pBuf, in, 1, TRUE) != 0) in filterData()
[all …]
/dalvik/dx/src/com/android/multidex/
DPath.java64 private static byte[] readStream(InputStream in, ByteArrayOutputStream baos, byte[] readBuffer) in readStream() argument
68 int amt = in.read(readBuffer); in readStream()
76 in.close(); in readStream()
99 InputStream in = element.open(path); in getClass() local
101 byte[] bytes = readStream(in, baos, readBuffer); in getClass()
107 in.close(); in getClass()
/dalvik/dx/tests/111-use-null-as-array/
Dinfo.txt2 of a known-null in contexts that require a specific type end up getting
3 converted to the type in question. When executed, this sort of code
8 there are some surprising instructions in there, such as using
9 aget-byte for what was a boolean[] in the source code. In these cases,
18 aspects of conversion end up altering the output in innocuous ways.
/dalvik/dexgen/src/com/android/dexgen/util/
DFileUtils.java76 FileInputStream in = new FileInputStream(file); in readFile() local
80 int amt = in.read(result, at, length); in readFile()
88 in.close(); in readFile()
/dalvik/dx/src/com/android/dex/util/
DFileUtils.java71 FileInputStream in = new FileInputStream(file); in readFile() local
74 int amt = in.read(result, at, length); in readFile()
81 in.close(); in readFile()
/dalvik/dx/
DREADME.txt1 Home of Dalvik eXchange, the thing that takes in class files and
2 reformulates them for consumption in the VM. It also does a few other
DNOTICE5 you may not use this file except in compliance with the License.
7 Unless required by applicable law or agreed to in writing, software
48 "Work" shall mean the work of authorship, whether in Source or
50 copyright notice that is included in or attached to the work
51 (an example is provided in the Appendix below).
53 "Derivative Works" shall mean any work, whether in Source or Object
64 submitted to Licensor for inclusion in the Work by the copyright owner
73 designated in writing by the copyright owner as "Not a Contribution."
84 Work and such Derivative Works in Source or Object form.
89 (except as stated in this section) patent license to make, have made,
[all …]
/dalvik/dx/tests/135-invoke-custom/
Dinfo.txt1 This test checks the conversion of invokedynamic in classfiles to
2 invoke-custom in DEX files.
/dalvik/dx/tests/122-switch-with-high-register/
Dinfo.txt1 This test ensures that dx correctly handles switches on data in a high
6 aspects of conversion end up altering the output in innocuous ways.

12345678910>>...13