Searched defs:label (Results 1 - 25 of 28) sorted by relevance

12

/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DBlockAddresses.java32 * 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 DByteBlock.java27 /** {@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 DLocalVariableExtractor.java75 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 DRopMethod.java30 /** {@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 DLocalVariableInfo.java74 * 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 DBasicBlock.java28 /** {@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 DBasicBlockList.java37 * 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 DIntListTest.java31 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 DBitsTest.java23 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 DByteBlockList.java50 * Gets the block with the given label.
52 * @param label the label to look for
53 * @return {@code non-null;} the block with the given label
55 public ByteBlock labelToBlock(int label) { argument
56 int idx = indexOfLabel(label);
59 throw new IllegalArgumentException("no such label: "
60 + Hex.u2(label));
H A DByteBlock.java27 /** {@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 DLocalsArraySet.java47 * Indexed by label of caller block: the locals specific to each caller's
70 * caller label.
130 for (int label = 0; label < sz; label++) {
131 LocalsArray la = secondaries.get(label);
135 + Hex.u2(label) + ')');
152 for (int label = 0; label < sz; label
374 getSecondaryForLabel(int label) argument
[all...]
H A DRopper.java39 /** label offset for the parameter assignment block */
42 /** label offset for the return block */
45 /** label offset for the synchronized method final return block */
48 /** label offset for the first synchronized method setup block */
51 /** label offset for the second synchronized method setup block */
55 * label offset for the first synchronized method exception
61 * label offset for the second synchronized method exception
66 /** number of special label offsets */
78 /** max label (exclusive) of any original bytecode block */
104 * {@code non-null;} for each block (by label) tha
181 addCallerBlock(int label) argument
332 getExceptionSetupLabel(int label) argument
343 getSpecialLabel(int label) argument
445 labelToResultIndex(int label) argument
464 labelToBlock(int label) argument
967 mergeAndWorkAsNecessary(int label, int pred, Subroutine calledSubroutine, Frame frame, int[] workSet) argument
1516 involvedInSubroutine(int label, int subroutineStart) argument
1570 subroutineFromRetBlock(int label) argument
[all...]
/dalvik/dx/src/com/android/dx/dex/code/
H A DBlockAddresses.java32 * 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 DLocalVariableExtractor.java75 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 DRopMethod.java30 /** {@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 DLocalVariableInfo.java74 * 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
142 getStarts(int label) argument
169 mutableCopyOfStarts(int label) argument
246 getStarts0(int label) argument
[all...]
H A DBasicBlock.java28 /** {@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 DBasicBlockList.java37 * 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 >= 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));
/dalvik/dexgen/src/com/android/dexgen/util/
H A DLabeledList.java22 * 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 DLabeledList.java22 * 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/vm/compiler/codegen/arm/FP/
H A DThumb2VFP.cpp204 ArmLIR *label = newLIR0(cUnit, kArmPseudoTargetLabel); local
205 label->defMask = ENCODE_ALL;
206 branch->generic.target = (LIR *)label;
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DClassDataItem.java372 * @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 DClassDataItem.java369 * @param label {@code non-null;} the label for the purposes of annotation
373 String label, int size) {
375 out.annotate(String.format(" %-21s %08x", label + "_size:",
389 * @param label {@code non-null;} the label for the purposes of annotation
393 String label, ArrayList<? extends EncodedMember> list) {
402 out.annotate(0, " " + label + ":");
372 encodeSize(DexFile file, AnnotatedOutput out, String label, int size) argument
392 encodeList(DexFile file, AnnotatedOutput out, String label, ArrayList<? extends EncodedMember> list) argument
/dalvik/tests/023-many-interfaces/src/
H A DManyInterfaces.java159 private static void report(String label, long start, long end, int iter, argument
162 System.out.println(label + ": " + (end - start) / 1000 + "us"
165 System.out.println(label + ": done");

Completed in 681 milliseconds

12