/dragonfly/usr.bin/tr/ |
H A D | cmap.h | 43 struct cmap { struct 54 struct cmap * cmap_alloc(void); argument 55 bool cmap_add(struct cmap *, wint_t, wint_t); 56 wint_t cmap_lookup_hard(struct cmap *, wint_t); 57 void cmap_cache(struct cmap *); 58 wint_t cmap_default(struct cmap *, wint_t); 61 cmap_lookup(struct cmap *cm, wint_t from) in cmap_lookup() 70 cmap_min(struct cmap *cm) in cmap_min() 77 cmap_max(struct cmap *cm) in cmap_max()
|
H A D | cmap.c | 47 struct cmap * 50 struct cmap *cm; in cmap_alloc() 67 cmap_add(struct cmap *cm, wint_t from, wint_t to) in cmap_add() 120 cmap_lookup_hard(struct cmap *cm, wint_t ch) in cmap_lookup_hard() 136 cmap_cache(struct cmap *cm) in cmap_cache() 153 cmap_default(struct cmap *cm, wint_t def) in cmap_default()
|
H A D | Makefile | 5 SRCS= cmap.c cset.c str.c tr.c
|
H A D | tr.c | 62 struct cmap *map; in main()
|
/dragonfly/contrib/tcsh-6/ |
H A D | sh.char.h | 151 # define cmap(c, bits) \ macro 155 # define cmap(c, bits) \ macro 159 # define cmap(c, bits) \ macro 163 #define isglob(c) cmap((c), _GLOB) 164 #define isspc(c) cmap((c), _SP) 165 #define ismeta(c) cmap((c), _META) 166 #define iscmdmeta(c) cmap((c), _CMD) 174 ((isalpha((c)) && !(cmap((c), _PUN))) \ 285 # define Isspace(c) cmap((c), _SP|_NL) 286 # define Isdigit(c) cmap((c), _DIG) [all …]
|
H A D | tw.parse.c | 145 #define tricky_dq(w) (cmap(w, _DOL | _QB)) 174 if (!cmap(qu, _ESC)) { in tenematch() 175 if (cmap(*cp, _QF|_ESC)) { in tenematch() 181 if (qu != '\'' && cmap(*cp, _QB)) { in tenematch() 215 if (cmap(qu, _ESC)) in tenematch() 605 if (in_sync && !cmap(qu, _ESC) && cmap(*cp, _QF|_ESC)) in insert_meta() 622 if (cmap(w, _ESC | _QF)) in insert_meta() 628 if (cmap(qu, _ESC)) in insert_meta() 661 (!cmap(qu, _ESC) && w == HIST && HIST != '\0'))) { in insert_meta() 671 if (cmap(qu, _ESC)) in insert_meta() [all …]
|
H A D | sh.dol.c | 101 if (cmap(*p, _DOL | QUOTES)) { /* $, \, ', ", ` */ in Dfix() 186 if (cmap(c, _SP | _NL | _QF | _QB)) { /* sp \t\n'"` */ in Dpack() 188 if (cmap(c, QUOTES)) in Dpack() 331 if (cmap(c, QUOTES)) in DgetC() 976 if (cmap(c, QUOTES)) in Dtestq()
|
H A D | sh.lex.c | 308 if (cmap(c, _META | _ESC)) in word() 406 else if (cmap(c, _META | _QF | _QB | _ESC)) { in word() 418 else if (cmap(c, _QF | _QB)) { /* '"` */ in word() 448 if (cmap(c, _META | _QF | _QB)) in getC1() 1242 while (!cmap(c, _ESC | _META | _QF | _QB) && !any("^*-%${}:#", c)) { in gethent()
|
H A D | sh.misc.c | 499 if (cmap(*s, _META | _DOL | _QF | _QB | _ESC | _GLOB)) in quote_meta()
|
H A D | complete.tcsh | 819 complete xpdf c/-/"(z g remote raise quit cmap rgb papercolor \
|
/dragonfly/sys/dev/drm/ |
H A D | drm_fb_helper.c | 1224 if (cmap->start + cmap->len > 16) 1271 memcpy(r + cmap->start, cmap->red, cmap->len * sizeof(*r)); 1272 memcpy(g + cmap->start, cmap->green, cmap->len * sizeof(*g)); 1273 memcpy(b + cmap->start, cmap->blue, cmap->len * sizeof(*b)); 1294 if (!size || cmap->start + cmap->len > size) 1302 if (cmap->start || cmap->len != size) { 1320 lut[cmap->start + i].red = cmap->red[i]; 1322 lut[cmap->start + i].blue = cmap->blue[i]; 1387 memcpy(r + cmap->start, cmap->red, cmap->len * sizeof(*r)); 1388 memcpy(g + cmap->start, cmap->green, cmap->len * sizeof(*g)); [all …]
|
/dragonfly/usr.bin/window/ |
H A D | wwdump.c | 41 static char cmap[] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; variable 82 (*tt.tt_putc)(cmap[wwsmap[i][j]]); in wwdumpsmap()
|
/dragonfly/sys/platform/pc64/include/ |
H A D | framebuffer.h | 41 int (*fb_setcmap)(struct fb_cmap *cmap, struct fb_info *info);
|
/dragonfly/sys/dev/drm/include/drm/ |
H A D | drm_fb_helper.h | 294 int drm_fb_helper_setcmap(struct fb_cmap *cmap, struct fb_info *info); 381 static inline int drm_fb_helper_setcmap(struct fb_cmap *cmap, in drm_fb_helper_setcmap() argument
|
/dragonfly/sys/dev/disk/isp/ |
H A D | isp_pci.c | 1483 int i, error, ns, cmap = 0; in isp_pci_mbxdma() local 1624 for (cmap = 0; cmap < isp->isp_nchan; cmap++) { in isp_pci_mbxdma() 1625 struct isp_fc *fc = ISP_FC_PC(isp, cmap); in isp_pci_mbxdma() 1634 im.chan = cmap; in isp_pci_mbxdma() 1668 while (--cmap >= 0) { in isp_pci_mbxdma() 1669 struct isp_fc *fc = ISP_FC_PC(isp, cmap); in isp_pci_mbxdma()
|
/dragonfly/sys/sys/ |
H A D | fbio.h | 180 struct fbcmap cmap; /* cursor color map */ member
|