Home
last modified time | relevance | path

Searched refs:reg_value (Results 1 – 25 of 50) sorted by relevance

12

/external/lldb/source/Core/
DEmulateInstruction.cpp70 EmulateInstruction::ReadRegister (const RegisterInfo *reg_info, RegisterValue& reg_value) in ReadRegister() argument
73 return m_read_reg_callback (this, m_baton, reg_info, reg_value); in ReadRegister()
78 EmulateInstruction::ReadRegister (uint32_t reg_kind, uint32_t reg_num, RegisterValue& reg_value) in ReadRegister() argument
82 return ReadRegister (&reg_info, reg_value); in ReadRegister()
92 RegisterValue reg_value; in ReadRegisterUnsigned() local
93 if (ReadRegister (reg_kind, reg_num, reg_value)) in ReadRegisterUnsigned()
94 return reg_value.GetAsUInt64(fail_value, success_ptr); in ReadRegisterUnsigned()
105 RegisterValue reg_value; in ReadRegisterUnsigned() local
106 if (ReadRegister (reg_info, reg_value)) in ReadRegisterUnsigned()
107 return reg_value.GetAsUInt64(fail_value, success_ptr); in ReadRegisterUnsigned()
[all …]
DValueObjectVariable.cpp332 RegisterValue reg_value; in SetValueFromCString() local
338 error = reg_value.SetValueFromCString(reg_info, value_str); in SetValueFromCString()
341 if (reg_ctx->WriteRegister (reg_info, reg_value)) in SetValueFromCString()
364 RegisterValue reg_value; in SetData() local
370 error = reg_value.SetValueFromData(reg_info, data, 0, false); in SetData()
373 if (reg_ctx->WriteRegister (reg_info, reg_value)) in SetData()
/external/lldb/source/Plugins/Process/Utility/
DRegisterContextMacOSXFrameBackchain.cpp90 uint64_t reg_value = LLDB_INVALID_ADDRESS; in ReadRegister() local
97 reg_value = m_cursor.pc; in ReadRegister()
103 reg_value = m_cursor.fp; in ReadRegister()
118 value.SetUInt(reg_value, reg_info->byte_size); in ReadRegister()
127 value.SetUInt32(reg_value, RegisterValue::eTypeFloat); in ReadRegister()
132 value.SetUInt64(reg_value, RegisterValue::eTypeFloat); in ReadRegister()
140 value.SetUInt32(reg_value, RegisterValue::eTypeDouble); in ReadRegister()
145 value.SetUInt64(reg_value, RegisterValue::eTypeDouble); in ReadRegister()
156 value.SetUInt32(reg_value, RegisterValue::eTypeLongDouble); in ReadRegister()
161 value.SetUInt64(reg_value, RegisterValue::eTypeLongDouble); in ReadRegister()
DRegisterContextThreadMemory.cpp125 RegisterContextThreadMemory::ReadRegister (const RegisterInfo *reg_info, RegisterValue &reg_value) in ReadRegister() argument
129 return m_reg_ctx_sp->ReadRegister(reg_info, reg_value); in ReadRegister()
134 …erContextThreadMemory::WriteRegister (const RegisterInfo *reg_info, const RegisterValue &reg_value) in WriteRegister() argument
138 return m_reg_ctx_sp->WriteRegister (reg_info, reg_value); in WriteRegister()
242 …private::RegisterInfo *reg_info, lldb::addr_t src_addr, uint32_t src_len, RegisterValue &reg_value) in ReadRegisterValueFromMemory() argument
246 return m_reg_ctx_sp->ReadRegisterValueFromMemory (reg_info, src_addr, src_len, reg_value); in ReadRegisterValueFromMemory()
253 …e::RegisterInfo *reg_info, lldb::addr_t dst_addr, uint32_t dst_len, const RegisterValue &reg_value) in WriteRegisterValueToMemory() argument
257 return m_reg_ctx_sp->WriteRegisterValueToMemory (reg_info, dst_addr, dst_len, reg_value); in WriteRegisterValueToMemory()
DRegisterContextThreadMemory.h47 ReadRegister (const RegisterInfo *reg_info, RegisterValue &reg_value);
50 WriteRegister (const RegisterInfo *reg_info, const RegisterValue &reg_value);
96 …rivate::RegisterInfo *reg_info, lldb::addr_t src_addr, uint32_t src_len, RegisterValue &reg_value);
99 …::RegisterInfo *reg_info, lldb::addr_t dst_addr, uint32_t dst_len, const RegisterValue &reg_value);
DRegisterContextMemory.cpp107 RegisterContextMemory::ReadRegister (const RegisterInfo *reg_info, RegisterValue &reg_value) in ReadRegister() argument
116 …return reg_value.SetValueFromData(reg_info, m_reg_data, reg_info->byte_offset, partial_data_ok).Su… in ReadRegister()
120 RegisterContextMemory::WriteRegister (const RegisterInfo *reg_info, const RegisterValue &reg_value) in WriteRegister() argument
126 … Error error (WriteRegisterValueToMemory(reg_info, reg_addr, reg_info->byte_size, reg_value)); in WriteRegister()
DRegisterContextMemory.h71 lldb_private::RegisterValue &reg_value);
75 const lldb_private::RegisterValue &reg_value);
/external/lldb/source/Plugins/Instruction/ARM/
DEmulationStateARM.cpp47 RegisterValue reg_value; in LoadPseudoRegistersFromFrame() local
48 if (reg_ctx->ReadRegister (reg_info, reg_value)) in LoadPseudoRegistersFromFrame()
50 m_gpr[i - dwarf_r0] = reg_value.GetAsUInt32(); in LoadPseudoRegistersFromFrame()
59 RegisterValue reg_value; in LoadPseudoRegistersFromFrame() local
62 if (reg_ctx->ReadRegister (reg_info, reg_value)) in LoadPseudoRegistersFromFrame()
66 m_vfp_regs.sd_regs[idx].d_reg = reg_value.GetAsUInt64(); in LoadPseudoRegistersFromFrame()
68 m_vfp_regs.d_regs[idx - 16] = reg_value.GetAsUInt64(); in LoadPseudoRegistersFromFrame()
248 lldb_private::RegisterValue &reg_value) in ReadPseudoRegister() argument
260 success = reg_value.SetUInt(reg_uval, reg_info->byte_size); in ReadPseudoRegister()
270 const lldb_private::RegisterValue &reg_value) in WritePseudoRegister() argument
[all …]
/external/libnfc-nxp/src/
DphHciNfc_IDMgmt.c104 uint8_t *reg_value,
765 uint8_t *reg_value, in phHciNfc_IDMgmt_InfoUpdate() argument
773 || (NULL == reg_value) in phHciNfc_IDMgmt_InfoUpdate()
792 HCI_PRINT_BUFFER("\tFW Version:",reg_value,reg_length); in phHciNfc_IDMgmt_InfoUpdate()
796 (uint32_t)(reg_value[VERSION_LEN - i - 1] << (BYTE_SIZE * i)); in phHciNfc_IDMgmt_InfoUpdate()
803 HCI_PRINT_BUFFER("\tHW Version:",reg_value,reg_length); in phHciNfc_IDMgmt_InfoUpdate()
807 (uint32_t)(reg_value[VERSION_LEN - i - 1] << (BYTE_SIZE * i)); in phHciNfc_IDMgmt_InfoUpdate()
816 p_identity_info->vendor_name[i] = reg_value[i]; in phHciNfc_IDMgmt_InfoUpdate()
817 pHwRef->device_info.vendor_name[i]= reg_value[i]; in phHciNfc_IDMgmt_InfoUpdate()
824 HCI_PRINT_BUFFER("\tModel ID:",reg_value,reg_length); in phHciNfc_IDMgmt_InfoUpdate()
[all …]
DphHciNfc_NfcIPMgmt.c99 uint8_t *reg_value,
1263 uint8_t *reg_value, in phHciNfc_NfcIP_InfoUpdate() argument
1283 HCI_PRINT_BUFFER("\tNFCIP ATR_RES", reg_value, reg_length); in phHciNfc_NfcIP_InfoUpdate()
1289 (void *)reg_value, in phHciNfc_NfcIP_InfoUpdate()
1293 (void *)reg_value, in phHciNfc_NfcIP_InfoUpdate()
1303 (void *)reg_value, in phHciNfc_NfcIP_InfoUpdate()
1316 if (sizeof(*reg_value) == reg_length) in phHciNfc_NfcIP_InfoUpdate()
1318 && (*reg_value <= NFCIP_STATUS_MAX_VALUE)) in phHciNfc_NfcIP_InfoUpdate()
1321 HCI_PRINT_BUFFER("\tNFCIP STATUS", reg_value, reg_length); in phHciNfc_NfcIP_InfoUpdate()
1322 p_nfcipinfo->linkstatus = *reg_value; in phHciNfc_NfcIP_InfoUpdate()
[all …]
DphHciNfc_RFReaderB.c101 uint8_t *reg_value,
685 uint8_t *reg_value, in phHciNfc_ReaderB_InfoUpdate() argument
701 HCI_PRINT_BUFFER("\tReader B PUPI", reg_value, reg_length); in phHciNfc_ReaderB_InfoUpdate()
707 (void *)reg_value, reg_length); in phHciNfc_ReaderB_InfoUpdate()
718 HCI_PRINT_BUFFER("\tReader B Application data", reg_value, reg_length); in phHciNfc_ReaderB_InfoUpdate()
725 (void *)reg_value, reg_length); in phHciNfc_ReaderB_InfoUpdate()
736 HCI_PRINT_BUFFER("\tReader B AFI", reg_value, reg_length); in phHciNfc_ReaderB_InfoUpdate()
738 if(sizeof(*reg_value) == reg_length) in phHciNfc_ReaderB_InfoUpdate()
740 p_tag_b_info->Afi = *reg_value; in phHciNfc_ReaderB_InfoUpdate()
752 HCI_PRINT_BUFFER("\tReader B higher layer response", reg_value, reg_length); in phHciNfc_ReaderB_InfoUpdate()
[all …]
DphHciNfc_LinkMgmt.c90 uint8_t *reg_value,
437 uint8_t *reg_value, in phHciNfc_LinkMgmt_InfoUpdate() argument
446 || (NULL == reg_value) in phHciNfc_LinkMgmt_InfoUpdate()
462 HCI_PRINT_BUFFER("\tHost Controller REC Error Count :",reg_value,reg_length); in phHciNfc_LinkMgmt_InfoUpdate()
467 (uint16_t)(reg_value[i] << (BYTE_SIZE * i)); in phHciNfc_LinkMgmt_InfoUpdate()
DphHciNfc_ISO15693.c71 uint8_t *reg_value,
367 uint8_t *reg_value, in phHciNfc_ISO15693_InfoUpdate() argument
386 .Iso15693_Info.Flags = *(reg_value + i ); in phHciNfc_ISO15693_InfoUpdate()
389 .Iso15693_Info.Dsfid = *(reg_value + i ); in phHciNfc_ISO15693_InfoUpdate()
393 (reg_value+i), (reg_length - i )); in phHciNfc_ISO15693_InfoUpdate()
396 HCI_PRINT_BUFFER("\tISO 15693 inventory", reg_value, reg_length); in phHciNfc_ISO15693_InfoUpdate()
410 .Iso15693_Info.Afi = *(reg_value + i ); in phHciNfc_ISO15693_InfoUpdate()
411 HCI_PRINT_BUFFER("\tISO 15693 AFI", reg_value, reg_length); in phHciNfc_ISO15693_InfoUpdate()
DphHciNfc_RFReaderA.c111 uint8_t *reg_value,
375 uint8_t *reg_value, in phHciNfc_ReaderA_InfoUpdate() argument
394 HCI_PRINT_BUFFER("\tReader A UID", reg_value, reg_length); in phHciNfc_ReaderA_InfoUpdate()
399 reg_value, in phHciNfc_ReaderA_InfoUpdate()
414 HCI_PRINT_BUFFER("\tReader A SAK", reg_value, reg_length); in phHciNfc_ReaderA_InfoUpdate()
416 p_tag_a_info->Sak = *reg_value; in phHciNfc_ReaderA_InfoUpdate()
430 HCI_PRINT_BUFFER("\tReader A ATQA", reg_value, reg_length); in phHciNfc_ReaderA_InfoUpdate()
433 reg_value, in phHciNfc_ReaderA_InfoUpdate()
451 HCI_PRINT_BUFFER("\tReader A APP DATA", reg_value, reg_length); in phHciNfc_ReaderA_InfoUpdate()
455 reg_value, in phHciNfc_ReaderA_InfoUpdate()
[all …]
DphHciNfc_PollingLoop.c113 uint8_t *reg_value,
758 uint8_t *reg_value, in phHciNfc_PollLoop_InfoUpdate() argument
767 PHNFC_UNUSED_VARIABLE(reg_value); in phHciNfc_PollLoop_InfoUpdate()
776 HCI_PRINT_BUFFER("\tPoll duration", reg_value, reg_length); in phHciNfc_PollLoop_InfoUpdate()
781 HCI_PRINT_BUFFER("\tPoll read phase", reg_value, reg_length); in phHciNfc_PollLoop_InfoUpdate()
787 HCI_PRINT_BUFFER("\tPoll clock request", reg_value, reg_length); in phHciNfc_PollLoop_InfoUpdate()
794 HCI_PRINT_BUFFER("\tPoll input clock", reg_value, reg_length); in phHciNfc_PollLoop_InfoUpdate()
/external/lldb/source/Plugins/UnwindAssembly/InstEmulation/
DUnwindAssemblyInstEmulation.cpp366 …emblyInstEmulation::SetRegisterValue (const RegisterInfo &reg_info, const RegisterValue &reg_value) in SetRegisterValue() argument
368 m_register_values[MakeRegisterKindValuePair (reg_info)] = reg_value; in SetRegisterValue()
372 …indAssemblyInstEmulation::GetRegisterValue (const RegisterInfo &reg_info, RegisterValue &reg_value) in GetRegisterValue() argument
378 reg_value = pos->second; in GetRegisterValue()
383 reg_value.SetUInt(reg_id, reg_info.byte_size); in GetRegisterValue()
530 RegisterValue &reg_value) in ReadRegister() argument
534 … return ((UnwindAssemblyInstEmulation *)baton)->ReadRegister (instruction, reg_info, reg_value); in ReadRegister()
540 RegisterValue &reg_value) in ReadRegister() argument
542 bool synthetic = GetRegisterValue (*reg_info, reg_value); in ReadRegister()
551 reg_value.Dump(&strm, reg_info, false, false, eFormatDefault); in ReadRegister()
[all …]
DUnwindAssemblyInstEmulation.h90 lldb_private::RegisterValue &reg_value);
97 const lldb_private::RegisterValue &reg_value);
117 lldb_private::RegisterValue &reg_value);
123 const lldb_private::RegisterValue &reg_value);
154 const lldb_private::RegisterValue &reg_value);
158 lldb_private::RegisterValue &reg_value);
/external/lldb/include/lldb/Core/
DEmulateInstruction.h380 RegisterValue &reg_value);
386 const RegisterValue &reg_value);
431 RegisterValue& reg_value);
441 const RegisterValue& reg_value);
446 uint64_t reg_value);
454 RegisterValue& reg_value);
460 const RegisterValue& reg_value);
472 uint64_t reg_value);
551 RegisterValue &reg_value);
559 const RegisterValue &reg_value);
[all …]
/external/lldb/source/Target/
DRegisterContext.cpp223 RegisterValue reg_value; in CopyFromRegisterContext() local
227 if (context->ReadRegister(reg_info, reg_value)) in CopyFromRegisterContext()
229 WriteRegister(reg_info, reg_value); in CopyFromRegisterContext()
231 else if (frame_zero_context->ReadRegister(reg_info, reg_value)) in CopyFromRegisterContext()
233 WriteRegister(reg_info, reg_value); in CopyFromRegisterContext()
293 RegisterValue &reg_value) in ReadRegisterValueFromMemory() argument
357 reg_value.SetFromMemoryData (reg_info, in ReadRegisterValueFromMemory()
373 const RegisterValue &reg_value) in WriteRegisterValueToMemory() argument
388 const uint32_t bytes_copied = reg_value.GetAsMemoryData (reg_info, in WriteRegisterValueToMemory()
DThreadPlanTracer.cpp263 RegisterValue reg_value; in Log() local
269 if (reg_ctx->ReadRegister (reg_info, reg_value)) in Log()
273 reg_value != m_register_values[reg_num]) in Log()
275 if (reg_value.GetType() != RegisterValue::eTypeInvalid) in Log()
278 reg_value.Dump(stream, reg_info, true, false, eFormatDefault); in Log()
281 m_register_values[reg_num] = reg_value; in Log()
/external/lldb/source/Commands/
DCommandObjectRegister.cpp95 RegisterValue reg_value; in DumpRegister() local
97 if (reg_ctx->ReadRegister (reg_info, reg_value)) in DumpRegister()
103reg_value.Dump(&strm, reg_info, prefix_with_name, prefix_with_altname, m_format_options.GetFormat(… in DumpRegister()
109 addr_t reg_addr = reg_value.GetAsUInt64(LLDB_INVALID_ADDRESS); in DumpRegister()
440 RegisterValue reg_value; in DoExecute() local
442 Error error (reg_value.SetValueFromCString (reg_info, value_str)); in DoExecute()
445 if (reg_ctx->WriteRegister (reg_info, reg_value)) in DoExecute()
/external/lldb/source/Plugins/ABI/MacOSX-arm/
DABIMacOSX_arm.cpp216 RegisterValue reg_value; in PrepareTrivialCall() local
220 reg_value.SetUInt32(*arg1_ptr); in PrepareTrivialCall()
221 if (!reg_ctx->WriteRegister (reg_ctx->GetRegisterInfoByName("r0"), reg_value)) in PrepareTrivialCall()
226 reg_value.SetUInt32(*arg2_ptr); in PrepareTrivialCall()
227 if (!reg_ctx->WriteRegister (reg_ctx->GetRegisterInfoByName("r1"), reg_value)) in PrepareTrivialCall()
232 reg_value.SetUInt32(*arg3_ptr); in PrepareTrivialCall()
233 if (!reg_ctx->WriteRegister (reg_ctx->GetRegisterInfoByName("r2"), reg_value)) in PrepareTrivialCall()
237 reg_value.SetUInt32(*arg4_ptr); in PrepareTrivialCall()
239 if (!reg_ctx->WriteRegister (reg_info, reg_value)) in PrepareTrivialCall()
246 reg_value.SetUInt32(*arg5_ptr); in PrepareTrivialCall()
[all …]
/external/lldb/source/Plugins/ABI/MacOSX-i386/
DABIMacOSX_i386.cpp277 RegisterValue reg_value; in PrepareTrivialCall() local
310 reg_value.SetUInt32(*arg1_ptr); in PrepareTrivialCall()
314 reg_value); in PrepareTrivialCall()
320 reg_value.SetUInt32(*arg2_ptr); in PrepareTrivialCall()
327 reg_value); in PrepareTrivialCall()
333 reg_value.SetUInt32(*arg3_ptr); in PrepareTrivialCall()
340 reg_value); in PrepareTrivialCall()
346 reg_value.SetUInt32(*arg4_ptr); in PrepareTrivialCall()
353 reg_value); in PrepareTrivialCall()
358 reg_value.SetUInt32(*arg5_ptr); in PrepareTrivialCall()
[all …]
/external/lldb/include/lldb/Target/
DRegisterContext.h57 ReadRegister (const RegisterInfo *reg_info, RegisterValue &reg_value) = 0;
60 WriteRegister (const RegisterInfo *reg_info, const RegisterValue &reg_value) = 0;
106 …rivate::RegisterInfo *reg_info, lldb::addr_t src_addr, uint32_t src_len, RegisterValue &reg_value);
109 …::RegisterInfo *reg_info, lldb::addr_t dst_addr, uint32_t dst_len, const RegisterValue &reg_value);
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_pair_schedule.c51 struct reg_value * WriteValues[4];
52 struct reg_value * ReadValues[12];
97 struct reg_value { struct
115 struct reg_value *Next; /**< Pointer to the next value to be written to the same register */ argument
119 struct reg_value * Values[4];
160 static struct reg_value ** get_reg_valuep(struct schedule_state * s, in get_reg_valuep()
286 struct reg_value * v = sinst->WriteValues[i];
372 struct reg_value * v = sinst->ReadValues[i]; in commit_update_reads()
390 struct reg_value * v = sinst->WriteValues[i]; in commit_update_writes()
914 struct reg_value ** new_regvalp = get_reg_valuep( in convert_rgb_to_alpha()
[all …]

12