/third_party/toybox/toys/pending/ |
D | last.c | 112 if (!strcmp(ut.ut_user, "runlevel")) ut.ut_type = RUN_LVL; in last_main() 113 else if (!strcmp(ut.ut_user, "reboot")) ut.ut_type = BOOT_TIME; in last_main() 114 else if (!strcmp(ut.ut_user, "shutdown")) ut.ut_type = SHUTDOWN_TIME; in last_main() 115 } else if (!*ut.ut_user) ut.ut_type = DEAD_PROCESS; in last_main() 116 else if (*ut.ut_user && *ut.ut_line && ut.ut_type != DEAD_PROCESS in last_main() 117 && strcmp(ut.ut_user, "LOGIN")) ut.ut_type = USER_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() 126 if ((ut.ut_type == SHUTDOWN_TIME) || ((ut.ut_type == RUN_LVL) && in last_main() 132 } else if (ut.ut_type == BOOT_TIME) { in last_main() [all …]
|
D | getty.c | 273 if (utp_ptr->ut_pid == pid && utp_ptr->ut_type >= INIT_PROCESS) break; in utmp_entry() 275 entry.ut_type = LOGIN_PROCESS; in utmp_entry()
|
/third_party/toybox/toys/other/ |
D | w.c | 26 if (x->ut_type==7) { in w_main()
|
D | uptime.c | 73 while ((entry = getutxent())) if (entry->ut_type == USER_PROCESS) users++; in uptime_main()
|
/third_party/toybox/toys/posix/ |
D | who.c | 35 if (FLAG(a) || entry->ut_type == USER_PROCESS) { in who_main()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/musl/ |
D | mod.rs | 296 pub ut_type: ::c_short, 397 self.ut_type == other.ut_type 422 .field("ut_type", &self.ut_type) 441 self.ut_type.hash(state);
|
/third_party/musl/ndk_musl_include/ |
D | utmpx.h | 18 short ut_type; member
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | utmpx.h | 18 short ut_type; member
|
/third_party/musl/include/ |
D | utmpx.h | 18 short ut_type; member
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | utmpx.h | 18 short ut_type; member
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | utmpx.h | 18 short ut_type; member
|
/third_party/musl/libc-test/src/api/ |
D | utmpx.c | 15 F(short, ut_type) in f()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/ |
D | mod.rs | 457 pub ut_type: ::c_short, 501 self.ut_type == other.ut_type 524 .field("ut_type", &self.ut_type) 541 self.ut_type.hash(state);
|
/third_party/toybox/lib/ |
D | portability.h | 222 struct utmpx {int ut_type;}; member
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/dragonfly/ |
D | mod.rs | 426 pub ut_type: u16, 548 && self.ut_type == other.ut_type 566 .field("ut_type", &self.ut_type) 583 self.ut_type.hash(state);
|
/third_party/rust/crates/libc/src/unix/haiku/ |
D | mod.rs | 473 pub ut_type: ::c_short, 488 self.ut_type == other.ut_type 504 .field("ut_type", &self.ut_type) 518 self.ut_type.hash(state);
|
/third_party/node/deps/uv/src/unix/ |
D | aix.c | 1028 if (utmp_buf->ut_user[0] && utmp_buf->ut_type == USER_PROCESS) in uv_uptime() 1030 if (utmp_buf->ut_type == BOOT_TIME) in uv_uptime()
|
D | os390.c | 220 u.ut_type = BOOT_TIME; in uv_uptime()
|
/third_party/libuv/src/unix/ |
D | aix.c | 1028 if (utmp_buf->ut_user[0] && utmp_buf->ut_type == USER_PROCESS) in uv_uptime() 1030 if (utmp_buf->ut_type == BOOT_TIME) in uv_uptime()
|
D | os390.c | 220 u.ut_type = BOOT_TIME; in uv_uptime()
|
/third_party/rust/crates/libc/src/unix/solarish/ |
D | mod.rs | 416 pub ut_type: ::c_short, 497 pub ut_type: ::c_short, 582 self.ut_type == other.ut_type 609 .field("ut_type", &self.ut_type) 623 self.ut_type.hash(state);
|
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/netbsd/ |
D | mod.rs | 722 pub ut_type: u16, 842 self.ut_type == other.ut_type 874 .field("ut_type", &self.ut_type) 887 self.ut_type.hash(state);
|
/third_party/rust/crates/libc/src/unix/linux_like/android/ |
D | mod.rs | 533 pub ut_type: ::c_short, 764 self.ut_type == other.ut_type 795 .field("ut_type", &self.ut_type) 812 self.ut_type.hash(state);
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/ |
D | mod.rs | 1014 pub ut_type: ::c_short, 1226 self.ut_type == other.ut_type 1248 .field("ut_type", &self.ut_type) 1261 self.ut_type.hash(state);
|
/third_party/rust/crates/libc/src/unix/bsd/apple/ |
D | mod.rs | 1140 pub ut_type: ::c_short, 1851 && self.ut_type == other.ut_type 1871 .field("ut_type", &self.ut_type) 1885 self.ut_type.hash(state);
|