/openbsd/gnu/usr.bin/perl/dist/IO/t/ |
H A D | io_sel.t | 17 my @handles = $sel->handles; 33 $sel->remove(1, 4); 34 print "not " unless $sel->count == 0 && !defined($sel->bits); 37 $sel = IO::Select->new(); 38 print "not " unless $sel->count == 0 && !defined($sel->bits); 42 print "not " unless $sel->count == 0 && !defined($sel->bits); 60 @a = $sel->can_write; 86 ($sel->exists(0) || $sel->exists([\*STDERR])) and print "not "; 108 $sel->remove($sel->handles); 109 print "not " unless $sel->count == 0 && !defined($sel->bits); [all …]
|
/openbsd/usr.bin/tmux/ |
H A D | screen.c | 464 struct screen_sel *sel = s->sel; in screen_check_selection() local 467 if (sel == NULL || sel->hidden) in screen_check_selection() 471 if (sel->sy < sel->ey) { in screen_check_selection() 473 if (py < sel->sy || py > sel->ey) in screen_check_selection() 475 } else if (sel->sy > sel->ey) { in screen_check_selection() 477 if (py > sel->sy || py < sel->ey) in screen_check_selection() 490 if (sel->ex < sel->sx) { in screen_check_selection() 510 if (sel->sy < sel->ey) { in screen_check_selection() 512 if (py < sel->sy || py > sel->ey) in screen_check_selection() 524 } else if (sel->sy > sel->ey) { in screen_check_selection() [all …]
|
/openbsd/usr.sbin/vmd/ |
H A D | i8253.c | 226 uint8_t sel, rw, data; in vcpu_exit_i8253() local 235 sel = out_data & in vcpu_exit_i8253() 237 sel = sel >> 6; in vcpu_exit_i8253() 239 if (sel == 3) { in vcpu_exit_i8253() 262 i8253_channel[sel].olatch = in vcpu_exit_i8253() 271 sel, (rw & TIMER_16BIT)); in vcpu_exit_i8253() 289 i8253_channel[sel].ilatch |= in vcpu_exit_i8253() 291 i8253_channel[sel].start = in vcpu_exit_i8253() 300 sel, i8253_channel[sel].mode, in vcpu_exit_i8253() 306 if (i8253_channel[sel].rbs) { in vcpu_exit_i8253() [all …]
|
/openbsd/lib/libedit/ |
H A D | sig.c | 49 static EditLine *sel = NULL; variable 76 sel->el_signal->sig_no = signo; in sig_handler() 80 tty_rawmode(sel); in sig_handler() 81 if (ed_redisplay(sel, 0) == CC_REFRESH) in sig_handler() 82 re_refresh(sel); in sig_handler() 83 terminal__flush(sel); in sig_handler() 87 el_resize(sel); in sig_handler() 91 tty_cookedmode(sel); in sig_handler() 100 sel->el_signal->sig_action[i].sa_handler = SIG_ERR; in sig_handler() 101 sel->el_signal->sig_action[i].sa_flags = 0; in sig_handler() [all …]
|
/openbsd/usr.bin/pctr/ |
H A D | pctr.c | 244 pctr_fn2str(u_int32_t sel) in pctr_fn2str() argument 257 fn = sel & 0x3f; in pctr_fn2str() 273 fn = sel & 0xff; in pctr_fn2str() 287 if (sel >> PCTR_CM_SHIFT) in pctr_fn2str() 289 sel >> PCTR_CM_SHIFT); in pctr_fn2str() 291 sel & PCTR_I ? 'i' : '-', in pctr_fn2str() 292 sel & PCTR_E ? 'e' : '-', in pctr_fn2str() 293 sel & PCTR_K ? 'k' : '-', in pctr_fn2str() 298 fn = sel & 0xff; in pctr_fn2str() 299 if (sel >> PCTR_CM_SHIFT) in pctr_fn2str() [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Parser/Iterator/ |
H A D | Process.pm | 128 my ( $pid, $err, $sel ); 167 $sel = $merge ? undef : IO::Select->new( $out, $err ); 182 $self->{sel} = $sel; 205 if ( $self->{sel} ) { 236 if ( my $sel = $self->{sel} ) { 245 while ( my @ready = $sel->can_read ) { 250 $sel->remove($fh); 333 if ( $self->{sel} ) { 335 delete $self->{sel};
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Parser/ |
H A D | Multiplexer.pm | 86 my $sel = $self->{select}; 93 $sel->add( [ $h, $parser, $stash, @filenos ] ); 120 my $sel = $self->{select}; 135 return unless $sel->count; 136 @ready = $sel->can_read; 144 $sel->remove(@handles);
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn31/ |
H A D | dcn31_dio_link_encoder.c | 136 enum encoder_type_select sel, in dcn31_link_encoder_set_dio_phy_mux() argument 143 if (sel == ENCODER_TYPE_HDMI_FRL) in dcn31_link_encoder_set_dio_phy_mux() 150 ENC_TYPE_SEL, sel); in dcn31_link_encoder_set_dio_phy_mux() 153 if (sel == ENCODER_TYPE_HDMI_FRL) in dcn31_link_encoder_set_dio_phy_mux() 160 ENC_TYPE_SEL, sel); in dcn31_link_encoder_set_dio_phy_mux() 163 if (sel == ENCODER_TYPE_HDMI_FRL) in dcn31_link_encoder_set_dio_phy_mux() 170 ENC_TYPE_SEL, sel); in dcn31_link_encoder_set_dio_phy_mux() 173 if (sel == ENCODER_TYPE_HDMI_FRL) in dcn31_link_encoder_set_dio_phy_mux() 180 ENC_TYPE_SEL, sel); in dcn31_link_encoder_set_dio_phy_mux() 190 ENC_TYPE_SEL, sel); in dcn31_link_encoder_set_dio_phy_mux() [all …]
|
/openbsd/usr.bin/top/ |
H A D | machine.c | 425 show_system = sel->system; in get_process_info() 426 show_threads = sel->threads; in get_process_info() 448 show_idle = sel->idle; in get_process_info() 449 show_uid = sel->uid != (uid_t)-1; in get_process_info() 450 hide_uid = sel->huid != (uid_t)-1; in get_process_info() 451 show_pid = sel->pid != (pid_t)-1; in get_process_info() 452 show_rtableid = sel->rtableid != -1; in get_process_info() 453 hide_rtableid = sel->hrtableid != -1; in get_process_info() 454 show_cmd = sel->command != NULL; in get_process_info() 480 (!show_uid || pp->p_ruid == sel->uid) && in get_process_info() [all …]
|
/openbsd/gnu/usr.bin/perl/lib/Class/ |
H A D | Struct.pm | 186 my( $pre, $pst, $sel ); 193 $pre = $pst = $cmt = $sel = ''; 211 $sel = "->[\$i]"; 217 $sel = "->{\$i}"; 223 $out .= " \@_ ? ($pre\$r->$elem$sel = shift$pst) : $pre\$r->$elem$sel$pst;\n";
|
/openbsd/usr.sbin/config/ |
H A D | files.c | 249 int err, sel; in fixfiles() local 261 sel = expr_eval(fi->fi_optx, in fixfiles() 267 if (!sel) in fixfiles() 309 int err, sel; in fixobjects() local 317 sel = expr_eval(oi->oi_optx, in fixobjects() 322 if (!sel) in fixobjects() 366 int sel; in fixfsel() local 368 sel = ht_lookup(selecttab, name) != NULL; in fixfsel() 369 nv = newnv(name, NULL, NULL, sel, NULL); in fixfsel() 372 return (sel); in fixfsel()
|
/openbsd/lib/libcrypto/asn1/ |
H A D | tasn_utl.c | 82 int *sel = offset2ptr(*pval, it->utype); in asn1_get_choice_selector() local 83 return *sel; in asn1_get_choice_selector() 93 int *sel, ret; in asn1_set_choice_selector() local 94 sel = offset2ptr(*pval, it->utype); in asn1_set_choice_selector() 95 ret = *sel; in asn1_set_choice_selector() 96 *sel = value; in asn1_set_choice_selector()
|
/openbsd/sys/arch/i386/i386/ |
H A D | gdt.c | 60 setgdt(int sel, void *base, size_t limit, int type, int dpl, int def32, in setgdt() argument 63 struct segment_descriptor *sd = &cpu_info_primary.ci_gdt[sel].sd; in setgdt() 67 KASSERT(sel < NGDT); in setgdt() 72 ci->ci_gdt[sel].sd = *sd; in setgdt()
|
/openbsd/gnu/usr.bin/perl/dist/Term-ReadLine/lib/Term/ |
H A D | ReadLine.pm | 283 my $sel = select(FOUT); 285 select($sel); 290 my $sel = select($FOUT); 292 select($sel); 307 my $sel = select($out); 309 select($sel);
|
/openbsd/gnu/llvm/llvm/lib/Target/Mips/ |
H A D | MipsMTInstrInfo.td | 54 dag InOperandList = (ins GPR32Opnd:$rt, uimm1:$u, uimm3:$sel, uimm1:$h); 55 string AsmString = "mftr\t$rd, $rt, $u, $sel, $h"; 62 dag InOperandList = (ins GPR32Opnd:$rt, uimm1:$u, uimm3:$sel, uimm1:$h); 63 string AsmString = "mttr\t$rt, $rd, $u, $sel, $h"; 118 uimm3:$sel), 119 "mftc0 $rd, $rt, $sel">, ASE_MT; 122 uimm3:$sel), 148 uimm3:$sel), 149 "mttc0 $rt, $rd, $sel">, ASE_MT;
|
/openbsd/gnu/usr.bin/binutils/gdb/ |
H A D | objc-lang.c | 755 struct selname *sel = selname_chain; in end_msglist() local 759 selname_chain = sel->next; in end_msglist() 760 msglist_len = sel->msglist_len; in end_msglist() 761 msglist_sel = sel->msglist_sel; in end_msglist() 768 xfree(sel); in end_msglist() 1814 meth_str.name, sel); in find_implementation_from_class() 1817 if (meth_str.name == sel) in find_implementation_from_class() 1851 CORE_ADDR sel; in resolve_msgsend() local 1869 CORE_ADDR sel; in resolve_msgsend_stret() local 1889 CORE_ADDR sel; in resolve_msgsend_super() local [all …]
|
/openbsd/sys/arch/amd64/include/ |
H A D | cpufunc.h | 77 sldt(u_short *sel) in sldt() argument 79 __asm volatile("sldt (%0)" : : "r" (sel) : "memory"); in sldt() 83 lldt(u_short sel) in lldt() argument 85 __asm volatile("lldt %0" : : "r" (sel)); in lldt() 89 ltr(u_short sel) in ltr() argument 91 __asm volatile("ltr %0" : : "r" (sel)); in ltr()
|
/openbsd/sys/arch/arm/arm/ |
H A D | cpufunc.c | 173 uint32_t sel, level; in arm_get_cachetype_cp15v7() local 199 sel = level << 1 | 0 << 0; /* L1 | unified/data cache */ in arm_get_cachetype_cp15v7() 202 :: "r" (sel)); in arm_get_cachetype_cp15v7() 228 sel = level << 1 | 1 << 0; /* L1 | instruction cache */ in arm_get_cachetype_cp15v7() 231 :: "r" (sel)); in arm_get_cachetype_cp15v7()
|
/openbsd/sys/dev/usb/ |
H A D | usbdi_util.c | 142 usbd_clear_port_feature(struct usbd_device *dev, int port, int sel) in usbd_clear_port_feature() argument 148 USETW(req.wValue, sel); in usbd_clear_port_feature() 155 usbd_clear_endpoint_feature(struct usbd_device *dev, int epaddr, int sel) in usbd_clear_endpoint_feature() argument 161 USETW(req.wValue, sel); in usbd_clear_endpoint_feature() 168 usbd_set_port_feature(struct usbd_device *dev, int port, int sel) in usbd_set_port_feature() argument 174 USETW(req.wValue, sel); in usbd_set_port_feature()
|
/openbsd/gnu/llvm/clang/tools/clang-format/ |
H A D | clang-format-sublime.py | 38 for region in self.view.sel(): 55 self.view.sel().clear() 57 self.view.sel().add(region)
|
/openbsd/gnu/usr.bin/perl/dist/IO/lib/IO/ |
H A D | Socket.pm | 125 my $sel = IO::Select->new( $sock ); 128 my($r,$w,$e) = IO::Select::select(undef,$sel,$sel,$timeout); 248 my $sel = IO::Select->new( $sock ); 250 unless ($sel->can_read($timeout)) {
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 20031220-1.c | 10 static inline void select(int sel, void *klass) in select() argument 12 emit(klass ? 0 : f(), signals[sel ? 0 : 1]); in select()
|
/openbsd/sys/arch/i386/include/ |
H A D | cpufunc.h | 81 lldt(u_short sel) in lldt() argument 83 __asm volatile("lldt %0" : : "r" (sel)); in lldt() 87 ltr(u_short sel) in ltr() argument 89 __asm volatile("ltr %0" : : "r" (sel)); in ltr()
|
/openbsd/gnu/usr.bin/perl/cpan/Encode/t/ |
H A D | piconv.t | 82 my $sel = IO::Select->new( $out_fh, $err_fh ); 84 while ( my @ready = $sel->can_read ) { 87 $sel->remove($fh); 88 last if !$sel->handles;
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 991016-1.c | 10 doit(int sel, int n, void *p) in doit() argument 16 switch (sel) in doit()
|