| /src/external/gpl2/groff/dist/src/libs/libgroff/ |
| cmap.cpp | 1 /* $NetBSD: cmap.cpp,v 1.1.1.1 2016/01/13 18:41:48 christos Exp $ */ 24 #include "cmap.h" 26 cmap cmlower(CMAP_BUILTIN); 27 cmap cmupper(CMAP_BUILTIN); 35 cmap::cmap() function in class:cmap 42 cmap::cmap(cmap_builtin) function in class:cmap
|
| /src/external/gpl2/groff/dist/src/include/ |
| cmap.h | 1 /* $NetBSD: cmap.h,v 1.1.1.1 2016/01/13 18:41:48 christos Exp $ */ 29 class cmap { class 31 cmap(); 32 cmap(cmap_builtin); 41 inline int cmap::operator()(unsigned char c) const 46 inline unsigned char &cmap::operator[](unsigned char c) 51 extern cmap cmlower; 52 extern cmap cmupper;
|
| /src/sys/arch/hpcarm/dev/ |
| ipaq_lcd.c | 273 struct wsdisplay_cmap *cmap; local 278 cmap = (struct wsdisplay_cmap*)data; 282 256 <= cmap->index || 283 256 < (cmap->index + cmap->count))
|
| /src/sys/dev/ic/ |
| vga_subr.c | 152 uint8_t cmap; local 163 cmap = cmaptaba[fontset1] | cmaptabb[fontset2]; 165 vga_ts_write(vh, fontsel, cmap);
|
| ct65550.c | 199 uint8_t cmap[768]; local 299 rasops_get_cmap(ri, cmap, sizeof(cmap)); 301 chipsfb_putpalreg(sc, i, cmap[j], cmap[j + 1], cmap[j + 2]);
|
| ssdfb.c | 477 u_char cmap[16]; local 565 cmap[i] = 255 * i / (cmaplen - 1); 567 error = copyout(&cmap[wc->index], wc->red, wc->count); 570 error = copyout(&cmap[wc->index], wc->green, wc->count); 573 error = copyout(&cmap[wc->index], wc->blue, wc->count);
|
| /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...] |
| /src/sys/arch/hp300/dev/ |
| diofbvar.h | 95 struct diocmap cmap; member in struct:diofb
|
| /src/sys/arch/hpcmips/dev/ |
| mq200.c | 473 struct wsdisplay_cmap *cmap; local 478 cmap = (struct wsdisplay_cmap *)data; 482 256 <= cmap->index || 483 256 - cmap->index < cmap->count)
|
| ite8181.c | 637 struct wsdisplay_cmap *cmap; local 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 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...] |
| /src/sys/arch/ews4800mips/sbd/ |
| fb_sbdio.c | 271 struct wsdisplay_cmap *cmap = (void *)data; local 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/sun3/dev/ |
| cg2.c | 295 struct fbcmap *cmap = data; local 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 344 start = cmap->index; 345 count = cmap->count; 351 if ((error = copyin(cmap->red, red + start, count)) != 0 [all...] |
| /src/sys/dev/hpc/ |
| bivideo.c | 395 struct wsdisplay_cmap *cmap; local 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/external/bsd/nvi/dist/motif/ |
| m_main.c | 353 static Colormap cmap = 0; 376 cmap = XCopyColormapAndFree( display, 385 XtVaSetValues( wid, XtNcolormap, cmap, 0 ); 350 static Colormap cmap = 0; local
|
| /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 [all...] |
| /src/sys/arch/hpcmips/tx/ |
| tx3912video.c | 505 struct wsdisplay_cmap *cmap; local 512 cmap = (struct wsdisplay_cmap *)data; 513 cnt = cmap->count; 514 idx = cmap->index; 529 error = copyout(r, cmap->red, cnt); 532 error = copyout(g, cmap->green,cnt); 535 error = copyout(b, cmap->blue, cnt);
|
| /src/sys/arch/luna68k/dev/ |
| lunafb.c | 350 struct hwcmap cmap; local 360 error = copyin(p->red, &cmap.r[index], count); 363 error = copyin(p->green, &cmap.g[index], count); 366 error = copyin(p->blue, &cmap.b[index], count); 370 memcpy(&sc->sc_dc->dc_cmap.r[index], &cmap.r[index], count); 371 memcpy(&sc->sc_dc->dc_cmap.g[index], &cmap.g[index], count); 372 memcpy(&sc->sc_dc->dc_cmap.b[index], &cmap.b[index], count);
|
| /src/sys/arch/arm/iomd/ |
| vidcvideo.c | 665 struct hwcmap256 cmap; local 672 error = copyin(p->red, &cmap.r[index], count); 675 error = copyin(p->green, &cmap.g[index], count); 678 error = copyin(p->blue, &cmap.b[index], count); 681 memcpy(&dc->dc_cmap.r[index], &cmap.r[index], count); 682 memcpy(&dc->dc_cmap.g[index], &cmap.g[index], count); 683 memcpy(&dc->dc_cmap.b[index], &cmap.b[index], count); 703 index = p->cmap.index; 704 count = p->cmap.count; 708 error = copyin(p->cmap.red, &r[index], count) [all...] |
| /src/sys/arch/atari/dev/ |
| grfioctl.h | 178 struct grf_colormap cmap; /* colormap for the sprite. */ member in struct:grf_spriteinfo
|
| /src/sys/arch/sparc64/sparc64/ |
| netbsd32_machdep.c | 632 struct netbsd32_fbcmap cmap; /* color map info */ member in struct:netbsd32_fbcursor 692 netbsd32_to_fbcmap(&s32p->cmap, &p->cmap, cmd); 731 netbsd32_from_fbcmap(&p->cmap, &s32p->cmap, cmd);
|
| /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 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/dev/sun/ |
| fbio.h | 193 struct fbcmap cmap; /* color map info */ member in struct:fbcursor
|
| /src/sys/dev/tc/ |
| cfb.c | 685 struct hwcmap256 cmap; local 692 error = copyin(p->red, &cmap.r[index], count); 695 error = copyin(p->green, &cmap.g[index], count); 698 error = copyin(p->blue, &cmap.b[index], count); 702 memcpy(&sc->sc_cmap.r[index], &cmap.r[index], count); 703 memcpy(&sc->sc_cmap.g[index], &cmap.g[index], count); 704 memcpy(&sc->sc_cmap.b[index], &cmap.b[index], count); 720 index = p->cmap.index; 721 count = p->cmap.count; 724 error = copyin(p->cmap.red, &r[index], count) [all...] |
| xcfb.c | 562 struct hwcmap256 cmap; local 569 error = copyin(p->red, &cmap.r[index], count); 572 error = copyin(p->green, &cmap.g[index], count); 575 error = copyin(p->blue, &cmap.b[index], count); 578 memcpy(&sc->sc_cmap.r[index], &cmap.r[index], count); 579 memcpy(&sc->sc_cmap.g[index], &cmap.g[index], count); 580 memcpy(&sc->sc_cmap.b[index], &cmap.b[index], count); 594 index = p->cmap.index; 595 count = p->cmap.count; 599 error = copyin(p->cmap.red, &r[index], count) [all...] |