Lines Matching refs:xp_fail
103 bool xp_fail(int, const char *, ...) __printflike(2, 3);
766 xp_fail(__LINE__, fmt); \
768 bool xp_fail(int line, const char *fmt, ...) in xp_fail() function
811 r = xp_fail(line, "%s expects %d but %d", varname, exp, act); in xp_eq()
822 r = xp_fail(line, "%s expects \"%s\" but \"%s\"", in xp_eq_str()
835 r = xp_fail(line, "%s expects != %d but %d", varname, exp, act); in xp_ne()
848 r = xp_fail(__LINE__, "(%s) is expected but not met", exprname); in xp_if()
861 r = xp_fail(line, "%s expects %d but -1,err#%d(%s)", in xp_sys_eq()
881 r = xp_fail(line, "%s expects success but -1,err#%d(%s)", in xp_sys_ok()
895 r = xp_fail(line, "%s expects -1,err#%d but %d", in xp_sys_ng()
901 r = xp_fail(line, "%s expects -1,err#%d(%s) but -1,err#%d(%s)", in xp_sys_ng()
926 r = xp_fail(line, in xp_sys_ptr()
933 r = xp_fail(line, in xp_sys_ptr()
939 r = xp_fail(line, in xp_sys_ptr()