Home
last modified time | relevance | path

Searched refs:ut_line (Results 1 – 20 of 20) sorted by relevance

/external/toybox/toys/pending/
Dlast.c61 if (!strncmp(ut->ut_line, devname, UT_LINESIZE)) { in find_and_dlink()
111 if (*ut.ut_line == '~') { in last_main()
116 else if (*ut.ut_user && *ut.ut_line && ut.ut_type != DEAD_PROCESS in last_main()
122 if (ut.ut_line[0] == '|') ut.ut_type = OLD_TIME; in last_main()
123 if (ut.ut_line[0] == '{') ut.ut_type = NEW_TIME; in last_main()
134 strcpy(ut.ut_line, "system boot"); in last_main()
137 ut.ut_line, pwidth, pwidth, ut.ut_host, in last_main()
141 } else if (ut.ut_type == USER_PROCESS && *ut.ut_line) { in last_main()
142 struct arg_list *l = find_and_dlink(&TT.list, ut.ut_line); in last_main()
148 ut.ut_line, pwidth, pwidth, ut.ut_host, in last_main()
[all …]
Dgetty.c203 xstrncpy(entry.ut_line, ttyname(0) + strlen("/dev/"), sizeof(entry.ut_line)); in utmp_entry()
/external/libcap/contrib/sucap/
Dsu.c866 static const struct utmp *find_utmp_entry(const char *ut_line, in find_utmp_entry() argument
877 !strncmp(u_tmp_p->ut_line, ut_line, UT_LINESIZE)) in find_utmp_entry()
886 static void set_terminal_name(const char *terminal, char *ut_line, char *ut_id) in set_terminal_name() argument
888 memset(ut_line, 0, UT_LINESIZE); in set_terminal_name()
904 strncpy(ut_line, terminal + o1, UT_LINESIZE); in set_terminal_name()
910 strncpy(ut_line, terminal, UT_LINESIZE); in set_terminal_name()
913 strncpy(ut_line, terminal, UT_LINESIZE); in set_terminal_name()
1019 char ut_line[UT_LINESIZE], ut_id[UT_IDSIZE]; in utmp_do_open_session() local
1022 set_terminal_name(terminal, ut_line, ut_id); in utmp_do_open_session()
1026 u_tmp_p = find_utmp_entry(ut_line, ut_id); in utmp_do_open_session()
[all …]
/external/python/cpython2/Demo/rpc/
Drnusersclient.py9 ut_line, ut_name, ut_host, ut_time = utmp
10 self.pack_string(ut_line)
24 ut_line = self.unpack_string()
28 return ut_line, ut_name, ut_host, ut_time
/external/toybox/toys/other/
Dw.c28 xprintf("\n%-9.8s%-9.8s %-4.24s (%-1.12s)", x->ut_user, x->ut_line, in w_main()
/external/toybox/toys/posix/
Dwho.c39 printf("%s\t%s\t%s (%s)\n", entry->ut_user, entry->ut_line, in who_main()
/external/rust/crates/libc/src/unix/linux_like/linux/musl/
Dmod.rs297 pub ut_line: [::c_char; 32],
391 && self.ut_line == other.ut_line
416 .field("ut_line", &self.ut_line)
435 self.ut_line.hash(state);
/external/musl/include/
Dutmpx.h21 char ut_line[32]; member
/external/rust/crates/libc/src/unix/linux_like/linux/gnu/
Dmod.rs459 pub ut_line: [::c_char; __UT_LINESIZE],
503 && self.ut_line == other.ut_line
526 .field("ut_line", &self.ut_line)
543 self.ut_line.hash(state);
/external/rust/crates/libc/src/unix/bsd/freebsdlike/dragonfly/
Dmod.rs421 pub ut_line: [::c_char; 32],
540 && self.ut_line == other.ut_line
562 .field("ut_line", &self.ut_line)
579 self.ut_line.hash(state);
/external/rust/crates/libc/src/unix/haiku/
Dmod.rs478 pub ut_line: [::c_char; 16],
493 && self.ut_line == other.ut_line
509 .field("ut_line", &self.ut_line)
523 self.ut_line.hash(state);
/external/rust/crates/libc/src/unix/bsd/netbsdlike/netbsd/
Dmod.rs394 pub ut_line: [::c_char; UT_LINESIZE],
719 pub ut_line: [::c_char; _UTX_LINESIZE],
845 && self.ut_line == other.ut_line
871 .field("ut_line", &self.ut_line)
889 self.ut_line.hash(state);
/external/rust/crates/libc/src/unix/bsd/netbsdlike/openbsd/
Dmod.rs592 pub ut_line: [::c_char; UT_LINESIZE],
750 .ut_line
752 .zip(other.ut_line.iter())
782 self.ut_line.hash(state);
/external/rust/crates/libc/src/unix/solarish/
Dmod.rs414 pub ut_line: [::c_char; 12],
495 pub ut_line: [::c_char; _UTX_LINESIZE],
585 && self.ut_line == other.ut_line
607 .field("ut_line", &self.ut_line)
625 self.ut_line.hash(state);
/external/ipsec-tools/src/racoon/
Disakmp_cfg.c1675 strncpy(ut.ut_line, term, UT_LINESIZE);
1676 ut.ut_line[UT_LINESIZE - 1] = '\0';
1686 ut.ut_name, ut.ut_line, ut.ut_host);
/external/rust/crates/libc/src/unix/linux_like/android/
Dmod.rs535 pub ut_line: [::c_char; UT_LINESIZE],
767 .ut_line
769 .zip(other.ut_line.iter())
797 .field("ut_line", &self.ut_line)
814 self.ut_line.hash(state);
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/
Dmod.rs1019 pub ut_line: [::c_char; 16],
1231 && self.ut_line == other.ut_line
1253 .field("ut_line", &self.ut_line)
1266 self.ut_line.hash(state);
/external/ppp/pppd/
Dsys-linux.c2198 strncpy(ut.ut_line, line, sizeof(ut.ut_line)); in logwtmp()
Dsys-solaris.c2471 strncpy(utmpx.ut_line, line, sizeof(utmpx.ut_line));
/external/rust/crates/libc/src/unix/bsd/apple/
Dmod.rs1138 pub ut_line: [::c_char; _UTX_LINESIZE],
1849 && self.ut_line == other.ut_line
1869 .field("ut_line", &self.ut_line)
1883 self.ut_line.hash(state);