Home
last modified time | relevance | path

Searched refs:cursor (Results 1 – 18 of 18) sorted by relevance

/systemd-251/src/boot/efi/
Dboot.c116 static void cursor_left(UINTN *cursor, UINTN *first) { in cursor_left() argument
117 assert(cursor); in cursor_left()
120 if ((*cursor) > 0) in cursor_left()
121 (*cursor)--; in cursor_left()
127 UINTN *cursor, in cursor_right() argument
132 assert(cursor); in cursor_right()
135 if ((*cursor)+1 < x_max) in cursor_right()
136 (*cursor)++; in cursor_right()
137 else if ((*first) + (*cursor) < len) in cursor_right()
148 UINTN size, len, first = 0, cursor = 0, clear = 0; in line_edit() local
[all …]
/systemd-251/src/test/
Dtest-list.c27 LIST_FOREACH_OTHERS(item, cursor, &items[2]) { in main()
29 assert_se(cursor != &items[2]); in main()
34 LIST_FOREACH_OTHERS(item, cursor, &items[0]) { in main()
36 assert_se(cursor != &items[0]); in main()
41 LIST_FOREACH_OTHERS(item, cursor, &items[3]) { in main()
43 assert_se(cursor != &items[3]); in main()
59 list_item *cursor; in main() local
60 LIST_FIND_HEAD(item, &items[0], cursor); in main()
61 assert_se(cursor == &items[3]); in main()
63 LIST_FIND_TAIL(item, &items[3], cursor); in main()
[all …]
/systemd-251/src/journal-remote/
Djournal-gatewayd.c54 char *cursor; member
106 free(m->cursor); in request_meta_free()
199 assert(m->cursor); in request_reader_entries()
201 r = sd_journal_test_cursor(m->journal, m->cursor); in request_reader_entries()
314 m->cursor = strdup(range); in request_parse_range()
343 m->cursor = strndup(range, colon - range); in request_parse_range()
346 if (!m->cursor) in request_parse_range()
349 m->cursor[strcspn(m->cursor, WHITESPACE)] = 0; in request_parse_range()
350 if (isempty(m->cursor)) in request_parse_range()
351 m->cursor = mfree(m->cursor); in request_parse_range()
[all …]
Djournal-upload-journal.c372 const char *cursor, in open_journal_for_upload() argument
405 if (cursor) { in open_journal_for_upload()
406 r = sd_journal_seek_cursor(j, cursor); in open_journal_for_upload()
409 cursor); in open_journal_for_upload()
Djournal-upload.h70 const char *cursor,
/systemd-251/shell-completion/zsh/
D_journalctl115 …{-c+,--cursor=}'[Start showing entries from the specified cursor]:cursors:_journalctl_field_values…
116 '--cursor-file=[Show entries using cursor store in file]:file:_files' \
117 …'--after-cursor=[Start showing entries from after the specified cursor]:cursors:_journalctl_field_…
/systemd-251/src/sysupdate/
Dsysupdate.c220 _cleanup_free_ char *cursor = NULL; in context_discover_update_sets_by_flag() local
247 if (cursor) { in context_discover_update_sets_by_flag()
248 if (strverscmp_improved(i->metadata.version, cursor) != 0) in context_discover_update_sets_by_flag()
251 cursor = strdup(i->metadata.version); in context_discover_update_sets_by_flag()
252 if (!cursor) in context_discover_update_sets_by_flag()
267 … if (!cursor) /* No suitable instance beyond the boundary found? Then we are done! */ in context_discover_update_sets_by_flag()
277 if (t->min_version && strverscmp_improved(t->min_version, cursor) > 0) in context_discover_update_sets_by_flag()
280 if (strv_contains(t->protected_versions, cursor)) in context_discover_update_sets_by_flag()
284 if (!cursor) /* EOL */ in context_discover_update_sets_by_flag()
287 r = free_and_strdup_warn(&boundary, cursor); in context_discover_update_sets_by_flag()
[all …]
/systemd-251/shell-completion/bash/
Djournalctl45 --show-cursor --dmesg -k --pager-end -e -r --reverse
51 [ARGUNKNOWN]='-c --cursor --interval -n --lines -S --since -U --until
52 --after-cursor --cursor-file --verify-key -g --grep
/systemd-251/src/systemd/
Dsd-journal.h120 int sd_journal_seek_cursor(sd_journal *j, const char *cursor);
122 int sd_journal_get_cursor(sd_journal *j, char **cursor);
123 int sd_journal_test_cursor(sd_journal *j, const char *cursor);
/systemd-251/src/shared/
Dlogs-show.c640 _cleanup_free_ char *cursor = NULL; in output_verbose() local
677 r = sd_journal_get_cursor(j, &cursor); in output_verbose()
685 cursor); in output_verbose()
756 _cleanup_free_ char *cursor = NULL; in output_export() local
775 r = sd_journal_get_cursor(j, &cursor); in output_export()
784 cursor, in output_export()
993 _cleanup_free_ char *cursor = NULL; in output_json() local
1014 r = sd_journal_get_cursor(j, &cursor); in output_json()
1022 r = update_json_data(h, flags, "__CURSOR", cursor, strlen(cursor)); in output_json()
/systemd-251/test/units/
Dtestsuite-36.sh55 journalctl --no-pager --cursor-file="$journalCursorFile" -n0 -ocat
64 journalctl -u "$unit" --cursor-file="$journalCursorFile" >"$journalLog"
Dtestsuite-64.sh492 local cursor link logfile mpoint
506 cursor="$(mktemp)"
507 journalctl --cursor-file="${cursor:?}" -n0 -q
538 …[[ "$(journalctl --after-cursor="$(<"$cursor")" -q --no-pager -o short-monotonic -p info --grep "D…
/systemd-251/src/journal/
Djournalctl.c2523 const char *cursor = arg_cursor ?: arg_after_cursor; in main() local
2533 cursor = cursor_from_file; in main()
2539 if (cursor) { in main()
2540 r = sd_journal_seek_cursor(j, cursor); in main()
2796 _cleanup_free_ char *cursor = NULL; in main() local
2798 r = sd_journal_get_cursor(j, &cursor); in main()
2803 printf("-- cursor: %s\n", cursor); in main()
2806 r = write_string_file(arg_cursor_file, cursor, in main()
/systemd-251/src/libsystemd/sd-journal/
Dsd-journal.c923 _public_ int sd_journal_get_cursor(sd_journal *j, char **cursor) { in sd_journal_get_cursor() argument
929 assert_return(cursor, -EINVAL); in sd_journal_get_cursor()
938 if (asprintf(cursor, in sd_journal_get_cursor()
949 _public_ int sd_journal_seek_cursor(sd_journal *j, const char *cursor) { in sd_journal_seek_cursor() argument
962 assert_return(!isempty(cursor), -EINVAL); in sd_journal_seek_cursor()
964 for (const char *p = cursor;;) { in sd_journal_seek_cursor()
1050 _public_ int sd_journal_test_cursor(sd_journal *j, const char *cursor) { in sd_journal_test_cursor() argument
1056 assert_return(!isempty(cursor), -EINVAL); in sd_journal_test_cursor()
1071 r = extract_first_word(&cursor, &item, ";", EXTRACT_DONT_COALESCE_SEPARATORS); in sd_journal_test_cursor()
/systemd-251/docs/
DJOURNAL_EXPORT_FORMATS.md136 …SOR`, `__REALTIME_TIMESTAMP`, `__MONOTONIC_TIMESTAMP`, which contain the cursor string of this ent…
Dstyle.css110 cursor: pointer;
/systemd-251/
DTODO1496 - journalctl: instead --after-cursor= maybe have a --cursor=XYZ+1 syntax?
DNEWS1080 * systemd-boot will now paint the input cursor on its own instead of
1082 firmware that doesn't make the cursor reasonably visible.
5031 * journalctl learnt a new --cursor-file= option that points to a file
5032 from which a cursor should be loaded in the beginning and to which
5033 the updated cursor should be stored at the end.
12162 * "journalctl --show-cursor" has been added which prints the
12163 cursor string the last shown log line. This may then be used
12164 with the new "journalctl --after-cursor=" switch to continue
13307 * journalctl gained a new --cursor= switch to show entries