Searched refs:cmap (Results 1 - 20 of 20) sorted by relevance

/freebsd-13-stable/usr.bin/tr/
H A Dcmap.h45 struct cmap { struct
56 struct cmap * cmap_alloc(void);
57 bool cmap_add(struct cmap *, wint_t, wint_t);
58 wint_t cmap_lookup_hard(struct cmap *, wint_t);
59 void cmap_cache(struct cmap *);
60 wint_t cmap_default(struct cmap *, wint_t);
63 cmap_lookup(struct cmap *cm, wint_t from)
72 cmap_min(struct cmap *cm)
79 cmap_max(struct cmap *cm)
H A DMakefile7 SRCS= cmap.c cset.c str.c tr.c
H A Dcmap.c42 #include "cmap.h"
50 struct cmap *
53 struct cmap *cm;
70 cmap_add(struct cmap *cm, wint_t from, wint_t to)
123 cmap_lookup_hard(struct cmap *cm, wint_t ch)
139 cmap_cache(struct cmap *cm)
156 cmap_default(struct cmap *cm, wint_t def)
H A Dtr.c62 #include "cmap.h"
76 struct cmap *map;
/freebsd-13-stable/contrib/tcsh/
H A Dsh.char.h151 # 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))) \
177 ((isalnum((c)) && !(cmap((c), _PUN))) \
285 # define Isspace(c) cmap((
[all...]
H A Dsh.dol.c99 if (cmap(*p, _DOL | QUOTES)) { /* $, \, ', ", ` */
184 if (cmap(c, _SP | _NL | _QF | _QB)) { /* sp \t\n'"` */
186 if (cmap(c, QUOTES))
329 if (cmap(c, QUOTES))
936 if (cmap(c, QUOTES))
H A Dtw.parse.c144 #define tricky(w) (cmap(w, _META | _DOL | _QF | _QB | _ESC | _GLOB) && w != '#')
146 #define tricky_dq(w) (cmap(w, _DOL | _QB))
175 if (!cmap(qu, _ESC)) {
176 if (cmap(*cp, _QF|_ESC)) {
182 if (qu != '\'' && cmap(*cp, _QB)) {
205 if (cmap(*cp, _ESC) && cp < str_end - 1 && cp[1] == HIST &&
216 if (cmap(qu, _ESC))
606 if (in_sync && !cmap(qu, _ESC) && cmap(*cp, _QF|_ESC))
623 if (cmap(
[all...]
H A Dsh.lex.c309 if (cmap(c, _META | _ESC))
407 else if (cmap(c, _META | _QF | _QB | _ESC)) {
419 else if (cmap(c, _QF | _QB)) { /* '"` */
449 if (cmap(c, _META | _QF | _QB))
1219 while (!cmap(c, _ESC | _META | _QF | _QB) && !any("^*-%${}:#", c)) {
H A Dsh.misc.c499 if (cmap(*s, _META | _DOL | _QF | _QB | _ESC | _GLOB))
/freebsd-13-stable/sys/arm/freescale/imx/
H A Dimx51_ipuv3_fbd.c159 ipu3_fb_init_cmap(uint32_t *cmap, int bytespp) argument
164 return (vt_generate_cons_palette(cmap, COLOR_FORMAT_RGB,
167 return (vt_generate_cons_palette(cmap, COLOR_FORMAT_RGB,
170 return (vt_generate_cons_palette(cmap, COLOR_FORMAT_RGB,
174 return (vt_generate_cons_palette(cmap, COLOR_FORMAT_RGB,
/freebsd-13-stable/sys/dev/drm2/
H A Ddrm_fb_helper.h117 int drm_fb_helper_setcmap(struct fb_cmap *cmap, struct fb_info *info);
H A Ddrm_fb_helper.c637 int drm_fb_helper_setcmap(struct fb_cmap *cmap, struct fb_info *info)
650 red = cmap->red;
651 green = cmap->green;
652 blue = cmap->blue;
653 transp = cmap->transp;
654 start = cmap->start;
656 for (j = 0; j < cmap->len; j++) {
/freebsd-13-stable/sys/dev/vt/hw/fb/
H A Dvt_fb.c430 vt_fb_init_cmap(uint32_t *cmap, int depth) argument
435 return (vt_generate_cons_palette(cmap, COLOR_FORMAT_RGB,
438 return (vt_generate_cons_palette(cmap, COLOR_FORMAT_RGB,
441 return (vt_generate_cons_palette(cmap, COLOR_FORMAT_RGB,
445 return (vt_generate_cons_palette(cmap, COLOR_FORMAT_RGB,
/freebsd-13-stable/sys/dev/isp/
H A Disp_pci.c885 int i, error, cmap; local
1050 for (cmap = 0; cmap < isp->isp_nchan; cmap++) {
1051 struct isp_fc *fc = ISP_FC_PC(isp, cmap);
1055 FCPARAM(isp, cmap)->isp_scratch = base;
1062 FCPARAM(isp, cmap)->isp_scratch = NULL;
1065 FCPARAM(isp, cmap)->isp_scdma = im.maddr;
/freebsd-13-stable/stand/common/
H A Dgfx_fb.h167 extern uint32_t cmap[NCMAP];
H A Dgfx_fb.c145 uint32_t cmap[NCMAP]; variable
/freebsd-13-stable/stand/i386/libi386/
H A Dvbe.c62 * palette array for 8-bit indexed colors. In this case, cmap does store
1077 (cmap[i] & gfx_state.tg_fb.fb_mask_red) >>
1079 (cmap[i] & gfx_state.tg_fb.fb_mask_green) >>
1081 (cmap[i] & gfx_state.tg_fb.fb_mask_blue) >>
1082 ffs(gfx_state.tg_fb.fb_mask_blue) - 1, cmap[i]);
H A Dvidconsole.c339 attr = (cmap[bg & 0xf] << 4) | cmap[fg & 0xf];
941 (void) generate_cons_palette(cmap, format,
/freebsd-13-stable/sys/sys/
H A Dfbio.h254 struct fbcmap cmap; /* cursor color map */ member in struct:fbcursor
/freebsd-13-stable/stand/efi/libefi/
H A Defi_console.c904 (void) generate_cons_palette(cmap, COLOR_FORMAT_RGB,

Completed in 308 milliseconds