Lines Matching refs:sd_bus_error_set_errnof
109 assert_se(sd_bus_error_set_errnof(&error, EIO, "Waldi %c", 'X') == -EIO); in TEST()
119 assert_se(sd_bus_error_set_errnof(&error, 0, "Waldi %c", 'X') == 0); in TEST()
220 TEST(sd_bus_error_set_errnof) { in TEST() argument
224 assert_se(sd_bus_error_set_errnof(NULL, 0, NULL) == 0); in TEST()
225 assert_se(sd_bus_error_set_errnof(NULL, ENOANO, NULL) == -ENOANO); in TEST()
227 assert_se(sd_bus_error_set_errnof(&error, 0, NULL) == 0); in TEST()
230 assert_se(sd_bus_error_set_errnof(&error, EACCES, NULL) == -EACCES); in TEST()
240 assert_se(sd_bus_error_set_errnof(&error, ENOANO, NULL) == -ENOANO); in TEST()
250 assert_se(sd_bus_error_set_errnof(&error, 100000, NULL) == -100000); in TEST()
260 assert_se(sd_bus_error_set_errnof(NULL, 0, "hoge %s: %m", "foo") == 0); in TEST()
261 assert_se(sd_bus_error_set_errnof(NULL, ENOANO, "hoge %s: %m", "foo") == -ENOANO); in TEST()
263 assert_se(sd_bus_error_set_errnof(&error, 0, "hoge %s: %m", "foo") == 0); in TEST()
266 assert_se(sd_bus_error_set_errnof(&error, EACCES, "hoge %s: %m", "foo") == -EACCES); in TEST()
276 assert_se(sd_bus_error_set_errnof(&error, ENOANO, "hoge %s: %m", "foo") == -ENOANO); in TEST()
286 assert_se(sd_bus_error_set_errnof(&error, 100000, "hoge %s: %m", "foo") == -100000); in TEST()