Home
last modified time | relevance | path

Searched refs:OCSD_OK (Results 1 – 25 of 33) sorted by relevance

12

/external/OpenCSD/decoder/source/c_api/
Docsd_c_api.cpp164 ocsd_err_t err = OCSD_OK; in ocsd_dt_create_decoder()
169 if(err != OCSD_OK) in ocsd_dt_create_decoder()
174 if(err != OCSD_OK) in ocsd_dt_create_decoder()
178 if(err == OCSD_OK) in ocsd_dt_create_decoder()
196 ocsd_err_t err = OCSD_OK; in ocsd_dt_attach_packet_callback()
207 if(err == OCSD_OK) in ocsd_dt_attach_packet_callback()
213 if (err == OCSD_OK) in ocsd_dt_attach_packet_callback()
221 if(err == OCSD_OK) in ocsd_dt_attach_packet_callback()
223 if (err == OCSD_OK) in ocsd_dt_attach_packet_callback()
246 return OCSD_OK; in ocsd_dt_set_gen_elem_outfn()
[all …]
Docsd_c_api_custom_obj.cpp47 ocsd_err_t err = OCSD_OK; in ocsd_register_custom_decoder()
72 if(err != OCSD_OK) in ocsd_register_custom_decoder()
78 if(err != OCSD_OK) in ocsd_register_custom_decoder()
88 return OCSD_OK; in ocsd_deregister_decoders()
95 …COL_IS_CUSTOM(pkt_protocol) && (pRegister->getDecoderMngrByType(pkt_protocol, &p_mngr) == OCSD_OK)) in ocsd_cust_protocol_to_str()
99 return OCSD_OK; in ocsd_cust_protocol_to_str()
121 ocsd_err_t err = OCSD_OK; in createDecoder()
142 if (err == OCSD_OK) in createDecoder()
156 if (err != OCSD_OK) in createDecoder()
169 return OCSD_OK; in destroyDecoder()
[all …]
/external/OpenCSD/decoder/source/
Docsd_dcd_tree.cpp194 return (m_default_mapper != 0) ? OCSD_OK : OCSD_ERR_MEM; in createMemAccMapper()
232 if(err == OCSD_OK) in addBufferMemAcc()
243 if(err != OCSD_OK) in addBufferMemAcc()
260 if(err == OCSD_OK) in addBinFileMemAcc()
271 if(err != OCSD_OK) in addBinFileMemAcc()
291 if(err == OCSD_OK) in addBinFileRegionMemAcc()
313 if(err != OCSD_OK) in addBinFileRegionMemAcc()
345 return OCSD_OK; in updateBinFileRegionMemAcc()
358 if(err == OCSD_OK) in initCallbackMemAcc()
373 if(err != OCSD_OK) in initCallbackMemAcc()
[all …]
Docsd_code_follower.cpp108 if(err != OCSD_OK) in followSingleAtom()
136 ocsd_err_t err = OCSD_OK; in decodeSingleOpCode()
145 if(err != OCSD_OK) in decodeSingleOpCode()
Docsd_gen_elem_stack.cpp62 ocsd_err_t err = OCSD_OK; in addElem()
93 ocsd_err_t err = OCSD_OK; in resetElemStack()
178 return OCSD_OK; in growArray()
Docsd_lib_dcd_register.cpp101 return OCSD_OK; in registerDecoderTypeByName()
161 return OCSD_OK; in getDecoderMngrByName()
182 return OCSD_OK; in getDecoderMngrByType()
Dtrc_frame_deformatter.cpp124 ocsd_err_t err = OCSD_OK; in OutputFilterIDs()
128 while((iter < id_list.end()) && (err == OCSD_OK)) in OutputFilterIDs()
150 return OCSD_OK; in OutputFilterAllIDs()
297 ocsd_err_t err = OCSD_OK; in DecodeConfigure()
319 if(err != OCSD_OK) in DecodeConfigure()
834 return OCSD_OK; in Configure()
Dtrc_component.cpp152 return OCSD_OK; in setComponentOpMode()
/external/OpenCSD/decoder/tests/source/
Dc_api_pkt_print_test.c308 ocsd_err_t err = OCSD_OK; in create_mem_acc_cb()
322 if(err != OCSD_OK) in create_mem_acc_cb()
347 ocsd_err_t ret = OCSD_OK; in create_test_memory_acc()
434 … if(ocsd_pkt_str(test_protocol,p_packet_in,packet_str+offset,PACKET_STR_LEN-offset) == OCSD_OK) in packet_handler()
514 … if(ocsd_pkt_str(test_protocol,p_packet_in,packet_str+offset,PACKET_STR_LEN-offset) == OCSD_OK) in packet_monitor()
546 if(ocsd_gen_elem_str(elem, packet_str+offset,PACKET_STR_LEN - offset) == OCSD_OK) in gen_trace_elem_print()
571 ocsd_err_t ret = OCSD_OK; in create_generic_decoder()
581 if(ret == OCSD_OK) in create_generic_decoder()
588 if(ret != OCSD_OK) in create_generic_decoder()
598 if(ret == OCSD_OK) in create_generic_decoder()
[all …]
Dmem_buff_demo.cpp184 return OCSD_OK; in initDataBuffers()
190 ocsd_err_t err = OCSD_OK; in createETMv4StreamDecoder()
228 ocsd_err_t ret = OCSD_OK; in initialiseDecoder()
259 if (ret != OCSD_OK) in initialiseDecoder()
265 if (ret != OCSD_OK) in initialiseDecoder()
297 if (ret != OCSD_OK) in initialiseDecoder()
301 if (ret != OCSD_OK) in initialiseDecoder()
387 int ret = OCSD_OK; in main()
393 if ((ret = initDataBuffers()) != OCSD_OK) in main()
399 if ((ret = initialiseDecoder()) == OCSD_OK) in main()
/external/OpenCSD/decoder/source/etmv4/
Dtrc_pkt_decode_etmv4i.cpp66 ocsd_err_t err = OCSD_OK; in processPacket()
151 if ((err = commitElemOnEOT()) != OCSD_OK) in onEOT()
182 ocsd_err_t err = OCSD_OK; in onProtocolConfig()
292 ocsd_err_t err = OCSD_OK; in decodePacket()
661 ocsd_err_t err = OCSD_OK; in resolveElements()
674 if (err != OCSD_OK) in resolveElements()
702 ocsd_err_t err = OCSD_OK; in commitElements()
781 if ((err = returnStackPop()) != OCSD_OK) in commitElements()
800 if ((err = returnStackPop()) != OCSD_OK) in commitElements()
861 ocsd_err_t err = OCSD_OK; in returnStackPop()
[all …]
/external/OpenCSD/decoder/tests/ext_dcd_test_eg/c_api_echo_test/
Dext_dcd_echo_test_fact.c85 return OCSD_OK; in ext_echo_create()
91 return OCSD_OK; in ext_echo_destroy()
97 return OCSD_OK; in ext_echo_csid_from_cfg()
103 return OCSD_OK; in ext_echo_pkt_to_str()
Dext_dcd_echo_test.c296 …(lib_cb_LogMsg(p_fns, OCSD_ERR_SEV_ERROR, "Echo_Test_Decoder: Init - LogMsgCB test.\n") == OCSD_OK) in print_init_test_message()
301 …p_fns, OCSD_ERR_SEV_ERROR, OCSD_OK, 0, decoder->reg_config.cs_id, "Echo_Test_Decoder - Init - LogE… in print_init_test_message()
399 if (err != OCSD_OK) in analyse_packet()
401 UPDATE_COVERAGE(TEST_COV_MEM_ACC_CB,(err == OCSD_OK ? TEST_RES_OK : TEST_RES_FAIL)) in analyse_packet()
427 UPDATE_COVERAGE(TEST_COV_IDEC_CB, (err == OCSD_OK ? TEST_RES_OK : TEST_RES_FAIL)) in analyse_packet()
428 if (err != OCSD_OK) in analyse_packet()
/external/OpenCSD/decoder/tests/snapshot_parser_lib/source/
Dss_to_dcdtree.cpp282 ocsd_err_t err = OCSD_OK; in createETMv4Decoder()
288 if(err == OCSD_OK) in createETMv4Decoder()
329 ocsd_err_t err = OCSD_OK; in createETEDecoder()
335 if (err == OCSD_OK) in createETEDecoder()
374 ocsd_err_t err = OCSD_OK; in createETMv3Decoder()
377 if(err == OCSD_OK) in createETMv3Decoder()
412 ocsd_err_t err = OCSD_OK; in createPTMDecoder()
415 if(err == OCSD_OK) in createPTMDecoder()
457 ocsd_err_t err = OCSD_OK; in createSTMDecoder()
462 if(err == OCSD_OK) in createSTMDecoder()
[all …]
/external/OpenCSD/decoder/source/mem_acc/
Dtrc_mem_acc_mapper.cpp82 ocsd_err_t err = OCSD_OK; in ReadTargetMemory()
103 if (err != OCSD_OK) in ReadTargetMemory()
140 ocsd_err_t err = OCSD_OK; in RemoveAccessorByAddress()
184 ocsd_err_t err = OCSD_OK; in AddAccessor()
280 return bFound ? OCSD_OK : OCSD_ERR_INVALID_PARAM_VAL; in RemoveAccessor()
Dtrc_mem_acc_base.cpp47 ocsd_err_t err = OCSD_OK; in CreateBufferAccessor()
58 ocsd_err_t err = OCSD_OK; in CreateFileAccessor()
67 ocsd_err_t err = OCSD_OK; in CreateCBAccessor()
Dtrc_mem_acc_file.cpp70 ocsd_err_t err = OCSD_OK; in initAccessor()
125 ocsd_err_t err = OCSD_OK; in createFileAccessor()
144 if((err = acc->initAccessor(pathToFile,startAddr, offset,size)) == OCSD_OK) in createFileAccessor()
Dtrc_mem_acc_cache.cpp67 ocsd_err_t err = OCSD_OK; in readBytesFromCache()
/external/OpenCSD/decoder/include/common/
Dcomp_attach_pt_t.h174 return OCSD_OK; in attach()
183 return OCSD_OK; in replace_first()
195 return OCSD_OK; in detach()
Docsd_dcd_mngr.h160 return OCSD_OK; in createDecoder()
169 return OCSD_OK; in destroyDecoder()
245 return OCSD_OK; in getDataInputI()
318 return OCSD_OK; in createConfigFromDataStruct()
/external/OpenCSD/decoder/source/i_dec/
Dtrc_i_decode.cpp41 ocsd_err_t err = OCSD_OK; in DecodeInstruction()
123 return OCSD_OK; in DecodeA32()
174 return OCSD_OK; in DecodeA64()
233 return OCSD_OK; in DecodeT32()
/external/OpenCSD/decoder/source/ptm/
Dtrc_pkt_decode_ptm.cpp165 ocsd_err_t err = OCSD_OK; in onProtocolConfig()
511 ocsd_err_t err = OCSD_OK; in processAtomRange()
520 if(err != OCSD_OK) in processAtomRange()
618 ocsd_err_t err = OCSD_OK; in traceInstrToWP()
634 if(err != OCSD_OK) break; in traceInstrToWP()
640 if(err != OCSD_OK) break; in traceInstrToWP()
/external/OpenCSD/decoder/include/opencsd/c_api/
Docsd_c_api_cust_impl.h71 return OCSD_OK; in lib_cb_LogError()
83 return OCSD_OK; in lib_cb_LogMsg()
/external/OpenCSD/decoder/source/pkt_printers/
Draw_frame_printer.cpp82 return OCSD_OK; in TraceRawFrameIn()
/external/OpenCSD/decoder/source/etmv3/
Dtrc_pkt_proc_etmv3_impl.cpp49 ocsd_err_t err = OCSD_OK; in Configure()
507 return OCSD_OK; in processHeaderByte()
776 return OCSD_OK; in processPayloadByte()

12