Home
last modified time | relevance | path

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

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DInstructionOffsetMap.java94 private final int instructionIndex; field in InstructionOffsetMap.InvalidInstructionIndex
96 public InvalidInstructionIndex(int instructionIndex) { in InvalidInstructionIndex() argument
97 super("Instruction index out of bounds: %d", instructionIndex); in InvalidInstructionIndex()
98 this.instructionIndex = instructionIndex; in InvalidInstructionIndex()
102 return instructionIndex; in getInstructionIndex()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DAnalyzedInstruction.java65 protected final int instructionIndex; field in AnalyzedInstruction
104 int instructionIndex, int registerCount) { in AnalyzedInstruction() argument
108 this.instructionIndex = instructionIndex; in AnalyzedInstruction()
119 return instructionIndex; in getInstructionIndex()
192 return predecessors.first().instructionIndex == -1; in isBeginningInstruction()
223 verifiedInstructions.clear(instructionIndex); in mergeRegister()
305 verifiedInstructions.clear(instructionIndex);
389 if (instructionIndex > 0 &&
410 if (instructionIndex > 1) {
544 if (instructionIndex > 0 &&
[all …]
DMethodAnalyzer.java178 instructionsToAnalyze.set(successor.instructionIndex); in analyze()
326 return analyzedInstructions.keyAt(instruction.instructionIndex);
341 for (int instructionIndex=changedInstructions.nextSetBit(0);
342 instructionIndex>=0;
343 instructionIndex=changedInstructions.nextSetBit(instructionIndex+1)) {
345 changedInstructions.clear(instructionIndex);
347 … propagateRegisterToSuccessors(analyzedInstructions.valueAt(instructionIndex), registerNumber,
363 changedInstructions.set(analyzedInstruction.instructionIndex);
427 changedInstructions.set(successor.instructionIndex);
580 …nalyzedInstruction[] exceptionHandlersForSuccessor = exceptionHandlers[successor.instructionIndex];
[all …]
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DTokenRewriteStream.cs109 public int instructionIndex; field in Antlr.Runtime.TokenRewriteStream.RewriteOperation
233 public virtual void Rollback( int instructionIndex ) in Rollback() argument
235 Rollback( DEFAULT_PROGRAM_NAME, instructionIndex ); in Rollback()
244 public virtual void Rollback( string programName, int instructionIndex ) in Rollback() argument
250 for ( int i = MIN_TOKEN_INDEX; i <= instructionIndex; i++ ) in Rollback()
308 op.instructionIndex = rewrites.Count; in InsertBefore()
340 op.instructionIndex = rewrites.Count; in Replace()
587 rewrites[iop.instructionIndex] = null; in ReduceToSingleOperationPerIndex()
593 rewrites[iop.instructionIndex] = null; in ReduceToSingleOperationPerIndex()
604 rewrites[prevRop.instructionIndex] = null; in ReduceToSingleOperationPerIndex()
[all …]
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DTokenRewriteStream.java92 protected int instructionIndex; field in TokenRewriteStream.RewriteOperation
191 public void rollback(int instructionIndex) { in rollback() argument
192 rollback(DEFAULT_PROGRAM_NAME, instructionIndex); in rollback()
199 public void rollback(String programName, int instructionIndex) { in rollback() argument
202 programs.put(programName, is.subList(MIN_TOKEN_INDEX,instructionIndex)); in rollback()
247 op.instructionIndex = rewrites.size(); in insertBefore()
273 op.instructionIndex = rewrites.size(); in replace()
476 rewrites.set(iop.instructionIndex, null); in reduceToSingleOperationPerIndex()
481 rewrites.set(iop.instructionIndex, null); in reduceToSingleOperationPerIndex()
490 rewrites.set(prevRop.instructionIndex, null); in reduceToSingleOperationPerIndex()
[all …]
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DTokenRewriteStream.cs104 public int instructionIndex; field in Antlr.Runtime.TokenRewriteStream.RewriteOperation
207 public virtual void Rollback(int instructionIndex) { in Rollback() argument
208 Rollback(DEFAULT_PROGRAM_NAME, instructionIndex); in Rollback()
217 public virtual void Rollback(string programName, int instructionIndex) { in Rollback() argument
221 for (int i = MIN_TOKEN_INDEX; i <= instructionIndex; i++) in Rollback()
271 op.instructionIndex = rewrites.Count; in InsertBefore()
297 op.instructionIndex = rewrites.Count; in Replace()
507 rewrites[iop.instructionIndex] = null; in ReduceToSingleOperationPerIndex()
516 rewrites[prevRop.instructionIndex] = null; in ReduceToSingleOperationPerIndex()
548 rewrites[prevIop.instructionIndex] = null; in ReduceToSingleOperationPerIndex()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/util/
DInstructionOffsetMapTest.java91 int instructionIndex = -1; in testInstructionOffsetMap() local
93 if (codeOffset == expectedOffsets[instructionIndex+1]) { in testInstructionOffsetMap()
95 instructionIndex++; in testInstructionOffsetMap()
98 Assert.assertEquals(instructionIndex, in testInstructionOffsetMap()
/external/antlr/runtime/Python3/antlr3/
Dstreams.py907 self.instructionIndex = None
1048 instructionIndex = args[1]
1051 instructionIndex = args[0]
1058 p[self.MIN_TOKEN_INDEX:instructionIndex])
1109 op.instructionIndex = len(rewrites)
1150 op.instructionIndex = len(rewrites)
1345 rewrites[iop.instructionIndex] = None
1371 rewrites[prevRop.instructionIndex] = None
/external/antlr/runtime/Python/antlr3/
Dstreams.py960 self.instructionIndex = None
1103 instructionIndex = args[1]
1106 instructionIndex = args[0]
1113 p[self.MIN_TOKEN_INDEX:instructionIndex])
1164 op.instructionIndex = len(rewrites)
1205 op.instructionIndex = len(rewrites)
1405 rewrites[iop.instructionIndex] = None
1431 rewrites[prevRop.instructionIndex] = None
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
DTokenRewriteStream.js152 instructionIndex;
156 instructionIndex = arguments[0];
159 instructionIndex = arguments[1];
163 programs[programName] = is.slice(trs.MIN_TOKEN_INDEX, this.instructionIndex);
/external/antlr/runtime/ObjC/Framework/
DTokenRewriteStream.h44 NSInteger instructionIndex; variable
50 @property (getter=getInstructionIndex, setter=setInstructionIndex:) NSInteger instructionIndex;
128 - (void) rollback:(NSInteger)instructionIndex;
DTokenRewriteStream.m45 @synthesize instructionIndex;
245 - (void) rollback:(NSInteger)instructionIndex
247 [self rollback:DEFAULT_PROGRAM_NAME Index:instructionIndex];
251 * the indicated instruction (via instructionIndex) is no
319 op.instructionIndex = [rewrites count];
355 op.instructionIndex = [rewrites count];
575 [rewrites insertObject:nil atIndex:iop.instructionIndex];
584 [rewrites setObject:nil atIndex:prevRop.instructionIndex];
614 [rewrites setObject:nil atIndex:prevIop.instructionIndex];
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/
DTokenRewriteStream.as102 * the indicated instruction (via instructionIndex) is no
105 public function rollback(instructionIndex:int, programName:String = DEFAULT_PROGRAM_NAME):void {
108 programs[programName] = isn.slice(MIN_TOKEN_INDEX,instructionIndex);
133 op.instructionIndex = rewrites.length;
147 op.instructionIndex = rewrites.length;
327 rewrites[iop.instructionIndex] = null; // delete insert as it's a no-op.
335 rewrites[prevRop.instructionIndex] = null; // delete replace as it's a no-op.
364 rewrites[prevIop.instructionIndex] = null; // delete redundant prior insert
446 internal var instructionIndex:int;
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/
DMutableMethodImplementation.java520 public Label newLabelForIndex(int instructionIndex) {
521 if (instructionIndex < 0 || instructionIndex >= instructionList.size()) {
522 …w IndexOutOfBoundsException(String.format("instruction index %d out of bounds", instructionIndex));
524 MethodLocation referent = instructionList.get(instructionIndex);