Lines Matching refs:op
72 #define tt_abort_perror(op) TT_DIE(("%s: %s [%d]",(op),strerror(errno), errno)) argument
78 #define tt_fail_perror(op) TT_FAIL(("%s: %s [%d]",(op),strerror(errno), errno)) argument
149 #define tt_assert_op_type(a,op,b,type,fmt) \ argument
150 tt_assert_test_type(a,b,#a" "#op" "#b,type,(val1_ op val2_),fmt, \
153 #define tt_int_op(a,op,b) \ argument
154 tt_assert_test_type(a,b,#a" "#op" "#b,long,(val1_ op val2_), \
157 #define tt_uint_op(a,op,b) \ argument
158 tt_assert_test_type(a,b,#a" "#op" "#b,unsigned long, \
159 (val1_ op val2_),"%lu",TT_EXIT_TEST_FUNCTION)
161 #define tt_ptr_op(a,op,b) \ argument
162 tt_assert_test_type(a,b,#a" "#op" "#b,void*, \
163 (val1_ op val2_),"%p",TT_EXIT_TEST_FUNCTION)
165 #define tt_str_op(a,op,b) \ argument
166 tt_assert_test_type(a,b,#a" "#op" "#b,const char *, \
167 (strcmp(val1_,val2_) op 0),"<%s>",TT_EXIT_TEST_FUNCTION)
169 #define tt_want_int_op(a,op,b) \ argument
170 tt_assert_test_type(a,b,#a" "#op" "#b,long,(val1_ op val2_),"%ld",(void)0)
172 #define tt_want_uint_op(a,op,b) \ argument
173 tt_assert_test_type(a,b,#a" "#op" "#b,unsigned long, \
174 (val1_ op val2_),"%lu",(void)0)
176 #define tt_want_ptr_op(a,op,b) \ argument
177 tt_assert_test_type(a,b,#a" "#op" "#b,void*, \
178 (val1_ op val2_),"%p",(void)0)
180 #define tt_want_str_op(a,op,b) \ argument
181 tt_assert_test_type(a,b,#a" "#op" "#b,const char *, \
182 (strcmp(val1_,val2_) op 0),"<%s>",(void)0)