Searched defs:two (Results 1 - 4 of 4) sorted by relevance

/systemd/src/journal/
H A Dtest-journal-stream.c77 JournalFile *one, *two, *three; local
96 assert_se(journal_file_open("two.journal", O_RDWR|O_CREAT, 0666, true, false, NULL, NULL, NULL, &two) == 0);
127 assert_se(journal_file_append_entry(two, &ts, iovec, 2, NULL, NULL, NULL) == 0);
137 journal_file_close(two);
H A Dtest-journal-interleaving.c129 JournalFile *one, *two; local
131 two = test_open("two.journal");
134 append_number(two, 3, NULL);
135 append_number(two, 4, NULL);
137 test_close(two);
141 JournalFile *one, *two; local
143 two = test_open("two.journal");
145 append_number(two,
212 JournalFile *one, *two; local
[all...]
H A Dcatalog.c118 static char *combine_entries(const char *one, const char *two) { argument
125 b2 = skip_header(two);
128 l2 = strlen(two);
141 /* Headers from @two, these will only be found if not present above */
142 n = b2 - two;
143 p = mempcpy(p, two, n);
151 /* Body from @two */
153 n = l2 - (b2 - two);
/systemd/src/test/
H A Dtest-fileio.c41 _cleanup_free_ char *one = NULL, *two = NULL, *three = NULL, *four = NULL, *five = NULL, local
61 " two = bar \n"
85 assert_se(streq_ptr(a[1], "two=bar"));
107 "two", &two,
121 log_info("two=[%s]", strna(two));
132 assert_se(streq(two, "bar"));
174 "two=\"bar\\\n"
192 assert_se(streq_ptr(a[1], "two
[all...]

Completed in 45 milliseconds