/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...] |
/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/dexgen/src/com/android/dexgen/rop/code/ |
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...] |
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 | BasicBlockList.java | 37 * and the first-block label is initially {@code -1}. 152 * Gets the first block in the list with the given label, if any. 154 * @param label {@code >= 0;} the label to look for 156 * @throws IllegalArgumentException thrown if the label isn't found 158 public BasicBlock labelToBlock(int label) { argument 159 int idx = indexOfLabel(label); 162 throw new IllegalArgumentException("no such label: " 163 + Hex.u2(label));
|
/dalvik/dx/junit-tests/com/android/dx/util/ |
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
|
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...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
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 | 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 | 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) + ')'); 151 for (int label = 0; label < sz; label 373 getSecondaryForLabel(int label) argument [all...] |
H A D | Ropper.java | 57 /** label offset for the parameter assignment block */ 60 /** label offset for the return block */ 63 /** label offset for the synchronized method final return block */ 66 /** label offset for the first synchronized method setup block */ 69 /** label offset for the second synchronized method setup block */ 73 * label offset for the first synchronized method exception 79 * label offset for the second synchronized method exception 84 /** number of special label offsets */ 96 /** max label (exclusive) of any original bytecode block */ 122 * {@code non-null;} for each block (by label) tha 190 private int label; field in class:Ropper.ExceptionHandlerSetup 198 ExceptionHandlerSetup(Type caughtType, int label) argument 276 addCallerBlock(int label) argument 434 getSpecialLabel(int label) argument 550 labelToResultIndex(int label) argument 569 labelToBlock(int label) argument 1069 mergeAndWorkAsNecessary(int label, int pred, Subroutine calledSubroutine, Frame frame, int[] workSet) argument 1642 involvedInSubroutine(int label, int subroutineStart) argument 1696 subroutineFromRetBlock(int label) argument [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...] |
/dalvik/dx/src/com/android/dx/rop/code/ |
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...] |
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 | BasicBlockList.java | 37 * and the first-block label is initially {@code -1}. 151 * Gets the first block in the list with the given label, if any. 153 * @param label {@code label >= 0;} the label to look for 155 * @throws IllegalArgumentException thrown if the label isn't found 157 public BasicBlock labelToBlock(int label) { argument 158 int idx = indexOfLabel(label); 161 throw new IllegalArgumentException("no such label: " 162 + Hex.u2(label)); [all...] |
/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/dexgen/src/com/android/dexgen/dex/file/ |
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 | ClassDataItem.java | 368 * @param label {@code non-null;} the label for the purposes of annotation 372 String label, int size) { 374 out.annotate(String.format(" %-21s %08x", label + "_size:", 388 * @param label {@code non-null;} the label for the purposes of annotation 392 String label, ArrayList<? extends EncodedMember> list) { 401 out.annotate(0, " " + label + ":"); 371 encodeSize(DexFile file, AnnotatedOutput out, String label, int size) argument 391 encodeList(DexFile file, AnnotatedOutput out, String label, ArrayList<? extends EncodedMember> list) argument
|
/dalvik/libdex/ |
H A D | DexSwapVerify.cpp | 88 const void* start, const void* end, const char* label) { 93 ALOGW("Bad offset range for %s: %#x..%#x", label, 87 checkPtrRange(const CheckState* state, const void* start, const void* end, const char* label) argument
|
/dalvik/dx/etc/ |
H A D | jasmin.jar | ... .CatchEntry extends java.lang.Object {
jas.Label start_pc jas.Label end_pc jas.Label handler_pc int ... |