| /src/bin/ksh/ |
| mkman | 12 echo "usage: $0 [-v] which-shell ksh.Man-file" 1>&2 19 sh) which=0;; 20 ksh) which=1;; 35 [ $verbose = yes ] && echo "$0: Generating $which man page (0=sh,1=ksh)..." 1>&2 37 ${AWK} 'BEGIN { ksh = '$which'; pr = 1 }
|
| /src/usr.bin/whereis/ |
| Makefile | 5 MAN= whereis.1 which.1 6 LINKS= ${BINDIR}/whereis ${BINDIR}/which
|
| whereis.c | 66 int which = strcmp(getprogname(), "which") == 0; local 67 int useenvpath = which, found = 0; 80 which = 0; 124 if (which) 149 if (which)
|
| /src/games/sail/ |
| display.h | 34 void display_set_obp(int which, bool show); 35 void display_set_dbp(int which, bool show);
|
| /src/sys/dev/wscons/ |
| wsbelldata.h | 40 (dstp)->pitch = ((srcp)->which & WSKBD_BELL_DOPITCH) ? \ 42 (dstp)->period = ((srcp)->which & WSKBD_BELL_DOPERIOD) ? \ 44 (dstp)->volume = ((srcp)->which & WSKBD_BELL_DOVOLUME) ? \ 46 (dstp)->which = WSKBD_BELL_DOALL; \
|
| /src/sys/compat/linux32/common/ |
| linux32_resource.c | 80 syscallarg(int) which; 84 int which; local 86 which = linux_to_bsd_limit(SCARG(uap, which)); 87 if (which < 0) 88 return -which; 91 bsd_to_linux_rlimit(&orl, &l->l_proc->p_rlimit[which]); 100 syscallarg(int) which; 106 int which; local 111 which = linux_to_bsd_limit(SCARG(uap, which)) 137 int which; local [all...] |
| /src/sbin/wsconsctl/ |
| keyboard.c | 124 bell.which = 0; 126 bell.which |= WSKBD_BELL_DOPITCH; 128 bell.which |= WSKBD_BELL_DOPERIOD; 130 bell.which |= WSKBD_BELL_DOVOLUME; 131 if (bell.which != 0 && ioctl(fd, WSKBDIO_GETBELL, &bell) < 0) 134 dfbell.which = 0; 136 dfbell.which |= WSKBD_BELL_DOPITCH; 138 dfbell.which |= WSKBD_BELL_DOPERIOD; 140 dfbell.which |= WSKBD_BELL_DOVOLUME; 141 if (dfbell.which != 0 & [all...] |
| /src/sys/compat/netbsd32/ |
| netbsd32_rlimit.c | 49 fixlimit(int which, struct rlimit *alim) 51 switch (which) { 74 syscallarg(int) which; 77 int which = SCARG(uap, which); local 80 if ((u_int)which >= RLIM_NLIMITS) 83 alim = l->l_proc->p_rlimit[which]; 85 fixlimit(which, &alim); 95 syscallarg(int) which; 98 int which = SCARG(uap, which) local [all...] |
| /src/sys/arch/arm/xscale/ |
| i80312_gpio.c | 59 i80312_gpio_set_direction(uint8_t which, uint8_t val) 63 sc->sc_gpio_dir = (sc->sc_gpio_dir & ~which) | val; 74 i80312_gpio_set_val(uint8_t which, uint8_t val) 78 sc->sc_gpio_val = (sc->sc_gpio_val & ~which) | val;
|
| i80321_gpio.c | 56 i80321_gpio_set_direction(uint8_t which, uint8_t val) 60 sc->sc_gpio_dir = (sc->sc_gpio_dir & ~which) | val; 70 i80321_gpio_set_val(uint8_t which, uint8_t val) 74 sc->sc_gpio_val = (sc->sc_gpio_val & ~which) | val;
|
| /src/sys/compat/common/ |
| kern_resource_43.c | 71 syscallarg(int) which; 75 int which = SCARG(uap, which); local 78 if ((u_int)which >= RLIM_NLIMITS) 81 olim.rlim_cur = p->p_rlimit[which].rlim_cur; 84 olim.rlim_max = p->p_rlimit[which].rlim_max; 95 syscallarg(int) which; 98 int which = SCARG(uap, which); local 108 return (dosetrlimit(l, l->l_proc, which, &lim)) [all...] |
| /src/lib/libc/gen/ |
| fmtmsg.c | 143 writeit(FILE *stream, unsigned int which, const char *label, 150 ((which & MM_VERBLABEL) && label != MM_NULLLBL) ? 152 ((which & MM_VERBLABEL) && label != MM_NULLLBL) ? 154 (which & MM_VERBSEVERITY) ? 156 (which & MM_VERBSEVERITY) ? 158 ((which & MM_VERBTEXT) && text != MM_NULLTXT) ? 160 ((which & MM_VERBLABEL) && label != MM_NULLLBL) || 161 ((which & MM_VERBSEVERITY)) || 162 ((which & MM_VERBTEXT) && text != MM_NULLTXT) ? 164 ((which & MM_VERBACTION) && action != MM_NULLACT) [all...] |
| /src/usr.bin/renice/ |
| renice.c | 60 * or groups of processes which are already 66 int which = PRIO_PROCESS; local 84 which = PRIO_PGRP; 88 which = PRIO_USER; 92 which = PRIO_PROCESS; 95 if (which == PRIO_USER) { 117 errs += donice(which, who, prio, incr); 145 donice(int which, id_t who, int prio, int incr) 150 if ((oldprio = getpriority(which, who)) == -1 && errno != 0) { 163 if (setpriority(which, who, prio) == -1) [all...] |
| /src/lib/libc/termios/ |
| tcflush.c | 54 tcflush(int fd, int which) 60 switch (which) {
|
| /src/sys/arch/ia64/stand/ia64/ski/ |
| ssc.c | 47 ssc(u_int64_t in0, u_int64_t in1, u_int64_t in2, u_int64_t in3, int which) 56 : "r"(which), "r"(in0), "r"(in1), "r"(in2), "r"(in3));
|
| /src/sys/rump/net/lib/libvirtif/ |
| Makefile | 5 COMMENT=Network interface which uses hypercalls for I/O
|
| /src/sys/arch/evbarm/mpcsa/ |
| mpcsa_cf.c | 64 static void * mpcsa_cf_intr_establish(void *self, int which, int ipl, int (*ih_func)(void *), void *arg); 65 static void mpcsa_cf_intr_disestablish(void *self, int which, void *cookie); 130 static void * mpcsa_cf_intr_establish(void *self, int which, int ipl, int (*ih_func)(void *), void *ih_arg) 133 return at91pio_intr_establish(sc->sc_pioc, which == CD_IRQ ? 4 : 3, 137 static void mpcsa_cf_intr_disestablish(void *self, int which, void *cookie) 140 at91pio_intr_disestablish(sc->sc_pioc, which == CD_IRQ ? 4 : 3, cookie);
|
| /src/sys/arch/amiga/amiga/ |
| cia.c | 97 dispatch_cia_ints(int which, int mask) 101 disp = (which == 0) ? ciaa_ints : ciab_ints; 116 * the FLG interrupt, which is used to indicate a disk-index
|
| /src/usr.bin/make/unit-tests/ |
| opt-debug.mk | 3 # Tests for the -d command line option, which controls debug logging.
|
| /src/tests/lib/libpthread/ |
| t_barrier.c | 52 int which = (int)(long)arg; local 55 printf("thread %d entering barrier\n", which); 57 printf("thread %d leaving barrier -> %d\n", which, rv);
|
| /src/sys/external/bsd/drm/dist/shared-core/ |
| mga_warp.c | 39 #define WARP_UCODE_SIZE( which ) \ 40 ((sizeof(which) / MGA_WARP_CODE_ALIGN + 1) * MGA_WARP_CODE_ALIGN) 42 #define WARP_UCODE_INSTALL( which, where ) \ 46 memcpy( vcbase, which, sizeof(which) ); \ 47 pcbase += WARP_UCODE_SIZE( which ); \ 48 vcbase += WARP_UCODE_SIZE( which ); \
|
| /src/sys/external/mit/xen-include-public/dist/xen/include/public/arch-x86/ |
| xen-x86_32.h | 116 #define __DECL_REG_LO8(which) union { \ 117 uint32_t e ## which ## x; \ 118 uint16_t which ## x; \ 120 uint8_t which ## l; \ 121 uint8_t which ## h; \ 130 #define __DECL_REG_LO8(which) uint32_t e ## which ## x
|
| xen-x86_64.h | 91 * int HYPERVISOR_set_segment_base(unsigned int which, unsigned long base) 92 * @which == SEGBASE_* ; @base == 64-bit base address 135 #define __DECL_REG_LOHI(which) union { \ 136 uint64_t r ## which ## x; \ 137 uint32_t e ## which ## x; \ 138 uint16_t which ## x; \ 140 uint8_t which ## l; \ 141 uint8_t which ## h; \
|
| /src/usr.sbin/sysinst/ |
| txtwalk.c | 104 size_t which; /* Which pattern we are using */ local 109 for (which = 0; which < numthese; which++) { 110 patlen = strlen(these[which].head); 113 if (strncmp(these[which].head, line, patlen) == 0) { 114 error = process(&these[which], line);
|
| /src/sys/arch/ia64/ia64/ |
| sapic.c | 83 sapic_read(struct sapic *sa, int which) 87 *(volatile uint32_t *) (reg + SAPIC_IO_SELECT) = which; 93 sapic_write(struct sapic *sa, int which, uint32_t value) 97 *(volatile uint32_t *) (reg + SAPIC_IO_SELECT) = which; 104 sapic_read_rte(struct sapic *sa, int which, struct sapic_rte *rte) 108 p[0] = sapic_read(sa, SAPIC_RTE_BASE + 2 * which); 109 p[1] = sapic_read(sa, SAPIC_RTE_BASE + 2 * which + 1); 113 sapic_write_rte(struct sapic *sa, int which, struct sapic_rte *rte) 117 sapic_write(sa, SAPIC_RTE_BASE + 2 * which, p[0]); 118 sapic_write(sa, SAPIC_RTE_BASE + 2 * which + 1, p[1]) [all...] |