Searched refs:catches (Results 1 - 20 of 20) sorted by relevance

/dalvik/dexgen/src/com/android/dexgen/rop/code/
H A DThrowingInsn.java31 private final TypeList catches; field in class:ThrowingInsn
34 * Gets the string form of a register spec list to be used as a catches
37 * @param catches {@code non-null;} the catches list
40 public static String toCatchString(TypeList catches) { argument
45 int sz = catches.size();
48 sb.append(catches.getType(i).toHuman());
60 * @param catches {@code non-null;} list of exceptions caught
64 TypeList catches) {
71 if (catches
62 ThrowingInsn(Rop opcode, SourcePosition position, RegisterSpecList sources, TypeList catches) argument
[all...]
H A DThrowingCstInsn.java30 private final TypeList catches; field in class:ThrowingCstInsn
38 * @param catches {@code non-null;} list of exceptions caught
43 TypeList catches, Constant cst) {
50 if (catches == null) {
51 throw new NullPointerException("catches == null");
54 this.catches = catches;
61 ThrowingInsn.toCatchString(catches);
67 return catches;
80 getSources(), catches
41 ThrowingCstInsn(Rop opcode, SourcePosition position, RegisterSpecList sources, TypeList catches, Constant cst) argument
[all...]
/dalvik/dx/src/com/android/dx/rop/code/
H A DThrowingInsn.java31 private final TypeList catches; field in class:ThrowingInsn
34 * Gets the string form of a register spec list to be used as a catches
37 * @param catches {@code non-null;} the catches list
40 public static String toCatchString(TypeList catches) { argument
45 int sz = catches.size();
48 sb.append(catches.getType(i).toHuman());
60 * @param catches {@code non-null;} list of exceptions caught
64 TypeList catches) {
71 if (catches
62 ThrowingInsn(Rop opcode, SourcePosition position, RegisterSpecList sources, TypeList catches) argument
[all...]
H A DThrowingCstInsn.java31 private final TypeList catches; field in class:ThrowingCstInsn
39 * @param catches {@code non-null;} list of exceptions caught
44 TypeList catches, Constant cst) {
51 if (catches == null) {
52 throw new NullPointerException("catches == null");
55 this.catches = catches;
66 return constantString + " " + ThrowingInsn.toCatchString(catches);
72 return catches;
85 getSources(), catches
42 ThrowingCstInsn(Rop opcode, SourcePosition position, RegisterSpecList sources, TypeList catches, Constant cst) argument
[all...]
/dalvik/dx/src/com/android/dx/cf/attrib/
H A DAttCode.java41 private final ByteCatchList catches; field in class:AttCode
52 * @param catches {@code non-null;} the exception table
56 ByteCatchList catches, AttributeList attributes) {
72 if (catches.isMutable()) {
73 throw new MutabilityException("catches.isMutable()");
77 throw new NullPointerException("catches == null");
92 this.catches = catches;
97 return 10 + code.byteLength() + catches.byteLength() +
134 return catches;
55 AttCode(int maxStack, int maxLocals, BytecodeArray code, ByteCatchList catches, AttributeList attributes) argument
[all...]
/dalvik/dexgen/src/com/android/dexgen/rop/
H A DByteBlock.java40 private final ByteCatchList catches; field in class:ByteBlock
52 * @param catches {@code non-null;} list of exceptions caught and their
56 ByteCatchList catches) {
82 if (catches == null) {
83 throw new NullPointerException("catches == null");
90 this.catches = catches;
143 return catches;
55 ByteBlock(int label, int start, int end, IntList successors, ByteCatchList catches) argument
/dalvik/dx/src/com/android/dx/cf/code/
H A DByteBlock.java40 private final ByteCatchList catches; field in class:ByteBlock
52 * @param catches {@code non-null;} list of exceptions caught and their
56 ByteCatchList catches) {
82 if (catches == null) {
83 throw new NullPointerException("catches == null");
90 this.catches = catches;
143 return catches;
55 ByteBlock(int label, int start, int end, IntList successors, ByteCatchList catches) argument
H A DRopperMachine.java79 /** {@code non-null;} catches for the block currently being processed */
80 private TypeList catches; field in class:RopperMachine
82 /** whether the catches have been used in an instruction */
143 this.catches = null;
183 * {@link #insns} list, set {@link #catches}, reset whether it has
187 public void startBlock(TypeList catches) { argument
188 this.catches = catches;
201 * Gets whether {@link #catches} was used. This indicates that the
204 * @return whether {@code catches} ha
[all...]
H A DBasicBlocker.java329 ByteCatchList catches = method.getCatches();
330 int catchSz = catches.size();
355 ByteCatchList.Item item = catches.get(i);
434 ByteCatchList catches = method.getCatches().listFor(offset);
435 catchLists[offset] = catches;
436 targetLists[offset] = catches.toTargetList(nextIsLive ? next : -1);
H A DRopper.java119 * handler, the type of exception it catches
690 ByteCatchList catches = block.getCatches();
691 machine.startBlock(catches.toRopCatchList());
710 int catchSz = catches.size();
757 * If there are catches, then the first successors
821 ByteCatchList.Item one = catches.get(i);
/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DDalvCode.java51 private CatchTable catches; field in class:DalvCode
94 this.catches = null;
111 catches = unprocessedCatches.build();
151 * Gets whether this instance has any catches at all (either typed
154 * @return whether this instance has any catches at all
196 return catches;
H A DStdCatchBuilder.java86 TypeList catches = block.getLastInsn().getCatches();
87 if (catches.size() != 0) {
103 TypeList catches = block.getLastInsn().getCatches();
104 int catchSize = catches.size();
107 result.add(catches.getType(j));
221 TypeList catches = block.getLastInsn().getCatches();
222 int catchSize = catches.size();
246 Type type = catches.getType(i);
256 CstType oneType = new CstType(catches.getType(i));
H A DRopTranslator.java208 StdCatchBuilder catches =
211 return new DalvCode(positionInfo, output.getFinisher(), catches);
/dalvik/dx/src/com/android/dx/dex/code/
H A DDalvCode.java50 private CatchTable catches; field in class:DalvCode
93 this.catches = null;
110 catches = unprocessedCatches.build();
150 * Gets whether this instance has any catches at all (either typed
153 * @return whether this instance has any catches at all
195 return catches;
H A DStdCatchBuilder.java85 TypeList catches = block.getLastInsn().getCatches();
86 if (catches.size() != 0) {
102 TypeList catches = block.getLastInsn().getCatches();
103 int catchSize = catches.size();
106 result.add(catches.getType(j));
220 TypeList catches = block.getLastInsn().getCatches();
221 int catchSize = catches.size();
245 Type type = catches.getType(i);
255 CstType oneType = new CstType(catches.getType(i));
H A DRopTranslator.java214 StdCatchBuilder catches =
217 return new DalvCode(positionInfo, output.getFinisher(), catches);
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DCodeItem.java57 /** {@code null-ok;} the catches, if needed; set in {@link #addContents} */
58 private CatchStructs catches; field in class:CodeItem
105 this.catches = null;
129 catches = new CatchStructs(code);
177 if (catches != null) {
179 out.println("catches");
180 catches.debugPrint(out, prefix2);
197 * In order to get the catches and insns, all the code's
210 if (catches != null) {
211 catches
[all...]
/dalvik/dx/src/com/android/dx/dex/file/
H A DCodeItem.java48 /** {@code null-ok;} the catches, if needed; set in {@link #addContents} */
49 private CatchStructs catches; field in class:CodeItem
96 this.catches = null;
120 catches = new CatchStructs(code);
168 if (catches != null) {
170 out.println("catches");
171 catches.debugPrint(out, prefix2);
188 * In order to get the catches and insns, all the code's
201 if (catches != null) {
202 catches
[all...]
/dalvik/dx/src/com/android/dx/command/dump/
H A DBlockDumper.java254 ByteCatchList catches = bb.getCatches();
255 int csz = catches.size();
257 ByteCatchList.Item one = catches.get(j);
/dalvik/dx/src/com/android/dx/cf/direct/
H A DStdAttributeFactory.java251 ByteCatchList catches = (exceptionTableLength == 0) ?
278 catches.set(i, startPc, endPc, handlerPc, catchType);
294 catches.setImmutable();
308 return new AttCode(maxStack, maxLocals, code, catches, attributes);

Completed in 277 milliseconds