Lines Matching refs:line

26                               int line, const char *type,  in test_fail_message_prefix()  argument
40 test_printf_stderr(" @ %s:%d", file, line); in test_fail_message_prefix()
68 static void test_fail_message(const char *prefix, const char *file, int line,
75 int line, const char *type, in test_fail_message_va() argument
79 test_fail_message_prefix(prefix, file, line, type, left, right, op); in test_fail_message_va()
88 int line, const char *type, in test_fail_message() argument
95 test_fail_message_va(prefix, file, line, type, left, right, op, fmt, ap); in test_fail_message()
108 void test_info(const char *file, int line, const char *desc, ...) in test_info() argument
113 test_fail_message_va("INFO", file, line, NULL, NULL, NULL, NULL, desc, ap); in test_info()
127 void test_error(const char *file, int line, const char *desc, ...) in test_error() argument
132 test_fail_message_va(NULL, file, line, NULL, NULL, NULL, NULL, desc, ap); in test_error()
160 int test_skip(const char *file, int line, const char *desc, ...) in test_skip() argument
165 test_fail_message_va("SKIP", file, line, NULL, NULL, NULL, NULL, desc, ap); in test_skip()
211 int test_ ## name ## _ ## opname(const char *file, int line, \
217 test_fail_message(NULL, file, line, #type, s1, s2, #op, \
245 int test_ptr_null(const char *file, int line, const char *s, const void *p) in test_ptr_null() argument
249 test_fail_message(NULL, file, line, "ptr", s, "NULL", "==", "%p", p); in test_ptr_null()
253 int test_ptr(const char *file, int line, const char *s, const void *p) in test_ptr() argument
257 test_fail_message(NULL, file, line, "ptr", s, "NULL", "!=", "%p", p); in test_ptr()
261 int test_true(const char *file, int line, const char *s, int b) in test_true() argument
265 test_fail_message(NULL, file, line, "bool", s, "true", "==", "false"); in test_true()
269 int test_false(const char *file, int line, const char *s, int b) in test_false() argument
273 test_fail_message(NULL, file, line, "bool", s, "false", "==", "true"); in test_false()
277 int test_str_eq(const char *file, int line, const char *st1, const char *st2, in test_str_eq() argument
283 test_fail_string_message(NULL, file, line, "string", st1, st2, "==", in test_str_eq()
291 int test_str_ne(const char *file, int line, const char *st1, const char *st2, in test_str_ne() argument
297 test_fail_string_message(NULL, file, line, "string", st1, st2, "!=", in test_str_ne()
305 int test_strn_eq(const char *file, int line, const char *st1, const char *st2, in test_strn_eq() argument
311 test_fail_string_message(NULL, file, line, "string", st1, st2, "==", in test_strn_eq()
319 int test_strn_ne(const char *file, int line, const char *st1, const char *st2, in test_strn_ne() argument
325 test_fail_string_message(NULL, file, line, "string", st1, st2, "!=", in test_strn_ne()
333 int test_mem_eq(const char *file, int line, const char *st1, const char *st2, in test_mem_eq() argument
339 test_fail_memory_message(NULL, file, line, "memory", st1, st2, "==", in test_mem_eq()
346 int test_mem_ne(const char *file, int line, const char *st1, const char *st2, in test_mem_ne() argument
354 test_fail_memory_message(NULL, file, line, "memory", st1, st2, "!=", in test_mem_ne()
362 int test_BN_ ## opname(const char *file, int line, \
368 test_fail_bignum_message(NULL, file, line, "BIGNUM", s1, s2, \
372 int test_BN_ ## opname ## _zero(const char *file, int line, \
377 test_fail_bignum_mono_message(NULL, file, line, "BIGNUM", \
389 int test_BN_eq_one(const char *file, int line, const char *s, const BIGNUM *a) in test_BN_eq_one() argument
393 test_fail_bignum_mono_message(NULL, file, line, "BIGNUM", s, "1", "==", a); in test_BN_eq_one()
397 int test_BN_odd(const char *file, int line, const char *s, const BIGNUM *a) in test_BN_odd() argument
401 test_fail_bignum_mono_message(NULL, file, line, "BIGNUM", "ODD(", ")", s, a); in test_BN_odd()
405 int test_BN_even(const char *file, int line, const char *s, const BIGNUM *a) in test_BN_even() argument
409 test_fail_bignum_mono_message(NULL, file, line, "BIGNUM", "EVEN(", ")", s, in test_BN_even()
414 int test_BN_eq_word(const char *file, int line, const char *bns, const char *ws, in test_BN_eq_word() argument
423 test_fail_bignum_message(NULL, file, line, "BIGNUM", bns, ws, "==", a, bw); in test_BN_eq_word()
428 int test_BN_abs_eq_word(const char *file, int line, const char *bns, in test_BN_abs_eq_word() argument
439 test_fail_bignum_message(NULL, file, line, "BIGNUM", bns, ws, "abs==", in test_BN_abs_eq_word()
452 int test_time_t_ ## opname(const char *file, int line, \
461 test_fail_message(NULL, file, line, "time_t", s1, s2, #op, \