Home
last modified time | relevance | path

Searched refs:address (Results 1 – 22 of 22) sorted by relevance

/dalvik/dexgen/src/com/android/dexgen/rop/code/
DSourcePosition.java38 private final int address; field in SourcePosition
56 public SourcePosition(CstUtf8 sourceFile, int address, int line) { in SourcePosition() argument
57 if (address < -1) { in SourcePosition()
66 this.address = address; in SourcePosition()
86 if (address < 0) { in toString()
89 sb.append(Hex.u2(address)); in toString()
108 return (address == pos.address) && sameLineAndFile(pos); in equals()
114 return sourceFile.hashCode() + address + line; in hashCode()
156 return address; in getAddress()
/dalvik/dx/src/com/android/dx/rop/code/
DSourcePosition.java38 private final int address; field in SourcePosition
56 public SourcePosition(CstString sourceFile, int address, int line) { in SourcePosition() argument
57 if (address < -1) { in SourcePosition()
66 this.address = address; in SourcePosition()
86 if (address < 0) { in toString()
89 sb.append(Hex.u2(address)); in toString()
108 return (address == pos.address) && sameLineAndFile(pos); in equals()
114 return sourceFile.hashCode() + address + line; in hashCode()
156 return address; in getAddress()
/dalvik/dx/src/com/android/dx/dex/code/
DLocalList.java121 private final int address; field in LocalList.Entry
140 public Entry(int address, Disposition disposition, RegisterSpec spec) { in Entry() argument
141 if (address < 0) { in Entry()
159 this.address = address; in Entry()
167 return Integer.toHexString(address) + " " + disposition + " " + in toString()
189 if (address < other.address) { in compareTo()
191 } else if (address > other.address) { in compareTo()
211 return address; in getAddress()
314 return new Entry(address, disposition, spec); in withDisposition()
490 private void aboutToProcess(int address, int reg) { in aboutToProcess() argument
[all …]
DPositionList.java150 private final int address; field in PositionList.Entry
161 public Entry (int address, SourcePosition position) { in Entry() argument
162 if (address < 0) { in Entry()
170 this.address = address; in Entry()
180 return address; in getAddress()
DDalvInsn.java37 private int address; field in DalvInsn
109 this.address = -1; in DalvInsn()
152 return (address >= 0); in hasAddress()
164 if (address < 0) { in getAddress()
168 return address; in getAddress()
324 if (address != -1) { in identifierString()
325 return String.format("%04x", address); in identifierString()
365 public final void setAddress(int address) { in setAddress() argument
366 if (address < 0) { in setAddress()
370 this.address = address; in setAddress()
DInsnFormat.java309 int address = ti.getTargetAddress(); in branchString() local
311 return (address == (char) address) ? Hex.u2(address) : Hex.u4(address); in branchString()
DOutputFinisher.java706 int address = 0; in assignAddresses() local
711 insn.setAddress(address); in assignAddresses()
712 address += insn.codeSize(); in assignAddresses()
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DLocalList.java122 private final int address; field in LocalList.Entry
141 public Entry(int address, Disposition disposition, RegisterSpec spec) { in Entry() argument
142 if (address < 0) { in Entry()
160 this.address = address; in Entry()
168 return Integer.toHexString(address) + " " + disposition + " " + in toString()
190 if (address < other.address) { in compareTo()
192 } else if (address > other.address) { in compareTo()
212 return address; in getAddress()
315 return new Entry(address, disposition, spec); in withDisposition()
494 private void aboutToProcess(int address, int reg) { in aboutToProcess() argument
[all …]
DPositionList.java150 private final int address; field in PositionList.Entry
161 public Entry (int address, SourcePosition position) { in Entry() argument
162 if (address < 0) { in Entry()
170 this.address = address; in Entry()
180 return address; in getAddress()
DDalvInsn.java34 private int address; field in DalvInsn
106 this.address = -1; in DalvInsn()
149 return (address >= 0); in hasAddress()
161 if (address < 0) { in getAddress()
165 return address; in getAddress()
295 if (address != -1) { in identifierString()
296 return String.format("%04x", address); in identifierString()
336 public final void setAddress(int address) { in setAddress() argument
337 if (address < 0) { in setAddress()
341 this.address = address; in setAddress()
DInsnFormat.java250 int address = ti.getTargetAddress(); in branchString() local
252 return (address == (char) address) ? Hex.u2(address) : Hex.u4(address); in branchString()
DOutputFinisher.java640 int address = 0; in assignAddresses() local
645 insn.setAddress(address); in assignAddresses()
646 address += insn.codeSize(); in assignAddresses()
/dalvik/libdex/
DDexCatch.h32 u4 address; /* handler address */ member
61 pIterator->handler.address = 0; in dexCatchIteratorClear()
104 pIterator->handler.address = readUnsignedLeb128(&pIterator->pEncodedData); in dexCatchIteratorNext()
115 u4 address);
121 const DexCode* pCode, u4 address) { in dexFindCatchHandler() argument
134 if (address < start) { in dexFindCatchHandler()
140 if (address >= end) { in dexFindCatchHandler()
149 address); in dexFindCatchHandler()
DDexCatch.cpp53 u4 address) { in dexFindCatchHandlerOffset0() argument
63 if (address < start) { in dexFindCatchHandlerOffset0()
70 if (address >= end) { in dexFindCatchHandlerOffset0()
DDexDebugInfo.cpp157 u4 address = 0; in dexDecodeDebugInfo0() local
206 localInReg[reg].startAddress = address; in dexDecodeDebugInfo0()
220 address += readUnsignedLeb128(&stream); in dexDecodeDebugInfo0()
236 emitLocalCbIfLive(cnxt, reg, address, in dexDecodeDebugInfo0()
247 localInReg[reg].startAddress = address; in dexDecodeDebugInfo0()
258 emitLocalCbIfLive (cnxt, reg, address, localInReg, localCb); in dexDecodeDebugInfo0()
280 localInReg[reg].startAddress = address; in dexDecodeDebugInfo0()
293 address += adjopcode / DBG_LINE_RANGE; in dexDecodeDebugInfo0()
298 done = posCb(cnxt, address, line); in dexDecodeDebugInfo0()
DDexDebugInfo.h30 typedef int (*DexDebugNewPositionCb)(void *cnxt, u4 address, u4 lineNum);
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DDebugInfoDecoder.java78 private int address = 0; field in DebugInfoDecoder
131 public int address; field in DebugInfoDecoder.PositionEntry
136 public PositionEntry(int address, int line) { in PositionEntry() argument
137 this.address = address; in PositionEntry()
147 public int address; field in DebugInfoDecoder.LocalEntry
164 public LocalEntry(int address, boolean isStart, int reg, int nameIndex, in LocalEntry() argument
166 this.address = address; in LocalEntry()
176 address, isStart ? "start" : "end", reg, in toString()
298 address, true, reg, nameIdx, typeIdx, 0); in decode0()
311 address, true, reg, nameIdx, typeIdx, sigIdx); in decode0()
[all …]
DDebugInfoEncoder.java73 private int address = 0; field in DebugInfoEncoder
203 annotate(1, String.format("%04x: prologue end",address)); in convert0()
259 emitAdvancePc(next - address); in convert0()
285 && (locals.get(curLocalIdx).getAddress() == address)) { in emitLocalsAtAddress()
354 == address)) { in emitPositionsAtAddress()
622 address, entryAnnotationString(entry))); in emitLocalRestart()
700 String.format("%04x: +local %s", address, in emitLocalStart()
730 String.format("%04x: +localx %s", address, in emitLocalStartExtended()
755 String.format("%04x: -local %s", address, in emitLocalEnd()
782 int deltaAddress = newAddress - address; in emitPosition()
[all …]
/dalvik/dx/src/com/android/dx/dex/file/
DDebugInfoDecoder.java89 private int address = 0; field in DebugInfoDecoder
142 public int address; field in DebugInfoDecoder.PositionEntry
147 public PositionEntry(int address, int line) { in PositionEntry() argument
148 this.address = address; in PositionEntry()
158 public int address; field in DebugInfoDecoder.LocalEntry
175 public LocalEntry(int address, boolean isStart, int reg, int nameIndex, in LocalEntry() argument
177 this.address = address; in LocalEntry()
187 address, isStart ? "start" : "end", reg, in toString()
302 address, true, reg, nameIdx, typeIdx, 0); in decode0()
315 address, true, reg, nameIdx, typeIdx, sigIdx); in decode0()
[all …]
DDebugInfoEncoder.java81 private int address = 0; field in DebugInfoEncoder
211 annotate(1, String.format("%04x: prologue end",address)); in convert0()
267 emitAdvancePc(next - address); in convert0()
293 && (locals.get(curLocalIdx).getAddress() == address)) { in emitLocalsAtAddress()
362 == address)) { in emitPositionsAtAddress()
630 address, entryAnnotationString(entry))); in emitLocalRestart()
708 String.format("%04x: +local %s", address, in emitLocalStart()
738 String.format("%04x: +localx %s", address, in emitLocalStartExtended()
763 String.format("%04x: -local %s", address, in emitLocalEnd()
790 int deltaAddress = newAddress - address; in emitPosition()
[all …]
/dalvik/dexdump/
DDexDump.cpp604 handler->address); in dumpCatches()
609 static int dumpPositionsCb(void * /* cnxt */, u4 address, u4 lineNum) in dumpPositionsCb() argument
611 printf(" 0x%04x line=%d\n", address, lineNum); in dumpPositionsCb()
/dalvik/opcode-gen/
Dbytecode.txt72 # branch -- might branch to an address
73 # continue -- might continue to the next address in sequence