/external/OpenCSD/decoder/include/common/ |
D | ocsd_error.h | 58 class ocsdError { 60 …ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code); /**< Default error constr… 61 …ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const ocsd_trc_index_t idx); … 62 …ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const ocsd_trc_index_t idx, c… 63 …ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const std::string &msg); /… 64 …ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const ocsd_trc_index_t idx, c… 65 …ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const ocsd_trc_index_t idx, c… 67 ocsdError(const ocsdError *pError); /**< Copy constructor */ 68 ocsdError(const ocsdError &Error); /**< Copy constructor */ 69 ~ocsdError(); /**< Destructor */ [all …]
|
D | ocsd_error_logger.h | 59 virtual void LogError(const ocsd_hndl_err_log_t handle, const ocsdError *Error); 64 virtual ocsdError *GetLastError() { return m_lastErr; }; in GetLastError() 65 virtual ocsdError *GetLastIDError(const uint8_t chan_id) in GetLastIDError() 73 void CreateErrorObj(ocsdError **ppErr, const ocsdError *p_from); 75 ocsdError *m_lastErr; 76 ocsdError *m_lastErrID[0x80];
|
D | trc_pkt_decode_base.h | 236 LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_NOT_INIT,init_err_msg)); in PacketDataIn() 245 LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_INVALID_PARAM_VAL)); in PacketDataIn() 269 LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_INVALID_PARAM_VAL)); in PacketDataIn()
|
D | trc_component.h | 124 void LogError(const ocsdError &Error);
|
/external/OpenCSD/decoder/source/ |
D | ocsd_error.cpp | 100 ocsdError::ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code) : in ocsdError() function in ocsdError 108 ocsdError::ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const ocsd_trc_inde… in ocsdError() function in ocsdError 116 ocsdError::ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const ocsd_trc_inde… in ocsdError() function in ocsdError 124 ocsdError::ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const std::string &… in ocsdError() function in ocsdError 133 ocsdError::ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const ocsd_trc_inde… in ocsdError() function in ocsdError 142 ocsdError::ocsdError(const ocsd_err_severity_t sev_type, const ocsd_err_t code, const ocsd_trc_inde… in ocsdError() function in ocsdError 152 ocsdError::ocsdError(const ocsdError *pError) : in ocsdError() function in ocsdError 161 ocsdError::ocsdError(const ocsdError &Error) : in ocsdError() function in ocsdError 170 ocsdError::ocsdError(): in ocsdError() function in ocsdError 178 ocsdError::~ocsdError() in ~ocsdError() [all …]
|
D | ocsd_error_logger.cpp | 100 void ocsdDefaultErrorLogger::LogError(const ocsd_hndl_err_log_t handle, const ocsdError *Error) in LogError() 113 errStr += " : " + ocsdError::getErrorString(Error); in LogError() 154 void ocsdDefaultErrorLogger::CreateErrorObj(ocsdError **ppErr, const ocsdError *p_from) in CreateErrorObj() 156 *ppErr = new (std::nothrow) ocsdError(p_from); in CreateErrorObj()
|
D | trc_frame_deformatter.cpp | 245 throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_DFMTR_NOTCONTTRACE,index); in processTraceData() 250 ocsdError err(OCSD_ERR_SEV_ERROR, OCSD_ERR_INVALID_PARAM_VAL); in processTraceData() 254 throw ocsdError(&err); in processTraceData() 276 catch(const ocsdError &err) { in processTraceData() 281 LogError(ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_FAIL)); in processTraceData() 321 ocsdError errObj(OCSD_ERR_SEV_ERROR,OCSD_ERR_INVALID_PARAM_VAL); in DecodeConfigure() 539 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_DFMTR_BAD_FHSYNC, m_trc_curr_idx, "Bad FSYNC in frame… in extractFrame() 564 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_DFMTR_BAD_FHSYNC, m_trc_curr_idx, "Bad HSYNC in frame… in extractFrame()
|
D | trc_component.cpp | 101 void TraceComponent::LogError(const ocsdError &Error) in LogError()
|
/external/OpenCSD/decoder/source/etmv3/ |
D | trc_pkt_decode_etmv3.cpp | 116 … LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_FAIL,m_index_curr_pkt,"Unknown Decoder State")); in processPacket() 140 catch(ocsdError &err) in onEOT() 181 …LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_HW_CFG_UNSUPP,"ETMv3 trace decoder : data trace dec… in onProtocolConfig() 225 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_MEM,m_index_curr_pkt,m_CSID,"Memory Allocation Error … in GetNextOpElem() 263 …throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_BAD_PACKET_SEQ,m_index_curr_pkt,m_CSID,"Trace Packet S… in decodePacket() 340 …throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_HW_CFG_UNSUPP,m_index_curr_pkt,m_CSID,"Invalid packet … in decodePacket() 346 …throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_BAD_PACKET_SEQ,m_index_curr_pkt,m_CSID,"Bad Packet seq… in decodePacket() 352 …throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_BAD_PACKET_SEQ,m_index_curr_pkt,m_CSID,"Reserved or un… in decodePacket() 358 catch(ocsdError &err) in decodePacket() 367 …LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_FAIL,m_index_curr_pkt,m_CSID,"Bad Packet sequence."… in decodePacket() [all …]
|
D | trc_pkt_proc_etmv3_impl.h | 153 … throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_BAD_PACKET_SEQ,m_packet_index,m_chanIDCopy,pszErrMsg); in throwMalformedPacketErr() 158 …throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_INVALID_PCKT_HDR,m_packet_index,m_chanIDCopy,pszErrMsg… in throwPacketHeaderErr() 163 … throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_HW_CFG_UNSUPP,m_packet_index,m_chanIDCopy,pszErrMsg); in throwUnsupportedErr()
|
D | trc_pkt_proc_etmv3_impl.cpp | 59 m_interface->LogError(ocsdError(OCSD_ERR_SEV_ERROR,err)); in Configure() 100 catch(ocsdError &err) in processData() 119 … ocsdError fatal = ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_FAIL,m_packet_index,m_chanIDCopy); in processData() 520 …throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_PKT_INTERP_FAIL,m_packet_index,m_chanIDCopy,"Interpret… in processPayloadByte()
|
D | trc_pkt_proc_etmv3.cpp | 76 LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_MEM)); in onProtocolConfig()
|
/external/OpenCSD/decoder/include/interfaces/ |
D | trc_error_log_i.h | 42 class ocsdError; variable 90 virtual void LogError(const ocsd_hndl_err_log_t handle, const ocsdError *Error) = 0; 108 virtual ocsdError *GetLastError() = 0; 118 virtual ocsdError *GetLastIDError(const uint8_t chan_id) = 0;
|
/external/OpenCSD/decoder/source/etmv4/ |
D | trc_pkt_decode_etmv4i.cpp | 145 …LogError(ocsdError(OCSD_ERR_SEV_ERROR, err, "Error flushing element stack at end of trace data.")); in onEOT() 209 …LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_HW_CFG_UNSUPP,"ETMv4 instruction decode : Data trac… in onProtocolConfig() 214 …LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_HW_CFG_UNSUPP,"ETMv4 instruction decode : LSP0 elem… in onProtocolConfig() 219 …LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_HW_CFG_UNSUPP,"ETMv4 instruction decode : Trace on … in onProtocolConfig() 224 …LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_HW_CFG_UNSUPP,"ETMv4 instruction decode : Trace usi… in onProtocolConfig() 512 LogError(ocsdError(sev, err, "Data trace releated, unsupported packet type.")); in decodePacket() 519 LogError(ocsdError(OCSD_ERR_SEV_ERROR,err,"Unknown packet type.")); in decodePacket() 534 LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_MEM,"Memory allocation error.")); in decodePacket() 741 …LogError(ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_COMMIT_PKT_OVERRUN,err_idx,m_CSID,"Not enough eleme… in commitElements() 761 LogError(ocsdError(OCSD_ERR_SEV_ERROR, err, "Trace Return Stack Overflow.")); in returnStackPop() [all …]
|
D | trc_pkt_proc_etmv4i.cpp | 147 catch(ocsdError &err) in processData() 169 …const ocsdError &fatal = ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_FAIL,m_packet_index,m_config.getTra… in processData() 319 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_INVALID_PCKT_HDR,m_packet_index,m_config.getTraceID()… in iPktReserved() 325 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_INVALID_PCKT_HDR, m_packet_index, m_config.getTraceID… in iPktInvalidCfg() 1663 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_BAD_PACKET_SEQ,m_packet_index,m_config.getTraceID(),p… in throwBadSequenceError()
|
/external/OpenCSD/decoder/tests/snapshot_parser_lib/source/ |
D | snapshot_parser.cpp | 75 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, "Couldn't parse '" + kv + "' as … in SplitKeyValue() 112 … throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, "Duplicate key: " + keyStr); in AddUniqueKey() 120 throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, in PreventDupes() 149 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, "Definition of '" + k + "' has … in Define() 172 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, string("Only one ") + GlobalSec… in GlobalSection() 186 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, "Unknown global option '" + k + … in Define() 236 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, "Unknown dump section key '" + … in Define() 244 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, "Dump section is missing mandat… in End() 248 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, "Dump section is missing mandato… in End() 428 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, "Illegal snapshot file version:… in Define() [all …]
|
D | ss_to_dcdtree.cpp | 207 ocsdError err(OCSD_ERR_SEV_ERROR,OCSD_ERR_TEST_SS_TO_DECODER,msg); in LogError() 211 void CreateDcdTreeFromSnapShot::LogError(const ocsdError &err) in LogError() 287 LogError(ocsdError(OCSD_ERR_SEV_ERROR,err,msg)); in createETMv4Decoder() 327 …LogError(ocsdError(OCSD_ERR_SEV_ERROR,err,"Snapshot processor : failed to create ETMV3 decoder on … in createETMv3Decoder() 365 …LogError(ocsdError(OCSD_ERR_SEV_ERROR,err,"Snapshot processor : failed to create PTM decoder on de… in createPTMDecoder() 412 …LogError(ocsdError(OCSD_ERR_SEV_ERROR,err,"Snapshot processor : failed to create STM decoder on de… in createSTMDecoder() 531 LogError(ocsdError(OCSD_ERR_SEV_ERROR,err,oss.str())); in processDumpfiles()
|
D | device_parser.cpp | 94 catch (ocsdError & /*e*/) in getUniqueDeviceID() 123 throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, ost.str()); in getDevice()
|
/external/OpenCSD/decoder/include/opencsd/ptm/ |
D | trc_pkt_proc_ptm.h | 197 …throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_BAD_PACKET_SEQ,m_curr_pkt_index,m_chanIDCopy,pszErrMsg… in throwMalformedPacketErr() 202 …throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_INVALID_PCKT_HDR,m_curr_pkt_index,m_chanIDCopy,pszErrM… in throwPacketHeaderErr()
|
/external/OpenCSD/decoder/source/stm/ |
D | trc_pkt_proc_stm.cpp | 118 catch(ocsdError &err) in processData() 140 …ocsdError fatal = ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_FAIL,m_packet_index,m_config->getTraceID()… in processData() 200 …throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_BAD_PACKET_SEQ,m_packet_index,this->m_config->getTrace… in throwBadSequenceError() 206 …throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_INVALID_PCKT_HDR,m_packet_index,this->m_config->getTra… in throwReservedHdrError()
|
/external/OpenCSD/decoder/source/ptm/ |
D | trc_pkt_proc_ptm.cpp | 128 …throw ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_PKT_INTERP_FAIL,m_curr_pkt_index,this->m_chanIDCopy,"D… in processData() 143 catch(ocsdError &err) in processData() 162 …const ocsdError &fatal = ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_FAIL,m_curr_pkt_index,m_chanIDCopy,… in processData()
|
D | trc_pkt_decode_ptm.cpp | 526 LogError(ocsdError(OCSD_ERR_SEV_WARN,err,m_index_curr_pkt,m_CSID,oss.str())); in processAtomRange() 534 LogError(ocsdError(OCSD_ERR_SEV_ERROR,err,m_index_curr_pkt,m_CSID,oss.str())); in processAtomRange() 575 …LogError(ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_RET_STACK_OVERFLOW, m_index_curr_pkt, m_CSID, oss.… in processAtomRange()
|
/external/OpenCSD/decoder/tests/snapshot_parser_lib/include/ |
D | snapshot_parser_util.h | 67 …throw ocsdError(OCSD_ERR_SEV_ERROR, OCSD_ERR_TEST_SNAPSHOT_PARSE, "Could not parse '" + s + "' as … in ThrowUnsignedConversionError()
|
D | ss_to_dcdtree.h | 89 void LogError(const ocsdError &err);
|
/external/OpenCSD/decoder/source/c_api/ |
D | ocsd_c_api_custom_obj.cpp | 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()
|