Searched refs:DIRECTION_DOWN (Results 1 - 4 of 4) sorted by relevance

/systemd/src/journal/
H A Dtest-journal.c66 assert_se(journal_file_next_entry(f, 0, DIRECTION_DOWN, &o, &p) == 1);
69 assert_se(journal_file_next_entry(f, p, DIRECTION_DOWN, &o, &p) == 1);
72 assert_se(journal_file_next_entry(f, p, DIRECTION_DOWN, &o, &p) == 1);
75 assert_se(journal_file_next_entry(f, p, DIRECTION_DOWN, &o, &p) == 0);
77 assert_se(journal_file_next_entry(f, 0, DIRECTION_DOWN, &o, &p) == 1);
81 assert_se(journal_file_next_entry_for_data(f, NULL, 0, p, DIRECTION_DOWN, &o, NULL) == 1);
91 assert_se(journal_file_next_entry_for_data(f, NULL, 0, p, DIRECTION_DOWN, &o, NULL) == 1);
96 assert_se(journal_file_move_to_entry_by_seqnum(f, 1, DIRECTION_DOWN, &o, NULL) == 1);
99 assert_se(journal_file_move_to_entry_by_seqnum(f, 3, DIRECTION_DOWN, &o, NULL) == 1);
102 assert_se(journal_file_move_to_entry_by_seqnum(f, 2, DIRECTION_DOWN,
[all...]
H A Dsd-journal.c540 if (np == 0 || (direction == DIRECTION_DOWN ? cp < np : cp > np))
562 assert(direction == DIRECTION_DOWN ? np >= after_offset : np <= after_offset);
572 assert(direction == DIRECTION_DOWN ? cp >= np : cp <= np);
573 if (direction == DIRECTION_DOWN ? cp > np : cp < np) {
618 return journal_file_next_entry_for_data(f, NULL, 0, dp, DIRECTION_DOWN, ret, offset);
647 if (np == 0 || (direction == DIRECTION_DOWN ? np > cp : np < cp))
685 if (np == 0 || (direction == DIRECTION_DOWN ? cp > np : cp < np))
711 return journal_file_next_entry(f, 0, DIRECTION_DOWN, ret, offset);
749 direction == DIRECTION_DOWN ? f->current_offset + 1
807 found = direction == DIRECTION_DOWN
[all...]
H A Djournal-file.h49 DIRECTION_DOWN enumerator in enum:direction
H A Djournal-file.c1791 r = direction == DIRECTION_DOWN ? TEST_RIGHT : TEST_LEFT;
1819 r = direction == DIRECTION_DOWN ? TEST_RIGHT : TEST_LEFT;
1839 r = direction == DIRECTION_DOWN ? TEST_RIGHT : TEST_LEFT;
1869 r = direction == DIRECTION_DOWN ? TEST_RIGHT : TEST_LEFT;
1957 r = direction == DIRECTION_DOWN ? TEST_RIGHT : TEST_LEFT;
1968 if (direction == DIRECTION_DOWN)
2238 i = direction == DIRECTION_DOWN ? 0 : n - 1;
2245 DIRECTION_DOWN,
2251 if (direction == DIRECTION_DOWN) {
2273 (direction == DIRECTION_DOWN
[all...]

Completed in 23 milliseconds