Lines Matching refs:regNum
159 _LIBUNWIND_EXPORT int unw_get_reg(unw_cursor_t *cursor, unw_regnum_t regNum, in unw_get_reg() argument
162 static_cast<void *>(cursor), regNum, in unw_get_reg()
165 if (co->validReg(regNum)) { in unw_get_reg()
166 *value = co->getReg(regNum); in unw_get_reg()
174 _LIBUNWIND_EXPORT int unw_set_reg(unw_cursor_t *cursor, unw_regnum_t regNum, in unw_set_reg() argument
177 static_cast<void *>(cursor), regNum, (long long)value); in unw_set_reg()
180 if (co->validReg(regNum)) { in unw_set_reg()
181 co->setReg(regNum, (pint_t)value); in unw_set_reg()
184 if (regNum == UNW_REG_IP) in unw_set_reg()
193 _LIBUNWIND_EXPORT int unw_get_fpreg(unw_cursor_t *cursor, unw_regnum_t regNum, in unw_get_fpreg() argument
196 static_cast<void *>(cursor), regNum, in unw_get_fpreg()
199 if (co->validFloatReg(regNum)) { in unw_get_fpreg()
200 *value = co->getFloatReg(regNum); in unw_get_fpreg()
208 _LIBUNWIND_EXPORT int unw_set_fpreg(unw_cursor_t *cursor, unw_regnum_t regNum, in unw_set_fpreg() argument
212 static_cast<void *>(cursor), regNum, value); in unw_set_fpreg()
215 static_cast<void *>(cursor), regNum, value); in unw_set_fpreg()
218 if (co->validFloatReg(regNum)) { in unw_set_fpreg()
219 co->setFloatReg(regNum, value); in unw_set_fpreg()
272 _LIBUNWIND_EXPORT int unw_is_fpreg(unw_cursor_t *cursor, unw_regnum_t regNum) { in unw_is_fpreg() argument
274 static_cast<void *>(cursor), regNum); in unw_is_fpreg()
276 return co->validFloatReg(regNum); in unw_is_fpreg()
282 unw_regnum_t regNum) { in unw_regname() argument
284 static_cast<void *>(cursor), regNum); in unw_regname()
286 return co->getRegisterName(regNum); in unw_regname()