Home
last modified time | relevance | path

Searched refs:tap (Results 1 – 25 of 112) sorted by relevance

12345

/openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/t/
H A Dparse.t39 my $tap = <<'END_TAP';
56 my $parser = $PARSER->new( { tap => $tap } );
336 $tap = <<'END_TAP';
344 my $aref = [ split /\n/ => $tap ];
435 # Check source => "tap content"
462 my $tap = <<'END_TAP';
480 { tap => $tap,
490 is join( '', @spooled ), $tap, "spoole
[all...]
H A Dmultiplexer.t25 my @tap = (
31 TAP::Parser->new( { tap => join( "\n", @tap ) . "\n" } ),
32 \@tap,
38 my @tap = (
49 [ TAP::Parser->new( { tap => join( "\n", @$_ ) . "\n" } ),
52 } @tap;
100 my @tap = (
113 { tap => join( "\n", @$_ ) . "\n" }
117 } @tap
H A Daggregator.t13 my $tap = <<'END_TAP';
24 my $iterator = TAP::Parser::Iterator::Array->new( [ split /\n/ => $tap ] );
32 $tap = <<'END_TAP';
44 my $parser2 = TAP::Parser->new( { tap => $tap } );
195 $tap = <<'END_TAP';
200 my $parser3 = TAP::Parser->new( { tap => $tap } );
222 $tap = <<'END_TAP';
226 my $parser4 = TAP::Parser->new( { tap => $tap } );
250 $tap = <<'END_TAP';
255 my $parser5 = TAP::Parser->new( { tap => $tap } );
H A Dstreams.t52 my $tap = <<'END_TAP';
63 $iterator = $ITER_ARRAY->new( [ split /\n/ => $tap ] );
90 $tap = <<'END_TAP';
101 $iterator = $ITER_ARRAY->new( [ split /\n/ => $tap ] );
128 $tap = <<'END_TAP';
139 $iterator = $ITER_ARRAY->new( [ split /\n/ => $tap ] );
H A Dnested.t11 my $tap = <<'END_TAP';
17 my $parser = TAP::Parser->new( { tap => $tap } );
H A Dcallbacks.t12 my $tap = <<'END_TAP';
40 my $iterator = TAP::Parser::Iterator::Array->new( [ split /\n/ => $tap ] );
82 $iterator = TAP::Parser::Iterator::Array->new( [ split /\n/ => $tap ] );
107 $iterator = TAP::Parser::Iterator::Array->new( [ split /\n/ => $tap ] );
H A Dbailout.t11 my $tap = <<'END_TAP';
21 my $parser = TAP::Parser->new( { tap => $tap } );
H A Dpremature-bailout.t18 my $tap = <<'END_TAP';
31 { iterator => TAP::Parser::Iterator::Array->new( tap_to_lines($tap) ),
H A Dspool.t109 my $tap = <<'END_TAP';
118 TAP::Parser::Iterator::Array->new( [ split /\n/ => $tap ] )
/openbsd-src/sys/dev/wscons/
H A Dwstpad.c228 } tap; member
697 return (timespeccmp(&ts, &tp->tap.maxtime, <)); in wstpad_is_tap()
710 if (IS_MT(tp) || tp->tap.contacts == 1) { in wstpad_tap_filter()
715 tp->tap.valid = (CENTERED(t) && dist <= (tp->tap.maxdist << 12)); in wstpad_tap_filter()
734 if (tp->tap.state == TAP_DETECT && !tp->tap.valid) in wstpad_tap_touch()
743 if (tp->tap.state == TAP_DETECT && !tp->tap.valid) in wstpad_tap_touch()
755 int n = tp->tap.contacts - tp->contacts - 1; in wstpad_tap_button()
757 tp->tap.masked = tp->contacts; in wstpad_tap_button()
759 return (n >= 0 && n < TAP_BTNMAP_SIZE ? tp->tap.btnmap[n] : 0); in wstpad_tap_button()
769 return ((tp->tap.button || tp->tap.pending) && tp->tap.masked == 0); in tap_unmask()
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test2/Formatter/
H A DTAP.pm102 my @tap = $self->event_tap($f, $num) or return;
112 for my $set (@tap) {
165 my @tap;
169 push @tap => $self->plan_tap($f) if $f->{plan} && !$self->{+MADE_ASSERTION};
173 push @tap => $self->assert_tap($f, $num);
174 push @tap => $self->debug_tap($f, $num) unless $f->{assert}->{no_debug} || $f->{assert}->{pass};
178 push @tap => $self->error_tap($f) if $f->{errors};
181 push @tap => $self->info_tap($f) if $f->{info};
185 push @tap => $self->plan_tap($f) if $self->{+MADE_ASSERTION} && $f->{plan};
188 push @tap
[all...]
/openbsd-src/regress/usr.sbin/ospfd/
H A Dopentap.c43 int fd, tap; in main() local
59 tap = strtonum(argv[2], 0, INT_MAX, &errstr); in main()
62 snprintf(dev, FILENAME_MAX, "/dev/tap%d", tap); in main()
64 if ((tap = open(dev, O_RDWR)) == -1) in main()
75 *(int *)CMSG_DATA(cmsg) = tap; in main()
H A DTap.pm38 sysopen(my $tap, $tap_device, O_RDWR)
40 return $tap;
83 my $tap = recvfd($parent)
90 return $tap;
H A Dtapdump.pl22 my $tap = opentap(6)
26 my $n = sysread($tap, my $buf, 70000);
H A DMakefile42 [ -c /dev/tap${TAPNUM} ]
44 ${SUDO} ifconfig tap${TAPNUM} ${TAPIP} netmask 255.255.255.0
48 -${SUDO} ifconfig tap${TAPNUM} destroy
H A DREADME3 talking OSPF via a tap interface. At the process side of the tap
/openbsd-src/sys/arch/alpha/mcbus/
H A Dmcbus.c97 struct mcbus_dev_attach_args *tap = aux; local
98 printf(" mid %d: %s", tap->ma_mid,
99 mcbus_node_type_str(tap->ma_type));
109 struct mcbus_dev_attach_args *tap = aux; local
113 mcf->cf_loc[MCBUSCF_MID] != tap->ma_mid)
/openbsd-src/gnu/usr.bin/perl/regen/
H A Dtidy_embed.pl34 my $tap;
36 $tap = shift @ARGV;
62 if ($tap) {
77 } elsif ($tap) {
/openbsd-src/sys/dev/ic/
H A Danvar.h150 struct an_rx_radiotap_header tap; member
154 struct an_tx_radiotap_header tap; member
159 #define sc_rxtap sc_rxtapu.tap
160 #define sc_txtap sc_txtapu.tap
/openbsd-src/gnu/usr.bin/perl/ext/Pod-Functions/
H A DFunctions_pm.PL5 my ($tap, $test, %Missing);
8 @ARGV = grep { not($_ eq '--tap' and $tap = 1) } @ARGV;
9 if ($tap) {
113 if ($tap) {
/openbsd-src/gnu/usr.bin/perl/
H A Dregen.pl16 my $tap = $ARGV[0] && $ARGV[0] eq '--tap' ? '# ' : '';
19 print "$tap@command\n";
/openbsd-src/sys/dev/usb/
H A Dif_otus.c1147 struct otus_rx_radiotap_header *tap = &sc->sc_rxtap; in otus_sub_rxeof() local
1150 tap->wr_flags = 0; in otus_sub_rxeof()
1151 tap->wr_chan_freq = htole16(ic->ic_ibss_chan->ic_freq); in otus_sub_rxeof()
1152 tap->wr_chan_flags = htole16(ic->ic_ibss_chan->ic_flags); in otus_sub_rxeof()
1153 tap->wr_antsignal = tail->rssi; in otus_sub_rxeof()
1154 tap->wr_rate = 2; /* In case it can't be found below. */ in otus_sub_rxeof()
1158 case 10: tap->wr_rate = 2; break; in otus_sub_rxeof()
1159 case 20: tap->wr_rate = 4; break; in otus_sub_rxeof()
1160 case 55: tap->wr_rate = 11; break; in otus_sub_rxeof()
1161 case 110: tap->wr_rate = 22; break; in otus_sub_rxeof()
[all …]
H A Dif_athn_usb.c1973 struct athn_rx_radiotap_header *tap = &sc->sc_rxtap; in athn_usb_rx_radiotap() local
1978 tap->wr_flags = IEEE80211_RADIOTAP_F_FCS; in athn_usb_rx_radiotap()
1979 tap->wr_tsft = htole64(betoh64(rs->rs_tstamp)); in athn_usb_rx_radiotap()
1980 tap->wr_chan_freq = htole16(ic->ic_bss->ni_chan->ic_freq); in athn_usb_rx_radiotap()
1981 tap->wr_chan_flags = htole16(ic->ic_bss->ni_chan->ic_flags); in athn_usb_rx_radiotap()
1982 tap->wr_dbm_antsignal = rs->rs_rssi; in athn_usb_rx_radiotap()
1984 tap->wr_antenna = rs->rs_antenna; in athn_usb_rx_radiotap()
1985 tap->wr_rate = 0; /* In case it can't be found below. */ in athn_usb_rx_radiotap()
1989 tap->wr_rate = rate; in athn_usb_rx_radiotap()
1991 tap->wr_flags |= IEEE80211_RADIOTAP_F_SHORTGI; in athn_usb_rx_radiotap()
[all …]
H A Dif_rsu.c1339 struct rsu_rx_radiotap_header *tap = &sc->sc_rxtap; in rsu_rx_frame() local
1342 tap->wr_flags = 0; in rsu_rx_frame()
1344 tap->wr_flags = 2; in rsu_rx_frame()
1348 case 0: tap->wr_rate = 2; break; in rsu_rx_frame()
1349 case 1: tap->wr_rate = 4; break; in rsu_rx_frame()
1350 case 2: tap->wr_rate = 11; break; in rsu_rx_frame()
1351 case 3: tap->wr_rate = 22; break; in rsu_rx_frame()
1353 case 4: tap->wr_rate = 12; break; in rsu_rx_frame()
1354 case 5: tap->wr_rate = 18; break; in rsu_rx_frame()
1355 case 6: tap->wr_rate = 24; break; in rsu_rx_frame()
[all …]
/openbsd-src/sys/dev/pci/
H A Dif_rtwn.c928 struct rtwn_rx_radiotap_header *tap = &sc->sc_rxtap; in rtwn_rx_frame() local
931 tap->wr_flags = 0; in rtwn_rx_frame()
933 tap->wr_flags = 2; in rtwn_rx_frame()
937 case 0: tap->wr_rate = 2; break; in rtwn_rx_frame()
938 case 1: tap->wr_rate = 4; break; in rtwn_rx_frame()
939 case 2: tap->wr_rate = 11; break; in rtwn_rx_frame()
940 case 3: tap->wr_rate = 22; break; in rtwn_rx_frame()
942 case 4: tap->wr_rate = 12; break; in rtwn_rx_frame()
943 case 5: tap->wr_rate = 18; break; in rtwn_rx_frame()
944 case 6: tap->wr_rate = 24; break; in rtwn_rx_frame()
[all …]

12345