• Home
  • Raw
  • Download

Lines Matching refs:SCALL

9 #define TEST(SCALL) \  argument
12 TST_RET = SCALL; \
16 #define TEST_VOID(SCALL) \ argument
19 SCALL; \
29 #define TESTPTR(SCALL) \ argument
32 TST_RET_PTR = (void*)SCALL; \
41 #define TST_MSG_(RES, FMT, SCALL, ...) \ argument
43 TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__))
45 #define TST_MSGP_(RES, FMT, PAR, SCALL, ...) \ argument
47 TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR)
49 #define TST_MSGP2_(RES, FMT, PAR, PAR2, SCALL, ...) \ argument
51 TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR, PAR2)
53 #define TST_EXP_POSITIVE_(SCALL, SSCALL, ...) \ argument
55 TEST(SCALL); \
75 #define TST_EXP_POSITIVE(SCALL, ...) \ argument
77 TST_EXP_POSITIVE_(SCALL, #SCALL, ##__VA_ARGS__); \
81 TST_RET, #SCALL, ##__VA_ARGS__); \
85 #define TST_EXP_FD_SILENT(SCALL, ...) TST_EXP_POSITIVE_(SCALL, #SCALL, ##__VA_ARGS__) argument
87 #define TST_EXP_FD(SCALL, ...) \ argument
89 TST_EXP_POSITIVE_(SCALL, #SCALL, ##__VA_ARGS__); \
93 #SCALL, ##__VA_ARGS__); \
96 #define TST_EXP_PID_SILENT(SCALL, ...) TST_EXP_POSITIVE_(SCALL, #SCALL, ##__VA_ARGS__) argument
98 #define TST_EXP_PID(SCALL, ...) \ argument
100 TST_EXP_POSITIVE_(SCALL, #SCALL, ##__VA_ARGS__); \
104 #SCALL, ##__VA_ARGS__); \
107 #define TST_EXP_VAL_SILENT_(SCALL, VAL, SSCALL, ...) \ argument
109 TEST(SCALL); \
123 #define TST_EXP_VAL_SILENT(SCALL, VAL, ...) TST_EXP_VAL_SILENT_(SCALL, VAL, #SCALL, ##__VA_ARGS__) argument
125 #define TST_EXP_VAL(SCALL, VAL, ...) \ argument
127 TST_EXP_VAL_SILENT_(SCALL, VAL, #SCALL, ##__VA_ARGS__); \
130 TST_MSG_(TPASS, " passed", #SCALL, ##__VA_ARGS__); \
134 #define TST_EXP_PASS_SILENT_(SCALL, SSCALL, ...) \ argument
136 TEST(SCALL); \
156 #define TST_EXP_PASS_SILENT(SCALL, ...) TST_EXP_PASS_SILENT_(SCALL, #SCALL, ##__VA_ARGS__) argument
158 #define TST_EXP_PASS(SCALL, ...) \ argument
160 TST_EXP_PASS_SILENT_(SCALL, #SCALL, ##__VA_ARGS__); \
163 TST_MSG_(TPASS, " passed", #SCALL, ##__VA_ARGS__); \
166 #define TST_EXP_FAIL_(PASS_COND, SCALL, SSCALL, ERRNO, ...) \ argument
168 TEST(SCALL); \
194 #define TST_EXP_FAIL(SCALL, ERRNO, ...) TST_EXP_FAIL_(TST_RET == 0, SCALL, #SCALL, ERRNO, ##__VA_AR… argument
196 #define TST_EXP_FAIL2(SCALL, ERRNO, ...) TST_EXP_FAIL_(TST_RET >= 0, SCALL, #SCALL, ERRNO, ##__VA_A… argument