Searched refs:s1 (Results 1 - 6 of 6) sorted by relevance

/systemd/src/basic/
H A Dconf-files.c84 const char *s1, *s2; local
86 s1 = *(char * const *)a;
88 return strcmp(basename(s1), basename(s2));
/systemd/src/login/
H A Dlogind-user.c768 static int elect_display_compare(Session *s1, Session *s2) { argument
779 /* Calculate the partial order relationship between s1 and s2,
780 * returning < 0 if s1 is preferred as the user’s ‘primary session’,
781 * 0 if s1 and s2 are equally preferred or incomparable, or > 0 if s2
784 * s1 or s2 may be NULL. */
785 if (!s1 && !s2)
788 if ((s1 == NULL) != (s2 == NULL))
789 return (s1 == NULL) - (s2 == NULL);
791 if (s1->stopping != s2->stopping)
792 return s1
[all...]
H A Dloginctl.c443 char since1[FORMAT_TIMESTAMP_RELATIVE_MAX], *s1; local
464 s1 = format_timestamp_relative(since1, sizeof(since1), i.timestamp.realtime);
467 if (s1)
468 printf("\t Since: %s; %s\n", s2, s1);
571 char since1[FORMAT_TIMESTAMP_RELATIVE_MAX], *s1; local
590 s1 = format_timestamp_relative(since1, sizeof(since1), i.timestamp.realtime);
593 if (s1)
594 printf("\t Since: %s; %s\n", s2, s1);
/systemd/src/boot/efi/
H A Dboot.c870 static INTN str_verscmp(CHAR16 *s1, CHAR16 *s2) { argument
871 CHAR16 *os1 = s1;
874 while (*s1 || *s2) {
877 while ((*s1 && !is_digit(*s1)) || (*s2 && !is_digit(*s2))) {
880 order = c_order(*s1) - c_order(*s2);
883 s1++;
887 while (*s1 == '0')
888 s1++;
893 while (is_digit(*s1)
[all...]
/systemd/src/machine/
H A Dmachinectl.c520 char since1[FORMAT_TIMESTAMP_RELATIVE_MAX], *s1; local
534 s1 = format_timestamp_relative(since1, sizeof(since1), i->timestamp.realtime);
537 if (s1)
538 printf("\t Since: %s; %s\n", s2, s1);
774 char ts_relative[FORMAT_TIMESTAMP_RELATIVE_MAX], *s1; local
798 s1 = format_timestamp_relative(ts_relative, sizeof(ts_relative), i->crtime);
800 if (s1 && s2)
801 printf("\t Created: %s; %s\n", s2, s1);
805 s1 = format_timestamp_relative(ts_relative, sizeof(ts_relative), i->mtime);
807 if (s1
[all...]
/systemd/src/systemctl/
H A Dsystemctl.c3415 char since1[FORMAT_TIMESTAMP_RELATIVE_MAX], *s1; local
3516 s1 = format_timestamp_relative(since1, sizeof(since1), timestamp);
3519 if (s1)
3520 printf(" since %s; %s\n", s2, s1);
3527 s1 = format_timestamp_relative(since1, sizeof(since1), i->condition_timestamp);
3532 s2, s1 ? "; " : "", strempty(s1));
3543 s1 = format_timestamp_relative(since1, sizeof(since1), i->assert_timestamp);
3548 s2, s1 ? "; " : "", strempty(s1));
[all...]

Completed in 1949 milliseconds