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
153 #define tt_assert_op_type(a,op,b,type,fmt) \ argument
154 tt_assert_test_type(a,b,#a" "#op" "#b,type,(val1_ op val2_),fmt, \
157 #define tt_int_op(a,op,b) \ argument
158 tt_assert_test_type(a,b,#a" "#op" "#b,long,(val1_ op val2_), \
162 #define tt_fd_op(a,op,b) do { \ argument
165 tt_assert_test_type(_a,_b,#a" "#op" "#b,long,(val1_ op val2_), \
169 #define tt_uint_op(a,op,b) \ argument
170 tt_assert_test_type(a,b,#a" "#op" "#b,unsigned long, \
171 (val1_ op val2_),"%lu",TT_EXIT_TEST_FUNCTION)
173 #define tt_ptr_op(a,op,b) \ argument
174 tt_assert_test_type(a,b,#a" "#op" "#b,const void*, \
175 (val1_ op val2_),"%p",TT_EXIT_TEST_FUNCTION)
178 #define tt_nstr_op(n,a,op,b) \ argument
179 tt_assert_test_type_opt(a,b,#a" "#op" "#b,const char *, \
180 (val1_ && val2_ && strncmp(val1_,val2_,(n)) op 0),"<%s>", \
183 #define tt_str_op(a,op,b) \ argument
184 tt_assert_test_type_opt(a,b,#a" "#op" "#b,const char *, \
185 (val1_ && val2_ && strcmp(val1_,val2_) op 0),"<%s>", \
188 #define tt_mem_op(expr1, op, expr2, len) \ argument
189 tt_assert_test_fmt_type(expr1,expr2,#expr1" "#op" "#expr2, \
191 (val1_ && val2_ && memcmp(val1_, val2_, len) op 0), \
198 #define tt_want_int_op(a,op,b) \ argument
199 tt_assert_test_type(a,b,#a" "#op" "#b,long,(val1_ op val2_),"%ld",(void)0)
201 #define tt_want_uint_op(a,op,b) \ argument
202 tt_assert_test_type(a,b,#a" "#op" "#b,unsigned long, \
203 (val1_ op val2_),"%lu",(void)0)
205 #define tt_want_ptr_op(a,op,b) \ argument
206 tt_assert_test_type(a,b,#a" "#op" "#b,const void*, \
207 (val1_ op val2_),"%p",(void)0)
209 #define tt_want_str_op(a,op,b) \ argument
210 tt_assert_test_type(a,b,#a" "#op" "#b,const char *, \
211 (strcmp(val1_,val2_) op 0),"<%s>",(void)0)