/freebsd-11-stable/sys/dev/bvm/ |
H A D | bvm_console.c | 107 struct tty *tp; local 110 tp = tty_alloc(&bvm_ttydevsw, NULL); 111 callout_init_mtx(&bvm_timer, tty_getlock(tp), 0); 112 tty_makedev(tp, NULL, "bvmcons"); 117 bvm_tty_open(struct tty *tp) argument 122 callout_reset(&bvm_timer, polltime, bvm_timeout, tp); 128 bvm_tty_close(struct tty *tp) argument 131 tty_lock_assert(tp, MA_OWNED); 136 bvm_tty_outwakeup(struct tty *tp) argument 142 len = ttydisc_getc(tp, bu 155 struct tty *tp; local [all...] |
/freebsd-11-stable/lib/libc/tests/stdio/ |
H A D | fopen_test.c | 181 ATF_TP_ADD_TCS(tp) 184 ATF_TP_ADD_TC(tp, fopen_r_test); 185 ATF_TP_ADD_TC(tp, fopen_r_append_test); 186 ATF_TP_ADD_TC(tp, fopen_w_test); 187 ATF_TP_ADD_TC(tp, fopen_w_append_test); 188 ATF_TP_ADD_TC(tp, fopen_a_test); 189 ATF_TP_ADD_TC(tp, fopen_a_append_test); 190 ATF_TP_ADD_TC(tp, fopen_re_test); 191 ATF_TP_ADD_TC(tp, fopen_r_append_e_test); 192 ATF_TP_ADD_TC(tp, fopen_we_tes [all...] |
/freebsd-11-stable/share/examples/tests/tests/atf/ |
H A D | printf_test.c | 150 ATF_TP_ADD_TCS(tp) 152 ATF_TP_ADD_TC(tp, snprintf__two_formatters); 153 ATF_TP_ADD_TC(tp, snprintf__overflow); 154 ATF_TP_ADD_TC(tp, fprintf__simple_string);
|
/freebsd-11-stable/contrib/amd/amd/ |
H A D | info_ndbm.c | 52 int ndbm_init(mnt_map *m, char *map, time_t *tp); 53 int ndbm_mtime(mnt_map *m, char *map, time_t *tp); 54 int ndbm_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp); 77 ndbm_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument 94 if (!error && *tp < stb.st_mtime) { 95 *tp = stb.st_mtime; 108 ndbm_init(mnt_map *m, char *map, time_t *tp) argument 126 *tp = clocktime(NULL); 128 *tp = stb.st_mtime; 137 ndbm_mtime(mnt_map *m, char *map, time_t *tp) argument [all...] |
/freebsd-11-stable/contrib/netbsd-tests/fs/ffs/ |
H A D | t_quota2_1.c | 100 ATF_TP_ADD_TCS(tp) 103 ATF_TP_ADD_TC(tp, quota_40_O1_le); 104 ATF_TP_ADD_TC(tp, quota_40_O1_be); 105 ATF_TP_ADD_TC(tp, quota_40_O2_le); 106 ATF_TP_ADD_TC(tp, quota_40_O2_be); 107 ATF_TP_ADD_TC(tp, quota_40_O1_log); 108 ATF_TP_ADD_TC(tp, quota_40_O2_log); 109 ATF_TP_ADD_TC(tp, quota_1000_O1_le); 110 ATF_TP_ADD_TC(tp, quota_1000_O1_be); 111 ATF_TP_ADD_TC(tp, quota_1000_O2_l [all...] |
/freebsd-11-stable/usr.sbin/dumpcis/ |
H A D | printcis.c | 49 static void dump_config_map(struct tuple *tp); 50 static void dump_cis_config(struct tuple *tp); 67 struct tuple *tp; local 74 for (tp = tl->tuples; tp; tp = tp->next) { 76 ++count, tp->code, tuple_name(tp->code), tp 183 dump_config_map(struct tuple *tp) argument 504 dump_cis_config(struct tuple *tp) argument [all...] |
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/string/ |
H A D | t_strcspn.c | 53 ATF_TP_ADD_TCS(tp) 56 ATF_TP_ADD_TC(tp, strcspn);
|
H A D | t_strspn.c | 55 ATF_TP_ADD_TCS(tp) 58 ATF_TP_ADD_TC(tp, strspn);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/ |
H A D | t_gdtoa.c | 61 ATF_TP_ADD_TCS(tp) 64 ATF_TP_ADD_TC(tp, long_format);
|
/freebsd-11-stable/lib/libthr/arch/sparc64/include/ |
H A D | pthread_md.h | 64 register struct tcb *tp __asm("%g7"); 66 return (tp);
|
/freebsd-11-stable/usr.bin/calendar/ |
H A D | day.c | 52 struct tm tp; local 54 localtime_r(&now, &tp); 58 after = tp.tm_wday == friday ? 3 : 1; 89 struct tm tm, tp; local 92 localtime_r(&t, &tp); 95 tm.tm_mday = tp.tm_mday; 96 tm.tm_mon = tp.tm_mon; 97 tm.tm_year = tp.tm_year;
|
/freebsd-11-stable/contrib/netbsd-tests/rump/rumpkern/ |
H A D | t_tsleep.c | 58 ATF_TP_ADD_TCS(tp) 60 ATF_TP_ADD_TC(tp, tsleep);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/execve/ |
H A D | t_execve.c | 54 ATF_TP_ADD_TCS(tp) 56 ATF_TP_ADD_TC(tp, t_execve_null);
|
/freebsd-11-stable/lib/libkvm/tests/ |
H A D | kvm_close_test.c | 50 ATF_TP_ADD_TCS(tp) 53 ATF_TP_ADD_TC(tp, kvm_close_negative_test_NULL);
|
/freebsd-11-stable/lib/libkvm/ |
H A D | kvm_sparc64.h | 73 #define SPARC64_TTE_GET_SIZE(tp) \ 74 (((tp)->tte_data >> SPARC64_TD_SIZE_SHIFT) & SPARC64_TD_SIZE_MASK) 76 #define SPARC64_TTE_GET_PA(tp) \ 77 ((tp)->tte_data & (SPARC64_TD_PA_MASK << SPARC64_TD_PA_SHIFT)) 85 sparc64_tte_match(struct sparc64_tte *tp, kvaddr_t va) argument 88 return (((tp->tte_data & SPARC64_TD_V) != 0) && 89 (tp->tte_vpn == SPARC64_TV_VPN(va, SPARC64_TTE_GET_SIZE(tp))));
|
/freebsd-11-stable/sys/dev/uart/ |
H A D | uart_tty.c | 162 uart_tty_open(struct tty *tp) argument 166 sc = tty_softc(tp); 176 uart_tty_close(struct tty *tp) argument 180 sc = tty_softc(tp); 196 uart_tty_outwakeup(struct tty *tp) argument 200 sc = tty_softc(tp); 211 if ((tp->t_termios.c_cflag & CCTS_OFLOW) && !sc->sc_hwoflow && 215 sc->sc_txdatasz = ttydisc_getc(tp, sc->sc_txbuf, sc->sc_txfifosz); 221 uart_tty_inwakeup(struct tty *tp) argument 225 sc = tty_softc(tp); 238 uart_tty_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td __unused) argument 258 uart_tty_param(struct tty *tp, struct termios *t) argument 303 uart_tty_modem(struct tty *tp, int biton, int bitoff) argument 317 struct tty *tp; local 380 uart_tty_busy(struct tty *tp) argument 407 struct tty *tp; local 431 struct tty *tp; local [all...] |
/freebsd-11-stable/contrib/less/ |
H A D | tags.c | 78 #define TAG_INS(tp) \ 79 (tp)->next = TAG_END; \ 80 (tp)->prev = taglist.tl_last; \ 81 taglist.tl_last->next = (tp); \ 82 taglist.tl_last = (tp); 84 #define TAG_RM(tp) \ 85 (tp)->next->prev = (tp)->prev; \ 86 (tp)->prev->next = (tp) 94 struct tag *tp; local 123 struct tag *tp; local 284 struct tag *tp; local 505 struct tag *tp; local 636 struct tag *tp; local 666 struct tag *tp; local [all...] |
/freebsd-11-stable/lib/libc/tests/net/ |
H A D | eui64_aton_test.c | 94 ATF_TP_ADD_TCS(tp) 97 ATF_TP_ADD_TC(tp, id_ascii); 98 ATF_TP_ADD_TC(tp, id_colon_ascii); 99 ATF_TP_ADD_TC(tp, mac_ascii); 100 ATF_TP_ADD_TC(tp, mac_colon_ascii); 101 ATF_TP_ADD_TC(tp, hex_ascii);
|
/freebsd-11-stable/usr.bin/w/ |
H A D | pr_time.c | 56 struct tm tp, tm; local 61 tp = *localtime(started); 70 else if (tm.tm_mday != tp.tm_mday || 71 tm.tm_mon != tp.tm_mon || 72 tm.tm_year != tp.tm_year) { 83 (void)wcsftime(buf, sizeof(buf), fmt, &tp);
|
/freebsd-11-stable/usr.bin/xlint/lint2/ |
H A D | emit2.c | 54 outtype(type_t *tp) argument 60 while (tp != NULL) { 61 if ((ts = tp->t_tspec) == INT && tp->t_isenum) 85 if (tp->t_args != NULL && !tp->t_proto) { 95 if (tp->t_const) 97 if (tp->t_volatile) 103 outint(tp->t_dim); 105 if (tp [all...] |
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | write_entry.c | 59 write_file(char *filename, TERMTYPE *tp) argument 72 if (write_object(tp, buffer, &offset, limit) == ERR 250 _nc_write_entry(TERMTYPE *const tp) argument 279 char *term_names = tp->term_names; 319 if (write_object(tp, buffer + 1, &offset, limit - 1) != ERR) { 402 write_file(filename, tp); 472 write_file(linkname, tp); 486 write_file(linkname, tp); 567 extended_Booleans(TERMTYPE *tp) argument 572 for (i = 0; i < tp 580 extended_Numbers(TERMTYPE *tp) argument 593 extended_Strings(TERMTYPE *tp) argument 610 extended_object(TERMTYPE *tp) argument 624 write_object(TERMTYPE *tp, char *buffer, unsigned *offset, unsigned limit) argument [all...] |
/freebsd-11-stable/contrib/ntp/lib/isc/ |
H A D | inet_ntop.c | 123 char tmp[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")], *tp; local 163 tp = tmp; 169 *tp++ = ':'; 174 *tp++ = ':'; 179 if (!inet_ntop4(src+12, tp, 180 sizeof(tmp) - (tp - tmp))) 182 tp += strlen(tp); 185 tp += snprintf(tp, sizeo [all...] |
/freebsd-11-stable/sys/dev/cfe/ |
H A D | cfe_console.c | 86 struct tty *tp; local 90 tp = tty_alloc(&cfe_ttydevsw, NULL); 91 callout_init_mtx(&cfe_timer, tty_getlock(tp), 0); 92 tty_makedev(tp, NULL, "cfecons"); 97 cfe_tty_open(struct tty *tp) argument 102 callout_reset(&cfe_timer, polltime, cfe_timeout, tp); 108 cfe_tty_close(struct tty *tp) argument 115 cfe_tty_outwakeup(struct tty *tp) argument 121 len = ttydisc_getc(tp, buf, sizeof buf); 138 struct tty *tp; local [all...] |
/freebsd-11-stable/lib/libc/tests/string/ |
H A D | strerror_test.c | 187 ATF_TP_ADD_TCS(tp) 190 ATF_TP_ADD_TC(tp, strerror_unknown_error); 191 ATF_TP_ADD_TC(tp, strerror_no_error); 192 ATF_TP_ADD_TC(tp, strerror_EPERM_test); 193 ATF_TP_ADD_TC(tp, strerror_EPFNOSUPPORT_test); 194 ATF_TP_ADD_TC(tp, strerror_ELAST_test); 195 ATF_TP_ADD_TC(tp, strerror_r__unknown_error); 196 ATF_TP_ADD_TC(tp, strerror_r__EPERM_one_byte_short); 197 ATF_TP_ADD_TC(tp, strerror_r__EPERM_unknown_error_one_byte_short); 198 ATF_TP_ADD_TC(tp, strerror_r__EPERM_unknown_error_two_bytes_shor [all...] |
/freebsd-11-stable/sys/dev/ofw/ |
H A D | ofw_console.c | 86 struct tty *tp; local 90 tp = tty_alloc(&ofw_ttydevsw, NULL); 91 tty_makedev(tp, NULL, "%s", "ofwcons"); 102 tty_makealias(tp, "%s", output); 103 callout_init_mtx(&ofw_timer, tty_getlock(tp), 0); 113 ofwtty_open(struct tty *tp) argument 119 callout_reset(&ofw_timer, polltime, ofw_timeout, tp); 125 ofwtty_close(struct tty *tp) argument 132 ofwtty_outwakeup(struct tty *tp) argument 138 len = ttydisc_getc(tp, bu 148 struct tty *tp; local [all...] |