Lines Matching refs:reg
120 static void emitLocalCbIfLive(void *cnxt, int reg, u4 endAddress, in emitLocalCbIfLive() argument
123 if (localCb != NULL && localInReg[reg].live) { in emitLocalCbIfLive()
124 localCb(cnxt, reg, localInReg[reg].startAddress, endAddress, in emitLocalCbIfLive()
125 localInReg[reg].name, in emitLocalCbIfLive()
126 localInReg[reg].descriptor, in emitLocalCbIfLive()
127 localInReg[reg].signature == NULL in emitLocalCbIfLive()
128 ? "" : localInReg[reg].signature ); in emitLocalCbIfLive()
182 int reg; in dexDecodeDebugInfo0() local
190 reg = argReg; in dexDecodeDebugInfo0()
203 localInReg[reg].name = name; in dexDecodeDebugInfo0()
204 localInReg[reg].descriptor = descriptor; in dexDecodeDebugInfo0()
205 localInReg[reg].signature = NULL; in dexDecodeDebugInfo0()
206 localInReg[reg].startAddress = address; in dexDecodeDebugInfo0()
207 localInReg[reg].live = true; in dexDecodeDebugInfo0()
213 u2 reg; in dexDecodeDebugInfo0() local
229 reg = readUnsignedLeb128(&stream); in dexDecodeDebugInfo0()
230 if (reg > pCode->registersSize) { in dexDecodeDebugInfo0()
236 emitLocalCbIfLive(cnxt, reg, address, in dexDecodeDebugInfo0()
239 localInReg[reg].name = readStringIdx(pDexFile, &stream); in dexDecodeDebugInfo0()
240 localInReg[reg].descriptor = readTypeIdx(pDexFile, &stream); in dexDecodeDebugInfo0()
242 localInReg[reg].signature in dexDecodeDebugInfo0()
245 localInReg[reg].signature = NULL; in dexDecodeDebugInfo0()
247 localInReg[reg].startAddress = address; in dexDecodeDebugInfo0()
248 localInReg[reg].live = true; in dexDecodeDebugInfo0()
252 reg = readUnsignedLeb128(&stream); in dexDecodeDebugInfo0()
253 if (reg > pCode->registersSize) { in dexDecodeDebugInfo0()
258 emitLocalCbIfLive (cnxt, reg, address, localInReg, localCb); in dexDecodeDebugInfo0()
259 localInReg[reg].live = false; in dexDecodeDebugInfo0()
263 reg = readUnsignedLeb128(&stream); in dexDecodeDebugInfo0()
264 if (reg > pCode->registersSize) { in dexDecodeDebugInfo0()
269 if (localInReg[reg].name == NULL in dexDecodeDebugInfo0()
270 || localInReg[reg].descriptor == NULL) { in dexDecodeDebugInfo0()
279 if (!localInReg[reg].live) { in dexDecodeDebugInfo0()
280 localInReg[reg].startAddress = address; in dexDecodeDebugInfo0()
281 localInReg[reg].live = true; in dexDecodeDebugInfo0()
331 for (int reg = 0; reg < pCode->registersSize; reg++) { in dexDecodeDebugInfo() local
332 emitLocalCbIfLive(cnxt, reg, pCode->insnsSize, localInReg, localCb); in dexDecodeDebugInfo()