Home
last modified time | relevance | path

Searched refs:lib_context (Results 1 – 4 of 4) sorted by relevance

/external/OpenCSD/decoder/source/c_api/
Docsd_c_api_custom_obj.cpp132 lib_callbacks.lib_context = pComp; in createDecoder()
296 ocsd_datapath_resp_t GenElemOpCB( const void *lib_context, in GenElemOpCB() argument
301 if (lib_context && ((CustomDecoderWrapper *)lib_context)->m_pGenElemIn) in GenElemOpCB()
302 …return ((CustomDecoderWrapper *)lib_context)->m_pGenElemIn->TraceElemIn(index_sop,trc_chan_id,*(Oc… in GenElemOpCB()
306 void LogErrorCB(const void *lib_context, const ocsd_err_severity_t filter_level, const ocsd_err_t c… in LogErrorCB() argument
308 if (lib_context) in LogErrorCB()
311 …((CustomDecoderWrapper *)lib_context)->LogError(ocsdError(filter_level, code, idx, chan_id, std::s… in LogErrorCB()
313 … ((CustomDecoderWrapper *)lib_context)->LogError(ocsdError(filter_level, code, idx, chan_id)); in LogErrorCB()
317 void LogMsgCB(const void *lib_context, const ocsd_err_severity_t filter_level, const char *msg) in LogMsgCB() argument
319 if (lib_context && msg) in LogMsgCB()
[all …]
Docsd_c_api_custom_obj.h126 friend ocsd_datapath_resp_t GenElemOpCB( const void *lib_context,
131 friend void LogErrorCB( const void *lib_context,
138 friend void LogMsgCB(const void *lib_context,
142 friend ocsd_err_t DecodeArmInstCB(const void *lib_context, ocsd_instr_info *instr_info);
144 friend ocsd_err_t MemAccessCB(const void *lib_context,
151 friend void PktMonCB(const void *lib_context,
158 friend ocsd_datapath_resp_t PktDataSinkCB(const void *lib_context,
/external/OpenCSD/decoder/include/opencsd/c_api/
Docsd_c_api_custom.h112 typedef ocsd_datapath_resp_t (* fnGenElemOpCB)( const void *lib_context,
120 typedef void (* fnLogErrorCB)( const void *lib_context,
130 typedef void (* fnLogMsgCB)(const void *lib_context, const ocsd_err_severity_t filter_level, const …
135 typedef ocsd_err_t (* fnDecodeArmInstCB)(const void *lib_context, ocsd_instr_info *instr_info);
140 typedef ocsd_err_t (* fnMemAccessCB)(const void *lib_context,
150 typedef void (* fnPktMonCB)( const void *lib_context,
162 typedef ocsd_datapath_resp_t (* fnPktDataSinkCB)( const void *lib_context,
180 …const void *lib_context; /**< library context pointer - use in callbacks to allow the library to … member
Docsd_c_api_cust_impl.h57 return callbacks->fn_gen_elem_out(callbacks->lib_context, index_sop, trc_chan_id, elem); in lib_cb_GenElemOp()
70 callbacks->fn_log_error(callbacks->lib_context, filter_level, code, idx, chan_id, pMsg); in lib_cb_LogError()
82 callbacks->fn_log_msg(callbacks->lib_context, filter_level, pMsg); in lib_cb_LogMsg()
92 return callbacks->fn_arm_instruction_decode(callbacks->lib_context, instr_info); in lib_cb_DecodeArmInst()
104 …return callbacks->fn_memory_access(callbacks->lib_context, address, cs_trace_id, mem_space, num_by… in lib_cb_MemAccess()
118 callbacks->fn_packet_mon(callbacks->lib_context, op, index_sop, pkt, size, p_data); in lib_cb_PktMon()
137 return callbacks->fn_packet_data_sink(callbacks->lib_context, op, index_sop, pkt); in lib_cb_PktDataSink()