Home
last modified time | relevance | path

Searched refs:jumpOffsets (Results 1 – 14 of 14) sorted by relevance

/external/proguard/src/proguard/classfile/instruction/
DSwitchInstruction.java32 public int[] jumpOffsets; field in SwitchInstruction
46 int[] jumpOffsets) in SwitchInstruction() argument
50 this.jumpOffsets = jumpOffsets; in SwitchInstruction()
63 this.jumpOffsets = switchInstruction.jumpOffsets; in copy()
81 return getName()+" ("+jumpOffsets.length+" offsets, default="+defaultOffset+")"; in toString()
DTableSwitchInstruction.java52 int[] jumpOffsets) in TableSwitchInstruction() argument
58 this.jumpOffsets = jumpOffsets; in TableSwitchInstruction()
73 this.jumpOffsets = tableSwitchInstruction.jumpOffsets; in copy()
98 jumpOffsets = new int[highCase - lowCase + 1]; in readInfo()
100 for (int index = 0; index < jumpOffsets.length; index++) in readInfo()
102 jumpOffsets[index] = readInt(code, offset); offset += 4; in readInfo()
124 writeInt(code, offset, jumpOffsets[index]); offset += 4; in writeInfo()
DLookUpSwitchInstruction.java50 int[] jumpOffsets) in LookUpSwitchInstruction() argument
55 this.jumpOffsets = jumpOffsets; in LookUpSwitchInstruction()
69 this.jumpOffsets = lookUpSwitchInstruction.jumpOffsets; in copy()
94 jumpOffsets = new int[jumpOffsetCount]; in readInfo()
99 jumpOffsets[index] = readInt(code, offset); offset += 4; in readInfo()
120 writeInt(code, offset, jumpOffsets[index]); offset += 4; in writeInfo()
/external/proguard/src/proguard/optimize/evaluation/
DEvaluationSimplifier.java913 int[] jumpOffsets = tableSwitchInstruction.jumpOffsets; in replaceSimpleEnumSwitchInstruction() local
926 jumpOffsets[switchCase - tableSwitchInstruction.lowCase] : in replaceSimpleEnumSwitchInstruction()
933 tableSwitchInstruction.jumpOffsets = newJumpOffsets; in replaceSimpleEnumSwitchInstruction()
1001 int[] jumpOffsets = lookupSwitchInstruction.jumpOffsets; in replaceSimpleEnumSwitchInstruction() local
1013 jumpOffsets[caseIndex] : in replaceSimpleEnumSwitchInstruction()
1054 int[] jumpOffsets = switchInstruction.jumpOffsets; in cleanUpSwitchInstruction() local
1055 for (int index = 0; index < jumpOffsets.length; index++) in cleanUpSwitchInstruction()
1057 if (!branchTargets.contains(offset + jumpOffsets[index])) in cleanUpSwitchInstruction()
1060 jumpOffsets[index] = defaultOffset; in cleanUpSwitchInstruction()
1093 int[] jumpOffsets = tableSwitchInstruction.jumpOffsets; in trimSwitchInstruction() local
[all …]
/external/proguard/src/proguard/optimize/peephole/
DReachableCodeMarker.java175 switchInstruction.jumpOffsets); in visitAnySwitchInstruction()
202 …anchTargets(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int[] jumpOffsets) in markBranchTargets() argument
204 for (int index = 0; index < jumpOffsets.length; index++) in markBranchTargets()
206 markCode(clazz, method, codeAttribute, offset + jumpOffsets[index]); in markBranchTargets()
DBranchTargetFinder.java606 markBranches(offset, switchInstruction.jumpOffsets); in visitAnySwitchInstruction()
656 private void markBranches(int offset, int[] jumpOffsets) in markBranches() argument
658 for (int index = 0; index < jumpOffsets.length; index++) in markBranches()
660 markBranch(offset, jumpOffsets[index]); in markBranches()
DInstructionSequenceReplacer.java307 … tableSwitchInstruction.jumpOffsets)); in visitTableSwitchInstruction()
318 … instructionSequenceMatcher.matchedJumpOffsets(offset, lookUpSwitchInstruction.jumpOffsets)); in visitLookUpSwitchInstruction()
/external/proguard/src/proguard/classfile/util/
DInstructionSequenceMatcher.java208 public int[] matchedJumpOffsets(int offset, int[] jumpOffsets) in matchedJumpOffsets() argument
210 int[] matchedJumpOffsets = new int[jumpOffsets.length]; in matchedJumpOffsets()
212 for (int index = 0; index < jumpOffsets.length; index++) in matchedJumpOffsets()
215 jumpOffsets[index]); in matchedJumpOffsets()
326 tableSwitchInstruction.jumpOffsets, in visitTableSwitchInstruction()
327 ((TableSwitchInstruction)patternInstruction).jumpOffsets); in visitTableSwitchInstruction()
352 lookUpSwitchInstruction.jumpOffsets, in visitLookUpSwitchInstruction()
353 ((LookUpSwitchInstruction)patternInstruction).jumpOffsets); in visitLookUpSwitchInstruction()
/external/proguard/src/proguard/classfile/attribute/visitor/
DStackSizeComputer.java231 int[] jumpOffsets = switchInstruction.jumpOffsets; in visitAnySwitchInstruction() local
233 for (int index = 0; index < jumpOffsets.length; index++) in visitAnySwitchInstruction()
239 offset + jumpOffsets[index]); in visitAnySwitchInstruction()
/external/proguard/src/proguard/optimize/info/
DBackwardBranchMarker.java54 for (int index = 0; index < switchInstruction.jumpOffsets.length; index++) in visitAnySwitchInstruction()
56 markBackwardBranch(method, switchInstruction.jumpOffsets[index]); in visitAnySwitchInstruction()
/external/proguard/src/proguard/classfile/editor/
DCodeAttributeComposer.java571 switchInstruction.jumpOffsets); in visitAnySwitchInstruction()
732 private void updateJumpOffsets(int offset, int[] jumpOffsets) in updateJumpOffsets() argument
734 for (int index = 0; index < jumpOffsets.length; index++) in updateJumpOffsets()
736 jumpOffsets[index] = newBranchOffset(offset, jumpOffsets[index]); in updateJumpOffsets()
DCodeAttributeEditor.java877 tableSwitchInstruction.jumpOffsets, in visitTableSwitchInstruction()
899 lookUpSwitchInstruction.jumpOffsets, in visitLookUpSwitchInstruction()
/external/proguard/src/proguard/classfile/visitor/
DClassPrinter.java735 int[] jumpOffsets = tableSwitchInstruction.jumpOffsets; in visitTableSwitchInstruction() local
737 for (int index = 0; index < jumpOffsets.length; index++) in visitTableSwitchInstruction()
739 int jumpOffset = jumpOffsets[index]; in visitTableSwitchInstruction()
757 int[] jumpOffsets = lookUpSwitchInstruction.jumpOffsets; in visitLookUpSwitchInstruction() local
759 for (int index = 0; index < jumpOffsets.length; index++) in visitLookUpSwitchInstruction()
761 int jumpOffset = jumpOffsets[index]; in visitLookUpSwitchInstruction()
/external/proguard/src/proguard/evaluation/
DProcessor.java883 for (int index = 0; index < tableSwitchInstruction.jumpOffsets.length; index++) in visitTableSwitchInstruction()
889 offset + tableSwitchInstruction.jumpOffsets[index], in visitTableSwitchInstruction()
911 for (int index = 0; index < lookUpSwitchInstruction.jumpOffsets.length; index++) in visitLookUpSwitchInstruction()
917 offset + lookUpSwitchInstruction.jumpOffsets[index], in visitLookUpSwitchInstruction()