HomeSort by: relevance | last modified time | path
    Searched refs:wp (Results 1 - 25 of 404) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/games/hack/
hack.worn.c 114 struct worn *wp; local in function:setworn
117 for (wp = worn; wp->w_mask; wp++)
118 if (wp->w_mask & mask) {
119 oobj = *(wp->w_obj);
120 if (oobj && !(oobj->owornmask & wp->w_mask))
121 impossible("Setworn: mask = %ld.", wp->w_mask);
123 oobj->owornmask &= ~wp->w_mask;
124 if (obj && oobj && wp->w_mask == W_ARM)
145 struct worn *wp; local in function:setnotworn
    [all...]
  /src/games/hangman/
getword.c 51 char *wp, *gp; local in function:getword
65 for (wp = Word; *wp; wp++)
66 if (!islower((unsigned char)*wp))
72 wp = Word;
73 while (*wp) {
75 wp++;
  /src/lib/libcurses/
delwin.c 53 WINDOW *wp, *np; local in function:delwin
75 wp = win->nextp;
76 while (wp != win) {
77 np = wp->nextp;
78 delwin(wp);
79 wp = np;
101 for (wp = win->nextp; wp->nextp != win; wp = wp->nextp
    [all...]
cchar.c 55 wchar_t *wp; local in function:getcchar
61 wp = wmemchr(wcval->vals, L'\0', CCHARW_MAX);
62 len = wp ? wp - wcval->vals : CCHARW_MAX;
  /src/bin/ksh/
c_sh.c 24 c_label(wp)
25 char **wp;
27 return wp[0][0] == 'f' ? 1 : 0;
31 c_shift(wp)
32 char **wp;
39 if (ksh_getopt(wp, &builtin_opt, null) == '?')
41 arg = wp[builtin_opt.optind];
63 c_umask(wp)
64 char **wp;
72 while ((optc = ksh_getopt(wp, &builtin_opt, "S")) != EOF
784 char **wp = *app; local in function:timex_hook
    [all...]
c_ksh.c 18 c_cd(wp)
19 char **wp;
34 while ((optc = ksh_getopt(wp, &builtin_opt, "LP")) != EOF)
45 wp += builtin_opt.optind;
55 if (!wp[0]) {
61 } else if (!wp[1]) {
63 dir = wp[0];
72 } else if (!wp[2]) {
86 if ((cp = strstr(current_wd, wp[0])) == (char *) 0) {
91 olen = strlen(wp[0])
    [all...]
tree.c 21 static void tputS ARGS((char *wp, struct shf *shf));
294 tputS(wp, shf)
295 char *wp;
308 switch ((c = *wp++)) {
312 tputC(*wp++, shf);
315 c = *wp++;
323 while (*wp != 0)
324 tputC(*wp++, shf);
326 wp++;
332 while (*wp != 0
    [all...]
c_ulimit.c 51 c_ulimit(wp)
52 char **wp;
148 while ((optc = ksh_getopt(wp, &builtin_opt, options)) != EOF)
172 wp += builtin_opt.optind;
173 set = *wp ? 1 : 0;
175 if (all || wp[1]) {
179 if (strcmp(wp[0], "unlimited") == 0)
184 if (!evaluate(wp[0], &rval, KSH_RETURN_ERROR))
193 if (!rval && !digit(wp[0][0])) {
194 bi_errorf("invalid limit: %s", wp[0])
    [all...]
lex.c 65 static char *get_brace_var ARGS((XString *wsp, char *wp));
113 char *wp; /* output word pointer */ local in function:yylex
125 Xinit(ws, wp, 64, ATEMP);
134 *wp++ = OQUOTE; /* enclose arguments in (double) quotes */
168 Xcheck(ws, wp);
172 *wp = EOS; /* temporary */
173 if (is_wdvarname(Xstring(ws, wp), false))
178 *wp++ = CHAR;
179 *wp++ = c;
181 Xcheck(ws, wp);
1284 char *wp; local in function:arraysub
    [all...]
c_test.c 109 c_test(wp)
110 char **wp;
122 for (argc = 0; wp[argc]; argc++)
125 if (strcmp(wp[0], "[") == 0) {
126 if (strcmp(wp[--argc], "]") != 0) {
132 te.pos.wp = wp + 1;
133 te.wp_end = wp + argc;
141 char **owp = wp;
162 te.pos.wp--
    [all...]
  /src/usr.bin/mail/
head.c 183 nextword(const char *wp, char *wbuf)
185 if (wp == NULL) {
189 while (*wp && !is_WSP(*wp)) {
190 *wbuf++ = *wp;
191 if (*wp++ == '"') {
192 while (*wp && *wp != '"')
193 *wbuf++ = *wp++;
194 if (*wp == '"'
    [all...]
  /src/games/battlestar/
parse.c 78 struct wlist *wp; local in function:lookup
80 for (wp = hashtab[hash(s)]; wp != NULL; wp = wp->next)
81 if (*s == *wp->string && strcmp(s, wp->string) == 0)
82 return wp;
87 install(struct wlist *wp)
91 if (lookup(wp->string) == NULL)
102 struct wlist *wp; local in function:parse
    [all...]
  /src/sys/arch/amiga/pci/
empb_bsm.c 178 bus_addr_t wp; /* window position */ local in function:empb_bsr1
180 wp = empb_switch_window(empb_sc, handle);
183 p = (uint8_t*)((empb_sc->pci_mem_win_t->base) + (handle - wp) + offset);
193 bus_addr_t wp; local in function:empb_bsw1
195 wp = empb_switch_window(empb_sc, handle);
196 p = (uint8_t*)((empb_sc->pci_mem_win_t->base) + (handle - wp) + offset);
205 bus_addr_t wp; local in function:empb_bsrm1
207 wp = empb_switch_window(empb_sc, handle);
209 (handle - wp) + offset);
223 bus_addr_t wp; local in function:empb_bswm1
241 bus_addr_t wp; local in function:empb_bsrr1
260 bus_addr_t wp; local in function:empb_bswr1
279 bus_addr_t wp; local in function:empb_bssr1
299 bus_addr_t wp; local in function:empb_bscr1
323 bus_addr_t wp; local in function:empb_bsr2
339 bus_addr_t wp; local in function:empb_bsr2_swap
355 bus_addr_t wp; local in function:empb_bsw2
367 bus_addr_t wp; local in function:empb_bsw2_swap
380 bus_addr_t wp; local in function:empb_bsrm2
398 bus_addr_t wp; local in function:empb_bsrm2_swap
416 bus_addr_t wp; local in function:empb_bswm2
434 bus_addr_t wp; local in function:empb_bswm2_swap
452 bus_addr_t wp; local in function:empb_bsrr2
471 bus_addr_t wp; local in function:empb_bsrr2_swap
490 bus_addr_t wp; local in function:empb_bssr2_swap
509 bus_addr_t wp; local in function:empb_bswr2
528 bus_addr_t wp; local in function:empb_bswr2_swap
548 bus_addr_t wp; local in function:empb_bscr2
572 bus_addr_t wp; local in function:empb_bsr4
588 bus_addr_t wp; local in function:empb_bsr4_swap
604 bus_addr_t wp; local in function:empb_bsw4
616 bus_addr_t wp; local in function:empb_bsw4_swap
629 bus_addr_t wp; local in function:empb_bsrm4
647 bus_addr_t wp; local in function:empb_bsrm4_swap
665 bus_addr_t wp; local in function:empb_bswm4
683 bus_addr_t wp; local in function:empb_bswm4_swap
701 bus_addr_t wp; local in function:empb_bsrr4
720 bus_addr_t wp; local in function:empb_bsrr4_swap
739 bus_addr_t wp; local in function:empb_bssr4_swap
758 bus_addr_t wp; local in function:empb_bswr4
777 bus_addr_t wp; local in function:empb_bswr4_swap
797 bus_addr_t wp; local in function:empb_bscr4
    [all...]
  /src/sbin/dump/
tape.c 108 struct worker *wp; variable in typeref:struct:worker *
148 wp = &workers[0];
149 wp->count = 1;
150 wp->tapea = 0;
151 wp->firstrec = 0;
152 nextblock = wp->tblock;
160 wp->req[trecno].dblk = (daddr_t)0;
161 wp->req[trecno].count = 1;
180 wp->req[trecno].dblk = dblkno;
181 wp->req[trecno].count = avail
    [all...]
  /src/tests/lib/libc/locale/
t_wcsrtombs.c 47 const wchar_t *wp = label; local in function:ATF_TC_BODY
54 n = wcsrtombs(lbuf, &wp, sizeof(lbuf), &mbstate);
58 ATF_REQUIRE_EQ(wp - label, 1);
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
rk3288-veyron-mighty.dts 23 wp-gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>;
25 /delete-property/ disable-wp;
30 sdmmc_wp_pin: sdmmc-wp-pin {
imx6ul-tx6ul-0011.dts 66 fsl,wp-controller;
imx7d-sbc-imx7.dts 24 wp-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
39 MX7D_PAD_SD1_WP__GPIO5_IO1 0x59 /* WP */
imx6dl-tx6s-8035.dts 70 fsl,wp-controller;
imx6dl-tx6u-8033.dts 66 fsl,wp-controller;
imx6q-tx6q-1020.dts 70 fsl,wp-controller;
imx6q-tx6q-1036.dts 70 fsl,wp-controller;
  /src/bin/csh/
dol.c 166 Dpack(Char *wbuf, Char *wp)
171 i = MAXWLEN - (wp - wbuf);
178 *wp = 0;
189 *wp = 0;
196 return (wp);
197 *wp++ = 0;
203 *wp++ = (Char)c;
216 Char wbuf[BUFSIZE], *wp; local in function:Dword
224 wp = wbuf;
237 *wp = 0
    [all...]
  /src/sys/arch/arm/dts/
meson8b-odroidc1.dts 47 disable-wp;
  /src/sys/arch/powerpc/booke/dev/
e500wdog.c 127 const u_int wp = __builtin_clz(period) + 1; local in function:e500wdog_setmode
129 tcr |= __SHIFTIN(wp, TCR_WP) | __SHIFTIN(wp >> 2, TCR_WPEXT);
132 ((1ULL << (63 - wp)) + sc->sc_timebase - 1)
151 u_int wp = __SHIFTOUT(tcr, TCR_WP) | (__SHIFTOUT(tcr, TCR_WPEXT) << 2); local in function:e500wdog_attach
154 printf(" tcr=%#x wp=%u", tcr, wp);
159 sc->sc_wdog_period = ((1ULL << (63 - wp)) + sc->sc_timebase - 1)

Completed in 26 milliseconds

1 2 3 4 5 6 7 8 91011>>