/openbsd-current/gnu/usr.bin/perl/dist/IO/t/ |
H A D | io_sel.t | 10 my $sel = IO::Select->new(\*STDIN); 11 $sel->add(4, 5) == 2 or print "not "; 14 $sel->add([\*STDOUT, 'foo']) == 1 or print "not "; 17 my @handles = $sel->handles; 18 print "not " unless $sel->count == 4 && @handles == 4; 20 #print $sel->as_string, "\n"; 22 $sel->remove(\*STDIN) == 1 or print "not "; 25 $sel->remove(\*STDIN, 5, 6) == 1 # two of there are not present 29 print "not " unless $sel->count == 2; 31 #print $sel [all...] |
/openbsd-current/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) argument 12 emit(klass ? 0 : f(), signals[sel ? 0 : 1]);
|
/openbsd-current/usr.bin/tmux/ |
H A D | screen.c | 91 s->sel = NULL; 141 free(s->sel); 415 if (s->sel == NULL) 416 s->sel = xcalloc(1, sizeof *s->sel); 418 memcpy(&s->sel->cell, gc, sizeof s->sel->cell); 419 s->sel->hidden = 0; 420 s->sel->rectangle = rectangle; 421 s->sel 449 struct screen_sel *sel = s->sel; local [all...] |
/openbsd-current/usr.sbin/vmd/ |
H A D | i8253.c | 229 uint8_t sel, rw, data; local 238 sel = out_data & 240 sel = sel >> 6; 242 if (sel == 3) { 260 timespecsub(&now, &i8253_channel[sel].ts, 264 if (i8253_channel[sel].start) { 265 i8253_channel[sel].olatch = 266 i8253_channel[sel].start - 267 ticks % i8253_channel[sel] [all...] |
/openbsd-current/lib/libedit/ |
H A D | sig.c | 49 static EditLine *sel = NULL; variable 76 sel->el_signal->sig_no = signo; 80 tty_rawmode(sel); 81 if (ed_redisplay(sel, 0) == CC_REFRESH) 82 re_refresh(sel); 83 terminal__flush(sel); 87 el_resize(sel); 91 tty_cookedmode(sel); 99 (void) sigaction(signo, &sel->el_signal->sig_action[i], NULL); 100 sel [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 991016-1.c | 10 doit(int sel, int n, void *p) argument 16 switch (sel)
|
/openbsd-current/usr.bin/pctr/ |
H A D | pctr.c | 244 pctr_fn2str(u_int32_t sel) argument 257 fn = sel & 0x3f; 263 sel & P5CTR_C ? 'c' : '-', 264 sel & P5CTR_U ? 'u' : '-', 265 sel & P5CTR_K ? 'k' : '-', 273 fn = sel & 0xff; 280 sel & PCTR_UM_M ? 'M' : '-', 281 sel & PCTR_UM_E ? 'E' : '-', 282 sel & PCTR_UM_S ? 'S' : '-', 283 sel [all...] |
/openbsd-current/sys/arch/i386/i386/ |
H A D | gdt.c | 60 setgdt(int sel, void *base, size_t limit, int type, int dpl, int def32, argument 63 struct segment_descriptor *sd = &cpu_info_primary.ci_gdt[sel].sd; 67 KASSERT(sel < NGDT); 72 ci->ci_gdt[sel].sd = *sd;
|
/openbsd-current/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-current/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 ); 180 $self->{sel} = $sel; 203 if ( $self->{sel} ) { 234 if ( my $sel = $self->{sel} ) { 243 while ( my @ready = $sel->can_read ) { 248 $sel->remove($fh); 330 if ( $self->{sel} ) { [all...] |
/openbsd-current/lib/libcrypto/asn1/ |
H A D | tasn_utl.c | 82 int *sel = offset2ptr(*pval, it->utype); local 83 return *sel; 93 int *sel, ret; local 94 sel = offset2ptr(*pval, it->utype); 95 ret = *sel; 96 *sel = value;
|
/openbsd-current/usr.sbin/config/ |
H A D | files.c | 249 int err, sel; local 261 sel = expr_eval(fi->fi_optx, 267 if (!sel) 309 int err, sel; local 317 sel = expr_eval(oi->oi_optx, 322 if (!sel) 366 int sel; local 368 sel = ht_lookup(selecttab, name) != NULL; 369 nv = newnv(name, NULL, NULL, sel, NULL); 372 return (sel); [all...] |
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn31/ |
H A D | dcn31_dio_link_encoder.c | 136 enum encoder_type_select sel, 143 if (sel == ENCODER_TYPE_HDMI_FRL) 146 else if (sel == ENCODER_TYPE_DP_128B132B) 150 ENC_TYPE_SEL, sel); 153 if (sel == ENCODER_TYPE_HDMI_FRL) 156 else if (sel == ENCODER_TYPE_DP_128B132B) 160 ENC_TYPE_SEL, sel); 163 if (sel == ENCODER_TYPE_HDMI_FRL) 166 else if (sel == ENCODER_TYPE_DP_128B132B) 170 ENC_TYPE_SEL, sel); 134 dcn31_link_encoder_set_dio_phy_mux( struct link_encoder *enc, enum encoder_type_select sel, uint32_t hpo_inst) argument [all...] |
/openbsd-current/sys/arch/i386/include/ |
H A D | cpufunc.h | 81 lldt(u_short sel) argument 83 __asm volatile("lldt %0" : : "r" (sel)); 87 ltr(u_short sel) argument 89 __asm volatile("ltr %0" : : "r" (sel));
|
/openbsd-current/usr.bin/top/ |
H A D | machine.c | 416 get_process_info(struct system_info *si, struct process_select *sel, argument 425 show_system = sel->system; 426 show_threads = sel->threads; 448 show_idle = sel->idle; 449 show_uid = sel->uid != (uid_t)-1; 450 hide_uid = sel->huid != (uid_t)-1; 451 show_pid = sel->pid != (pid_t)-1; 452 show_rtableid = sel->rtableid != -1; 453 hide_rtableid = sel->hrtableid != -1; 454 show_cmd = sel [all...] |
/openbsd-current/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-current/sys/arch/amd64/include/ |
H A D | cpufunc.h | 77 sldt(u_short *sel) argument 79 __asm volatile("sldt (%0)" : : "r" (sel) : "memory"); 83 lldt(u_short sel) argument 85 __asm volatile("lldt %0" : : "r" (sel)); 89 ltr(u_short sel) argument 91 __asm volatile("ltr %0" : : "r" (sel));
|
/openbsd-current/sys/dev/usb/ |
H A D | usbdi_util.c | 142 usbd_clear_port_feature(struct usbd_device *dev, int port, int sel) argument 148 USETW(req.wValue, sel); 155 usbd_clear_endpoint_feature(struct usbd_device *dev, int epaddr, int sel) argument 161 USETW(req.wValue, sel); 168 usbd_set_port_feature(struct usbd_device *dev, int port, int sel) argument 174 USETW(req.wValue, sel);
|
/openbsd-current/gnu/usr.bin/binutils/gdb/ |
H A D | objc-lang.c | 755 struct selname *sel = selname_chain; local 759 selname_chain = sel->next; 760 msglist_len = sel->msglist_len; 761 msglist_sel = sel->msglist_sel; 768 xfree(sel); 1781 find_implementation_from_class (CORE_ADDR class, CORE_ADDR sel) argument 1814 meth_str.name, sel); 1817 if (meth_str.name == sel) 1831 find_implementation (CORE_ADDR object, CORE_ADDR sel) argument 1841 return find_implementation_from_class (ostr.isa, sel); 1851 CORE_ADDR sel; local 1869 CORE_ADDR sel; local 1889 CORE_ADDR sel; local 1913 CORE_ADDR sel; local [all...] |
/openbsd-current/sys/arch/arm/arm/ |
H A D | cpufunc.c | 173 uint32_t sel, level; local 199 sel = level << 1 | 0 << 0; /* L1 | unified/data cache */ 202 :: "r" (sel)); 228 sel = level << 1 | 1 << 0; /* L1 | instruction cache */ 231 :: "r" (sel));
|
/openbsd-current/gnu/usr.bin/binutils-2.17/opcodes/ |
H A D | mips-dis.c | 51 unsigned int sel; 683 unsigned int sel) 688 if (names[i].cp0reg == cp0reg && names[i].sel == sel) 749 unsigned int cp0reg, sel; 752 sel = (l >> OP_SH_SEL) & OP_MASK_SEL; 754 /* CP0 register including 'sel' code for mtcN (et al.), to be 756 CP0 register name and sel numerically since CP0 register 757 with sel 0 may have a name unrelated to register being 760 mips_cp0sel_names_len, cp0reg, sel); 50 unsigned int sel; member in struct:mips_cp0sel_name 678 lookup_mips_cp0sel_name(const struct mips_cp0sel_name *names, unsigned int len, unsigned int cp0reg, unsigned int sel) argument 746 unsigned int cp0reg, sel; local 761 (*info->fprintf_func) (info->stream, "$%d,%d", cp0reg, sel); local 789 unsigned int cp0reg, sel; local 804 (*info->fprintf_func) (info->stream, "$%d,%d", cp0reg, sel); local [all...] |
/openbsd-current/sys/dev/pci/ |
H A D | envy.c | 1545 int reg, shift, mask, sel; local 1549 sel = ENVY_MT_HTSRC_LINE; 1550 sel += src; 1552 sel = ENVY_MT_HTSRC_SPD; 1553 sel += src - ENVY_MIX_OUTSRC_SPDIN; 1555 sel = ENVY_MT_HTSRC_DMA; 1560 reg = (reg & ~mask) | (sel << shift); 1572 sel = src - ENVY_MIX_OUTSRC_LINEIN; 1574 sel = (src - ENVY_MIX_OUTSRC_SPDIN) << 3; 1579 reg = (reg & ~mask) | (sel << shif 1608 int reg, src, sel; local 1631 int reg, shift, mask, sel; local [all...] |
/openbsd-current/sys/arch/sparc64/dev/ |
H A D | vgafb.c | 195 struct pcisel *sel; local 238 sel = (struct pcisel *)data; 239 sel->pc_bus = PCITAG_BUS(sc->sc_pcitag); 240 sel->pc_dev = PCITAG_DEV(sc->sc_pcitag); 241 sel->pc_func = PCITAG_FUN(sc->sc_pcitag);
|
/openbsd-current/gnu/llvm/clang/lib/Basic/ |
H A D | IdentifierTable.cpp | 640 ObjCMethodFamily Selector::getMethodFamilyImpl(Selector sel) { argument 641 IdentifierInfo *first = sel.getIdentifierInfoForSlot(0); 645 if (sel.isUnarySelector()) { 688 ObjCInstanceTypeFamily Selector::getInstTypeMethodFamily(Selector sel) { argument 689 IdentifierInfo *first = sel.getIdentifierInfoForSlot(0); 716 ObjCStringFormatFamily Selector::getStringFormatFamilyImpl(Selector sel) { argument 717 IdentifierInfo *first = sel.getIdentifierInfoForSlot(0);
|
/openbsd-current/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);
|