Lines Matching refs:expret
357 #define EXPECT_SYSER2(cond, expr, expret, experr1, experr2) \ argument
358 …do { if (!(cond)) result(llen, SKIPPED); else ret += expect_syserr2(expr, expret, experr1, experr2…
360 #define EXPECT_SYSER(cond, expr, expret, experr) \ argument
361 EXPECT_SYSER2(cond, expr, expret, experr, 0)
364 int expect_syserr2(int expr, int expret, int experr1, int experr2, int llen) in expect_syserr2() argument
370 if (expr != expret || (_errno != experr1 && _errno != experr2)) { in expect_syserr2()
373 llen += printf(" != (%d %s) ", expret, errorname(experr1)); in expect_syserr2()
375 llen += printf(" != (%d %s %s) ", expret, errorname(experr1), errorname(experr2)); in expect_syserr2()
511 #define EXPECT_PTRER2(cond, expr, expret, experr1, experr2) \ argument
512 …do { if (!(cond)) result(llen, SKIPPED); else ret += expect_ptrerr2(expr, expret, experr1, experr2…
514 #define EXPECT_PTRER(cond, expr, expret, experr) \ argument
515 EXPECT_PTRER2(cond, expr, expret, experr, 0)
518 int expect_ptrerr2(const void *expr, const void *expret, int experr1, int experr2, int llen) in expect_ptrerr2() argument
524 if (expr != expret || (_errno != experr1 && _errno != experr2)) { in expect_ptrerr2()
527 llen += printf(" != (<%p> %s) ", expret, errorname(experr1)); in expect_ptrerr2()
529 llen += printf(" != (<%p> %s %s) ", expret, errorname(experr1), errorname(experr2)); in expect_ptrerr2()