/dragonfly/lib/libc/gen/ |
H A D | utmpx.c | 85 (void)memset(&ut, 0, sizeof(ut)); in _open_db() 88 if (fwrite(&ut, sizeof(ut), 1, fp) != 1) in _open_db() 92 if (fread(&ut, sizeof(ut), 1, fp) != 1) in _open_db() 105 (void)memset(&ut, 0, sizeof(ut)); in _open_db() 143 (void)memset(&ut, 0, sizeof(ut)); in setutxent() 152 (void)memset(&ut, 0, sizeof(ut)); in endutxent() 169 if (fread(&ut, sizeof(ut), 1, fp) != 1) in getutxent() 174 (void)memset(&ut, 0, sizeof(ut)); in getutxent() 325 u = memcpy(&ut, &temp, sizeof(ut)); in pututxline() 357 return memcpy(&ut, utx, sizeof(ut)); in utmp_update() [all …]
|
/dragonfly/crypto/openssh/ |
H A D | loginrec.c | 657 memset(ut, '\0', sizeof(*ut)); in construct_utmp() 711 ut->ut_addr_v6[0] = ut->ut_addr_v6[3]; in construct_utmp() 910 if (atomicio(vwrite, fd, ut, sizeof(*ut)) != sizeof(*ut)) { in utmp_write_direct() 1104 if (atomicio(vwrite, fd, ut, sizeof(*ut)) != sizeof(*ut)) { in wtmp_write() 1212 if (atomicio(read, fd, &ut, sizeof(ut)) != sizeof(ut)) { in wtmp_get_entry() 1422 ut = xmalloc(sizeof(*ut)); in syslogin_perform_login() 1425 free(ut); in syslogin_perform_login() 1692 memset(&ut, 0, sizeof(ut)); in record_failed_login() 1694 strncpy(ut.ut_user, username, sizeof(ut.ut_user)); in record_failed_login() 1703 strncpy(ut.ut_host, hostname, sizeof(ut.ut_host)); in record_failed_login() [all …]
|
/dragonfly/libexec/ftpd/ |
H A D | logwtmpx.c | 51 struct utmpx ut; in ftpd_logwtmpx() local 53 memset(&ut, 0, sizeof(ut)); in ftpd_logwtmpx() 57 ut.ut_type = USER_PROCESS; in ftpd_logwtmpx() 58 (void)strncpy(ut.ut_user, user, sizeof(ut.ut_user)); in ftpd_logwtmpx() 60 realhostname_sa(ut.ut_host, sizeof(ut.ut_host), in ftpd_logwtmpx() 64 ut.ut_type = DEAD_PROCESS; in ftpd_logwtmpx() 67 ut.ut_pid = getpid(); in ftpd_logwtmpx() 68 gettimeofday(&ut.ut_tv, NULL); in ftpd_logwtmpx() 69 (void)strncpy(ut.ut_id, id, sizeof(ut.ut_id)); in ftpd_logwtmpx() 70 (void)strncpy(ut.ut_line, "ftpd", sizeof(ut.ut_line)); in ftpd_logwtmpx() [all …]
|
/dragonfly/lib/libutil/ |
H A D | logwtmpx.c | 51 struct utmpx ut; in logwtmpx() local 57 (void)memset(&ut, 0, sizeof(ut)); in logwtmpx() 58 (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line)); in logwtmpx() 59 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name)); in logwtmpx() 60 (void)strncpy(ut.ut_host, host, sizeof(ut.ut_host)); in logwtmpx() 61 ut.ut_type = type; in logwtmpx() 63 ut.ut_exit.e_exit = (uint16_t)WEXITSTATUS(status); in logwtmpx() 65 ut.ut_exit.e_termination = (uint16_t)WTERMSIG(status); in logwtmpx() 66 (void)gettimeofday(&ut.ut_tv, NULL); in logwtmpx() 67 (void)updwtmpx(_PATH_WTMPX, &ut); in logwtmpx()
|
H A D | logoutx.c | 50 struct utmpx *utp, ut; in logoutx() local 51 (void)strlcpy(ut.ut_line, line, sizeof(ut.ut_line)); in logoutx() 52 if ((utp = getutxline(&ut)) == NULL) { in logoutx()
|
H A D | loginx.c | 46 loginx(const struct utmpx *ut) in loginx() argument 48 (void)pututxline(ut); in loginx() 49 (void)updwtmpx(_PATH_WTMPX, ut); in loginx()
|
/dragonfly/usr.sbin/ppp/ |
H A D | id.c | 205 ID0login(const struct utmpx *ut) in ID0login() argument 208 pututxline(ut); in ID0login() 210 (int)sizeof ut->ut_id, ut->ut_id, in ID0login() 211 (int)sizeof ut->ut_user, ut->ut_user, in ID0login() 212 (int)sizeof ut->ut_line, ut->ut_line, in ID0login() 213 (int)sizeof ut->ut_host, ut->ut_host); in ID0login() 218 ID0logout(const struct utmpx *ut) in ID0logout() argument 221 pututxline(ut); in ID0logout() 223 (int)sizeof ut->ut_id, ut->ut_id); in ID0logout()
|
H A D | physical.c | 324 struct utmpx ut; in physical_Close() local 336 memset(&ut, 0, sizeof ut); in physical_Close() 339 snprintf(ut.ut_id, sizeof ut.ut_id, "%xppp", (int)getpid()); in physical_Close() 340 ID0logout(&ut); in physical_Close() 899 memset(&ut, 0, sizeof ut); in physical_Login() 902 snprintf(ut.ut_id, sizeof ut.ut_id, "%xppp", (int)getpid()); in physical_Login() 903 strncpy(ut.ut_user, name, sizeof ut.ut_user); in physical_Login() 906 strncpy(ut.ut_host, p->name.base, sizeof ut.ut_host); in physical_Login() 907 colon = memchr(ut.ut_host, ':', sizeof ut.ut_host); in physical_Login() 911 strncpy(ut.ut_line, p->name.base, sizeof ut.ut_line); in physical_Login() [all …]
|
/dragonfly/usr.bin/kdump/ |
H A D | kdump.c | 976 printf("%p = dlopen(%s) ref %d\n", ut->handle, ut->name, in ktruser_rtld() 980 printf("dlclose(%p) (%s, %d)\n", ut->handle, ut->name, in ktruser_rtld() 988 ut->mapbase, (char *)ut->mapbase + ut->mapsize - 1, in ktruser_rtld() 989 ut->name); in ktruser_rtld() 993 ut->mapbase, (char *)ut->mapbase + ut->mapsize - 1, in ktruser_rtld() 994 ut->name); in ktruser_rtld() 999 ut->handle, ut->name, ut->refcnt); in ktruser_rtld() 1006 ut->name); in ktruser_rtld() 1037 if (ut->s == 0 && ut->r == NULL) in ktruser_malloc() 1040 printf("%p = malloc(%zu)\n", ut->r, ut->s); in ktruser_malloc() [all …]
|
/dragonfly/libexec/rpc.rusersd/ |
H A D | rusers_proc.c | 155 static utmpidlearr ut; in do_names_2() local 159 memset(&ut, 0, sizeof(ut)); in do_names_2() 160 ut.utmpidlearr_val = &utmp_idle[0]; in do_names_2() 182 ut.utmpidlearr_len = nusers; in do_names_2() 183 return(&ut); in do_names_2() 207 static utmparr ut; in do_names_1() local 210 bzero((char *)&ut, sizeof(ut)); in do_names_1() 214 ut.utmparr_len = utidle->utmpidlearr_len; in do_names_1() 215 ut.utmparr_val = &old_utmp[0]; in do_names_1() 216 for (i = 0; i < ut.utmparr_len; i++) in do_names_1() [all …]
|
/dragonfly/libexec/talkd/ |
H A D | process.c | 182 struct utmpx *ut; /* avoid gcc warnings */ in find_user() local 195 while ((ut = getutxent()) != NULL) { in find_user() 196 if (ut->ut_type != USER_PROCESS) in find_user() 198 if (strncmp(ut->ut_name, name, sizeof(ut->ut_name)) != 0) in find_user() 204 strlcat(ftty, ut->ut_line, sizeof(ftty)); in find_user() 210 strlcpy(tty, ut->ut_line, ttylen); in find_user() 216 if (strcmp(ut->ut_line, tty) == 0) { in find_user()
|
/dragonfly/sbin/init/ |
H A D | init.c | 1779 struct utmpx ut; in make_utmpx() local 1782 (void)memset(&ut, 0, sizeof(ut)); in make_utmpx() 1783 (void)strlcpy(ut.ut_name, name, sizeof(ut.ut_name)); in make_utmpx() 1784 ut.ut_type = type; in make_utmpx() 1785 (void)strlcpy(ut.ut_line, line, sizeof(ut.ut_line)); in make_utmpx() 1786 ut.ut_pid = pid; in make_utmpx() 1788 ut.ut_tv = *tv; in make_utmpx() 1796 (void)strncpy(ut.ut_id, line, sizeof(ut.ut_id)); in make_utmpx() 1824 struct utmpx ut; in utmpx_set_runlevel() local 1834 (void)memset(&ut, 0, sizeof(ut)); in utmpx_set_runlevel() [all …]
|
/dragonfly/sys/sys/ |
H A D | atomic_common.h | 78 #define __atomic_load_generic(p, t, ut, n) \ argument 81 ut: __atomic_load_ ## n ## _relaxed(p)) 82 #define __atomic_store_generic(p, v, t, ut, n) \ argument 85 ut: __atomic_store_ ## n ## _relaxed(p, v)) 91 #define __atomic_load_generic(p, t, ut, n) \ argument 93 #define __atomic_store_generic(p, v, t, ut, n) \ argument
|
/dragonfly/contrib/diffutils/lib/ |
H A D | intprops.h | 424 #define _GL_INT_OP_CALC(a, b, r, op, overflow, ut, t, tmin, tmax) \ argument 426 ? _GL_INT_OP_CALC1 ((t) (a), (t) (b), r, op, overflow, ut, t, tmin, tmax) \ 427 : _GL_INT_OP_CALC1 (a, b, r, op, overflow, ut, t, tmin, tmax)) 428 #define _GL_INT_OP_CALC1(a, b, r, op, overflow, ut, t, tmin, tmax) \ argument 432 ? (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, ut, t), 1) \ 433 : (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, ut, t), 0)) 452 #define _GL_INT_OP_WRAPV_VIA_UNSIGNED(a, b, op, ut, t) \ argument 453 ((t) ((ut) (a) op (ut) (b)))
|
/dragonfly/contrib/grep/lib/ |
H A D | intprops.h | 448 # define _GL_INT_OP_WRAPV_SMALLISH(a,b,r,op,overflow,st,smin,smax,ut,umax) \ argument 451 : _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, ut, 0, umax)) 453 # define _GL_INT_OP_WRAPV_SMALLISH(a,b,r,op,overflow,st,smin,smax,ut,umax) \ argument 506 #define _GL_INT_OP_CALC(a, b, r, op, overflow, ut, t, tmin, tmax) \ argument 508 ? (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, ut, t), 1) \ 509 : (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, ut, t), 0)) 528 #define _GL_INT_OP_WRAPV_VIA_UNSIGNED(a, b, op, ut, t) \ argument 529 ((t) ((ut) (a) op (ut) (b)))
|
/dragonfly/usr.bin/getopt/ |
H A D | README | 1 /***** unido:mod.std.unix / ut-sally!jsq / 8:54 pm Jul 4, 1985*/ 2 From: John Quarterman (moderator) <ut-sally!std-unix> 14 To: ihnp4!ut-sally!std-unix 42 To: ihnp4!ut-sally!jsq@tzec.UTEXAS.ARPA
|
/dragonfly/usr.bin/calendar/ |
H A D | basics.c | 263 double ut = t - longitude / 360.0; /* local time -> universal time */ in apparent_from_local() local 264 return t + equation_of_time(ut); in apparent_from_local() 275 double ut = t - longitude / 360.0; /* local time -> universal time */ in local_from_apparent() local 276 return t - equation_of_time(ut); in local_from_apparent()
|
H A D | sun.c | 239 double ut = t - longitude / 360.0; /* local -> universal time */ in sine_offset() local 240 double lambda = solar_longitude(ut); in sine_offset() 241 double delta = declination(ut, 0, lambda); in sine_offset()
|
/dragonfly/usr.sbin/rwhod/ |
H A D | rwhod.c | 443 struct utmpx *ut; in send_host_information() local 455 while ((ut = getutxent()) != NULL && we < wend) { in send_host_information() 456 if (ut->ut_type != USER_PROCESS) in send_host_information() 458 strncpy(we->we_utmp.out_line, ut->ut_line, in send_host_information() 460 strncpy(we->we_utmp.out_name, ut->ut_user, in send_host_information() 463 htonl(_time_to_time32(ut->ut_tv.tv_sec)); in send_host_information()
|
/dragonfly/usr.bin/calendar/calendars/ |
H A D | calendar.judaic | 45 2018/4/19* Yom HaAtzma'ut 131 2019/5/9* Yom HaAtzma'ut 214 2020/4/29* Yom HaAtzma'ut 295 2021/4/15* Yom HaAtzma'ut 380 2022/5/5* Yom HaAtzma'ut 463 2023/4/26* Yom HaAtzma'ut 547 2024/5/14* Yom HaAtzma'ut 630 2025/5/1* Yom HaAtzma'ut 712 2026/4/22* Yom HaAtzma'ut 798 2027/5/12* Yom HaAtzma'ut
|
/dragonfly/contrib/cvs-1.12/lib/ |
H A D | strftime.c | 359 # define extra_args , ut, ns 360 # define extra_args_spec , int ut, int ns 372 # define ut 0 macro 455 if (ut) in my_strftime() 1292 if (ut) in my_strftime() 1371 const struct tm *tp, int ut) in libc_hidden_def() 1373 return my_strftime (s, maxsize, format, tp, ut, 0); in libc_hidden_def()
|
/dragonfly/lib/libc/rpc/ |
H A D | auth_time.c | 252 char ut[64], ipuaddr[64]; in __rpc_get_time_offset() local 377 sprintf(ut, "%d.%d.%d.%d.0.37", a1, a2, a3, a4); in __rpc_get_time_offset() 379 if (uaddr_to_sockaddr(ut, &sin)) { in __rpc_get_time_offset()
|
/dragonfly/share/timedef/ |
H A D | sk_SK.ISO8859-2.src | 37 ut
|
H A D | sk_SK.UTF-8.src | 37 ut
|
/dragonfly/contrib/gdb-7/gdb/stubs/ |
H A D | buildvms.com | 22 ut/opt
|