Lines Matching refs:id2
23 sd_id128_t id, id2; in TEST() local
31 assert_se(sd_id128_from_string(t, &id2) == 0); in TEST()
32 assert_se(sd_id128_equal(id, id2)); in TEST()
34 assert_se(sd_id128_in_set(id, id2)); in TEST()
35 assert_se(sd_id128_in_set(id, id2, id)); in TEST()
92 assert_se(id128_read_fd(fd, ID128_PLAIN, &id2) == -EINVAL); in TEST()
95 assert_se(id128_read_fd(fd, ID128_UUID, &id2) >= 0); in TEST()
96 assert_se(sd_id128_equal(id, id2)); in TEST()
99 assert_se(id128_read_fd(fd, ID128_ANY, &id2) >= 0); in TEST()
100 assert_se(sd_id128_equal(id, id2)); in TEST()
110 assert_se(id128_read_fd(fd, ID128_UUID, &id2) == -EINVAL); in TEST()
113 assert_se(id128_read_fd(fd, ID128_PLAIN, &id2) >= 0); in TEST()
114 assert_se(sd_id128_equal(id, id2)); in TEST()
117 assert_se(id128_read_fd(fd, ID128_ANY, &id2) >= 0); in TEST()
118 assert_se(sd_id128_equal(id, id2)); in TEST()
128 assert_se(id128_read_fd(fd, ID128_UUID, &id2) == -EINVAL); in TEST()
131 assert_se(id128_read_fd(fd, ID128_PLAIN, &id2) >= 0); in TEST()
132 assert_se(sd_id128_equal(id, id2)); in TEST()
142 assert_se(id128_read_fd(fd, ID128_PLAIN, &id2) == -EINVAL); in TEST()
145 assert_se(id128_read_fd(fd, ID128_UUID, &id2) >= 0); in TEST()
146 assert_se(sd_id128_equal(id, id2)); in TEST()
149 …t_machine_app_specific(SD_ID128_MAKE(f0,3d,aa,eb,1c,33,4b,43,a7,32,17,29,44,bf,77,2e), &id2) >= 0); in TEST()
150 assert_se(sd_id128_equal(id, id2)); in TEST()
151 …t_machine_app_specific(SD_ID128_MAKE(51,df,0b,4b,c3,b0,4c,97,80,e2,99,b9,8c,a3,73,b8), &id2) >= 0); in TEST()
152 assert_se(!sd_id128_equal(id, id2)); in TEST()
173 sd_id128_t id = ID128_WALDI, id2; in TEST() local
180 assert_se(sd_id128_get_machine_app_specific(id, &id2) >= 0); in TEST()