Lines Matching refs:errcode
56 int errcode; in tfix_init() local
67 errcode = pt_pkt_decoder_init(&tfix->decoder, config); in tfix_init()
68 ptu_int_eq(errcode, 0); in tfix_init()
77 int errcode; in decoder_init_null() local
79 errcode = pt_pkt_decoder_init(NULL, &config); in decoder_init_null()
80 ptu_int_eq(errcode, -pte_invalid); in decoder_init_null()
82 errcode = pt_pkt_decoder_init(&decoder, NULL); in decoder_init_null()
83 ptu_int_eq(errcode, -pte_invalid); in decoder_init_null()
114 int errcode; in sync_forward_null() local
116 errcode = pt_pkt_sync_forward(NULL); in sync_forward_null()
117 ptu_int_eq(errcode, -pte_invalid); in sync_forward_null()
124 int errcode; in sync_backward_null() local
126 errcode = pt_pkt_sync_backward(NULL); in sync_backward_null()
127 ptu_int_eq(errcode, -pte_invalid); in sync_backward_null()
134 int errcode; in sync_set_null() local
136 errcode = pt_pkt_sync_set(NULL, 0ull); in sync_set_null()
137 ptu_int_eq(errcode, -pte_invalid); in sync_set_null()
144 int errcode; in sync_set_eos() local
146 errcode = pt_pkt_sync_set(&tfix->decoder, sizeof(tfix->buffer) + 1); in sync_set_eos()
147 ptu_int_eq(errcode, -pte_eos); in sync_set_eos()
156 int errcode; in get_offset_null() local
158 errcode = pt_pkt_get_offset(NULL, &offset); in get_offset_null()
159 ptu_int_eq(errcode, -pte_invalid); in get_offset_null()
161 errcode = pt_pkt_get_offset(&decoder, NULL); in get_offset_null()
162 ptu_int_eq(errcode, -pte_invalid); in get_offset_null()
170 int errcode; in get_offset_init() local
172 errcode = pt_pkt_get_offset(&tfix->decoder, &offset); in get_offset_init()
173 ptu_int_eq(errcode, -pte_nosync); in get_offset_init()
181 int errcode; in sync_set_get_offset() local
183 errcode = pt_pkt_sync_set(&tfix->decoder, 1ull); in sync_set_get_offset()
184 ptu_int_eq(errcode, 0); in sync_set_get_offset()
186 errcode = pt_pkt_get_offset(&tfix->decoder, &offset); in sync_set_get_offset()
187 ptu_int_eq(errcode, 0); in sync_set_get_offset()
197 int errcode; in get_sync_offset_null() local
199 errcode = pt_pkt_get_sync_offset(NULL, &offset); in get_sync_offset_null()
200 ptu_int_eq(errcode, -pte_invalid); in get_sync_offset_null()
202 errcode = pt_pkt_get_sync_offset(&decoder, NULL); in get_sync_offset_null()
203 ptu_int_eq(errcode, -pte_invalid); in get_sync_offset_null()
232 int errcode; in next_null() local
234 errcode = pt_pkt_next(NULL, &packet, sizeof(packet)); in next_null()
235 ptu_int_eq(errcode, -pte_invalid); in next_null()
237 errcode = pt_pkt_next(&decoder, NULL, sizeof(packet)); in next_null()
238 ptu_int_eq(errcode, -pte_invalid); in next_null()