Lines Matching refs:one
116 ManagedJournalFile *one, *two; in setup_sequential() local
117 one = test_open("one.journal"); in setup_sequential()
119 append_number(one, 1, NULL); in setup_sequential()
120 append_number(one, 2, NULL); in setup_sequential()
123 test_close(one); in setup_sequential()
128 ManagedJournalFile *one, *two; in setup_interleaved() local
129 one = test_open("one.journal"); in setup_interleaved()
131 append_number(one, 1, NULL); in setup_interleaved()
133 append_number(one, 3, NULL); in setup_interleaved()
135 test_close(one); in setup_interleaved()
212 ManagedJournalFile *one, *two; in TEST() local
222 UINT64_MAX, NULL, m, NULL, NULL, &one) == 0); in TEST()
224 append_number(one, 1, &seqnum); in TEST()
227 append_number(one, 2, &seqnum); in TEST()
231 assert_se(one->file->header->state == STATE_ONLINE); in TEST()
232 assert_se(!sd_id128_equal(one->file->header->file_id, one->file->header->machine_id)); in TEST()
233 assert_se(!sd_id128_equal(one->file->header->file_id, one->file->header->boot_id)); in TEST()
234 assert_se(sd_id128_equal(one->file->header->file_id, one->file->header->seqnum_id)); in TEST()
236 memcpy(&seqnum_id, &one->file->header->seqnum_id, sizeof(sd_id128_t)); in TEST()
239 UINT64_MAX, NULL, m, NULL, one, &two) == 0); in TEST()
242 assert_se(!sd_id128_equal(two->file->header->file_id, one->file->header->file_id)); in TEST()
243 assert_se(sd_id128_equal(one->file->header->machine_id, one->file->header->machine_id)); in TEST()
244 assert_se(sd_id128_equal(one->file->header->boot_id, one->file->header->boot_id)); in TEST()
245 assert_se(sd_id128_equal(one->file->header->seqnum_id, one->file->header->seqnum_id)); in TEST()
256 append_number(one, 5, &seqnum); in TEST()
260 append_number(one, 6, &seqnum); in TEST()
264 test_close(one); in TEST()