Searched defs:cursor (Results 1 - 7 of 7) sorted by relevance

/systemd/src/test/
H A Dtest-list.c30 list_item *cursor; local
42 LIST_FOREACH_OTHERS(item, cursor, &items[2]) {
44 assert_se(cursor != &items[2]);
49 LIST_FOREACH_OTHERS(item, cursor, &items[0]) {
51 assert_se(cursor != &items[0]);
56 LIST_FOREACH_OTHERS(item, cursor, &items[3]) {
58 assert_se(cursor != &items[3]);
74 LIST_FIND_HEAD(item, &items[0], cursor);
75 assert_se(cursor == &items[3]);
77 LIST_FIND_TAIL(item, &items[3], cursor);
[all...]
/systemd/src/journal-remote/
H A Djournal-upload-journal.c47 return log_error_errno(r, "Failed to get cursor: %m");
362 const char *cursor,
395 if (cursor) {
396 r = sd_journal_seek_cursor(j, cursor);
398 return log_error_errno(r, "Failed to seek to cursor %s: %m",
399 cursor);
360 open_journal_for_upload(Uploader *u, sd_journal *j, const char *cursor, bool after_cursor, bool follow) argument
H A Djournal-gatewayd.c57 char *cursor; member in struct:RequestMeta
111 free(m->cursor);
199 assert(m->cursor);
201 r = sd_journal_test_cursor(m->journal, m->cursor);
203 log_error_errno(r, "Failed to test cursor: %m");
308 m->cursor = strdup(range);
337 m->cursor = strndup(range, colon - range);
340 if (!m->cursor)
343 m->cursor[strcspn(m->cursor, WHITESPAC
[all...]
/systemd/src/boot/efi/
H A Dboot.c71 static VOID cursor_left(UINTN *cursor, UINTN *first) { argument
72 if ((*cursor) > 0)
73 (*cursor)--;
78 static VOID cursor_right(UINTN *cursor, UINTN *first, UINTN x_max, UINTN len) { argument
79 if ((*cursor)+1 < x_max)
80 (*cursor)++;
81 else if ((*first) + (*cursor) < len)
91 UINTN cursor; local
107 cursor = 0;
128 uefi_call_wrapper(ST->ConOut->SetCursorPosition, 3, ST->ConOut, cursor, y_po
[all...]
/systemd/src/shared/
H A Dlogs-show.c416 _cleanup_free_ char *cursor = NULL; local
450 r = sd_journal_get_cursor(j, &cursor);
452 return log_error_errno(r, "Failed to get cursor: %m");
458 cursor);
515 _cleanup_free_ char *cursor = NULL; local
531 r = sd_journal_get_cursor(j, &cursor);
533 return log_error_errno(r, "Failed to get cursor: %m");
540 cursor,
643 _cleanup_free_ char *cursor = NULL; local
664 r = sd_journal_get_cursor(j, &cursor);
[all...]
/systemd/src/journal/
H A Djournalctl.c291 " -c --cursor=CURSOR Show entries starting at the specified cursor\n"
292 " --after-cursor=CURSOR Show entries after the specified cursor\n"
293 " --show-cursor Print the cursor after all the entries\n"
416 { "cursor", required_argument, NULL, 'c' },
417 { "after-cursor", required_argument, NULL, ARG_AFTER_CURSOR },
418 { "show-cursor", no_argument, NULL, ARG_SHOW_CURSOR },
848 log_error("Please specify only one of --since=, --cursor
2469 _cleanup_free_ char *cursor = NULL; local
[all...]
H A Dsd-journal.c916 _public_ int sd_journal_get_cursor(sd_journal *j, char **cursor) { argument
923 assert_return(cursor, -EINVAL);
935 if (asprintf(cursor,
946 _public_ int sd_journal_seek_cursor(sd_journal *j, const char *cursor) { argument
961 assert_return(!isempty(cursor), -EINVAL);
963 FOREACH_WORD_SEPARATOR(word, l, cursor, ";", state) {
1051 _public_ int sd_journal_test_cursor(sd_journal *j, const char *cursor) { argument
1057 assert_return(!isempty(cursor), -EINVAL);
1072 r = extract_first_word(&cursor, &item, ";", EXTRACT_DONT_COALESCE_SEPARATORS);

Completed in 29 milliseconds