Lines Matching refs:reg
68 static void emitLocalCbIfLive(void *cnxt, int reg, u4 endAddress, in emitLocalCbIfLive() argument
71 if (localCb != NULL && localInReg[reg].live) { in emitLocalCbIfLive()
72 localCb(cnxt, reg, localInReg[reg].startAddress, endAddress, in emitLocalCbIfLive()
73 localInReg[reg].name, in emitLocalCbIfLive()
74 localInReg[reg].descriptor, in emitLocalCbIfLive()
75 localInReg[reg].signature == NULL in emitLocalCbIfLive()
76 ? "" : localInReg[reg].signature ); in emitLocalCbIfLive()
129 int reg; in dexDecodeDebugInfo0() local
137 reg = argReg; in dexDecodeDebugInfo0()
150 localInReg[reg].name = name; in dexDecodeDebugInfo0()
151 localInReg[reg].descriptor = descriptor; in dexDecodeDebugInfo0()
152 localInReg[reg].signature = NULL; in dexDecodeDebugInfo0()
153 localInReg[reg].startAddress = address; in dexDecodeDebugInfo0()
154 localInReg[reg].live = true; in dexDecodeDebugInfo0()
160 u2 reg; in dexDecodeDebugInfo0() local
176 reg = readUnsignedLeb128(&stream); in dexDecodeDebugInfo0()
177 if (reg > pCode->registersSize) { in dexDecodeDebugInfo0()
183 emitLocalCbIfLive(cnxt, reg, address, in dexDecodeDebugInfo0()
186 localInReg[reg].name = readStringIdx(pDexFile, &stream); in dexDecodeDebugInfo0()
187 localInReg[reg].descriptor = readTypeIdx(pDexFile, &stream); in dexDecodeDebugInfo0()
189 localInReg[reg].signature in dexDecodeDebugInfo0()
192 localInReg[reg].signature = NULL; in dexDecodeDebugInfo0()
194 localInReg[reg].startAddress = address; in dexDecodeDebugInfo0()
195 localInReg[reg].live = true; in dexDecodeDebugInfo0()
199 reg = readUnsignedLeb128(&stream); in dexDecodeDebugInfo0()
200 if (reg > pCode->registersSize) { in dexDecodeDebugInfo0()
205 emitLocalCbIfLive (cnxt, reg, address, localInReg, localCb); in dexDecodeDebugInfo0()
206 localInReg[reg].live = false; in dexDecodeDebugInfo0()
210 reg = readUnsignedLeb128(&stream); in dexDecodeDebugInfo0()
211 if (reg > pCode->registersSize) { in dexDecodeDebugInfo0()
216 if (localInReg[reg].name == NULL in dexDecodeDebugInfo0()
217 || localInReg[reg].descriptor == NULL) { in dexDecodeDebugInfo0()
226 if (!localInReg[reg].live) { in dexDecodeDebugInfo0()
227 localInReg[reg].startAddress = address; in dexDecodeDebugInfo0()
228 localInReg[reg].live = true; in dexDecodeDebugInfo0()
278 for (int reg = 0; reg < pCode->registersSize; reg++) { in dexDecodeDebugInfo() local
279 emitLocalCbIfLive(cnxt, reg, pCode->insnsSize, localInReg, localCb); in dexDecodeDebugInfo()