/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
D | DexBackedMethodImplementation.java | 55 private final int codeOffset; field in DexBackedMethodImplementation 59 int codeOffset) { in DexBackedMethodImplementation() argument 62 this.codeOffset = codeOffset; in DexBackedMethodImplementation() 65 @Override public int getRegisterCount() { return dexFile.readUshort(codeOffset); } in getRegisterCount() 69 … int instructionsSize = dexFile.readSmallUint(codeOffset + CodeItem.INSTRUCTION_COUNT_OFFSET); in getInstructions() 71 final int instructionsStartOffset = codeOffset + CodeItem.INSTRUCTION_START_OFFSET; in getInstructions() 100 final int triesSize = dexFile.readUshort(codeOffset + CodeItem.TRIES_SIZE_OFFSET); 102 … int instructionsSize = dexFile.readSmallUint(codeOffset + CodeItem.INSTRUCTION_COUNT_OFFSET); 104 codeOffset + CodeItem.INSTRUCTION_START_OFFSET + (instructionsSize*2), 4); 127 int debugOffset = dexFile.readInt(codeOffset + CodeItem.DEBUG_INFO_OFFSET); [all …]
|
D | DexBackedMethod.java | 62 private final int codeOffset; field in DexBackedMethod 85 this.codeOffset = reader.readSmallUleb128(); in DexBackedMethod() 105 this.codeOffset = reader.readSmallUleb128(); in DexBackedMethod() 191 if (codeOffset > 0) { 192 return new DexBackedMethodImplementation(dexFile, this, codeOffset);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/ |
D | BuilderOffsetInstruction.java | 51 int codeOffset = internalGetCodeOffset(); in getCodeOffset() local 53 if (codeOffset < Byte.MIN_VALUE || codeOffset > Byte.MAX_VALUE) { in getCodeOffset() 55 "Offset must be in [-128, 127]", codeOffset); in getCodeOffset() 58 if (codeOffset < Short.MIN_VALUE || codeOffset > Short.MAX_VALUE) { in getCodeOffset() 60 "Offset must be in [-32768, 32767]", codeOffset); in getCodeOffset() 63 return codeOffset; in getCodeOffset()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
D | InstructionOffsetMap.java | 47 int codeOffset = 0; in InstructionOffsetMap() local 49 instructionCodeOffsets[i] = codeOffset; in InstructionOffsetMap() 50 codeOffset += instructions.get(i).getCodeUnits(); in InstructionOffsetMap() 54 public int getInstructionIndexAtCodeOffset(int codeOffset) { in getInstructionIndexAtCodeOffset() argument 55 return getInstructionIndexAtCodeOffset(codeOffset, true); in getInstructionIndexAtCodeOffset() 58 public int getInstructionIndexAtCodeOffset(int codeOffset, boolean exact) { in getInstructionIndexAtCodeOffset() argument 59 int index = Arrays.binarySearch(instructionCodeOffsets, codeOffset); in getInstructionIndexAtCodeOffset() 62 throw new InvalidInstructionOffset(codeOffset); in getInstructionIndexAtCodeOffset()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/instruction/ |
D | ImmutableInstructionFactory.java | 50 int codeOffset) { in makeInstruction10t() argument 51 return new ImmutableInstruction10t(opcode, codeOffset); in makeInstruction10t() 82 int codeOffset) { in makeInstruction20t() argument 83 return new ImmutableInstruction20t(opcode, codeOffset); in makeInstruction20t() 112 int codeOffset) { in makeInstruction21t() argument 113 return new ImmutableInstruction21t(opcode, registerA, codeOffset); in makeInstruction21t() 140 int codeOffset) { in makeInstruction22t() argument 141 return new ImmutableInstruction22t(opcode, registerA, registerB, codeOffset); in makeInstruction22t() 158 int codeOffset) { in makeInstruction30t() argument 159 return new ImmutableInstruction30t(opcode, codeOffset); in makeInstruction30t() [all …]
|
D | ImmutableInstruction30t.java | 43 protected final int codeOffset; field in ImmutableInstruction30t 46 int codeOffset) { in ImmutableInstruction30t() argument 48 this.codeOffset = codeOffset; in ImmutableInstruction30t() 60 @Override public int getCodeOffset() { return codeOffset; } in getCodeOffset()
|
D | ImmutableInstruction20t.java | 44 protected final int codeOffset; field in ImmutableInstruction20t 47 int codeOffset) { in ImmutableInstruction20t() argument 49 this.codeOffset = Preconditions.checkShortCodeOffset(codeOffset); in ImmutableInstruction20t() 61 @Override public int getCodeOffset() { return codeOffset; } in getCodeOffset()
|
D | ImmutableInstruction10t.java | 44 protected final int codeOffset; field in ImmutableInstruction10t 47 int codeOffset) { in ImmutableInstruction10t() argument 49 this.codeOffset = Preconditions.checkByteCodeOffset(codeOffset); in ImmutableInstruction10t() 61 @Override public int getCodeOffset() { return codeOffset; } in getCodeOffset()
|
D | ImmutableInstruction31t.java | 45 protected final int codeOffset; field in ImmutableInstruction31t 49 int codeOffset) { in ImmutableInstruction31t() argument 52 this.codeOffset = codeOffset; in ImmutableInstruction31t() 66 @Override public int getCodeOffset() { return codeOffset; } in getCodeOffset()
|
D | ImmutableInstruction21t.java | 45 protected final int codeOffset; field in ImmutableInstruction21t 49 int codeOffset) { in ImmutableInstruction21t() argument 52 this.codeOffset = Preconditions.checkShortCodeOffset(codeOffset); in ImmutableInstruction21t() 66 @Override public int getCodeOffset() { return codeOffset; } in getCodeOffset()
|
D | ImmutableInstruction22t.java | 46 protected final int codeOffset; field in ImmutableInstruction22t 51 int codeOffset) { in ImmutableInstruction22t() argument 55 this.codeOffset = Preconditions.checkShortCodeOffset(codeOffset); in ImmutableInstruction22t() 71 @Override public int getCodeOffset() { return codeOffset; } in getCodeOffset()
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/util/ |
D | InstructionOffsetMapTest.java | 92 … for (int codeOffset=0; codeOffset<=expectedOffsets[expectedOffsets.length-1]; codeOffset++) { in testInstructionOffsetMap() 93 if (codeOffset == expectedOffsets[instructionIndex+1]) { in testInstructionOffsetMap() 99 instructionOffsetMap.getInstructionIndexAtCodeOffset(codeOffset, false)); in testInstructionOffsetMap() 102 instructionOffsetMap.getInstructionIndexAtCodeOffset(codeOffset, true); in testInstructionOffsetMap() 103 … Assert.fail(String.format("Exception exception didn't occur for code offset 0x%x", codeOffset)); in testInstructionOffsetMap()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
D | InstructionFactory.java | 45 Instruction makeInstruction10t(@Nonnull Opcode opcode, int codeOffset); in makeInstruction10t() argument 51 Instruction makeInstruction20t(@Nonnull Opcode opcode, int codeOffset); in makeInstruction20t() argument 56 Instruction makeInstruction21t(@Nonnull Opcode opcode, int registerA, int codeOffset); in makeInstruction21t() argument 60 …struction makeInstruction22t(@Nonnull Opcode opcode, int registerA, int registerB, int codeOffset); in makeInstruction22t() argument 63 Instruction makeInstruction30t(@Nonnull Opcode opcode, int codeOffset); in makeInstruction30t() argument 66 Instruction makeInstruction31t(@Nonnull Opcode opcode, int registerA, int codeOffset); in makeInstruction31t() argument
|
D | DexWriter.java | 763 int codeOffset; 765 private CodeItemOffset(@Nonnull MethodKey method, int codeOffset) { 766 this.codeOffset = codeOffset; 841 for (CodeItemOffset<MethodKey> codeOffset: codeOffsets) { 842 … classSection.setCodeItemOffset(codeOffset.method, codeSectionOffset + codeOffset.codeOffset); 981 int codeOffset = 0; 1098 …ow new ExceptionWithContext(ex, "Error while writing instruction at code offset 0x%x", codeOffset); 1100 codeOffset += instruction.getCodeUnits();
|
/external/libunwind_llvm/src/ |
D | DwarfParser.hpp | 380 pint_t codeOffset = 0; in parseInstructions() local 387 while ((p < instructionsEnd) && (codeOffset < pcoffset)) { in parseInstructions() 403 codeOffset = in parseInstructions() 408 codeOffset += (addressSpace.get8(p) * cieInfo.codeAlignFactor); in parseInstructions() 411 static_cast<uint64_t>(codeOffset)); in parseInstructions() 414 codeOffset += (addressSpace.get16(p) * cieInfo.codeAlignFactor); in parseInstructions() 417 static_cast<uint64_t>(codeOffset)); in parseInstructions() 420 codeOffset += (addressSpace.get32(p) * cieInfo.codeAlignFactor); in parseInstructions() 423 static_cast<uint64_t>(codeOffset)); in parseInstructions() 546 results->codeOffsetAtStackDecrement = (uint32_t)codeOffset; in parseInstructions() [all …]
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/ |
D | SmaliInstruction.java | 205 int codeOffset = 0; in getAnalyzedInstructionFromMethod() local 208 if (codeOffset == thisOffset) { in getAnalyzedInstructionFromMethod() 211 assert codeOffset < thisOffset; in getAnalyzedInstructionFromMethod() 213 codeOffset += instruction.getOriginalInstruction().getCodeUnits(); in getAnalyzedInstructionFromMethod()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/ |
D | ClassDataItem.java | 157 int codeOffset = reader.readSmallUleb128(); in makeAnnotator() local 158 if (codeOffset == 0) { in makeAnnotator() 161 out.annotateTo(reader.getOffset(), "code_off = code_item[0x%x]", codeOffset); in makeAnnotator() local 162 addCodeItemIdentity(codeOffset, MethodIdItem.asString(dexFile, methodIndex)); in makeAnnotator()
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
D | MethodDefinition.java | 110 int codeOffset = instructionOffsetMap.getInstructionCodeOffset(i); in MethodDefinition() local 111 … int targetOffset = codeOffset + ((OffsetInstruction)instruction).getCodeOffset(); in MethodDefinition() 123 … ((Instruction31t)instruction).getRegisterA(), targetOffset-codeOffset)); in MethodDefinition() 127 packedSwitchMap.append(targetOffset, codeOffset); in MethodDefinition() 131 int codeOffset = instructionOffsetMap.getInstructionCodeOffset(i); in MethodDefinition() local 132 … int targetOffset = codeOffset + ((OffsetInstruction)instruction).getCodeOffset(); in MethodDefinition() 146 … ((Instruction31t)instruction).getRegisterA(), targetOffset-codeOffset)); in MethodDefinition() 150 sparseSwitchMap.append(targetOffset, codeOffset); in MethodDefinition()
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
D | SmaliMethodTest.java | 247 private void checkSourcePosition(SmaliMethod smaliMethod, int codeOffset, Opcode opcode) { in checkSourcePosition() argument 248 SourcePosition sourcePosition = smaliMethod.getSourcePositionForCodeOffset(codeOffset); in checkSourcePosition() 253 Assert.assertEquals(codeOffset, instruction.getOffset()); in checkSourcePosition()
|
/external/python/cpython2/Lib/compiler/ |
D | pyassem.py | 604 self.codeOffset = 0 613 self.codeOffset = self.codeOffset + len(args) 621 addr = self.codeOffset - self.lastoff 645 self.lastoff = self.codeOffset
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | Win64EH.h | 42 uint8_t codeOffset; member
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 119306 static void codeOffset( 119386 codeOffset(v, p->iOffset, iContinue); 119506 codeOffset(v, p->iOffset, iContinue); 119946 codeOffset(v, p->iOffset, addrContinue); 119951 codeOffset(v, p->iOffset, addrContinue); 120826 codeOffset(v, regOffset, addrCont); 121342 codeOffset(v, p->iOffset, iContinue);
|
/external/sqlite/dist/ |
D | sqlite3.c | 119322 static void codeOffset( 119402 codeOffset(v, p->iOffset, iContinue); 119522 codeOffset(v, p->iOffset, iContinue); 119962 codeOffset(v, p->iOffset, addrContinue); 119967 codeOffset(v, p->iOffset, addrContinue); 120842 codeOffset(v, regOffset, addrCont); 121358 codeOffset(v, p->iOffset, iContinue);
|