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

1 2 3 4

  /src/bin/csh/
char.h 63 #define cmap(c, bits) \ macro
66 #define isglob(c) cmap(c, _GLOB)
67 #define isspc(c) cmap(c, _SP)
68 #define ismeta(c) cmap(c, _META)
69 #define iscmdmeta(c) cmap(c, _CMD)
87 #define Isspace(c) cmap(c, _SP|_NL)
88 #define Isdigit(c) cmap(c, _DIG)
89 #define Isalpha(c) (cmap(c,_LET) && !(((c) & META) && AsciiOnly))
90 #define Islower(c) (cmap(c,_LOW) && !(((c) & META) && AsciiOnly))
91 #define Isupper(c) (cmap(c, _UP) && !(((c) & META) && AsciiOnly)
    [all...]
dol.c 113 if (cmap(*p, _DOL | QUOTES)) { /* $, \, ', ", ` */
193 if (cmap(c, _SP | _NL | _QF | _QB)) { /* sp \t\n'"` */
195 if (cmap(c, QUOTES))
344 if (cmap(c, QUOTES))
807 if (cmap(c, QUOTES))
  /src/sys/arch/ews4800mips/sbd/
fb_sbdio.c 271 struct wsdisplay_cmap *cmap = (void *)data; local in function:_fb_ioctl
296 if (cmap->index >= 256 || cmap->count > 256 - cmap->index)
298 for (i = 0; i < cmap->count; i++) {
299 cmap->red[i] = ga->clut[cmap->index + i][0];
300 cmap->green[i] = ga->clut[cmap->index + i][1];
301 cmap->blue[i] = ga->clut[cmap->index + i][2]
    [all...]
  /src/sys/arch/amiga/dev/
grf_rt.c 1062 rt_getcmap(struct grf_softc *gfp, struct grf_colormap *cmap)
1069 if (cmap->count == 0 || cmap->index >= 256)
1072 if (cmap->count > 256 - cmap->index)
1073 cmap->count = 256 - cmap->index;
1077 vgaw (ba, VDAC_REG_SELECT, cmap->index);
1078 x = cmap->count - 1;
1079 rp = red + cmap->index
1183 struct grf_colormap cmap; local in function:rt_getspriteinfo
    [all...]
amidisplaycc.c 1558 * Handle the WSDISPLAY_[PUT/GET]CMAP ioctls.
1565 amidisplaycc_cmapioctl(view_t *view, u_long cmd, struct wsdisplay_cmap *cmap)
1574 if (cmap->index >= MAXCOLORS ||
1575 cmap->count > MAXCOLORS ||
1576 cmap->index + cmap->count > MAXCOLORS)
1579 if (cmap->count == 0)
1582 tmpcmap.index = cmap->index;
1583 tmpcmap.count = cmap->count;
1591 err = copyin(cmap->red, cmred, cmap->count)
    [all...]
grf_ul.c 747 ul_getcmap (struct grf_softc *gp, struct grf_colormap *cmap, dev_t dev)
763 if (cmap->count == 0 || cmap->index >= mxidx)
766 if (cmap->count > mxidx - cmap->index)
767 cmap->count = mxidx - cmap->index;
771 if ((error = copyout(mymap + cmap->index, cmap->red, cmap->count)
    [all...]
grf_rh.c 1807 rh_getcmap(struct grf_softc *gfp, struct grf_colormap *cmap)
1814 if (cmap->count == 0 || cmap->index >= 256)
1817 if (cmap->count > 256 - cmap->index)
1818 cmap->count = 256 - cmap->index;
1822 vgaw (ba, VDAC_ADDRESS_W, cmap->index);
1823 x = cmap->count - 1;
1824 rp = red + cmap->index
1925 struct grf_colormap cmap; local in function:rh_getspriteinfo
    [all...]
grf_cl.c 643 cl_cursprite.cmap.red = cl_sprred;
644 cl_cursprite.cmap.green = cl_sprgreen;
645 cl_cursprite.cmap.blue = cl_sprblue;
1021 copyin(data->cmap.red, red, 2);
1022 copyin(data->cmap.green, green, 2);
1023 copyin(data->cmap.blue, blue, 2);
1024 memcpy(cl_cursprite.cmap.red, red, 2);
1025 memcpy(cl_cursprite.cmap.green, green, 2);
1026 memcpy(cl_cursprite.cmap.blue, blue, 2);
1138 cl_getcmap(struct grf_softc *gfp, struct grf_colormap *cmap)
    [all...]
grf_et.c 178 char etcmap_shift = 0; /* 6 or 8 bit cmap entries */
582 et_cursprite.cmap.red = et_sprred;
583 et_cursprite.cmap.green = et_sprgreen;
584 et_cursprite.cmap.blue = et_sprblue;
911 et_getcmap(struct grf_softc *gfp, struct grf_colormap *cmap)
918 if (cmap->count == 0 || cmap->index >= 256)
921 if (cmap->count > 256 - cmap->index)
922 cmap->count = 256 - cmap->index
    [all...]
grf_cv.c 1132 cv_getcmap(struct grf_softc *gfp, struct grf_colormap *cmap)
1140 if (cmap->count == 0 || cmap->index >= 256)
1143 if (cmap->count > 256 - cmap->index)
1144 cmap->count = 256 - cmap->index;
1147 vgaw (ba, VDAC_ADDRESS_W, cmap->index);
1148 x = cmap->count - 1;
1150 rp = red + cmap->index
    [all...]
grf_cv3d.c 1053 cv3d_getcmap(struct grf_softc *gfp, struct grf_colormap *cmap)
1059 if (cmap->count == 0 || cmap->index >= 256)
1062 if (cmap->count > 256 - cmap->index)
1063 cmap->count = 256 - cmap->index;
1066 vgawio(cv3d_boardaddr, VDAC_ADDRESS_W, cmap->index);
1067 x = cmap->count - 1;
1069 rp = red + cmap->index
    [all...]
  /src/sys/arch/hp300/dev/
diofb.c 238 fb->cmap.r[i] = *color++;
239 fb->cmap.g[i] = *color++;
240 fb->cmap.b[i] = *color++;
267 memcpy(fb->cmap.r + 0xc0, fb->cmap.r + 0x00, 0x10);
268 memcpy(fb->cmap.g + 0xc0, fb->cmap.g + 0x00, 0x10);
269 memcpy(fb->cmap.b + 0xc0, fb->cmap.b + 0x00, 0x10);
270 memcpy(fb->cmap.r + 0x30, fb->cmap.r + 0xf0, 0x10)
    [all...]
diofbvar.h 95 struct diocmap cmap; member in struct:diofb
topcat.c 491 tc->rdata = fb->cmap.r[index];
492 tc->gdata = fb->cmap.g[index];
493 tc->bdata = fb->cmap.b[index];
503 tc->rdata = fb->cmap.r[index];
504 tc->gdata = fb->cmap.g[index];
505 tc->bdata = fb->cmap.b[index];
539 memcpy(fb->cmap.r + index, r, count);
540 memcpy(fb->cmap.g + index, g, count);
541 memcpy(fb->cmap.b + index, b, count);
gbox.c 387 gb->cmap_red = fb->cmap.r[index];
388 gb->cmap_grn = fb->cmap.g[index];
389 gb->cmap_blu = fb->cmap.b[index];
412 memcpy(fb->cmap.r + index, r, count);
413 memcpy(fb->cmap.g + index, g, count);
414 memcpy(fb->cmap.b + index, b, count);
  /src/sys/arch/sparc/dev/
cgtwo.c 202 panic("cgtwo: vme_map cmap");
299 cgtwogetcmap(struct cgtwo_softc *sc, struct fbcmap *cmap)
306 start = cmap->index;
307 count = cmap->count;
326 if ((error = copyout(red + start, cmap->red, count)) != 0)
328 if ((error = copyout(green + start, cmap->green, count)) != 0)
330 if ((error = copyout(blue + start, cmap->blue, count)) != 0)
339 cgtwoputcmap(struct cgtwo_softc *sc, struct fbcmap *cmap)
347 start = cmap->index;
348 count = cmap->count
    [all...]
  /src/sys/arch/sun3/dev/
cg2.c 295 struct fbcmap *cmap = data; local in function:cg2getcmap
302 start = cmap->index;
303 count = cmap->count;
322 if ((error = copyout(red + start, cmap->red, count)) != 0)
324 if ((error = copyout(green + start, cmap->green, count)) != 0)
326 if ((error = copyout(blue + start, cmap->blue, count)) != 0)
336 struct fbcmap *cmap = data; local in function:cg2putcmap
344 start = cmap->index;
345 count = cmap->count;
351 if ((error = copyin(cmap->red, red + start, count)) != 0
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/
drm_fb_helper.c 528 * A helper to alloc fb_info and the members cmap and apertures. Called
548 ret = fb_alloc_cmap(&info->cmap, 256, 0);
564 fb_dealloc_cmap(&info->cmap);
620 if (info->cmap.len)
621 fb_dealloc_cmap(&info->cmap);
920 static int setcmap_pseudo_palette(struct fb_cmap *cmap, struct fb_info *info)
925 if (cmap->start + cmap->len > 16)
928 for (i = 0; i < cmap->len; ++i) {
929 u16 red = cmap->red[i]
    [all...]
  /src/sys/dev/ic/
bt463.c 418 if (cursorp->cmap.index > 2 ||
419 cursorp->cmap.count > 2 - cursorp->cmap.index)
421 count = cursorp->cmap.count;
422 index = cursorp->cmap.index;
423 error = copyin(cursorp->cmap.red, &data->tmpcurcmap_r[index], count);
426 error = copyin(cursorp->cmap.green, &data->tmpcurcmap_g[index], count);
429 error = copyin(cursorp->cmap.blue, &data->tmpcurcmap_b[index], count);
441 count = cursorp->cmap.count;
442 index = cursorp->cmap.index
    [all...]
bt485.c 332 if (cursorp->cmap.index > 2 ||
333 cursorp->cmap.count > 2 - cursorp->cmap.index)
335 count = cursorp->cmap.count;
336 index = cursorp->cmap.index;
337 error = copyin(cursorp->cmap.red, &r[index], count);
340 error = copyin(cursorp->cmap.green, &g[index], count);
343 error = copyin(cursorp->cmap.blue, &b[index], count);
411 cursorp->cmap.index = 0; /* DOCMAP */
412 cursorp->cmap.count = 2
    [all...]
  /src/sys/dev/hpc/
bivideo.c 395 struct wsdisplay_cmap *cmap; local in function:bivideo_ioctl
401 cmap = (struct wsdisplay_cmap *)data;
405 cmap->index >= 256 ||
406 cmap->count > 256 - cmap->index)
409 error = copyout(&bivideo_cmap_r[cmap->index], cmap->red,
410 cmap->count);
413 error = copyout(&bivideo_cmap_g[cmap->index], cmap->green
    [all...]
  /src/sys/dev/pci/
sisfb.c 61 uint8_t cmap[256 * 3]; member in struct:sisfb
407 rc = sisfb_getcmap(fb->cmap, cm);
411 rc = sisfb_putcmap(fb->cmap, cm);
644 bcopy(rasops_cmap, fb->cmap, sizeof(fb->cmap));
671 uint8_t *cmap = fb->cmap + baseidx * 3; local in function:sisfb_loadcmap
675 bus_space_write_1(fb->iot, fb->ioh, DAC_DATA, *cmap++ >> 2);
676 bus_space_write_1(fb->iot, fb->ioh, DAC_DATA, *cmap++ >> 2);
677 bus_space_write_1(fb->iot, fb->ioh, DAC_DATA, *cmap++ >> 2)
    [all...]
  /src/sys/arch/hpcarm/dev/
ipaq_lcd.c 273 struct wsdisplay_cmap *cmap; local in function:ipaqlcd_ioctl
278 cmap = (struct wsdisplay_cmap*)data;
282 256 <= cmap->index ||
283 256 < (cmap->index + cmap->count))
  /src/sys/arch/hpcmips/dev/
ite8181.c 637 struct wsdisplay_cmap *cmap; local in function:ite8181_ioctl
643 cmap = (struct wsdisplay_cmap *)data;
647 256 <= cmap->index ||
648 256 - cmap->index < cmap->count)
652 error = copyout(&bivideo_cmap_r[cmap->index], cmap->red,
653 cmap->count);
656 error = copyout(&bivideo_cmap_g[cmap->index], cmap->green
    [all...]
plumvideo.c 427 struct wsdisplay_cmap *cmap; local in function:plumvideo_ioctl
436 cmap = (struct wsdisplay_cmap *)data;
437 cnt = cmap->count;
438 idx = cmap->index;
453 error = copyout(r, cmap->red, cnt);
456 error = copyout(g, cmap->green, cnt);
459 error = copyout(b, cmap->blue, cnt);
466 cmap = (struct wsdisplay_cmap *)data;
467 cnt = cmap->count;
468 idx = cmap->index
    [all...]

Completed in 64 milliseconds

1 2 3 4