Searched refs:PACKET_STR_LEN (Results 1 – 1 of 1) sorted by relevance
/external/OpenCSD/decoder/tests/source/ |
D | c_api_pkt_print_test.c | 91 #define PACKET_STR_LEN 1024 macro 92 static char packet_str[PACKET_STR_LEN]; 434 … if(ocsd_pkt_str(test_protocol,p_packet_in,packet_str+offset,PACKET_STR_LEN-offset) == OCSD_OK) in packet_handler() 437 if(strlen(packet_str) == PACKET_STR_LEN - 1) /* maximum length */ in packet_handler() 438 packet_str[PACKET_STR_LEN-2] = '\n'; in packet_handler() 511 offset+= print_data_array(p_data,size,packet_str+offset,PACKET_STR_LEN-offset); in packet_monitor() 514 … if(ocsd_pkt_str(test_protocol,p_packet_in,packet_str+offset,PACKET_STR_LEN-offset) == OCSD_OK) in packet_monitor() 517 if(strlen(packet_str) == PACKET_STR_LEN - 1) /* maximum length */ in packet_monitor() 518 packet_str[PACKET_STR_LEN-2] = '\n'; in packet_monitor() 546 if(ocsd_gen_elem_str(elem, packet_str+offset,PACKET_STR_LEN - offset) == OCSD_OK) in gen_trace_elem_print() [all …]
|