Lines Matching refs:reg
1029 static void emitLocalCbIfLive (void *cnxt, int reg, u4 endAddress, in emitLocalCbIfLive() argument
1032 if (localCb != NULL && localInReg[reg].live) { in emitLocalCbIfLive()
1033 localCb(cnxt, reg, localInReg[reg].startAddress, endAddress, in emitLocalCbIfLive()
1034 localInReg[reg].name, in emitLocalCbIfLive()
1035 localInReg[reg].descriptor, in emitLocalCbIfLive()
1036 localInReg[reg].signature == NULL in emitLocalCbIfLive()
1037 ? "" : localInReg[reg].signature ); in emitLocalCbIfLive()
1093 int reg; in dexDecodeDebugInfo() local
1100 reg = argReg; in dexDecodeDebugInfo()
1113 localInReg[reg].name = name; in dexDecodeDebugInfo()
1114 localInReg[reg].descriptor = descriptor; in dexDecodeDebugInfo()
1115 localInReg[reg].signature = NULL; in dexDecodeDebugInfo()
1116 localInReg[reg].startAddress = address; in dexDecodeDebugInfo()
1117 localInReg[reg].live = true; in dexDecodeDebugInfo()
1123 u2 reg; in dexDecodeDebugInfo() local
1139 reg = readUnsignedLeb128(&stream); in dexDecodeDebugInfo()
1140 if (reg > pCode->registersSize) goto invalid_stream; in dexDecodeDebugInfo()
1143 emitLocalCbIfLive (cnxt, reg, address, in dexDecodeDebugInfo()
1146 localInReg[reg].name = readStringIdx(pDexFile, &stream); in dexDecodeDebugInfo()
1147 localInReg[reg].descriptor = readTypeIdx(pDexFile, &stream); in dexDecodeDebugInfo()
1149 localInReg[reg].signature in dexDecodeDebugInfo()
1152 localInReg[reg].signature = NULL; in dexDecodeDebugInfo()
1154 localInReg[reg].startAddress = address; in dexDecodeDebugInfo()
1155 localInReg[reg].live = true; in dexDecodeDebugInfo()
1159 reg = readUnsignedLeb128(&stream); in dexDecodeDebugInfo()
1160 if (reg > pCode->registersSize) goto invalid_stream; in dexDecodeDebugInfo()
1162 emitLocalCbIfLive (cnxt, reg, address, localInReg, localCb); in dexDecodeDebugInfo()
1163 localInReg[reg].live = false; in dexDecodeDebugInfo()
1167 reg = readUnsignedLeb128(&stream); in dexDecodeDebugInfo()
1168 if (reg > pCode->registersSize) goto invalid_stream; in dexDecodeDebugInfo()
1170 if (localInReg[reg].name == NULL in dexDecodeDebugInfo()
1171 || localInReg[reg].descriptor == NULL) { in dexDecodeDebugInfo()
1179 if (!localInReg[reg].live) { in dexDecodeDebugInfo()
1180 localInReg[reg].startAddress = address; in dexDecodeDebugInfo()
1181 localInReg[reg].live = true; in dexDecodeDebugInfo()
1212 int reg; in dexDecodeDebugInfo() local
1213 for (reg = 0; reg < pCode->registersSize; reg++) { in dexDecodeDebugInfo()
1214 emitLocalCbIfLive (cnxt, reg, insnsSize, localInReg, localCb); in dexDecodeDebugInfo()