/dalvik/dexgen/src/com/android/dexgen/rop/ |
D | StdAttributeList.java | 70 int at; in findNext() local 73 for (at = 0; at < sz; at++) { in findNext() 74 Attribute att = get(at); in findNext() 85 for (at++; at < sz; at++) { in findNext() 86 Attribute att = get(at); in findNext()
|
/dalvik/dx/src/com/android/dx/cf/cst/ |
D | ConstantPoolParser.java | 187 int at = 10; // offset from the start of the file to the first cst in determineOffsets() local 191 offsets[i] = at; in determineOffsets() 192 int tag = bytes.getUnsignedByte(at); in determineOffsets() 202 at += 5; in determineOffsets() 208 at += 9; in determineOffsets() 214 at += 3; in determineOffsets() 219 at += bytes.getUnsignedShort(at + 1) + 3; in determineOffsets() 224 at += 4; in determineOffsets() 229 at += 3; in determineOffsets() 234 at += 5; in determineOffsets() [all …]
|
/dalvik/dx/src/com/android/dx/cf/iface/ |
D | StdAttributeList.java | 74 int at; in findNext() local 77 for (at = 0; at < sz; at++) { in findNext() 78 Attribute att = get(at); in findNext() 89 for (at++; at < sz; at++) { in findNext() 90 Attribute att = get(at); in findNext()
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | SwitchList.java | 173 int at = 0; in removeSuperfluousDefaults() local 178 if (i != at) { in removeSuperfluousDefaults() 179 targets.set(at, target); in removeSuperfluousDefaults() 180 values.set(at, values.get(i)); in removeSuperfluousDefaults() 182 at++; in removeSuperfluousDefaults() 186 if (at != sz) { in removeSuperfluousDefaults() 187 values.shrink(at); in removeSuperfluousDefaults() 188 targets.set(at, defaultTarget); in removeSuperfluousDefaults() 189 targets.shrink(at + 1); in removeSuperfluousDefaults() 190 size = at; in removeSuperfluousDefaults()
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
D | MemberListParser.java | 175 int at = offset + 2; // Skip the count. in parse() local 187 int accessFlags = bytes.getUnsignedShort(at); in parse() 188 int nameIdx = bytes.getUnsignedShort(at + 2); in parse() 189 int descIdx = bytes.getUnsignedShort(at + 4); in parse() 194 observer.startParsingMember(bytes, at, name.getString(), in parse() 196 observer.parsed(bytes, at, 0, "\n" + humanName() + in parse() 199 observer.parsed(bytes, at, 2, in parse() 202 observer.parsed(bytes, at + 2, 2, in parse() 204 observer.parsed(bytes, at + 4, 2, in parse() 208 at += 6; in parse() [all …]
|
D | DirectClassFile.java | 522 int at = cpParser.getEndOffset(); in parse0() local 523 int accessFlags = bytes.getUnsignedShort(at); // u2 access_flags; in parse0() 524 int cpi = bytes.getUnsignedShort(at + 2); // u2 this_class; in parse0() 526 cpi = bytes.getUnsignedShort(at + 4); // u2 super_class; in parse0() 528 int count = bytes.getUnsignedShort(at + 6); // u2 interfaces_count in parse0() 531 observer.parsed(bytes, at, 2, in parse0() 534 observer.parsed(bytes, at + 2, 2, "this_class: " + thisClass); in parse0() 535 observer.parsed(bytes, at + 4, 2, "super_class: " + in parse0() 537 observer.parsed(bytes, at + 6, 2, in parse0() 540 observer.parsed(bytes, at + 8, 0, "interfaces:"); in parse0() [all …]
|
D | AttributeListParser.java | 124 int at = offset + 2; // Skip the count. in parse() local 136 observer.parsed(bytes, at, 0, in parse() 142 attributeFactory.parse(cf, context, at, observer); in parse() 144 at += attrib.byteLength(); in parse() 149 observer.parsed(bytes, at, 0, in parse() 162 endOffset = at; in parse()
|
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
D | CstUtf8.java | 84 for (int at = 0; length > 0; /*at*/) { in utf8BytesToString() 85 int v0 = bytes.getUnsignedByte(at); in utf8BytesToString() 94 return throwBadUtf8(v0, at); in utf8BytesToString() 97 at++; in utf8BytesToString() 104 return throwBadUtf8(v0, at); in utf8BytesToString() 106 int v1 = bytes.getUnsignedByte(at + 1); in utf8BytesToString() 108 return throwBadUtf8(v1, at + 1); in utf8BytesToString() 116 return throwBadUtf8(v1, at + 1); in utf8BytesToString() 119 at += 2; in utf8BytesToString() 126 return throwBadUtf8(v0, at); in utf8BytesToString() [all …]
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
D | CstString.java | 84 for (int at = 0; length > 0; /*at*/) { in utf8BytesToString() 85 int v0 = bytes.getUnsignedByte(at); in utf8BytesToString() 94 return throwBadUtf8(v0, at); in utf8BytesToString() 97 at++; in utf8BytesToString() 104 return throwBadUtf8(v0, at); in utf8BytesToString() 106 int v1 = bytes.getUnsignedByte(at + 1); in utf8BytesToString() 108 return throwBadUtf8(v1, at + 1); in utf8BytesToString() 116 return throwBadUtf8(v1, at + 1); in utf8BytesToString() 119 at += 2; in utf8BytesToString() 126 return throwBadUtf8(v0, at); in utf8BytesToString() [all …]
|
/dalvik/dx/src/com/android/dx/util/ |
D | HexParser.java | 47 int at = 0; in parse() local 50 while (at < len) { in parse() 51 int nlAt = src.indexOf('\n', at); in parse() 55 int poundAt = src.indexOf('#', at); in parse() 59 line = src.substring(at, poundAt); in parse() 61 line = src.substring(at, nlAt); in parse() 63 at = nlAt + 1; in parse()
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
D | HexParser.java | 47 int at = 0; in parse() local 50 while (at < len) { in parse() 51 int nlAt = src.indexOf('\n', at); in parse() 55 int poundAt = src.indexOf('#', at); in parse() 59 line = src.substring(at, poundAt); in parse() 61 line = src.substring(at, nlAt); in parse() 63 at = nlAt + 1; in parse()
|
D | FileUtils.java | 78 int at = 0; in readFile() local 80 int amt = in.read(result, at, length); in readFile() 84 at += amt; in readFile()
|
/dalvik/dx/src/com/android/dx/command/dump/ |
D | Main.java | 46 int at = 0; in run() local 48 for (/*at*/; at < args.length; at++) { in run() 49 String arg = args[at]; in run() 82 if (at == args.length) { in run() 87 for (/*at*/; at < args.length; at++) { in run() 89 String name = args[at]; in run()
|
/dalvik/dexgen/src/com/android/dexgen/rop/type/ |
D | Prototype.java | 64 int at = 1; in intern() local 67 int startAt = at; in intern() 68 char c = descriptor.charAt(at); in intern() 70 at++; in intern() 76 at++; in intern() 77 c = descriptor.charAt(at); in intern() 82 int endAt = descriptor.indexOf(';', at); in intern() 86 at = endAt + 1; in intern() 88 at++; in intern() 92 Type.intern(descriptor.substring(startAt, at)); in intern() [all …]
|
/dalvik/dx/src/com/android/dx/rop/type/ |
D | Prototype.java | 92 int at = 1; in fromDescriptor() local 95 int startAt = at; in fromDescriptor() 96 char c = descriptor.charAt(at); in fromDescriptor() 98 at++; in fromDescriptor() 104 at++; in fromDescriptor() 105 c = descriptor.charAt(at); in fromDescriptor() 110 int endAt = descriptor.indexOf(';', at); in fromDescriptor() 114 at = endAt + 1; in fromDescriptor() 116 at++; in fromDescriptor() 120 Type.intern(descriptor.substring(startAt, at)); in fromDescriptor() [all …]
|
/dalvik/dx/src/com/android/dx/dex/code/ |
D | OutputCollector.java | 68 public DalvInsn get(int at) { in get() argument 69 if (at >= finisher.size() || at < 0) { in get() 72 return finisher.get(at); in get()
|
D | PositionList.java | 78 int at = 0; in make() local 99 arr[at] = new PositionList.Entry(insn.getAddress(), pos); in make() 100 at++; in make() 105 PositionList result = new PositionList(at); in make() 106 for (int i = 0; i < at; i++) { in make()
|
D | LocalList.java | 752 int at = result.size() - 1; in checkForEmptyRange() local 756 for (/*at*/; at >= 0; at--) { in checkForEmptyRange() 757 entry = result.get(at); in checkForEmptyRange() 779 result.set(at, null); in checkForEmptyRange() 787 for (at--; at >= 0; at--) { in checkForEmptyRange() 788 entry = result.get(at); in checkForEmptyRange() 802 endIndices[regNum] = at; in checkForEmptyRange() 809 result.set(at, in checkForEmptyRange() 927 int at = 0; in finish() local 930 resultArr[at++] = e; in finish()
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
D | PositionList.java | 78 int at = 0; in make() local 99 arr[at] = new PositionList.Entry(insn.getAddress(), pos); in make() 100 at++; in make() 105 PositionList result = new PositionList(at); in make() 106 for (int i = 0; i < at; i++) { in make()
|
D | LocalList.java | 753 int at = result.size() - 1; in checkForEmptyRange() local 757 for (/*at*/; at >= 0; at--) { in checkForEmptyRange() 758 entry = result.get(at); in checkForEmptyRange() 780 result.set(at, null); in checkForEmptyRange() 788 for (at--; at >= 0; at--) { in checkForEmptyRange() 789 entry = result.get(at); in checkForEmptyRange() 803 endIndices[regNum] = at; in checkForEmptyRange() 810 result.set(at, in checkForEmptyRange() 928 int at = 0; in finish() local 931 resultArr[at++] = e; in finish()
|
/dalvik/dx/tests/143-interface-methods/ |
D | run | 45 echo Unexpected success for $c at API level $API_LEVEL 1>&2 51 echo Unexpected failure for $c at API level $API_LEVEL 1>&2 79 echo Unexpected success for $c at API level $API_LEVEL 1>&2 85 echo Unexpected failure for $c at API level $API_LEVEL 1>&2
|
D | expected.txt | 3 …t:(Ljava/lang/String;)I strictly requires --min-sdk-version >= 24 (blocked at current API level 19) 8 …t:(Ljava/lang/String;)V strictly requires --min-sdk-version >= 24 (blocked at current API level 19) 14 …t:(Ljava/lang/String;)I strictly requires --min-sdk-version >= 24 (blocked at current API level 20) 19 …t:(Ljava/lang/String;)V strictly requires --min-sdk-version >= 24 (blocked at current API level 20) 25 …t:(Ljava/lang/String;)I strictly requires --min-sdk-version >= 24 (blocked at current API level 21) 30 …t:(Ljava/lang/String;)V strictly requires --min-sdk-version >= 24 (blocked at current API level 21) 36 …t:(Ljava/lang/String;)I strictly requires --min-sdk-version >= 24 (blocked at current API level 22) 41 …t:(Ljava/lang/String;)V strictly requires --min-sdk-version >= 24 (blocked at current API level 22) 47 …t:(Ljava/lang/String;)I strictly requires --min-sdk-version >= 24 (blocked at current API level 23) 52 …t:(Ljava/lang/String;)V strictly requires --min-sdk-version >= 24 (blocked at current API level 23) [all …]
|
/dalvik/dx/src/com/android/dex/util/ |
D | FileUtils.java | 72 int at = 0; in readFile() local 74 int amt = in.read(result, at, length); in readFile() 78 at += amt; in readFile()
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | MixedItemSection.java | 335 int at = 0; in writeTo0() local 347 int writeAt = (at + alignMask) & ~alignMask; in writeTo0() 349 if (at != writeAt) { in writeTo0() 350 out.writeZeroes(writeAt - at); in writeTo0() 351 at = writeAt; in writeTo0() 355 at += one.writeSize(); in writeTo0() 358 if (at != writeSize) { in writeTo0()
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | MixedItemSection.java | 335 int at = 0; in writeTo0() local 347 int writeAt = (at + alignMask) & ~alignMask; in writeTo0() 349 if (at != writeAt) { in writeTo0() 350 out.writeZeroes(writeAt - at); in writeTo0() 351 at = writeAt; in writeTo0() 355 at += one.writeSize(); in writeTo0() 358 if (at != writeSize) { in writeTo0()
|