| /mirbsd/src/gnu/usr.bin/perl/ext/B/t/ |
| D | OptreeCheck.pm | 419 my $tc = newTestCases(@_); # ctor 422 print "checkOptree args: ",mydumper($tc) if $tc->{dump}; 424 skip("$tc->{skip} $tc->{name}", 1) if $tc->{skip}; 426 return runSelftest($tc) if $gOpts{selftest}; 428 $tc->getRendering(); # get the actual output 429 $tc->checkErrs(); 433 local $TODO = $tc->{todo} if $tc->{todo}; 435 $tc->{cross} = $msgs{"$want-$thrstat"}; 437 $tc->mkCheckRex($want); 438 $tc->mylike(); [all …]
|
| /mirbsd/src/libexec/login_tis/ |
| D | login_tis.c | 74 struct tis_connection tc; in main() local 103 tc.fd = -1; in main() 124 tc.fd = in main() 129 tc.fd = -1; in main() 163 tis_getconf(&tc, class); in main() 164 if (tc.keyfile != NULL && tis_getkey(&tc) != 0) in main() 173 if (tc.fd == -1) { in main() 174 if (tis_open(&tc, tc.server, ebuf) == -1 && (!tc.altserver || in main() 175 tis_open(&tc, tc.altserver, ebuf) == -1)) { in main() 180 if ((rtype = tis_authorize(&tc, user, class, chalbuf)) == error) in main() [all …]
|
| /mirbsd/src/gnu/usr.bin/binutils/gas/ |
| D | Makefile.am | 24 TARG_CPU_C = $(srcdir)/config/tc-@target_cpu_type@.c 25 TARG_CPU_O = tc-@target_cpu_type@.o 26 TARG_CPU_H = $(srcdir)/config/tc-@target_cpu_type@.h 234 tc.h \ 240 config/tc-a29k.c \ 241 config/tc-alpha.c \ 242 config/tc-arc.c \ 243 config/tc-arm.c \ 244 config/tc-avr.c \ 245 config/tc-cris.c \ [all …]
|
| D | Makefile.in | 77 am__DEPENDENCIES_1 = tc-@target_cpu_type@.o 263 TARG_CPU_C = $(srcdir)/config/tc-@target_cpu_type@.c 264 TARG_CPU_O = tc-@target_cpu_type@.o 265 TARG_CPU_H = $(srcdir)/config/tc-@target_cpu_type@.h 470 tc.h \ 476 config/tc-a29k.c \ 477 config/tc-alpha.c \ 478 config/tc-arc.c \ 479 config/tc-arm.c \ 480 config/tc-avr.c \ [all …]
|
| /mirbsd/src/sys/kern/ |
| D | tty_tb.c | 165 const struct tbconf *tc = &tbconf[tbp->tbflags & TBTYPE]; local 170 ret = uiomove((caddr_t) &tbp->tbpos, tc->tbc_uiosize, uio); 171 if (tc->tbc_flags&TBF_POL) 190 const struct tbconf *tc = &tbconf[tbp->tbflags & TBTYPE]; local 192 if (tc->tbc_recsize == 0 || tc->tbc_decode == 0) /* paranoid? */ 197 if (c&tc->tbc_sync || tbp->tbinbuf == tc->tbc_recsize) { 205 if (++tbp->tbinbuf == tc->tbc_recsize) 206 (*tc->tbc_decode)(tc, tbp->cbuf, &tbp->tbpos); 213 gtcodecode(tc, cp, u) in gtcodecode() argument 214 const struct tbconf *tc; in gtcodecode() [all …]
|
| /mirbsd/src/sys/netinet/ |
| D | ip_ipcomp.c | 149 struct tdb_crypto *tc; local 166 MALLOC(tc, struct tdb_crypto *, sizeof(struct tdb_crypto), 168 if (tc == NULL) { 175 bzero(tc, sizeof(struct tdb_crypto)); 182 tc->tc_ptr = 0; 193 crp->crp_opaque = (caddr_t) tc; 196 tc->tc_skip = skip; 197 tc->tc_protoff = protoff; 198 tc->tc_spi = tdb->tdb_spi; 199 tc->tc_proto = IPPROTO_IPCOMP; [all …]
|
| D | ip_ah.c | 498 struct tdb_crypto *tc; in ah_input() local 623 MALLOC(tc, struct tdb_crypto *, in ah_input() 627 MALLOC(tc, struct tdb_crypto *, sizeof(struct tdb_crypto), in ah_input() 629 if (tc == NULL) { in ah_input() 637 bzero(tc, sizeof(struct tdb_crypto)); in ah_input() 646 (caddr_t) (tc + 1)); in ah_input() 655 FREE(tc, M_XDATA); in ah_input() 667 crp->crp_opaque = (caddr_t) tc; in ah_input() 670 tc->tc_skip = skip; in ah_input() 671 tc->tc_protoff = protoff; in ah_input() [all …]
|
| D | ip_esp.c | 272 struct tdb_crypto *tc; in esp_input() local 384 MALLOC(tc, struct tdb_crypto *, sizeof(struct tdb_crypto), in esp_input() 387 MALLOC(tc, struct tdb_crypto *, in esp_input() 389 if (tc == NULL) { in esp_input() 397 bzero(tc, sizeof(struct tdb_crypto)); in esp_input() 398 tc->tc_ptr = (caddr_t) mtag; in esp_input() 415 m_copydata(m, m->m_pkthdr.len - alen, alen, (caddr_t) (tc + 1)); in esp_input() 425 crp->crp_opaque = (caddr_t) tc; in esp_input() 428 tc->tc_skip = skip; in esp_input() 429 tc->tc_protoff = protoff; in esp_input() [all …]
|
| /mirbsd/src/usr.sbin/ppp/ppp/ |
| D | alias.c | 163 struct tcphdr *tc; in TcpMonitorIn() local 165 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2)); in TcpMonitorIn() 170 if (tc->th_flags & TH_RST) in TcpMonitorIn() 172 else if (tc->th_flags & TH_SYN) in TcpMonitorIn() 176 if (tc->th_flags & (TH_FIN | TH_RST)) in TcpMonitorIn() 185 struct tcphdr *tc; in TcpMonitorOut() local 187 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2)); in TcpMonitorOut() 192 if (tc->th_flags & TH_RST) in TcpMonitorOut() 194 else if (tc->th_flags & TH_SYN) in TcpMonitorOut() 198 if (tc->th_flags & (TH_FIN | TH_RST)) in TcpMonitorOut() [all …]
|
| D | alias_smedia.c | 145 struct tcphdr *tc; in alias_rtsp_out() local 157 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2)); in alias_rtsp_out() 158 hlen = (pip->ip_hl + tc->th_off) << 2; in alias_rtsp_out() 312 tc->th_sum = 0; in alias_rtsp_out() 313 tc->th_sum = TcpChecksum(pip); in alias_rtsp_out() 330 struct tcphdr *tc; in alias_pna_out() local 352 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2)); in alias_pna_out() 357 tc->th_sum = 0; in alias_pna_out() 358 tc->th_sum = TcpChecksum(pip); in alias_pna_out() 371 struct tcphdr *tc; in AliasHandleRtspOut() local [all …]
|
| D | alias_pptp.c | 154 struct tcphdr *tc; in AliasHandlePptpOut() local 188 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2)); in AliasHandlePptpOut() 190 ADJUST_CHECKSUM(accumulate, tc->th_sum); in AliasHandlePptpOut() 217 struct tcphdr *tc; in AliasHandlePptpIn() local 258 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2)); in AliasHandlePptpIn() 260 ADJUST_CHECKSUM(accumulate, tc->th_sum); in AliasHandlePptpIn() 279 struct tcphdr *tc; in AliasVerifyPptp() local 282 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2)); in AliasVerifyPptp() 283 hlen = (pip->ip_hl + tc->th_off) << 2; in AliasVerifyPptp()
|
| D | alias_ftp.c | 113 struct tcphdr *tc; in AliasHandleFtpOut() local 117 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2)); in AliasHandleFtpOut() 118 hlen = (pip->ip_hl + tc->th_off) << 2; in AliasHandleFtpOut() 134 if (ntohs(tc->th_dport) == FTP_CONTROL_PORT_NUMBER) { in AliasHandleFtpOut() 482 struct tcphdr *tc; in NewFtpMessage() local 490 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2)); in NewFtpMessage() 491 hlen = (pip->ip_hl + tc->th_off) << 2; in NewFtpMessage() 573 tc->th_sum = 0; in NewFtpMessage() 574 tc->th_sum = TcpChecksum(pip); in NewFtpMessage()
|
| D | tcpmss.c | 99 MSSFixup(struct tcphdr *tc, ssize_t pktlen, u_int16_t maxmss) in MSSFixup() argument 106 hlen = tc->th_off << 2; in MSSFixup() 113 if (!(tc->th_flags & TH_SYN)) in MSSFixup() 116 for (olen = hlen - sizeof(struct tcphdr), opt = (u_char *)(tc + 1); in MSSFixup() 136 ADJUST_CHECKSUM(accumulate, tc->th_sum); in MSSFixup()
|
| D | alias_irc.c | 76 struct tcphdr *tc; in AliasHandleIrcOut() local 80 tc = (struct tcphdr *) ((char *) pip + (pip->ip_hl << 2)); in AliasHandleIrcOut() 81 hlen = (pip->ip_hl + tc->th_off) << 2; in AliasHandleIrcOut() 338 tc->th_sum = 0; in AliasHandleIrcOut() 339 tc->th_sum = TcpChecksum(pip); in AliasHandleIrcOut()
|
| /mirbsd/src/etc/ |
| D | gettytab | 64 :nx=d110:lm@:tc=150-baud: 66 :nx=d300:tc=300-baud: 72 :nx=D1200:tc=2400-baud: 74 :nx=D300:tc=1200-baud: 76 :nx=D2400:tc=300-baud: 82 :nx=t2400:tc=19200-baud: 84 :nx=t1200:tc=2400-baud: 86 :nx=t19200:tc=1200-baud: 92 :nx=t2400a:tc=19200-baud: 94 :nx=t1200a:tc=2400-baud: [all …]
|
| D | remote | 21 # tc include the named system description 39 # a) Multiple :tc=XXX: capabilities are allowed, so that 43 # used. So capabilities with :tc=XXX: can be 50 # General definitions used in :tc=XXX: capabilities below 59 :oe=^Z:tc=unixhost: 68 :dv=/dev/tty00:tc=direct:tc=unixhost: 71 :dv=/dev/ttya:tc=direct:tc=unixhost: 76 :dv=/dev/cua00:tc=dialup:tc=unixhost: 78 :dv=/dev/cuaa:tc=dialup:tc=unixhost:
|
| D | login.conf | 46 :tc=auth-defaults:\ 47 :tc=auth-ftp-defaults: 60 :tc=default: 72 :tc=default:
|
| /mirbsd/src/sbin/mount_portal/ |
| D | pt_tcp.c | 40 int priv, s, tc, n; in portal_tcp() local 46 tc = 0; in portal_tcp() 51 tc++; in portal_tcp() 54 if (tc < 3) in portal_tcp() 63 if (tc > 3) { in portal_tcp() 71 tc--; in portal_tcp() 74 if (tc > 4) in portal_tcp() 77 if (tc > 3) { in portal_tcp() 78 if (!strcmp(tp[tc - 1], "priv")) { in portal_tcp()
|
| /mirbsd/src/usr.bin/sectok/ |
| D | main.c | 70 int i, tc; in main() local 138 for ((tp = strtok(buf, " \t\n\r")), tc = 0; tp; in main() 139 (tp = strtok(NULL, " \t\n\r")), tc++) { in main() 140 if (tc < MAXTOKENS - 1) in main() 141 tv[tc] = tp; in main() 143 tv[tc] = NULL; in main() 145 dispatch(tc, tv); in main()
|
| /mirbsd/src/usr.sbin/dhcpd/ |
| D | tree.c | 63 struct tree_cache *tc; in tree_cache() local 65 tc = new_tree_cache("tree_cache"); in tree_cache() 66 if (!tc) in tree_cache() 68 tc->value = NULL; in tree_cache() 69 tc->len = tc->buf_size = 0; in tree_cache() 70 tc->timeout = 0; in tree_cache() 71 tc->tree = tree; in tree_cache() 72 return tc; in tree_cache()
|
| /mirbsd/src/lib/libncurses/src/ncurses/tinfo/ |
| D | read_termcap.c | 466 char *icap, *scan, *tc, *tcstart, *tcend; in _nc_getent() local 479 if ((tc = _nc_cgetcap(scan, "tc", '=')) == 0) in _nc_getent() 486 s = tc; in _nc_getent() 493 tcstart = tc - 3; in _nc_getent() 498 tc, depth + 1, 0); in _nc_getent() 950 char *p, tc[TBUFSIZ]; in _nc_read_termcap_entry() local 967 strncpy(tc, p, sizeof(tc) - 1); in _nc_read_termcap_entry() 968 tc[sizeof(tc) - 1] = '\0'; in _nc_read_termcap_entry() 972 if (_nc_tgetent(tc, &source, &lineno, tn) < 0) in _nc_read_termcap_entry() 978 _nc_read_entry_source((FILE *) 0, tc, FALSE, FALSE, NULLHOOK); in _nc_read_termcap_entry() [all …]
|
| /mirbsd/src/usr.bin/col/ |
| D | col.c | 210 CHAR *tc = l->l_line, *tend = NULL; in do_col() local 214 if (!tc->c_set) in do_col() 216 if (cur_col == (tc->c_column + in do_col() 217 tc->c_width)) in do_col() 218 tend = tc; in do_col() 219 ++tc; in do_col() 339 CHAR *tc = l->l_line, *tend = NULL; in do_col() local 343 if (!tc->c_set) in do_col() 345 if ((tc->c_column == cur_col) && tc->c_width) in do_col() 346 tend = tc; in do_col() [all …]
|
| /mirbsd/src/sys/compat/common/ |
| D | tty_43.c | 142 struct tchars *tc = (struct tchars *)data; local 145 tc->t_intrc = cc[VINTR]; 146 tc->t_quitc = cc[VQUIT]; 147 tc->t_startc = cc[VSTART]; 148 tc->t_stopc = cc[VSTOP]; 149 tc->t_eofc = cc[VEOF]; 150 tc->t_brkc = cc[VEOL]; 154 struct tchars *tc = (struct tchars *)data; local 157 cc[VINTR] = tc->t_intrc; 158 cc[VQUIT] = tc->t_quitc; [all …]
|
| /mirbsd/src/gnu/usr.bin/perl/t/x2p/ |
| D | s2p.t | 811 for my $tc ( sort keys %testcase ){ 817 my $script = $testcase{$tc}{script}; 820 if( exists( $testcase{$tc}{datfil} ) ){ 821 my( $datnam, $datdat ) = @{$testcase{$tc}{datfil}}; 834 if( $indat ne $testcase{$tc}{input} ){ 835 $indat = $testcase{$tc}{input}; 843 $testcase{$tc}{expect} =~ s/\n\n/\n/ if $^O eq 'VMS'; 848 is( $psedres, $testcase{$tc}{expect}, "psed $tc" ); 860 is( $s2pres, $testcase{$tc}{expect}, "s2p $tc" ); 864 fail( "psed $tc" ); [all …]
|
| /mirbsd/src/gnu/usr.bin/perl/lib/ |
| D | Benchmark.pm | 716 my ($n, $tc); 721 $tc = $td->[1] + $td->[2]; 722 last if $tc > 0.1; 729 while ( $tc < $tpra ) { 734 $n = int( $tpra * 1.05 * $n / $tc ); # Linear approximation. 738 $tc = $new_tc > 1.2 * $tc ? $new_tc : 1.2 * $tc; 754 $n = int( $n * ( 1.05 * $tmax / $tc ) );
|