Home
last modified time | relevance | path

Searched refs:gbuf (Results 1 – 25 of 25) sorted by relevance

/netbsd/src/crypto/external/bsd/openssh/dist/
Dsftp-common.c225 char buf[1024], lc[8], mode[11+1], tbuf[12+1], ubuf[11+1], gbuf[11+1]; in ls_file() local
236 snprintf(gbuf, sizeof gbuf, "%u", (u_int)st->st_gid); in ls_file()
237 group = gbuf; in ls_file()
Dservconf.c1472 glob_t gbuf; in process_server_config_line_depth() local
2509 if ((r = glob(arg, 0, NULL, &gbuf)) != 0) { in process_server_config_line_depth()
2525 if (gbuf.gl_pathc > INT_MAX) in process_server_config_line_depth()
2527 for (n = 0; n < (int)gbuf.gl_pathc; n++) { in process_server_config_line_depth()
2529 filename, linenum, gbuf.gl_pathv[n]); in process_server_config_line_depth()
2532 item->filename = strdup(gbuf.gl_pathv[n]); in process_server_config_line_depth()
2547 globfree(&gbuf); in process_server_config_line_depth()
/netbsd/src/bin/csh/
Dglob.c100 Char gbuf[MAXPATHLEN], *b, *e, *gstart, *u; in globtilde() local
102 gstart = gbuf; in globtilde()
105 for (b = gstart, e = &gbuf[MAXPATHLEN - 1]; in globtilde()
129 Char gbuf[MAXPATHLEN]; in globbrace() local
138 for (lm = gbuf, p = s; *p != LBRC; *lm++ = *p++) in globbrace()
193 (void)Strcat(gbuf, pe + 1); in globbrace()
195 *vl++ = Strsave(gbuf); in globbrace()
/netbsd/src/sys/arch/newsmips/apbus/
Dxafb.c392 u_char rbuf[256], gbuf[256], bbuf[256]; in xafb_putcmap() local
401 error = copyin(cm->green, &gbuf[index], count); in xafb_putcmap()
409 memcpy(&sc->sc_cmap_green[index], &gbuf[index], count); in xafb_putcmap()
/netbsd/src/games/hack/
Dhack.invent.c877 char gbuf[30]; in dolook() local
879 (void) snprintf(gbuf, sizeof(gbuf), "%ld gold piece%s", in dolook()
882 pline("You %s here %s.", verb, gbuf); in dolook()
884 cornline(1, gbuf); in dolook()
/netbsd/src/sys/arch/macppc/dev/
Dofb.c397 u_char rbuf[256], gbuf[256], bbuf[256]; in ofb_putcmap() local
406 error = copyin(cm->green, &gbuf[index], count); in ofb_putcmap()
414 memcpy(&sc->sc_cmap_green[index], &gbuf[index], count); in ofb_putcmap()
Dplatinumfb.c988 u_char rbuf[256], gbuf[256], bbuf[256]; in platinumfb_putcmap() local
996 error = copyin(cm->green, &gbuf[index], count); in platinumfb_putcmap()
1004 memcpy(&sc->sc_cmap_green[index], &gbuf[index], count); in platinumfb_putcmap()
/netbsd/src/sys/arch/prep/pci/
Dgten.c396 u_char rbuf[256], gbuf[256], bbuf[256]; in gten_putcmap() local
404 error = copyin(cm->green, &gbuf[index], count); in gten_putcmap()
412 memcpy(&gt->gt_cmap_green[index], &gbuf[index], count); in gten_putcmap()
/netbsd/src/sys/arch/sparc64/dev/
Dgfb.c402 u_char rbuf[256], gbuf[256], bbuf[256]; in gfb_putcmap() local
413 error = copyin(cm->green, &gbuf[index], count); in gfb_putcmap()
421 memcpy(&sc->sc_cmap_green[index], &gbuf[index], count); in gfb_putcmap()
/netbsd/src/usr.bin/compress/
Dzopen.c174 #define gbuf zs->u.r.zs_gbuf macro
574 bp = gbuf; in getcode()
592 size = fread(gbuf, 1, n_bits, fp); in getcode()
/netbsd/src/sys/arch/sparc/dev/
Dcgfourteen.c897 u_char rbuf[256], gbuf[256], bbuf[256]; in cg14_putcmap() local
905 error = copyin(cm->green, &gbuf[index], count); in cg14_putcmap()
914 sc->sc_cmap.cm_map[index][2] = gbuf[index]; in cg14_putcmap()
929 uint8_t rbuf[256], gbuf[256], bbuf[256]; in cg14_getcmap() local
940 gbuf[i] = sc->sc_cmap.cm_map[index][2]; in cg14_getcmap()
948 error = copyout(gbuf, cm->green, count); in cg14_getcmap()
/netbsd/src/sys/dev/ic/
Dct65550.c338 u_char rbuf[256], gbuf[256], bbuf[256]; in chipsfb_putcmap() local
349 error = copyin(cm->green, &gbuf[index], count); in chipsfb_putcmap()
357 memcpy(&sc->sc_cmap_green[index], &gbuf[index], count); in chipsfb_putcmap()
/netbsd/src/sys/dev/pci/
Dwcfb.c348 u_char rbuf[256], gbuf[256], bbuf[256]; in wcfb_putcmap() local
356 error = copyin(cm->green, &gbuf[index], count); in wcfb_putcmap()
364 memcpy(&sc->sc_cmap_green[index], &gbuf[index], count); in wcfb_putcmap()
Dgffb.c584 u_char rbuf[256], gbuf[256], bbuf[256]; in gffb_putcmap() local
595 error = copyin(cm->green, &gbuf[index], count); in gffb_putcmap()
603 memcpy(&sc->sc_cmap_green[index], &gbuf[index], count); in gffb_putcmap()
Dr128fb.c576 u_char rbuf[256], gbuf[256], bbuf[256]; in r128fb_putcmap() local
587 error = copyin(cm->green, &gbuf[index], count); in r128fb_putcmap()
595 memcpy(&sc->sc_cmap_green[index], &gbuf[index], count); in r128fb_putcmap()
Dpm3fb.c505 u_char rbuf[256], gbuf[256], bbuf[256]; in pm3fb_putcmap() local
513 error = copyin(cm->green, &gbuf[index], count); in pm3fb_putcmap()
521 memcpy(&sc->sc_cmap_green[index], &gbuf[index], count); in pm3fb_putcmap()
Dpm2fb.c658 u_char rbuf[256], gbuf[256], bbuf[256]; in pm2fb_putcmap() local
669 error = copyin(cm->green, &gbuf[index], count); in pm2fb_putcmap()
677 memcpy(&sc->sc_cmap_green[index], &gbuf[index], count); in pm2fb_putcmap()
Dvoodoofb.c636 u_char rbuf[256], gbuf[256], bbuf[256]; in voodoofb_putcmap() local
647 error = copyin(cm->green, &gbuf[index], count); in voodoofb_putcmap()
655 memcpy(&sc->sc_cmap_green[index], &gbuf[index], count); in voodoofb_putcmap()
Dmachfb.c1481 uint8_t rbuf[256], gbuf[256], bbuf[256]; in mach64_putcmap() local
1490 error = copyin(cm->green, &gbuf[index], count); in mach64_putcmap()
1498 memcpy(&sc->sc_cmap_green[index], &gbuf[index], count); in mach64_putcmap()
Dradeonfb.c2980 u_char rbuf[256], gbuf[256], bbuf[256]; in radeonfb_putcmap() local
2990 error = copyin(cm->green, &gbuf[index], count); in radeonfb_putcmap()
2998 memcpy(&dp->rd_cmap_green[index], &gbuf[index], count); in radeonfb_putcmap()
/netbsd/src/sys/dev/wsfb/
Dgenfb.c800 u_char rbuf[256], gbuf[256], bbuf[256]; in genfb_putcmap() local
811 error = copyin(cm->green, &gbuf[index], count); in genfb_putcmap()
819 memcpy(&scp->sc_cmap_green[index], &gbuf[index], count); in genfb_putcmap()
/netbsd/src/sys/dev/sbus/
Dagten.c542 u_char rbuf[256], gbuf[256], bbuf[256]; in agten_putcmap() local
551 error = copyin(cm->green, &gbuf[index], count); in agten_putcmap()
559 g = &gbuf[index]; in agten_putcmap()
Dmgx.c444 u_char rbuf[256], gbuf[256], bbuf[256]; in mgx_putcmap() local
452 error = copyin(cm->green, &gbuf[index], count); in mgx_putcmap()
460 memcpy(&sc->sc_cmap_green[index], &gbuf[index], count); in mgx_putcmap()
Dp9100.c1395 u_char rbuf[256], gbuf[256], bbuf[256]; in p9100_putcmap() local
1404 error = copyin(cm->green, &gbuf[index], count); in p9100_putcmap()
1412 g = &gbuf[index]; in p9100_putcmap()
/netbsd/src/sys/dev/pci/voyager/
Dvoyagerfb.c646 u_char rbuf[256], gbuf[256], bbuf[256]; in voyagerfb_putcmap() local
657 error = copyin(cm->green, &gbuf[index], count); in voyagerfb_putcmap()
665 memcpy(&sc->sc_cmap_green[index], &gbuf[index], count); in voyagerfb_putcmap()