Home
last modified time | relevance | path

Searched refs:tp (Results 51 – 75 of 1350) sorted by relevance

12345678910>>...54

/freebsd/contrib/nvi/common/
H A Dput.c35 TEXT *ltp, *tp; in put() local
82 ++lno, ++sp->rptlines[L_ADDED], tp = TAILQ_NEXT(tp, q)) in put()
83 if (db_append(sp, 1, lno, tp->lb, tp->len)) in put()
95 for (; tp != NULL; in put()
96 ++lno, ++sp->rptlines[L_ADDED], tp = TAILQ_NEXT(tp, q)) in put()
97 if (db_append(sp, 1, lno, tp->lb, tp->len)) in put()
129 MEMCPY(t, tp->lb, tp->len); in put()
130 t += tp->len; in put()
208 for (tp = TAILQ_NEXT(tp, q); TAILQ_NEXT(tp, q) != NULL; in put()
209 ++lno, ++sp->rptlines[L_ADDED], tp = TAILQ_NEXT(tp, q)) in put()
[all …]
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dalloc_entry.c62 _nc_init_entry(ENTRY * const tp) in _nc_init_entry() argument
66 if (tp == 0) { in _nc_init_entry()
134 TERMTYPE2 *tp = &(ep->tterm); in _nc_wrap_entry() local
140 tp->term_names = _nc_save_str(tp->term_names); in _nc_wrap_entry()
141 for_each_string(i, tp) { in _nc_wrap_entry()
144 tp->Strings[i] = _nc_save_str(tp->Strings[i]); in _nc_wrap_entry()
154 free(tp->str_table); in _nc_wrap_entry()
181 tp->term_names = tp->str_table + n; in _nc_wrap_entry()
185 tp->Strings[i] = ABSENT_STRING; in _nc_wrap_entry()
189 tp->Strings[i] = tp->str_table + offsets[i]; in _nc_wrap_entry()
[all …]
H A Dwrite_entry.c442 write_file(filename, tp); in _nc_write_entry()
528 write_file(linkname, tp); in _nc_write_entry()
687 extended_object(TERMTYPE2 *tp) in extended_object() argument
693 + extended_Numbers(tp) in extended_object()
734 namelist = tp->term_names; in _nc_write_object()
832 if (extended_object(tp)) { in _nc_write_object()
875 if (tp->ext_Booleans in _nc_write_object()
877 tp->ext_Booleans) != tp->ext_Booleans) { in _nc_write_object()
886 if (tp->ext_Numbers) { in _nc_write_object()
887 numlen = convert_numbers(buf, tp->Numbers + NUMCOUNT, (size_t) tp->ext_Numbers); in _nc_write_object()
[all …]
/freebsd/usr.sbin/dumpcis/
H A Dprintcis.c70 for (tp = tl->tuples; tp; tp = tp->next) { in dumpcis()
72 ++count, tp->code, tuple_name(tp->code), tp->length); in dumpcis()
98 dump_longlink_mfc(tp->data, tp->length); in dumpcis()
101 dump_bar(tp->data, tp->length); in dumpcis()
118 dump_info_v1(tp->data, tp->length); in dumpcis()
136 dump_other_cond(tp->data, tp->length); in dumpcis()
140 dump_device_geo(tp->data, tp->length); in dumpcis()
154 dump_serial_ext(tp->data, tp->length); in dumpcis()
157 dump_disk_ext(tp->data, tp->length); in dumpcis()
165 dump_info_v2(tp->data, tp->length); in dumpcis()
[all …]
H A Dreadcis.h49 #define tpl32(tp) ((*((tp) + 3) << 24) | \ argument
50 (*((tp) + 2) << 16) | \
51 (*((tp) + 1) << 8) | *(tp))
52 #define tpl24(tp) ((*((tp) + 2) << 16) | \ argument
53 (*((tp) + 1) << 8) | *(tp))
54 #define tpl16(tp) ((*((tp) + 1) << 8) | *(tp)) argument
/freebsd/crypto/openssl/crypto/bn/asm/
H A Dsparcv9-mont.pl78 $tp="%l4";
157 add $tp,4,$tp ! tp++
230 add $tp,4,$tp ! tp++
265 add $tp,12,$tp
348 add $tp,4,$tp ! tp++
433 add $tp,4,$tp ! tp++
490 add $tp,4,$tp
510 add $tp,4,$tp
533 add $tp,4,$tp ! tp++
593 add $tp,4,$tp
[all …]
H A Dalpha-mont.pl42 $tp="t7";
113 mov sp,$tp
125 lda $tp,8($tp)
169 stq AT,16($tp)
200 mov sp,$tp
217 lda $tp,8($tp)
263 stq $j,0($tp)
276 mov sp,$tp
283 lda $tp,8($tp)
296 mov sp,$tp
[all …]
H A Dvis3-mont.pl186 add $tp, 8, $tp ! tp++
199 add $tp, 8, $tp
203 stx $hi1, [$tp]
204 add $tp, 8, $tp
215 sub $tp, $num, $tp
263 add $tp, 8, $tp
283 add $tp, 16, $tp
289 sub $tp, $num, $tp
297 add $tp, 8, $tp
311 sub $tp, $num, $tp
[all …]
/freebsd/contrib/unbound/compat/
H A Dinet_pton.c100 uint8_t tmp[NS_INADDRSZ], *tp; local
104 *(tp = tmp) = 0;
113 *tp = new;
122 *++tp = 0;
160 endp = tp + NS_IN6ADDRSZ;
187 colonp = tp;
200 tp += NS_INADDRSZ;
207 if (tp + NS_INT16SZ > endp)
217 const int n = tp - colonp;
224 tp = endp;
[all …]
H A Dinet_ntop.c123 char *tp, *ep; in inet_ntop6() local
165 tp = tmp; in inet_ntop6()
174 *tp++ = ':'; in inet_ntop6()
182 *tp++ = ':'; in inet_ntop6()
187 if (!inet_ntop4(src+12, tp, (size_t)(ep - tp))) in inet_ntop6()
189 tp += strlen(tp); in inet_ntop6()
192 advance = snprintf(tp, ep - tp, "%x", words[i]); in inet_ntop6()
195 tp += advance; in inet_ntop6()
201 *tp++ = ':'; in inet_ntop6()
203 if (tp + 1 >= ep) in inet_ntop6()
[all …]
/freebsd/contrib/ldns/compat/
H A Dinet_pton.c100 uint8_t tmp[NS_INADDRSZ], *tp; local
104 *(tp = tmp) = 0;
113 *tp = new;
122 *++tp = 0;
160 endp = tp + NS_IN6ADDRSZ;
187 colonp = tp;
200 tp += NS_INADDRSZ;
207 if (tp + NS_INT16SZ > endp)
217 const int n = tp - colonp;
224 tp = endp;
[all …]
H A Dinet_ntop.c123 char *tp, *ep; in inet_ntop6() local
165 tp = tmp; in inet_ntop6()
174 *tp++ = ':'; in inet_ntop6()
182 *tp++ = ':'; in inet_ntop6()
187 if (!inet_ntop4(src+12, tp, (size_t)(ep - tp))) in inet_ntop6()
189 tp += strlen(tp); in inet_ntop6()
192 advance = snprintf(tp, ep - tp, "%x", words[i]); in inet_ntop6()
195 tp += advance; in inet_ntop6()
201 *tp++ = ':'; in inet_ntop6()
203 if (tp + 1 >= ep) in inet_ntop6()
[all …]
/freebsd/contrib/less/
H A Dtags.c85 (tp)->next->prev = (tp)->prev; \
86 (tp)->prev->next = (tp)->next;
93 struct tag *tp; in cleantags() local
102 TAG_RM(tp); in cleantags()
105 free(tp); in cleantags()
116 struct tag *tp; in maketagent() local
130 return (tp); in maketagent()
357 TAG_INS(tp); in findctag()
604 curtag = tp; in findgtag()
634 curtag = tp; in nextgtag()
[all …]
/freebsd/contrib/atf/test-programs/
H A Dc_helpers.c454 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
457 ATF_TP_ADD_TC(tp, cleanup_pass); in ATF_TP_ADD_TCS()
458 ATF_TP_ADD_TC(tp, cleanup_fail); in ATF_TP_ADD_TCS()
459 ATF_TP_ADD_TC(tp, cleanup_skip); in ATF_TP_ADD_TCS()
464 ATF_TP_ADD_TC(tp, config_unset); in ATF_TP_ADD_TCS()
465 ATF_TP_ADD_TC(tp, config_empty); in ATF_TP_ADD_TCS()
466 ATF_TP_ADD_TC(tp, config_value); in ATF_TP_ADD_TCS()
493 ATF_TP_ADD_TC(tp, srcdir_exists); in ATF_TP_ADD_TCS()
496 ATF_TP_ADD_TC(tp, result_pass); in ATF_TP_ADD_TCS()
497 ATF_TP_ADD_TC(tp, result_fail); in ATF_TP_ADD_TCS()
[all …]
/freebsd/usr.bin/netstat/
H A Dmain.c570 if (tp) { in main()
572 printproto(tp, tp->pr_name, &first); in main()
582 for (tp = protox; tp->pr_name; tp++) in main()
583 printproto(tp, tp->pr_name, &first); in main()
586 for (tp = ip6protox; tp->pr_name; tp++) in main()
587 printproto(tp, tp->pr_name, &first); in main()
591 for (tp = pfkeyprotox; tp->pr_name; tp++) in main()
592 printproto(tp, tp->pr_name, &first); in main()
596 for (tp = netgraphprotox; tp->pr_name; tp++) in main()
597 printproto(tp, tp->pr_name, &first); in main()
[all …]
/freebsd/sys/kern/
H A Dtty_compat.c120 tp->t_compatflags = (tp->t_compatflags&0xffff0000) | in ttsetcompat()
122 ttcompatsetflags(tp, term); in ttsetcompat()
160 tp->t_compatflags = (tp->t_compatflags&0xffff) | in ttsetcompat()
163 tp->t_compatflags = (ttcompatgetflags(tp)&0xffff0000) | in ttsetcompat()
170 ttcompatsetlflags(tp, term); in ttsetcompat()
193 term = tp->t_termios; in tty_ioctl_compat()
200 cc_t *cc = tp->t_termios.c_cc; in tty_ioctl_compat()
211 sg->sg_flags = tp->t_compatflags = ttcompatgetflags(tp); in tty_ioctl_compat()
239 tp->t_compatflags = in tty_ioctl_compat()
334 int flags = tp->t_compatflags; in ttcompatsetflags()
[all …]
H A Dsubr_terminal.c215 struct tty *tp; in terminal_sync_ttysize() local
218 if (tp == NULL) in terminal_sync_ttysize()
221 tty_lock(tp); in terminal_sync_ttysize()
223 tty_unlock(tp); in terminal_sync_ttysize()
229 struct tty *tp; in terminal_maketty() local
305 struct tty *tp; in terminal_input_char() local
308 if (tp == NULL) in terminal_input_char()
320 tty_lock(tp); in terminal_input_char()
364 tty_lock(tp); in terminal_input_raw()
384 tty_lock(tp); in terminal_input_special()
[all …]
/freebsd/contrib/netbsd-tests/lib/libm/
H A Dt_log.c808 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
811 ATF_TP_ADD_TC(tp, log10_base); in ATF_TP_ADD_TCS()
812 ATF_TP_ADD_TC(tp, log10_nan); in ATF_TP_ADD_TCS()
827 ATF_TP_ADD_TC(tp, log1p_nan); in ATF_TP_ADD_TCS()
841 ATF_TP_ADD_TC(tp, log2_base); in ATF_TP_ADD_TCS()
842 ATF_TP_ADD_TC(tp, log2_nan); in ATF_TP_ADD_TCS()
850 ATF_TP_ADD_TC(tp, log2f_nan); in ATF_TP_ADD_TCS()
857 ATF_TP_ADD_TC(tp, log_base); in ATF_TP_ADD_TCS()
858 ATF_TP_ADD_TC(tp, log_nan); in ATF_TP_ADD_TCS()
865 ATF_TP_ADD_TC(tp, logf_base); in ATF_TP_ADD_TCS()
[all …]
H A Dt_ceil.c864 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
867 ATF_TP_ADD_TC(tp, ceil_basic); in ATF_TP_ADD_TCS()
868 ATF_TP_ADD_TC(tp, ceil_nan); in ATF_TP_ADD_TCS()
875 ATF_TP_ADD_TC(tp, ceilf_nan); in ATF_TP_ADD_TCS()
882 ATF_TP_ADD_TC(tp, ceill_nan); in ATF_TP_ADD_TCS()
889 ATF_TP_ADD_TC(tp, floor_nan); in ATF_TP_ADD_TCS()
896 ATF_TP_ADD_TC(tp, floorf_nan); in ATF_TP_ADD_TCS()
903 ATF_TP_ADD_TC(tp, floorl_nan); in ATF_TP_ADD_TCS()
910 ATF_TP_ADD_TC(tp, trunc_nan); in ATF_TP_ADD_TCS()
917 ATF_TP_ADD_TC(tp, truncf_nan); in ATF_TP_ADD_TCS()
[all …]
/freebsd/crypto/openssh/openbsd-compat/
H A Dinet_ntop.c117 char *tp, *ep; in inet_ntop6() local
157 tp = tmp; in inet_ntop6()
166 *tp++ = ':'; in inet_ntop6()
174 *tp++ = ':'; in inet_ntop6()
179 if (!inet_ntop4(src+12, tp, (size_t)(ep - tp))) in inet_ntop6()
181 tp += strlen(tp); in inet_ntop6()
184 advance = snprintf(tp, ep - tp, "%x", words[i]); in inet_ntop6()
187 tp += advance; in inet_ntop6()
193 *tp++ = ':'; in inet_ntop6()
195 if (tp + 1 >= ep) in inet_ntop6()
[all …]
/freebsd/lib/libc/tests/stdio/
H A Dfdopen_test.c194 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
197 ATF_TP_ADD_TC(tp, null__O_RDONLY__r_test); in ATF_TP_ADD_TCS()
198 ATF_TP_ADD_TC(tp, null__O_WRONLY__r_test); in ATF_TP_ADD_TCS()
199 ATF_TP_ADD_TC(tp, null__O_RDWR__r_test); in ATF_TP_ADD_TCS()
200 ATF_TP_ADD_TC(tp, null__O_RDONLY__w_test); in ATF_TP_ADD_TCS()
202 ATF_TP_ADD_TC(tp, null__O_RDWR__w_test); in ATF_TP_ADD_TCS()
205 ATF_TP_ADD_TC(tp, null__O_RDWR__test); in ATF_TP_ADD_TCS()
212 ATF_TP_ADD_TC(tp, sh__O_EXEC__r); in ATF_TP_ADD_TCS()
213 ATF_TP_ADD_TC(tp, sh__O_EXEC__w); in ATF_TP_ADD_TCS()
214 ATF_TP_ADD_TC(tp, sh__O_EXEC__r_append); in ATF_TP_ADD_TCS()
[all …]
H A Dfreopen_test.c192 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
195 ATF_TP_ADD_TC(tp, null__r__r__test); in ATF_TP_ADD_TCS()
196 ATF_TP_ADD_TC(tp, null__w__r__test); in ATF_TP_ADD_TCS()
198 ATF_TP_ADD_TC(tp, null__r__w__test); in ATF_TP_ADD_TCS()
199 ATF_TP_ADD_TC(tp, null__w__w__test); in ATF_TP_ADD_TCS()
201 ATF_TP_ADD_TC(tp, null__r__a__test); in ATF_TP_ADD_TCS()
202 ATF_TP_ADD_TC(tp, null__w__a__test); in ATF_TP_ADD_TCS()
210 ATF_TP_ADD_TC(tp, sh__r__r__test); in ATF_TP_ADD_TCS()
211 ATF_TP_ADD_TC(tp, sh__sh__r__r__test); in ATF_TP_ADD_TCS()
212 ATF_TP_ADD_TC(tp, sh__null__r__r__test); in ATF_TP_ADD_TCS()
[all …]
/freebsd/contrib/ntp/ntpd/
H A Drefclock_tpro.c139 struct tproval *tp; in tpro_poll() local
148 tp = &up->tprodata; in tpro_poll()
149 if (read(pp->io.fd, (char *)tp, sizeof(struct tproval)) < 0) { in tpro_poll()
171 tp->day100, tp->day10, tp->day1, tp->hour10, tp->hour1, in tpro_poll()
172 tp->min10, tp->min1, tp->sec10, tp->sec1, tp->ms100, in tpro_poll()
173 tp->ms10, tp->ms1, tp->usec100, tp->usec10, tp->usec1, in tpro_poll()
174 tp->status); in tpro_poll()
189 if (!tp->status & 0x3) in tpro_poll()
/freebsd/crypto/openssl/crypto/idea/
H A Di_skey.c66 tp = &(dk->data[0][0]); in IDEA_set_decrypt_key()
69 *(tp++) = inverse(fp[0]); in IDEA_set_decrypt_key()
76 *(tp++) = fp[4]; in IDEA_set_decrypt_key()
77 *(tp++) = fp[5]; in IDEA_set_decrypt_key()
80 tp = &(dk->data[0][0]); in IDEA_set_decrypt_key()
81 t = tp[1]; in IDEA_set_decrypt_key()
82 tp[1] = tp[2]; in IDEA_set_decrypt_key()
83 tp[2] = t; in IDEA_set_decrypt_key()
85 t = tp[49]; in IDEA_set_decrypt_key()
86 tp[49] = tp[50]; in IDEA_set_decrypt_key()
[all …]
/freebsd/sys/dev/altera/jtag_uart/
H A Daltera_jtag_uart_tty.c266 tty_assert_locked(tp); in aju_handle_input()
280 ttydisc_rint_done(tp); in aju_handle_input()
377 tty_lock(tp); in aju_io_callout()
399 tty_unlock(tp); in aju_io_callout()
409 tty_lock(tp); in aju_ac_callout()
439 tty_unlock(tp); in aju_ac_callout()
449 tty_lock(tp); in aju_intr()
461 tty_unlock(tp); in aju_intr()
467 struct tty *tp; in altera_jtag_uart_attach() local
558 tty_lock(tp); in altera_jtag_uart_detach()
[all …]

12345678910>>...54