Lines Matching refs:b
11 static void test_one_address(sd_bus *b, in test_one_address() argument
16 r = bus_set_address_system_remote(b, host); in test_one_address()
17 log_info("\"%s\" → %d, \"%s\"", host, r, strna(r >= 0 ? b->address : NULL)); in test_one_address()
21 assert_se(streq(b->address, expected)); in test_one_address()
26 _cleanup_(sd_bus_unrefp) sd_bus *b = NULL; in TEST()
28 assert_se(sd_bus_new(&b) >= 0); in TEST()
31 test_one_address(b, *a, 0, NULL); in TEST()
35 test_one_address(b, "host", in TEST()
37 test_one_address(b, "host:123", in TEST()
39 test_one_address(b, "host:123:123", in TEST()
41 test_one_address(b, "host:", in TEST()
43 test_one_address(b, "user@host", in TEST()
45 test_one_address(b, "user@host@host", in TEST()
47 test_one_address(b, "[::1]", in TEST()
49 test_one_address(b, "user@[::1]", in TEST()
51 test_one_address(b, "user@[::1]:99", in TEST()
53 test_one_address(b, "user@[::1]:", in TEST()
55 test_one_address(b, "user@[::1:", in TEST()
57 test_one_address(b, "user@", in TEST()
59 test_one_address(b, "user@@", in TEST()