Searched defs:in (Results 1 - 14 of 14) sorted by relevance

/dalvik/dx/src/com/android/dex/
H A DLeb128.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
31 * Gets the number of bytes in the unsigned LEB128 encoding of the
34 * @param value the value in question
35 * @return its write size, in bytes
52 * Reads an signed integer from {@code in}.
54 public static int readSignedLeb128(ByteInput in) { argument
61 cur = in.readByte() & 0xff;
80 * Reads an unsigned integer from {@code in}.
82 public static int readUnsignedLeb128(ByteInput in) { argument
[all...]
H A DMutf8.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
23 * Modified UTF-8 as described in the dex file format spec.
31 * Decodes bytes from {@code in} into {@code out} until a delimiter 0x00 is
34 public static String decode(ByteInput in, char[] out) throws UTFDataFormatException { argument
37 char a = (char) (in.readByte() & 0xff);
45 int b = in.readByte() & 0xff;
51 int b = in.readByte() & 0xff;
52 int c = in.readByte() & 0xff;
H A DEncodedValueCodec.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
123 public static int readSignedInt(ByteInput in, int zwidth) { argument
126 result = (result >>> 8) | ((in.readByte() & 0xff) << 24);
138 public static int readUnsignedInt(ByteInput in, int zwidth, boolean fillOnRight) { argument
142 result = (result >>> 8) | ((in.readByte() & 0xff) << 24);
147 result = (result >>> 8) | ((in.readByte() & 0xff) << 24);
158 public static long readSignedLong(ByteInput in, int zwidth) { argument
161 result = (result >>> 8) | ((in.readByte() & 0xffL) << 56);
173 public static long readUnsignedLong(ByteInput in, in argument
[all...]
H A DEncodedValueReader.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
47 protected final ByteInput in; field in class:EncodedValueReader
52 public EncodedValueReader(ByteInput in) { argument
53 this.in = in;
56 public EncodedValueReader(EncodedValue in) { argument
57 this(in.asByteInput());
66 public EncodedValueReader(ByteInput in, int knownType) { argument
67 this.in
71 EncodedValueReader(EncodedValue in, int knownType) argument
[all...]
H A DTableOfContents.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
123 private void readMap(Dex.Section in) throws IOException { argument
124 int mapSize = in.readInt();
127 short type = in.readShort();
128 in.readShort(); // unused
130 int size = in.readInt();
131 int offset = in.readInt();
H A DDex.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
49 * The bytes of a dex file in memory for reading and writing. All int offsets
94 * Creates a new dex buffer of the dex in {@code in}, and closes {@code in}.
96 public Dex(InputStream in) throws IOException { argument
98 loadFrom(in);
100 in.close();
117 throw new DexException("Expected " + DexFormat.DEX_IN_JAR_NAME + " in "
131 loadFrom(InputStream in) argument
779 private final Dex.Section in = open(tableOfContents.classDefs.off); field in class:Dex.ClassDefIterator
[all...]
/dalvik/dx/src/com/android/multidex/
H A DPath.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
65 private static byte[] readStream(InputStream in, ByteArrayOutputStream baos, byte[] readBuffer) argument
69 int amt = in.read(readBuffer);
77 in.close();
100 InputStream in = element.open(path);
102 byte[] bytes = readStream(in, baos, readBuffer);
108 in.close();
/dalvik/dx/tests/115-merge/com/android/dx/merge/
H A DDexMergeTest.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
129 * Merging dex files uses pessimistic sizes that naturally leave gaps in the
190 private void copy(InputStream in, OutputStream out) throws IOException { argument
193 while ((count = in.read(buffer)) != -1) {
196 in.close();
/dalvik/dx/src/com/android/dx/ssa/
H A DDominators.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
27 * See A Fast Algorithm for Finding Dominators in a Flowgraph
30 * This implementation runs in time O(n log n). The time bound
33 * overheads are high enough that the current method is faster in all but the
80 * to avoid calling a large amount of code in the constructor.)
113 * @param in Basic block whose DFS info we are path compressing.
115 private void compress(SsaBasicBlock in) { argument
116 DFSInfo bbInfo = info[in.getIndex()];
122 worklist.add(in);
[all...]
/dalvik/dx/src/com/android/dx/io/instructions/
H A DDecodedInstruction.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
33 * match the names given in the Dalvik instruction format
55 * though it is stored in an {@code int}.
69 public static DecodedInstruction decode(CodeInput in) throws EOFException { argument
70 int opcodeUnit = in.read();
74 return format.decode(opcodeUnit, in);
85 ShortArrayCodeInput in = new ShortArrayCodeInput(encodedInstructions);
88 while (in.hasMore()) {
89 decoded[in
[all...]
H A DInstructionCodec.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
37 CodeInput in) throws EOFException {
50 CodeInput in) throws EOFException {
65 CodeInput in) throws EOFException {
84 CodeInput in) throws EOFException {
103 CodeInput in) throws EOFException {
119 CodeInput in) throws EOFException {
120 int baseAddress = in.cursor() - 1;
136 CodeInput in) throw
833 decode(int opcodeUnit, CodeInput in) argument
844 decodeRegisterList( InstructionCodec format, int opcodeUnit, CodeInput in) argument
910 decodeRegisterRange( InstructionCodec format, int opcodeUnit, CodeInput in) argument
[all...]
/dalvik/dx/tests/098-dex-jsr-ret-throw/
H A DViewDebug$ViewServer.class ... run () String[] params String command java.io.BufferedReader in java.io.IOException e java.io. ...
/dalvik/dx/src/com/android/dx/merge/
H A DDexMerger.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
202 * result in too many bytes wasted, compact the result. To compact,
234 * merged dex file. Populates maps from old to new indices in the process.
261 // Fill in values with the first value of each dex.
288 private int readIntoMap(Dex.Section in, TableOfContents.Section section, IndexMap indexMap, argument
290 int offset = in != null ? in.getPosition() : -1;
292 T v = read(in, indexMap, index);
305 * sorting in memor
355 read(Dex.Section in, IndexMap indexMap, int index) argument
687 transformAnnotationSets(Dex in, IndexMap indexMap) argument
697 transformAnnotationSetRefLists(Dex in, IndexMap indexMap) argument
707 transformAnnotationDirectories(Dex in, IndexMap indexMap) argument
717 transformStaticValues(Dex in, IndexMap indexMap) argument
731 transformClassDef(Dex in, ClassDef classDef, IndexMap indexMap) argument
838 transformClassData(Dex in, ClassData classData, IndexMap indexMap) argument
867 transformMethods(Dex in, IndexMap indexMap, ClassData.Method[] methods) argument
886 transformCode(Dex in, Code code, IndexMap indexMap) argument
962 transformDebugInfoItem(Dex.Section in, IndexMap indexMap) argument
1054 transformStaticValues(Dex.Section in, IndexMap indexMap) argument
[all...]
/dalvik/tools/hprof-conv/
H A DHprofConv.c5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
158 * Get the amount of data currently in the buffer.
210 static int ebReadString(ExpandBuf* pBuf, FILE* in) argument
217 ic = getc(in);
218 if (feof(in) || ferror(in)) {
235 static int ebReadData(ExpandBuf* pBuf, FILE* in, size_t count, int eofExpected) argument
242 actual = fread(pBuf->storage + pBuf->curLen, 1, count, in);
244 if (eofExpected && feof(in)
604 filterData(FILE* in, FILE* out, int flags) argument
711 FILE* in = NULL; local
[all...]

Completed in 6364 milliseconds