/src/games/hangman/ |
getword.c | 51 char *wp, *gp; local in function:getword 71 gp = Known; 74 *gp++ = '-'; 77 *gp = '\0';
|
/src/lib/libc/arch/hppa/gen/ |
_lwp.c | 54 __greg_t *gp; local in function:_lwp_makecontext 68 gp = (__greg_t *)(fp & ~3); 69 fp = gp[0]; 70 gr[_REG_R19] = gp[1];
|
makecontext.c | 55 __greg_t *gp, rp, fp; local in function:makecontext 73 gp = (__greg_t *)(rp & ~3); 74 rp = gp[0]; 75 sp[-8] = gp[1]; 80 gp = (__greg_t *)(fp & ~3); 81 fp = gp[0]; 82 gr[_REG_R19] = gp[1];
|
/src/sys/external/bsd/gnu-efi/dist/apps/ |
t6.c | 9 unsigned long gp; member in struct:__anon266b67700108
|
/src/usr.sbin/umcpmioctl/ |
putflash.c | 55 uint8_t *gp; local in function:parse_flash_gp_req 71 req->u.gp.gp0_settings = current_flash.get_flash_res.u.gp.gp0_settings; 72 req->u.gp.gp1_settings = current_flash.get_flash_res.u.gp.gp1_settings; 73 req->u.gp.gp2_settings = current_flash.get_flash_res.u.gp.gp2_settings; 74 req->u.gp.gp3_settings = current_flash.get_flash_res.u.gp.gp3_settings; 77 fprintf(stderr, "CURRENT FLASH: %02x %02x %02x %02x\n", current_flash.get_flash_res.u.gp.gp0_settings, current_flash.get_flash_res.u.gp.gp1_settings, current_flash.get_flash_res.u.gp.gp2_ (…) [all...] |
/src/sys/arch/amiga/dev/ |
grf_cc.c | 122 struct grf_softc *gp; local in function:grfccattach 125 gp = &congrf; 126 gp->g_device = &temp; 127 temp.dv_private = gp; 129 gp = device_private(self); 130 gp->g_device = self; 138 memcpy(&gp->g_display, &congrf.g_display, 139 (char *)&gp[1] - (char *)&gp->g_display); 141 gp->g_unit = GRF_CC_UNIT [all...] |
grf.c | 174 struct grf_softc *gp; local in function:grfattach 177 gp = device_private(parent); 178 gp->g_device = self; 179 grfsp[gp->g_unit] = gp; 185 gp->g_grfdev = makedev(maj, gp->g_unit); 188 printf(": width %d height %d", gp->g_display.gd_dwidth, 189 gp->g_display.gd_dheight); 190 if (gp->g_display.gd_colors == 2 241 struct grf_softc *gp; local in function:grfopen 259 struct grf_softc *gp; local in function:grfclose 271 struct grf_softc *gp; local in function:grfioctl 362 struct grf_softc *gp; local in function:grfmmap 388 struct grf_softc *gp; local in function:grfon 406 struct grf_softc *gp; local in function:grfoff 430 struct grf_softc *gp; local in function:grfsinfo 448 struct grf_softc *gp; local in function:grfcnprobe 471 struct grf_softc *gp; local in function:grfcninit 507 struct grf_softc *gp; local in function:grf_init_screen 553 struct grf_softc *gp; local in function:grf_wsioctl 607 struct grf_softc *gp; local in function:grf_wsmmap [all...] |
/src/sys/arch/ia64/include/ |
md_var.h | 40 uint64_t gp; member in struct:ia64_fdesc 44 #define FDESC_GP(fn) (((struct ia64_fdesc *) fn)->gp)
|
/src/sys/arch/x68k/dev/ |
grf_machdep.c | 136 struct grf_softc *gp; local in function:grfattach 143 gp = device_private(self); 144 gp->g_device = self; 145 gp->g_cfaddr = addr; 146 grfinit(gp, addr); 149 gp->g_display.gd_dwidth, gp->g_display.gd_dheight); 150 if (gp->g_display.gd_colors == 2) 153 aprint_normal("%d colors", gp->g_display.gd_colors); 154 aprint_normal(" %s display\n", gp->g_sw->gd_desc) [all...] |
grf.c | 115 struct grf_softc *gp; local in function:grfopen 118 gp = device_lookup_private(&grf_cd, GRFUNIT(dev)); 119 if (gp == NULL) 122 if ((gp->g_flags & GF_ALIVE) == 0) 125 if ((gp->g_flags & (GF_OPEN|GF_EXCLUDE)) == (GF_OPEN|GF_EXCLUDE)) 133 if ((gp->g_flags & GF_OPEN) == 0) { 134 gp->g_flags |= GF_OPEN; 135 error = grfon(gp); 144 struct grf_softc *gp = device_lookup_private(&grf_cd, GRFUNIT(dev)); local in function:grfclose 146 if ((gp->g_flags & GF_ALIVE) == 0 160 struct grf_softc *gp = device_lookup_private(&grf_cd, GRFUNIT(dev)); local in function:grfioctl 263 struct grf_softc *gp = device_lookup_private(&grf_cd, GRFUNIT(dev)); local in function:grfmap 284 struct grf_softc *gp = device_lookup_private(&grf_cd, GRFUNIT(dev)); local in function:grfunmap [all...] |
/src/usr.bin/mail/ |
vars.c | 170 struct group *gp; local in function:printgroup 177 for (gp = gh->g_list; gp != NULL; gp = gp->ge_link) 178 (void)printf(" %s", gp->ge_name);
|
/src/tests/lib/libc/ttyio/ |
t_ptm.c | 65 struct group *gp; local in function:ATF_TC_BODY 97 ATF_REQUIRE_MSG((gp = getgrnam("tty")) != NULL, 99 ATF_REQUIRE_EQ_MSG(sts.st_gid, gp->gr_gid, "bad slave grid"); 130 struct group *gp; local in function:ATF_TC_BODY 161 ATF_REQUIRE_MSG((gp = getgrnam("tty")) != NULL, 164 ATF_REQUIRE_EQ_MSG(sts.st_gid, gp->gr_gid, "bad slave gid");
|
/src/usr.sbin/chroot/ |
chroot.c | 85 struct group *gp; local in function:getgroup 87 if ((gp = getgrnam(group)) != NULL) 88 return gp->gr_gid;
|
/src/sys/arch/evbppc/wii/dev/ |
hwgpio.c | 136 struct gpio_chipset_tag *gp = &sc->sc_gp; local in function:hwgpio_attach 141 gp->gp_cookie = sc; 142 gp->gp_pin_read = hwgpio_pin_read; 143 gp->gp_pin_write = hwgpio_pin_write; 144 gp->gp_pin_ctl = hwgpio_pin_ctl;
|
/src/games/hack/ |
hack.main.c | 295 char *gp = genocided; local in function:main 299 *gp++ = pm->mlet; 302 *gp = 0;
|
/src/sys/dev/fdt/ |
fdt_gpio.c | 115 struct fdtbus_gpio_pin *gp = NULL; local in function:fdtbus_gpio_acquire_index 134 gp = kmem_alloc(sizeof(*gp), KM_SLEEP); 135 gp->gp_gc = gc; 136 gp->gp_priv = gc->gc_funcs->acquire(gc->gc_dev, 138 if (gp->gp_priv == NULL) { 139 kmem_free(gp, sizeof(*gp)); 148 return gp; 152 fdtbus_gpio_release(struct fdtbus_gpio_pin *gp) [all...] |
/src/sys/kern/ |
subr_prof.c | 213 struct gmonparam *gp = curcpu()->ci_gmon; local in function:prof_set_state_xc 215 if (gp != NULL) 216 gp->state = state; 231 struct gmonparam *gp; local in function:sysctl_kern_profiling 254 gp = malloc(sizeof(struct gmonparam) + size, M_GPROF, 256 if (gp == NULL) 258 memcpy(gp, &_gmonparam, sizeof(_gmonparam)); 259 cp = (char *)(gp + 1); 260 gp->tos = (struct tostruct *)cp; 261 gp->kcount = (u_short *)(cp + gp->tossize) [all...] |
/src/sys/arch/atari/dev/ |
grf.c | 171 struct grf_softc *gp; local in function:grfopen 176 gp = grfsp[GRFUNIT(dev)]; 177 if (gp == NULL) 180 if ((gp->g_flags & GF_ALIVE) == 0) 183 if ((gp->g_flags & (GF_OPEN|GF_EXCLUDE)) == (GF_OPEN|GF_EXCLUDE)) 185 grf_viewsync(gp); 194 struct grf_softc *gp; local in function:grfclose 196 gp = grfsp[GRFUNIT(dev)]; 198 gp->g_flags &= GF_ALIVE; 206 struct grf_softc *gp; local in function:grfioctl 271 struct grf_softc *gp; local in function:grfmmap 304 struct grf_softc *gp; local in function:grfon 322 struct grf_softc *gp; local in function:grfoff 346 struct grf_softc *gp; local in function:grfsinfo [all...] |
/src/distrib/utils/libhack/ |
getgrent.c | 123 struct group *gp, *bgp; local in function:getgrnam_r 135 gp = getgrnam(name); 136 if (gp) { 137 *bgp = *gp; 141 return (gp) ? ENOENT : 0;
|
/src/sys/arch/arm/imx/ |
imxgpio.c | 293 struct gpio_chipset_tag * const gp = &gpio->gpio_chipset; local in function:imxgpio_attach_ports 298 gp->gp_cookie = gpio; 299 gp->gp_pin_read = imxgpio_pin_read; 300 gp->gp_pin_write = imxgpio_pin_write; 301 gp->gp_pin_ctl = imxgpio_pin_ctl; 318 gba.gba_gc = gp;
|
/src/sys/arch/mips/rmi/ |
rmixl_gpio.c | 142 struct gpio_chipset_tag * const gp = &gpio->gpio_chipset; local in function:gpio_defer 148 gp->gp_cookie = gpio; 149 gp->gp_pin_read = rmixl_gpio_pin_read; 150 gp->gp_pin_write = rmixl_gpio_pin_write; 151 gp->gp_pin_ctl = rmixl_gpio_pin_ctl; 153 gba.gba_gc = gp;
|
/src/sys/dev/raidframe/ |
rf_cvscan.c | 154 RF_DiskQueueData_t *gp; local in function:Transfer 155 for (gp = (*from_list_ptr); gp != NULL;) { 156 RF_DiskQueueData_t *p = gp->next; 157 PriorityInsert(to_list_ptr, gp); 158 gp = p;
|
/src/usr.sbin/rpc.pcnfsd/ |
pcnfsd_test.c | 116 int *gp; local in function:test_v2_info 134 gp = rp->facilities.facilities_val; 136 printf(" procedure %2d: %6d\n", i, *gp++); 156 u_int *gp; local in function:test_v2_auth 181 gp = rp->gids.gids_val; 183 printf(" %u", *gp++);
|
/src/usr.sbin/ypserv/revnetgroup/ |
parse_netgroup.c | 143 struct netgrp *gp, *ogp; local in function:rng_endnetgrent 158 gp = grouphead.gr; 159 while (gp) { 160 ogp = gp; 161 gp = gp->ng_next;
|
/src/sys/arch/arm/gemini/ |
gemini_gpio.c | 291 struct gpio_chipset_tag * const gp = &gpio->gpio_chipset; local in function:gpio_defer 297 gp->gp_cookie = gpio->gpio_dev; 298 gp->gp_pin_read = geminigpio_pin_read; 299 gp->gp_pin_write = geminigpio_pin_write; 300 gp->gp_pin_ctl = geminigpio_pin_ctl; 302 gba.gba_gc = gp;
|