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.java34 public static String decode(ByteInput in, char[] out) throws UTFDataFormatException { in decode() argument
37 char a = (char) (in.readByte() & 0xff); in decode()
45 int b = in.readByte() & 0xff; in decode()
51 int b = in.readByte() & 0xff; in decode()
52 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.java37 CodeInput in) throws EOFException { in FORMAT_00X() argument
50 CodeInput in) throws EOFException { in FORMAT_10X() argument
65 CodeInput in) throws EOFException { in FORMAT_12X() argument
84 CodeInput in) throws EOFException { in FORMAT_11N() argument
103 CodeInput in) throws EOFException { in FORMAT_11X() argument
119 CodeInput in) throws EOFException { in FORMAT_10T() argument
120 int baseAddress = in.cursor() - 1; in FORMAT_10T()
136 CodeInput in) throws EOFException { in FORMAT_20T() argument
137 int baseAddress = in.cursor() - 1; in FORMAT_20T()
140 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/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.java288 private int readIntoMap(Dex.Section in, TableOfContents.Section section, IndexMap indexMap, in readIntoMap() argument
290 int offset = in != null ? in.getPosition() : -1; in readIntoMap()
292 T v = read(in, indexMap, index); in readIntoMap()
345 Dex.Section in = source.open(section.off); in readUnsortedValues() local
347 int offset = in.getPosition(); in readUnsortedValues()
348 T value = read(in, indexMap, 0); in readUnsortedValues()
355 abstract T read(Dex.Section in, IndexMap indexMap, int index); in read() argument
398 @Override String read(Dex.Section in, IndexMap indexMap, int index) { in mergeStringIds() argument
399 return in.readString(); in mergeStringIds()
420 @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.java65 private static byte[] readStream(InputStream in, ByteArrayOutputStream baos, byte[] readBuffer) in readStream() argument
69 int amt = in.read(readBuffer); in readStream()
77 in.close(); in readStream()
100 InputStream in = element.open(path); in getClass() local
102 byte[] bytes = readStream(in, baos, readBuffer); in getClass()
108 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/tests/131-perf/
Dexpected.txt1 warning: [options] bootstrap class path not set in conjunction with -source 1.6
4 warning: [options] bootstrap class path not set in conjunction with -source 1.6
/dalvik/dx/tests/125-main-dex-list/
Dexpected.txt1 warning: [options] bootstrap class path not set in conjunction with -source 1.6
3 warning: [options] bootstrap class path not set in conjunction with -source 1.6
/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
/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