Home
last modified time | relevance | path

Searched refs:catches (Results 1 – 25 of 32) sorted by relevance

12

/dalvik/dexgen/src/com/android/dexgen/rop/code/
DThrowingInsn.java31 private final TypeList catches; field in ThrowingInsn
40 public static String toCatchString(TypeList catches) { in toCatchString() argument
45 int sz = catches.size(); in toCatchString()
48 sb.append(catches.getType(i).toHuman()); in toCatchString()
64 TypeList catches) { in ThrowingInsn() argument
71 if (catches == null) { in ThrowingInsn()
75 this.catches = catches; in ThrowingInsn()
81 return toCatchString(catches); in getInlineString()
87 return catches; in getCatches()
100 getSources(), catches.withAddedType(type)); in withAddedCatch()
[all …]
DThrowingCstInsn.java30 private final TypeList catches; field in ThrowingCstInsn
43 TypeList catches, Constant cst) { in ThrowingCstInsn() argument
50 if (catches == null) { in ThrowingCstInsn()
54 this.catches = catches; in ThrowingCstInsn()
61 ThrowingInsn.toCatchString(catches); in getInlineString()
67 return catches; in getCatches()
80 getSources(), catches.withAddedType(type), in withAddedCatch()
89 catches, in withRegisterOffset()
100 catches, in withNewRegisters()
/dalvik/dx/src/com/android/dx/rop/code/
DThrowingInsn.java31 private final TypeList catches; field in ThrowingInsn
40 public static String toCatchString(TypeList catches) { in toCatchString() argument
45 int sz = catches.size(); in toCatchString()
48 sb.append(catches.getType(i).toHuman()); in toCatchString()
64 TypeList catches) { in ThrowingInsn() argument
71 if (catches == null) { in ThrowingInsn()
75 this.catches = catches; in ThrowingInsn()
81 return toCatchString(catches); in getInlineString()
87 return catches; in getCatches()
100 getSources(), catches.withAddedType(type)); in withAddedCatch()
[all …]
DThrowingCstInsn.java31 private final TypeList catches; field in ThrowingCstInsn
44 TypeList catches, Constant cst) { in ThrowingCstInsn() argument
51 if (catches == null) { in ThrowingCstInsn()
55 this.catches = catches; in ThrowingCstInsn()
66 return constantString + " " + ThrowingInsn.toCatchString(catches); in getInlineString()
72 return catches; in getCatches()
85 getSources(), catches.withAddedType(type), in withAddedCatch()
94 catches, in withRegisterOffset()
105 catches, in withNewRegisters()
DInvokePolymorphicInsn.java44 private final TypeList catches; field in InvokePolymorphicInsn
73 …okePolymorphicInsn(Rop opcode, SourcePosition position, RegisterSpecList sources, TypeList catches, in InvokePolymorphicInsn() argument
81 if (catches == null) { in InvokePolymorphicInsn()
84 this.catches = catches; in InvokePolymorphicInsn()
100 return this.catches; in getCatches()
113 getSources(), catches.withAddedType(type), getCallSiteMethod()); in withAddedCatch()
121 catches, getCallSiteMethod()); in withRegisterOffset()
128 sources, catches, getCallSiteMethod()); in withNewRegisters()
168 ThrowingInsn.toCatchString(catches); in getInlineString()
/dalvik/dx/src/com/android/dx/cf/attrib/
DAttCode.java41 private final ByteCatchList catches; field in AttCode
56 ByteCatchList catches, AttributeList attributes) { in AttCode() argument
72 if (catches.isMutable()) { in AttCode()
92 this.catches = catches; in AttCode()
98 return 10 + code.byteLength() + catches.byteLength() + in byteLength()
135 return catches; in getCatches()
/dalvik/dexgen/src/com/android/dexgen/rop/
DByteBlock.java40 private final ByteCatchList catches; field in ByteBlock
56 ByteCatchList catches) { in ByteBlock() argument
82 if (catches == null) { in ByteBlock()
90 this.catches = catches; in ByteBlock()
143 return catches; in getCatches()
/dalvik/dx/src/com/android/dx/cf/code/
DByteBlock.java40 private final ByteCatchList catches; field in ByteBlock
56 ByteCatchList catches) { in ByteBlock() argument
82 if (catches == null) { in ByteBlock()
90 this.catches = catches; in ByteBlock()
144 return catches; in getCatches()
DRopperMachine.java88 private TypeList catches; field in RopperMachine
158 this.catches = null; in RopperMachine()
202 public void startBlock(TypeList catches) { in startBlock() argument
203 this.catches = catches; in startBlock()
390 insn = new ThrowingCstInsn(rop, pos, sources, catches, in run()
428 catches, typeField); in run()
435 RegisterSpecList.EMPTY, catches, in run()
460 catches, MULTIANEWARRAY_METHOD); in run()
617 insn = makeInvokePolymorphicInsn(rop, pos, sources, catches, cst); in run()
619 insn = new ThrowingCstInsn(rop, pos, sources, catches, cst); in run()
[all …]
DBasicBlocker.java340 ByteCatchList catches = method.getCatches(); in doit() local
341 int catchSz = catches.size(); in doit()
366 ByteCatchList.Item item = catches.get(i); in doit()
445 ByteCatchList catches = method.getCatches().listFor(offset); in visitThrowing() local
446 catchLists[offset] = catches; in visitThrowing()
447 targetLists[offset] = catches.toTargetList(nextIsLive ? next : -1); in visitThrowing()
/dalvik/dx/src/com/android/dx/dex/file/
DCodeItem.java49 private CatchStructs catches; field in CodeItem
96 this.catches = null; in CodeItem()
121 catches = new CatchStructs(code); in addContents()
169 if (catches != null) { in debugPrint()
172 catches.debugPrint(out, prefix2); in debugPrint()
203 if (catches != null) { in place0()
204 catches.encode(file); in place0()
205 catchesSize = catches.writeSize(); in place0()
233 int triesSz = (catches == null) ? 0 : catches.triesSize(); in writeTo0()
261 if (catches != null) { in writeTo0()
[all …]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DCodeItem.java58 private CatchStructs catches; field in CodeItem
105 this.catches = null; in CodeItem()
129 catches = new CatchStructs(code); in addContents()
177 if (catches != null) { in debugPrint()
180 catches.debugPrint(out, prefix2); in debugPrint()
210 if (catches != null) { in place0()
211 catches.encode(file); in place0()
212 catchesSize = catches.writeSize(); in place0()
240 int triesSz = (catches == null) ? 0 : catches.triesSize(); in writeTo0()
268 if (catches != null) { in writeTo0()
[all …]
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DStdCatchBuilder.java86 TypeList catches = block.getLastInsn().getCatches(); in hasAnyCatches() local
87 if (catches.size() != 0) { in hasAnyCatches()
103 TypeList catches = block.getLastInsn().getCatches(); in getCatchTypes() local
104 int catchSize = catches.size(); in getCatchTypes()
107 result.add(catches.getType(j)); in getCatchTypes()
221 TypeList catches = block.getLastInsn().getCatches(); in handlersFor() local
222 int catchSize = catches.size(); in handlersFor()
246 Type type = catches.getType(i); in handlersFor()
256 CstType oneType = new CstType(catches.getType(i)); in handlersFor()
DDalvCode.java51 private CatchTable catches; field in DalvCode
94 this.catches = null; in DalvCode()
111 catches = unprocessedCatches.build(); in finishProcessingIfNecessary()
196 return catches; in getCatches()
/dalvik/dx/src/com/android/dx/dex/code/
DStdCatchBuilder.java87 TypeList catches = block.getLastInsn().getCatches(); in hasAnyCatches() local
88 if (catches.size() != 0) { in hasAnyCatches()
105 TypeList catches = block.getLastInsn().getCatches(); in getCatchTypes() local
106 int catchSize = catches.size(); in getCatchTypes()
109 result.add(catches.getType(j)); in getCatchTypes()
223 TypeList catches = block.getLastInsn().getCatches(); in handlersFor() local
224 int catchSize = catches.size(); in handlersFor()
248 Type type = catches.getType(i); in handlersFor()
258 CstType oneType = new CstType(catches.getType(i)); in handlersFor()
DDalvCode.java50 private CatchTable catches; field in DalvCode
93 this.catches = null; in DalvCode()
110 catches = unprocessedCatches.build(); in finishProcessingIfNecessary()
195 return catches; in getCatches()
/dalvik/dx/tests/061-dex-try-catch/
Dexpected.txt18 catches
31 catches
46 catches
/dalvik/dx/tests/066-dex-try-catch-rethrow/
Dexpected.txt16 catches
34 catches
53 catches
72 catches
92 catches
/dalvik/dx/tests/080-dex-exception-tables/
Dexpected.txt19 catches
42 catches
76 catches
116 catches
152 catches
187 catches
215 catches
240 catches
275 catches
/dalvik/dx/tests/067-dex-switch-and-try/
Dexpected.txt43 catches
70 catches
97 catches
/dalvik/dx/tests/046-dex-exceptions/
Dexpected.txt15 catches
43 catches
/dalvik/dx/tests/096-dex-giant-catch/
Dexpected.txt1 catches
/dalvik/dx/tests/062-dex-synch-method/
Dexpected.txt22 catches
73 catches
96 catches
143 catches
/dalvik/dx/tests/069-dex-source-position/
Dexpected.txt31 catches
65 catches
115 catches
/dalvik/dx/tests/055-dex-explicit-throw/
Dexpected.txt14 catches

12