Searched defs:reg_info (Results 1 - 25 of 42) sorted by relevance

12

/external/lldb/source/Utility/
H A DARM_DWARF_Registers.cpp209 GetARMDWARFRegisterInfo (unsigned reg_num, RegisterInfo &reg_info) argument
211 ::memset (&reg_info, 0, sizeof(RegisterInfo));
212 ::memset (reg_info.kinds, LLDB_INVALID_REGNUM, sizeof(reg_info.kinds));
216 reg_info.byte_size = 16;
217 reg_info.format = eFormatVectorOfUInt8;
218 reg_info.encoding = eEncodingVector;
223 reg_info.byte_size = 8;
224 reg_info.format = eFormatFloat;
225 reg_info
[all...]
/external/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteRegisterContext.h49 AddRegister (lldb_private::RegisterInfo reg_info, argument
57 reg_info.name = reg_name.AsCString();
58 assert (reg_info.name);
59 reg_info.alt_name = reg_alt_name.AsCString(NULL);
61 if (reg_info.value_regs)
63 for (i=0; reg_info.value_regs[i] != LLDB_INVALID_REGNUM; ++i)
64 m_value_regs_map[reg_num].push_back(reg_info.value_regs[i]);
66 reg_info.value_regs = m_value_regs_map[reg_num].data();
68 if (reg_info.invalidate_regs)
70 for (i=0; reg_info
[all...]
/external/lldb/source/Plugins/Process/Utility/
H A DDynamicRegisterInfo.cpp98 RegisterInfo reg_info; local
99 bzero (&reg_info, sizeof(reg_info));
101 reg_info.name = ConstString (reg_info_dict.GetItemForKeyAsString(name_pystr)).GetCString();
102 if (reg_info.name == NULL)
108 reg_info.alt_name = ConstString (reg_info_dict.GetItemForKeyAsString(altname_pystr)).GetCString();
110 reg_info.byte_offset = reg_info_dict.GetItemForKeyAsInteger(offset_pystr, UINT32_MAX);
112 if (reg_info.byte_offset == UINT32_MAX)
117 reg_info.byte_size = reg_info_dict.GetItemForKeyAsInteger(bitsize_pystr, 0) / 8;
119 if (reg_info
177 AddRegister(RegisterInfo &reg_info, ConstString &reg_name, ConstString &reg_alt_name, ConstString &set_name) argument
[all...]
H A DRegisterContextDummy.cpp100 RegisterContextDummy::ReadRegister (const lldb_private::RegisterInfo *reg_info, lldb_private::RegisterValue &value) argument
102 if (!reg_info)
104 uint32_t reg_number = reg_info->kinds[eRegisterKindGeneric];
107 value.SetUInt(LLDB_INVALID_ADDRESS, reg_info->byte_size);
114 RegisterContextDummy::WriteRegister (const lldb_private::RegisterInfo *reg_info, const lldb_private::RegisterValue &value) argument
H A DRegisterContextMacOSXFrameBackchain.cpp84 RegisterContextMacOSXFrameBackchain::ReadRegister (const RegisterInfo *reg_info, argument
92 switch (reg_info->kinds[eRegisterKindGeneric])
110 switch (reg_info->encoding)
118 value.SetUInt(reg_value, reg_info->byte_size);
122 switch (reg_info->byte_size)
173 RegisterContextMacOSXFrameBackchain::WriteRegister (const RegisterInfo *reg_info, argument
H A DRegisterContextMemory.cpp107 RegisterContextMemory::ReadRegister (const RegisterInfo *reg_info, RegisterValue &reg_value) argument
109 const uint32_t reg_num = reg_info->kinds[eRegisterKindLLDB];
116 return reg_value.SetValueFromData(reg_info, m_reg_data, reg_info->byte_offset, partial_data_ok).Success();
120 RegisterContextMemory::WriteRegister (const RegisterInfo *reg_info, const RegisterValue &reg_value) argument
124 const uint32_t reg_num = reg_info->kinds[eRegisterKindLLDB];
125 addr_t reg_addr = m_reg_data_addr + reg_info->byte_offset;
126 Error error (WriteRegisterValueToMemory(reg_info, reg_addr, reg_info->byte_size, reg_value));
H A DRegisterContextThreadMemory.cpp125 RegisterContextThreadMemory::ReadRegister (const RegisterInfo *reg_info, RegisterValue &reg_value) argument
129 return m_reg_ctx_sp->ReadRegister(reg_info, reg_value);
134 RegisterContextThreadMemory::WriteRegister (const RegisterInfo *reg_info, const RegisterValue &reg_value) argument
138 return m_reg_ctx_sp->WriteRegister (reg_info, reg_value);
242 RegisterContextThreadMemory::ReadRegisterValueFromMemory (const lldb_private::RegisterInfo *reg_info, lldb::addr_t src_addr, uint32_t src_len, RegisterValue &reg_value) argument
246 return m_reg_ctx_sp->ReadRegisterValueFromMemory (reg_info, src_addr, src_len, reg_value);
253 RegisterContextThreadMemory::WriteRegisterValueToMemory (const lldb_private::RegisterInfo *reg_info, lldb::addr_t dst_addr, uint32_t dst_len, const RegisterValue &reg_value) argument
257 return m_reg_ctx_sp->WriteRegisterValueToMemory (reg_info, dst_addr, dst_len, reg_value);
/external/lldb/source/Plugins/Process/elf-core/
H A DRegisterContextCoreFreeBSD_x86_64.cpp33 RegisterContextCoreFreeBSD_x86_64::ReadRegister(const RegisterInfo *reg_info, RegisterValue &value) argument
35 value = *(uint64_t *)(m_gpregset + reg_info->byte_offset);
46 RegisterContextCoreFreeBSD_x86_64::WriteRegister(const RegisterInfo *reg_info, const RegisterValue &value) argument
H A DRegisterContextCoreLinux_x86_64.cpp34 RegisterContextCoreLinux_x86_64::ReadRegister(const RegisterInfo *reg_info, RegisterValue &value) argument
36 value = *(uint64_t *)(m_gpregset + reg_info->byte_offset);
47 RegisterContextCoreLinux_x86_64::WriteRegister(const RegisterInfo *reg_info, const RegisterValue &value) argument
/external/lldb/source/Expression/
H A DClangExpressionVariable.cpp72 ClangExpressionVariable::SetRegisterInfo (const RegisterInfo *reg_info) argument
74 return m_frozen_sp->GetValue().SetContext (Value::eContextTypeRegisterInfo, const_cast<RegisterInfo *>(reg_info));
/external/bluetooth/bluedroid/stack/pan/
H A Dpan_main.c60 tBNEP_REGISTER reg_info; local
62 memset (&reg_info, 0, sizeof (tBNEP_REGISTER));
64 reg_info.p_conn_ind_cb = pan_conn_ind_cb;
65 reg_info.p_conn_state_cb = pan_connect_state_cb;
66 reg_info.p_data_buf_cb = pan_data_buf_ind_cb;
67 reg_info.p_data_ind_cb = NULL;
68 reg_info.p_tx_data_flow_cb = pan_tx_data_flow_cb;
69 reg_info.p_filter_ind_cb = pan_proto_filt_ind_cb;
70 reg_info.p_mfilter_ind_cb = pan_mcast_filt_ind_cb;
72 BNEP_Register (&reg_info);
[all...]
/external/lldb/include/lldb/Core/
H A DValue.h170 RegisterInfo *reg_info = GetRegisterInfo(); local
171 if (reg_info->encoding == lldb::eEncodingVector)
/external/lldb/source/Commands/
H A DCommandObjectRegister.cpp91 const RegisterInfo *reg_info)
93 if (reg_info)
97 if (reg_ctx->ReadRegister (reg_info, reg_value))
103 reg_value.Dump(&strm, reg_info, prefix_with_name, prefix_with_altname, m_format_options.GetFormat(), 8);
104 if ((reg_info->encoding == eEncodingUint) || (reg_info->encoding == eEncodingSint))
107 if (process && reg_info->byte_size == process->GetAddressByteSize())
150 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex(reg); local
152 if (primitive_only && reg_info && reg_info
88 DumpRegister(const ExecutionContext &exe_ctx, Stream &strm, RegisterContext *reg_ctx, const RegisterInfo *reg_info) argument
178 const RegisterInfo *reg_info = NULL; local
436 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoByName(reg_name); local
[all...]
/external/lldb/source/Core/
H A DValueObjectRegister.cpp231 const RegisterInfo *reg_info = m_reg_ctx_sp->GetRegisterInfoByName (name.AsCString()); local
232 if (reg_info != NULL)
233 valobj = new ValueObjectRegister(*this, m_reg_ctx_sp, reg_info->kinds[eRegisterKindLLDB]);
246 const RegisterInfo *reg_info = m_reg_ctx_sp->GetRegisterInfoByName (name.AsCString()); local
247 if (reg_info != NULL)
248 return reg_info->kinds[eRegisterKindLLDB];
259 const RegisterInfo *reg_info = m_reg_ctx_sp->GetRegisterInfoAtIndex (reg_num); local
260 if (reg_info)
262 m_reg_info = *reg_info;
263 if (reg_info
[all...]
H A DValueObjectVariable.cpp329 RegisterInfo *reg_info = m_resolved_value.GetRegisterInfo(); local
333 if (!reg_info || !reg_ctx)
338 error = reg_value.SetValueFromCString(reg_info, value_str);
341 if (reg_ctx->WriteRegister (reg_info, reg_value))
361 RegisterInfo *reg_info = m_resolved_value.GetRegisterInfo(); local
365 if (!reg_info || !reg_ctx)
370 error = reg_value.SetValueFromData(reg_info, data, 0, false);
373 if (reg_ctx->WriteRegister (reg_info, reg_value))
H A DEmulateInstruction.cpp70 EmulateInstruction::ReadRegister (const RegisterInfo *reg_info, RegisterValue& reg_value) argument
73 return m_read_reg_callback (this, m_baton, reg_info, reg_value);
80 RegisterInfo reg_info; local
81 if (GetRegisterInfo(reg_kind, reg_num, reg_info))
82 return ReadRegister (&reg_info, reg_value);
101 EmulateInstruction::ReadRegisterUnsigned (const RegisterInfo *reg_info, argument
106 if (ReadRegister (reg_info, reg_value))
115 const RegisterInfo *reg_info,
119 return m_write_reg_callback (this, m_baton, context, reg_info, reg_value);
129 RegisterInfo reg_info; local
114 WriteRegister(const Context &context, const RegisterInfo *reg_info, const RegisterValue& reg_value) argument
143 RegisterInfo reg_info; local
154 WriteRegisterUnsigned(const Context &context, const RegisterInfo *reg_info, uint64_t uint_value) argument
330 ReadRegisterFrame(EmulateInstruction *instruction, void *baton, const RegisterInfo *reg_info, RegisterValue &reg_value) argument
343 WriteRegisterFrame(EmulateInstruction *instruction, void *baton, const Context &context, const RegisterInfo *reg_info, const RegisterValue &reg_value) argument
388 ReadRegisterDefault(EmulateInstruction *instruction, void *baton, const RegisterInfo *reg_info, RegisterValue &reg_value) argument
405 WriteRegisterDefault(EmulateInstruction *instruction, void *baton, const Context &context, const RegisterInfo *reg_info, const RegisterValue &reg_value) argument
610 GetBestRegisterKindAndNumber(const RegisterInfo *reg_info, uint32_t &reg_kind, uint32_t &reg_num) argument
654 GetInternalRegisterNumber(RegisterContext *reg_ctx, const RegisterInfo &reg_info) argument
[all...]
H A DRegisterValue.cpp29 const RegisterInfo *reg_info,
52 if (reg_info->name)
54 s->Printf (fmt, reg_info->name);
57 else if (reg_info->alt_name)
59 s->Printf (fmt, reg_info->alt_name);
68 if (reg_info->alt_name)
70 s->Printf (fmt, reg_info->alt_name);
76 s->Printf (fmt, reg_info->name);
84 format = reg_info->format;
89 reg_info
28 Dump(Stream *s, const RegisterInfo *reg_info, bool prefix_with_name, bool prefix_with_alt_name, Format format, uint32_t reg_name_right_align_at) const argument
109 GetAsMemoryData(const RegisterInfo *reg_info, void *dst, uint32_t dst_len, lldb::ByteOrder dst_byte_order, Error &error) const argument
159 SetFromMemoryData(const RegisterInfo *reg_info, const void *src, uint32_t src_len, lldb::ByteOrder src_byte_order, Error &error) argument
272 SetType(const RegisterInfo *reg_info) argument
314 SetValueFromData(const RegisterInfo *reg_info, DataExtractor &src, lldb::offset_t src_offset, bool partial_data_ok) argument
413 ParseVectorEncoding(const RegisterInfo *reg_info, const char *vector_str, const uint32_t byte_size, RegisterValue *reg_value) argument
445 SetValueFromCString(const RegisterInfo *reg_info, const char *value_str) argument
[all...]
/external/lldb/source/Plugins/Instruction/ARM/
H A DEmulationStateARM.cpp46 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex (reg_num); local
48 if (reg_ctx->ReadRegister (reg_info, reg_value))
60 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex (reg_num); local
62 if (reg_ctx->ReadRegister (reg_info, reg_value))
247 const lldb_private::RegisterInfo *reg_info,
250 if (!baton || !reg_info)
255 const uint32_t dwarf_reg_num = reg_info->kinds[eRegisterKindDWARF];
260 success = reg_value.SetUInt(reg_uval, reg_info->byte_size);
269 const lldb_private::RegisterInfo *reg_info,
272 if (!baton || !reg_info)
245 ReadPseudoRegister(EmulateInstruction *instruction, void *baton, const lldb_private::RegisterInfo *reg_info, lldb_private::RegisterValue &reg_value) argument
266 WritePseudoRegister(EmulateInstruction *instruction, void *baton, const EmulateInstruction::Context &context, const lldb_private::RegisterInfo *reg_info, const lldb_private::RegisterValue &reg_value) argument
[all...]
/external/lldb/source/Symbol/
H A DUnwindPlan.cpp164 const RegisterInfo *reg_info = unwind_plan->GetRegisterInfo (thread, GetCFARegister()); local
171 if (reg_info)
172 s.Printf ("%s", reg_info->name);
178 reg_info = unwind_plan->GetRegisterInfo (thread, idx->first);
179 if (reg_info)
180 s.Printf ("%s", reg_info->name);
/external/lldb/source/Target/
H A DThreadPlanCallFunction.cpp261 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex (reg_idx); local
262 if (reg_ctx->ReadRegister(reg_info, reg_value))
264 reg_value.Dump(&strm, reg_info, true, false, eFormatDefault);
H A DThreadPlanTracer.cpp268 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex(reg_num); local
269 if (reg_ctx->ReadRegister (reg_info, reg_value))
278 reg_value.Dump(stream, reg_info, true, false, eFormatDefault);
H A DRegisterContext.cpp72 const RegisterInfo * reg_info = GetRegisterInfoAtIndex(reg); local
74 if ((reg_info->name != NULL && ::strcasecmp (reg_info->name, reg_name) == 0) ||
75 (reg_info->alt_name != NULL && ::strcasecmp (reg_info->alt_name, reg_name) == 0))
77 return reg_info;
87 const RegisterInfo * reg_info = GetRegisterInfoAtIndex(reg); local
88 if (reg_info)
89 return reg_info->name;
168 RegisterContext::ReadRegisterAsUnsigned (const RegisterInfo *reg_info, uint64_ argument
188 WriteRegisterFromUnsigned(const RegisterInfo *reg_info, uint64_t uval) argument
220 const RegisterInfo *reg_info = GetRegisterInfoAtIndex(reg); local
290 ReadRegisterValueFromMemory(const RegisterInfo *reg_info, lldb::addr_t src_addr, uint32_t src_len, RegisterValue &reg_value) argument
370 WriteRegisterValueToMemory(const RegisterInfo *reg_info, lldb::addr_t dst_addr, uint32_t dst_len, const RegisterValue &reg_value) argument
462 const RegisterInfo * reg_info = GetRegisterInfoAtIndex (reg); local
[all...]
/external/bluetooth/bluedroid/stack/gap/
H A Dgap_int.h113 tAMP_APPL_INFO reg_info; member in struct:__anon1268
115 tL2CAP_APPL_INFO reg_info; /* L2CAP Registration info */
/external/lldb/source/Plugins/ABI/MacOSX-arm/
H A DABIMacOSX_arm.cpp238 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoByName("r3"); local
239 if (!reg_ctx->WriteRegister (reg_info, reg_value))
247 if (reg_ctx->WriteRegisterValueToMemory (reg_info, sp, reg_info->byte_size, reg_value).Fail())
252 if (reg_ctx->WriteRegisterValueToMemory (reg_info, sp + 4, reg_info->byte_size, reg_value).Fail())
671 ABIMacOSX_arm::RegisterIsVolatile (const RegisterInfo *reg_info) argument
673 if (reg_info)
676 const char *name = reg_info->name;
/external/lldb/source/Plugins/UnwindAssembly/InstEmulation/
H A DUnwindAssemblyInstEmulation.cpp357 UnwindAssemblyInstEmulation::MakeRegisterKindValuePair (const RegisterInfo &reg_info) argument
360 if (EmulateInstruction::GetBestRegisterKindAndNumber (&reg_info, reg_kind, reg_num))
366 UnwindAssemblyInstEmulation::SetRegisterValue (const RegisterInfo &reg_info, const RegisterValue &reg_value) argument
368 m_register_values[MakeRegisterKindValuePair (reg_info)] = reg_value;
372 UnwindAssemblyInstEmulation::GetRegisterValue (const RegisterInfo &reg_info, RegisterValue &reg_value) argument
374 const uint64_t reg_id = MakeRegisterKindValuePair (reg_info);
383 reg_value.SetUInt(reg_id, reg_info.byte_size);
529 const RegisterInfo *reg_info,
533 if (baton && reg_info)
534 return ((UnwindAssemblyInstEmulation *)baton)->ReadRegister (instruction, reg_info, reg_valu
527 ReadRegister(EmulateInstruction *instruction, void *baton, const RegisterInfo *reg_info, RegisterValue &reg_value) argument
538 ReadRegister(EmulateInstruction *instruction, const RegisterInfo *reg_info, RegisterValue &reg_value) argument
558 WriteRegister(EmulateInstruction *instruction, void *baton, const EmulateInstruction::Context &context, const RegisterInfo *reg_info, const RegisterValue &reg_value) argument
569 WriteRegister(EmulateInstruction *instruction, const EmulateInstruction::Context &context, const RegisterInfo *reg_info, const RegisterValue &reg_value) argument
[all...]

Completed in 8206 milliseconds

12