| /openbsd-src/distrib/special/more/ |
| H A D | tgoto.c | 76 int which = destline; in tgoto() local 103 if (which < 10) in tgoto() 105 if (which < 100) in tgoto() 112 *dp++ = (which / 100) | '0'; in tgoto() 113 which %= 100; in tgoto() 120 *dp++ = which / 10 | '0'; in tgoto() 124 *dp++ = which % 10 | '0'; in tgoto() 128 which = oncol ? destcol : destline; in tgoto() 133 if (which > *cp++) in tgoto() 134 which += *cp++; in tgoto() [all …]
|
| /openbsd-src/sbin/wsconsctl/ |
| H A D | keyboard.c | 84 bell.which = 0; in keyboard_get_values() 86 bell.which |= WSKBD_BELL_DOPITCH; in keyboard_get_values() 88 bell.which |= WSKBD_BELL_DOPERIOD; in keyboard_get_values() 90 bell.which |= WSKBD_BELL_DOVOLUME; in keyboard_get_values() 91 if (bell.which != 0 && ioctl(fd, WSKBDIO_GETBELL, &bell) == -1) in keyboard_get_values() 94 dfbell.which = 0; in keyboard_get_values() 96 dfbell.which |= WSKBD_BELL_DOPITCH; in keyboard_get_values() 98 dfbell.which |= WSKBD_BELL_DOPERIOD; in keyboard_get_values() 100 dfbell.which |= WSKBD_BELL_DOVOLUME; in keyboard_get_values() 101 if (dfbell.which != 0 && in keyboard_get_values() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/t/re/ |
| H A D | reg_posixcc.t | 119 foreach my $which ("[$yes]","[$no]","[^$yes]","[^$no]") { 120 if ($got{$which}{'utf8'} != $got{$which}{'not-utf8'}){ 121 is($got{$which}{'utf8'},$got{$which}{'not-utf8'}, 122 …"chr($display_b) X 2=~ /$which/ should have the same results regardless of internal string encodin… 123 push @{$singles{$which}},$b; 126 foreach my $which ($yes,$no) { 128 if ($got{"[$which]"}{$strtype} == $got{"[^$which]"}{$strtype}) { 129 isnt($got{"[$which]"}{$strtype},$got{"[^$which]"}{$strtype}, 130 …"chr($display_b) X 2 =~ /[$which]/ should not have the same result as chr($display_b)=~/[^$which]/… 131 push @{$complements{$which}{$strtype}},$b;
|
| /openbsd-src/regress/usr.bin/ssh/ |
| H A D | key-options.sh | 25 which=$1 29 verbose "key option pty $which" 32 fail "key option failed $which" 37 *) fail "key option failed $which (pty $r)" ;; 42 which=$1 46 verbose "key option pty $which" 51 fail "key option failed $which (pty $r)" 54 /dev/*) fail "key option failed $which (pty $r)" ;; 99 which=$1 103 verbose "key option expiry-time $which" [all...] |
| /openbsd-src/lib/libcurses/tinfo/ |
| H A D | db_iterator.c | 123 update_getenv(const char *name, DBDIRS which) in update_getenv() argument 127 if (which < dbdLAST) { in update_getenv() 129 char *cached_value = my_vars[which].value; in update_getenv() 141 my_vars[which].name = name; in update_getenv() 144 FreeIfNeeded(my_vars[which].value); in update_getenv() 145 my_vars[which].value = value; in update_getenv() 156 cache_getenv(const char *name, DBDIRS which) in cache_getenv() argument 160 (void) update_getenv(name, which); in cache_getenv() 161 if (which < dbdLAST) { in cache_getenv() 162 result = my_vars[which].value; in cache_getenv() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/dist/Term-ReadLine/lib/Term/ |
| H A D | ReadLine.pm | 331 my ($which) = exists $ENV{PERL_RL} ? split /\s+/, $ENV{PERL_RL} : undef; 332 if ($which) { 333 if ($which =~ /\bgnu\b/i){ 335 } elsif ($which =~ /\bperl\b/i) { 337 } elsif ($which =~ /^(Stub|TermCap|Tk)$/) { 341 eval "use Term::ReadLine::$which;"; 343 } elsif (defined $which and $which ne '') { # Defined but false 360 } elsif (defined $which && defined &{"Term::ReadLine::$which\::readline"}) { 361 @ISA = "Term::ReadLine::$which";
|
| /openbsd-src/gnu/lib/libstdc++/libstdc++/libsupc++/ |
| H A D | eh_alloc.cc | 115 unsigned int which = 0; in __cxa_allocate_exception() local 122 if (++which >= EMERGENCY_OBJ_COUNT) in __cxa_allocate_exception() 126 emergency_used |= (bitmask_type)1 << which; in __cxa_allocate_exception() 127 ret = &emergency_buffer[which][0]; in __cxa_allocate_exception() 150 unsigned int which in __cxa_free_exception() local 155 emergency_used &= ~((bitmask_type)1 << which); in __cxa_free_exception() 158 emergency_used &= ~((bitmask_type)1 << which); in __cxa_free_exception()
|
| /openbsd-src/sys/arch/i386/i386/ |
| H A D | softintr.c | 78 softintr_dispatch(int which) in softintr_dispatch() argument 80 struct i386_soft_intr *si = &i386_soft_intrs[which]; in softintr_dispatch() 113 int which; in softintr_establish() local 117 which = I386_SOFTINTR_SOFTCLOCK; in softintr_establish() 121 which = I386_SOFTINTR_SOFTNET; in softintr_establish() 126 which = I386_SOFTINTR_SOFTTTY; in softintr_establish() 133 si = &i386_soft_intrs[which]; in softintr_establish()
|
| H A D | sys_machdep.c | 87 i386_get_threadbase(struct proc *p, int which) in i386_get_threadbase() argument 90 &p->p_addr->u_pcb.pcb_threadsegs[which]; in i386_get_threadbase() 95 i386_set_threadbase(struct proc *p, uint32_t base, int which) in i386_set_threadbase() argument 108 sdp = &p->p_addr->u_pcb.pcb_threadsegs[which]; in i386_set_threadbase() 112 curcpu()->ci_gdt[which == TSEG_FS ? GUFS_SEL : GUGS_SEL].sd in i386_set_threadbase()
|
| /openbsd-src/share/snmp/ |
| H A D | SNMPv2-MIB.txt | 151 "A value which indicates the set of services that this 157 to the sum. For example, a node which performs only 159 In contrast, a node which is a host offering application 177 -- a collection of objects which describe the SNMP entity's 278 "The total number of SNMP messages which were delivered 289 example, SNMPv1) delivered to the SNMP entity which 291 Also, implementations which authenticate community-based 296 in this value the number of messages which failed the 299 the documentation for any security model which is used 310 example, SNMPv1) delivered to the SNMP entity which [all …]
|
| /openbsd-src/gnu/lib/libreadline/ |
| H A D | history.c | 271 replace_history_entry (which, line, data) in replace_history_entry() argument 272 int which; in replace_history_entry() 278 if (which >= history_length) 282 old_value = the_history[which]; 286 the_history[which] = temp; 295 remove_history (which) in remove_history() argument 296 int which; in remove_history() 301 if (which >= history_length || !history_length) 305 return_value = the_history[which]; 307 for (i = which; i < history_length; i++)
|
| /openbsd-src/sys/arch/amd64/amd64/ |
| H A D | softintr.c | 78 softintr_dispatch(int which) in softintr_dispatch() argument 81 struct x86_soft_intr *si = &x86_soft_intrs[which]; in softintr_dispatch() 120 int which; in softintr_establish() local 124 which = X86_SOFTINTR_SOFTCLOCK; in softintr_establish() 128 which = X86_SOFTINTR_SOFTNET; in softintr_establish() 133 which = X86_SOFTINTR_SOFTTTY; in softintr_establish() 140 si = &x86_soft_intrs[which]; in softintr_establish()
|
| /openbsd-src/regress/sys/kern/itimer/ |
| H A D | itimer.c | 28 int which, sig; in main() local 34 which = ITIMER_REAL; in main() 38 which = ITIMER_VIRTUAL; in main() 42 which = ITIMER_PROF; in main() 57 if (setitimer(which, &itv, NULL) != 0) in main() 64 switch (which) { in main()
|
| /openbsd-src/gnu/usr.bin/perl/ |
| H A D | op.h | 828 #define BhkENTRY(hk, which) \ argument 829 ((BhkFLAGS(hk) & BHKf_ ## which) ? ((hk)->which) : NULL) 831 #define BhkENABLE(hk, which) \ argument 833 BhkFLAGS(hk) |= BHKf_ ## which; \ 834 assert(BhkENTRY(hk, which)); \ 837 #define BhkDISABLE(hk, which) \ argument 839 BhkFLAGS(hk) &= ~(BHKf_ ## which); \ 842 #define BhkENTRY_set(hk, which, ptr) \ argument 844 (hk)->which = ptr; \ 845 BhkENABLE(hk, which); \ [all …]
|
| /openbsd-src/sys/arch/riscv64/riscv64/ |
| H A D | softintr.c | 80 softintr_dispatch(int which) in softintr_dispatch() argument 82 struct soft_intr *si = &soft_intrs[which]; in softintr_dispatch() 128 int which; in softintr_establish_flags() local 132 which = SIR_CLOCK; in softintr_establish_flags() 136 which = SIR_NET; in softintr_establish_flags() 141 which = SIR_TTY; in softintr_establish_flags() 148 si = &soft_intrs[which]; in softintr_establish_flags()
|
| /openbsd-src/sys/arch/arm64/arm64/ |
| H A D | softintr.c | 81 softintr_dispatch(int which) in softintr_dispatch() argument 83 struct soft_intr *si = &soft_intrs[which]; in softintr_dispatch() 129 int which; in softintr_establish_flags() local 133 which = SIR_CLOCK; in softintr_establish_flags() 137 which = SIR_NET; in softintr_establish_flags() 142 which = SIR_TTY; in softintr_establish_flags() 149 si = &soft_intrs[which]; in softintr_establish_flags()
|
| /openbsd-src/sys/arch/powerpc64/powerpc64/ |
| H A D | softintr.c | 81 softintr_dispatch(int which) in softintr_dispatch() argument 83 struct soft_intr *si = &soft_intrs[which]; in softintr_dispatch() 129 int which; in softintr_establish_flags() local 133 which = SIR_CLOCK; in softintr_establish_flags() 137 which = SIR_NET; in softintr_establish_flags() 142 which = SIR_TTY; in softintr_establish_flags() 149 si = &soft_intrs[which]; in softintr_establish_flags()
|
| /openbsd-src/gnu/gcc/libstdc++-v3/libsupc++/ |
| H A D | eh_alloc.cc | 111 unsigned int which = 0; in __cxa_allocate_exception() local 118 if (++which >= EMERGENCY_OBJ_COUNT) in __cxa_allocate_exception() 122 emergency_used |= (bitmask_type)1 << which; in __cxa_allocate_exception() 123 ret = &emergency_buffer[which][0]; in __cxa_allocate_exception() 150 const unsigned int which in __cxa_free_exception() local 154 emergency_used &= ~((bitmask_type)1 << which); in __cxa_free_exception()
|
| /openbsd-src/regress/usr.bin/mandoc/man/TP/ |
| H A D | double.out_ascii | 8 width; at which point will this text wrap to the next line? 11 text width; at which point will this text wrap to the 15 text width; at which point will this text wrap to the 19 text width; at which point will this text wrap to the next line? 22 text width; at which point will this text wrap to the 26 text width; at which point will this text wrap to the next line? 29 text width; at which point will this text wrap to the 33 text width; at which point will this text wrap to the next line?
|
| /openbsd-src/gnu/llvm/clang/tools/diag-build/ |
| H A D | diag-build.sh | 38 elif [[ ! -z $(which clang) ]]; then 39 CC=$(which clang) 51 elif [[ ! -z $(which clang++) ]]; then 52 CXX=$(which clang++) 58 diagtool=$(which diagtool)
|
| /openbsd-src/sys/kern/ |
| H A D | kern_time.c | 527 setitimer(int which, const struct itimerval *itv, struct itimerval *olditv) in setitimer() 534 KASSERT(which >= ITIMER_REAL && which <= ITIMER_PROF); in setitimer() 537 itimer = &pr->ps_timer[which]; in setitimer() 544 if (which == ITIMER_REAL) { in setitimer() 553 if (which == ITIMER_REAL) { in setitimer() 561 if (which == ITIMER_VIRTUAL || which == ITIMER_PROF) { in setitimer() 567 if (which == ITIMER_REAL) in setitimer() 573 if (which in setitimer() 525 setitimer(int which,const struct itimerval * itv,struct itimerval * olditv) setitimer() argument 605 int which; sys_getitimer() local 628 int error, which; sys_setitimer() local [all...] |
| /openbsd-src/gnu/usr.bin/texinfo/makeinfo/ |
| H A D | index.c | 124 int which = find_index_offset (name); in undefindex() local 128 if (which < 0 || !name_index_alist[which]) in undefindex() 131 i = name_index_alist[which]->read_index; in undefindex() 136 free (name_index_alist[which]->name); in undefindex() 137 free (name_index_alist[which]); in undefindex() 138 name_index_alist[which] = NULL; in undefindex() 145 int which; in index_add_arg() local 151 which = tem ? tem->write_index : -1; in index_add_arg() 167 if (which < 0) in index_add_arg() 182 new->next = the_indices[which]; in index_add_arg() [all …]
|
| /openbsd-src/sys/arch/mips64/mips64/ |
| H A D | sys_machdep.c | 102 if ((cfa->which & BCACHE) != cfa->which) in mips64_cacheflush() 105 if (cfa->which == 0) in mips64_cacheflush() 123 if (cfa->which & ICACHE) in mips64_cacheflush() 125 if (cfa->which & DCACHE) in mips64_cacheflush()
|
| /openbsd-src/gnu/usr.bin/cvs/src/ |
| H A D | find_names.c | 59 Find_Names (repository, which, aflag, optentries) in Find_Names() argument 61 int which; 72 if (which & W_LOCAL) 89 if ((which & W_REPOS) && repository && !isreadable (CVSADM_ENTSTAT)) 99 if (which & W_ATTIC) 167 Find_Directories (repository, which, entries) in Find_Directories() argument 169 int which; 178 if (which & W_LOCAL) 232 if ((which & W_REPOS) && repository)
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/gas/doc/ |
| H A D | c-msp430.texi | 129 Also, there are some instructions, which cannot be found in other assemblers. 130 These are branch instructions, which has different opcodes upon jump distance. 135 A polymorph instruction which is @samp{jeq label} in case if jump distance 144 A polymorph instruction which is @samp{jne label} or @samp{jeq +4; br label} 147 A polymorph instruction which is @samp{jl label} or @samp{jge +4; br label} 150 A polymorph instruction which is @samp{jn label} or @samp{jn +2; jmp +4; br label} 153 A polymorph instruction which is @samp{jlo label} or @samp{jhs +2; br label} 156 A polymorph instruction which is @samp{jge label} or @samp{jl +4; br label} 159 A polymorph instruction which is @samp{jhs label} or @samp{jlo +4; br label} 162 A polymorph instruction which is @samp{jeq +2; jge label} or @samp{jeq +6; jl +4; br label} [all …]
|