Lines Matching refs:result
21 static void check_p_d_u(const char *path, int code, const char *result) { in check_p_d_u() argument
26 printf("%s: %s → %s %d expected %s %d\n", __func__, path, unit, r, strnull(result), code); in check_p_d_u()
28 assert_se(streq_ptr(unit, result)); in check_p_d_u()
43 static void check_p_g_u(const char *path, int code, const char *result) { in check_p_g_u() argument
48 printf("%s: %s → %s %d expected %s %d\n", __func__, path, unit, r, strnull(result), code); in check_p_g_u()
50 assert_se(streq_ptr(unit, result)); in check_p_g_u()
67 static void check_p_g_u_u(const char *path, int code, const char *result) { in check_p_g_u_u() argument
72 printf("%s: %s → %s %d expected %s %d\n", __func__, path, unit, r, strnull(result), code); in check_p_g_u_u()
74 assert_se(streq_ptr(unit, result)); in check_p_g_u_u()
93 static void check_p_g_s(const char *path, int code, const char *result) { in check_p_g_s() argument
97 assert_se(streq_ptr(s, result)); in check_p_g_s()
107 static void check_p_g_o_u(const char *path, int code, uid_t result) { in check_p_g_o_u() argument
111 assert_se(uid == result); in check_p_g_o_u()
120 static void check_p_g_slice(const char *path, int code, const char *result) { in check_p_g_slice() argument
124 assert_se(streq_ptr(s, result)); in check_p_g_slice()
137 static void check_p_g_u_slice(const char *path, int code, const char *result) { in check_p_g_u_slice() argument
141 assert_se(streq_ptr(s, result)); in check_p_g_u_slice()