/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/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/lib/libcurses/ |
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;
|
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...] |
/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/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/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)
|
/src/usr.sbin/ldpd/ |
label.c | 305 struct ldp_peer_address *wp; local in function:label_check_assoc 309 SLIST_FOREACH(wp, &p->ldp_peer_address_head, addresses) 311 &wp->address.sa) == 0) {
|
ldp_command.c | 406 struct ldp_peer_address *wp; local in function:show_neighbours 465 SLIST_FOREACH(wp, &p->ldp_peer_address_head, addresses) { 467 if (wp->address.sa.sa_family != AF_INET) 470 inet_ntoa(wp->address.sin.sin_addr));
|
ldp_peer.c | 410 struct ldp_peer_address *wp; local in function:del_ifaddr 412 wp = check_ifaddr(p, a); 413 if (!wp) 416 SLIST_REMOVE(&p->ldp_peer_address_head, wp, ldp_peer_address, 418 free(wp); 426 struct ldp_peer_address *wp; local in function:check_ifaddr 428 SLIST_FOREACH(wp, &p->ldp_peer_address_head, addresses) 429 if (sockaddr_cmp(a, &wp->address.sa) == 0) 430 return wp; 437 struct ldp_peer_address *wp; local in function:del_all_ifaddr 449 struct ldp_peer_address *wp; local in function:print_bounded_addresses [all...] |
/src/bin/ksh/ |
shf.h | 18 : ((shf)->wnleft--, *(shf)->wp++ = (c))) 43 #define SHF_WRITING 0x4000 /* currently writing: wnleft,wp valid */ 51 unsigned char *wp; /* write: current position in buffer */ member in struct:shf
|
c_test.h | 41 char **wp; /* used by ptest_* */ member in union:test_env::__anondd230d02010a
|
main.c | 101 char **wp; local in function:main 216 for (wp = environ; *wp != NULL; wp++) 217 typeset(*wp, IMPORT|EXPORT, 0, 0, 0); 257 for (wp = (char**)__UNCONST(initcoms); *wp != NULL; wp++) { 258 shcomexec(wp); 259 for (; *wp != NULL; wp++ [all...] |
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...] |
/src/sys/arch/sun3/sun3x/ |
iommu.h | 74 * | | UNUSED | CI| BX| M | U | WP| DT | 88 * <WP> WRITE PROTECT - When set, prevents all DMA devices from writing to 104 u_int wp:1; /* Write Protect bit */ member in struct:iommu_pde_struct::__anonec0cf4ed010a::__anonec0cf4ed0208
|
/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/sys/kern/ |
core_elf32.c | 554 unsigned char *wp; local in function:save_note_bytes 562 wp = nb->nb_data + ns->ns_offset; 563 memcpy(wp, data, copylen); 576 wp + copylen < nb->nb_data + sizeof(nb->nb_data)) 577 wp[copylen++] = 0;
|
/src/sys/rump/librump/rumpkern/ |
locks_up.c | 211 uint16_t *wp; local in function:rw_enter 219 wp = &uprw->uprw_rwant; 222 wp = &uprw->uprw_wwant; 225 (*wp)++; 229 (*wp)--;
|
/src/bin/csh/ |
misc.c | 205 Char **wp; local in function:blkspl 207 wp = xcalloc((size_t)(blklen(up) + blklen(vp) + 1), sizeof(*wp)); 208 (void)blkcpy(wp, up); 209 return (blkcat(wp, vp));
|
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...] |
lex.c | 259 Char wbuf[BUFSIZE], *wp; local in function:word 263 wp = wbuf; 274 *wp++ = (Char)c; 277 *wp++ = (Char)c1; 298 *wp++ = (Char)c; 309 *wp++ = '\\', --i; 350 *wp++ = '\\', --i; 363 *wp++ = (Char)c; 368 wp = &wbuf[1]; 373 *wp = 0 923 Char *mp, *np, *wp; local in function:subword 988 Char *wp, *xp; local in function:domod [all...] |
/src/sys/altq/ |
altq_wfq.c | 199 wfq_state_t *wp = wfq_list; local in function:wfq_ifdetach 201 if (wp->next == wfqp) { 202 wp->next = wfqp->next; 205 } while ((wp = wp->next) != NULL);
|
/src/sys/arch/macppc/dev/ |
ki2c.c | 495 uint8_t *wp; local in function:ki2c_i2c_exec 523 wp = (uint8_t *)(__UNCONST(vcmd)); 535 wp = (uint8_t *)vbuf; 539 wp = (uint8_t *)(__UNCONST(vcmd)); 542 wrbuf[w_len++] = *wp++; 543 wp = (uint8_t *)vbuf; 545 wrbuf[w_len++] = *wp++; 546 wp = wrbuf; 551 if (ki2c_write(sc, addr << 1, 0, wp, w_len) !=0 )
|
/src/lib/libedit/ |
vi.c | 1090 const wchar_t *wp = HIST_FIRST(el); local in function:vi_history_word 1096 if (wp == NULL) 1101 while (iswspace(*wp)) 1102 wp++; 1103 if (*wp == 0) 1105 wsp = wp; 1106 while (*wp && !iswspace(*wp)) 1107 wp++; 1108 wep = wp; [all...] |
/src/sys/dev/dtv/ |
dtvvar.h | 96 unsigned int rp, wp; member in struct:dtv_demux::__anon478bed330208
|