/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
H A D | LocalVariableInfo.java | 74 * the given label. 76 * @param label {@code >= 0;} the block label 79 public void setStarts(int label, RegisterSpecSet specs) { argument 87 blockStarts[label] = specs; 90 throw new IllegalArgumentException("bogus label"); 96 * given label. If there was not already an associated set, then this 101 * @param label {@code >= 0;} the block label 108 public boolean mergeStarts(int label, RegisterSpecSe argument 138 getStarts(int label) argument 165 mutableCopyOfStarts(int label) argument 242 getStarts0(int label) argument [all...] |
H A D | BasicBlock.java | 28 /** {@code >= 0;} target label for this block */ 29 private final int label; field in class:BasicBlock 50 * @param label {@code >= 0;} target label for this block 59 public BasicBlock(int label, InsnList insns, IntList successors, argument 61 if (label < 0) { 62 throw new IllegalArgumentException("label < 0"); 109 this.label = label; 138 * Gets the target label o [all...] |
H A D | LocalVariableExtractor.java | 75 for (int label = method.getFirstLabel(); 76 label >= 0; 77 label = Bits.findFirst(workSet, 0)) { 78 Bits.clear(workSet, label); 79 processBlock(label); 89 * @param label {@code >= 0;} label of the block to process 91 private void processBlock(int label) { argument 92 RegisterSpecSet primaryState = resultInfo.mutableCopyOfStarts(label); 93 BasicBlock block = blocks.labelToBlock(label); [all...] |
H A D | RopMethod.java | 30 /** {@code >= 0;} label for the block which starts the method */ 35 * label 49 * @param firstLabel {@code >= 0;} the label of the first block to execute 77 * Gets the label for the first block in the method that this list 80 * @return {@code >= 0;} the first-block label 88 * an exception if there is no block with the given label. 90 * @param label {@code >= 0;} the label of the block in question 93 public IntList labelToPredecessors(int label) { argument 98 IntList result = predecessors[label]; [all...] |
/dalvik/dx/src/com/android/dx/rop/code/ |
H A D | LocalVariableInfo.java | 73 * the given label. 75 * @param label {@code >= 0;} the block label 78 public void setStarts(int label, RegisterSpecSet specs) { argument 86 blockStarts[label] = specs; 89 throw new IllegalArgumentException("bogus label"); 95 * given label. If there was not already an associated set, then this 100 * @param label {@code >= 0;} the block label 107 public boolean mergeStarts(int label, RegisterSpecSe argument 141 getStarts(int label) argument 168 mutableCopyOfStarts(int label) argument 245 getStarts0(int label) argument [all...] |
H A D | BasicBlock.java | 28 /** {@code >= 0;} target label for this block */ 29 private final int label; field in class:BasicBlock 50 * @param label {@code >= 0;} target label for this block 59 public BasicBlock(int label, InsnList insns, IntList successors, argument 61 if (label < 0) { 62 throw new IllegalArgumentException("label < 0"); 109 this.label = label; 138 * Gets the target label o [all...] |
H A D | LocalVariableExtractor.java | 75 for (int label = method.getFirstLabel(); 76 label >= 0; 77 label = Bits.findFirst(workSet, 0)) { 78 Bits.clear(workSet, label); 79 processBlock(label); 89 * @param label {@code >= 0;} label of the block to process 91 private void processBlock(int label) { argument 92 RegisterSpecSet primaryState = resultInfo.mutableCopyOfStarts(label); 93 BasicBlock block = blocks.labelToBlock(label); [all...] |
H A D | RopMethod.java | 29 /** {@code >= 0;} label for the block which starts the method */ 34 * label 48 * @param firstLabel {@code >= 0;} the label of the first block to execute 76 * Gets the label for the first block in the method that this list 79 * @return {@code >= 0;} the first-block label 87 * an exception if there is no block with the given label. 89 * @param label {@code >= 0;} the label of the block in question 92 public IntList labelToPredecessors(int label) { argument 97 IntList result = predecessors[label]; [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
H A D | BlockAddresses.java | 32 * block (indexed by basic block label) */ 36 * of each basic block (indexed by basic block label) */ 41 * label) */ 71 * Gets the instance for the start of the block with the given label. 73 * @param label {@code non-null;} the label of the block in question 76 public CodeAddress getStart(int label) { argument 77 return starts[label]; 92 * the given label. 94 * @param label { 97 getLast(int label) argument 119 getEnd(int label) argument [all...] |
H A D | RopTranslator.java | 320 * Starting with the designated "first label" (that is, the 321 * first block of the method), add that label to the order, 329 for (int label = method.getFirstLabel(); 330 label != -1; 331 label = Bits.findFirst(workSet, 0)) { 345 IntList preds = method.labelToPredecessors(label); 365 if (pred.getPrimarySuccessor() == label) { 367 label = predLabel; 368 Bits.set(tracebackSet, label); 382 while (label ! [all...] |
/dalvik/dx/src/com/android/dx/dex/code/ |
H A D | BlockAddresses.java | 32 * block (indexed by basic block label) */ 36 * of each basic block (indexed by basic block label) */ 41 * label) */ 71 * Gets the instance for the start of the block with the given label. 73 * @param label {@code non-null;} the label of the block in question 76 public CodeAddress getStart(int label) { argument 77 return starts[label]; 92 * the given label. 94 * @param label { 97 getLast(int label) argument 119 getEnd(int label) argument [all...] |
H A D | RopTranslator.java | 327 * Starting with the designated "first label" (that is, the 328 * first block of the method), add that label to the order, 336 for (int label = method.getFirstLabel(); 337 label != -1; 338 label = Bits.findFirst(workSet, 0)) { 352 IntList preds = method.labelToPredecessors(label); 372 if (pred.getPrimarySuccessor() == label) { 374 label = predLabel; 375 Bits.set(tracebackSet, label); 389 while (label ! [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/ |
H A D | ByteBlock.java | 27 /** {@code >= 0;} label for this block */ 28 private final int label; field in class:ByteBlock 45 * @param label {@code >= 0;} target label for this block 55 public ByteBlock(int label, int start, int end, IntList successors, argument 57 if (label < 0) { 58 throw new IllegalArgumentException("label < 0"); 86 this.label = label; 96 return '{' + Hex.u2(label) [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
H A D | ByteBlock.java | 27 /** {@code >= 0;} label for this block */ 28 private final int label; field in class:ByteBlock 45 * @param label {@code >= 0;} target label for this block 55 public ByteBlock(int label, int start, int end, IntList successors, argument 57 if (label < 0) { 58 throw new IllegalArgumentException("label < 0"); 86 this.label = label; 96 return '{' + Hex.u2(label) [all...] |
H A D | ByteBlockList.java | 49 * Gets the block with the given label. 51 * @param label the label to look for 52 * @return {@code non-null;} the block with the given label 54 public ByteBlock labelToBlock(int label) { argument 55 int idx = indexOfLabel(label); 58 throw new IllegalArgumentException("no such label: " 59 + Hex.u2(label));
|
H A D | Ropper.java | 58 /** label offset for the parameter assignment block */ 61 /** label offset for the return block */ 64 /** label offset for the synchronized method final return block */ 67 /** label offset for the first synchronized method setup block */ 70 /** label offset for the second synchronized method setup block */ 74 * label offset for the first synchronized method exception 80 * label offset for the second synchronized method exception 85 /** number of special label offsets */ 97 /** max label (exclusive) of any original bytecode block */ 123 * {@code non-null;} for each block (by label) tha 191 private int label; field in class:Ropper.ExceptionHandlerSetup 199 ExceptionHandlerSetup(Type caughtType, int label) argument 277 addCallerBlock(int label) argument 435 getSpecialLabel(int label) argument 551 labelToResultIndex(int label) argument 570 labelToBlock(int label) argument 1070 mergeAndWorkAsNecessary(int label, int pred, Subroutine calledSubroutine, Frame frame, int[] workSet) argument 1641 involvedInSubroutine(int label, int subroutineStart) argument 1695 subroutineFromRetBlock(int label) argument [all...] |
H A D | LocalsArraySet.java | 45 * Indexed by label of caller block: the locals specific to each caller's 68 * caller label. 128 for (int label = 0; label < sz; label++) { 129 LocalsArray la = secondaries.get(label); 133 + Hex.u2(label) + ')'); 150 for (int label = 0; label < sz; label 372 getSecondaryForLabel(int label) argument [all...] |
/dalvik/dx/junit-tests/com/android/dx/util/ |
H A D | BitsTest.java | 23 assertEquals(label(0), 0, Bits.makeBitSet(0).length); 26 assertEquals(label(i), 1, Bits.makeBitSet(i).length); 30 assertEquals(label(i), 2, Bits.makeBitSet(i).length); 38 assertEquals(label(i), expect, Bits.makeBitSet(i).length); 48 assertEquals(label(i), expect * 32, 57 assertFalse(label(i), Bits.get(bits, i)); 68 assertTrue(label(i), Bits.get(bits, i)); 81 assertTrue(label(i), Bits.get(bits, i) == expect); 98 assertEquals(label(1), 0x41, bits[0]); 99 assertEquals(label( 342 private static String label(int n) { method in class:BitsTest [all...] |
H A D | IntListTest.java | 31 assertTrue(label(sz, i), contains); 33 assertFalse(label(sz, i), contains); 36 assertFalse(label(sz, -1), list.contains(-1)); 37 assertFalse(label(sz, sz * 2), list.contains(sz * 2)); 61 private static String label(int n, int m) { method in class:IntListTest
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
H A D | LabeledList.java | 22 * A list of labeled items, allowing easy lookup by label. 27 * Sparse array indexed by label to FixedSizeList index. 28 * -1 = invalid label. 59 * Gets the maximum label (exclusive) of any block added to this instance. 61 * @return {@code >= 0;} the maximum label 79 * Removes a label from the label-to-index mapping 80 * @param oldLabel label to remove 87 * Adds a label and index to the label 91 addLabelIndex(int label, int index) argument 109 indexOfLabel(int label) argument [all...] |
/dalvik/dx/src/com/android/dx/util/ |
H A D | LabeledList.java | 22 * A list of labeled items, allowing easy lookup by label. 26 * Sparse array indexed by label to FixedSizeList index; 27 * {@code -1} for an invalid label. 58 * Gets the maximum label (exclusive) of any block added to this instance. 60 * @return {@code >= 0;} the maximum label 78 * Removes a label from the label-to-index mapping. 80 * @param oldLabel label to remove 87 * Adds a label and index to the label 92 addLabelIndex(int label, int index) argument 110 indexOfLabel(int label) argument [all...] |
/dalvik/dx/src/com/android/dx/command/dump/ |
H A D | DotDumper.java | 140 int label = bb.getLabel(); 144 System.out.println("\tn" + Hex.u2(label) + " -> returns;"); 146 System.out.println("\tn" + Hex.u2(label) + " -> n" 149 System.out.print("\tn" + Hex.u2(label) + " -> {"); 160 System.out.println("\tn" + Hex.u2(label) + " -> n" 162 + " [label=\"primary\"];");
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
H A D | MixedItemSection.java | 243 String label = item.toHuman(); 244 index.put(label, item); 255 String label = entry.getKey(); 257 out.annotate(0, item.offsetString() + ' ' + label + '\n');
|
H A D | ClassDataItem.java | 372 * @param label {@code non-null;} the label for the purposes of annotation 376 String label, int size) { 378 out.annotate(String.format(" %-21s %08x", label + "_size:", 392 * @param label {@code non-null;} the label for the purposes of annotation 396 String label, ArrayList<? extends EncodedMember> list) { 405 out.annotate(0, " " + label + ":"); 375 encodeSize(DexFile file, AnnotatedOutput out, String label, int size) argument 395 encodeList(DexFile file, AnnotatedOutput out, String label, ArrayList<? extends EncodedMember> list) argument
|
/dalvik/dx/src/com/android/dx/dex/file/ |
H A D | MixedItemSection.java | 242 String label = item.toHuman(); 243 index.put(label, item); 254 String label = entry.getKey(); 256 out.annotate(0, item.offsetString() + ' ' + label + '\n');
|