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

/freebsd-current/usr.bin/tr/
H A Dcmap.h43 struct cmap { struct
54 struct cmap * cmap_alloc(void);
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)
70 cmap_min(struct cmap *cm)
77 cmap_max(struct cmap *cm)
H A DMakefile6 SRCS= cmap.c cset.c str.c tr.c
H A Dcmap.c40 #include "cmap.h"
48 struct cmap *
51 struct cmap *cm;
68 cmap_add(struct cmap *cm, wint_t from, wint_t to)
121 cmap_lookup_hard(struct cmap *cm, wint_t ch)
137 cmap_cache(struct cmap *cm)
154 cmap_default(struct cmap *cm, wint_t def)
H A Dtr.c48 #include "cmap.h"
62 struct cmap *map;
/freebsd-current/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-current/sys/dev/drm2/
H A Ddrm_fb_helper.h115 int drm_fb_helper_setcmap(struct fb_cmap *cmap, struct fb_info *info);
H A Ddrm_fb_helper.c635 int drm_fb_helper_setcmap(struct fb_cmap *cmap, struct fb_info *info)
648 red = cmap->red;
649 green = cmap->green;
650 blue = cmap->blue;
651 transp = cmap->transp;
652 start = cmap->start;
654 for (j = 0; j < cmap->len; j++) {
/freebsd-current/sys/dev/isp/
H A Disp_pci.c890 int i, error, cmap; local
1055 for (cmap = 0; cmap < isp->isp_nchan; cmap++) {
1056 struct isp_fc *fc = ISP_FC_PC(isp, cmap);
1060 FCPARAM(isp, cmap)->isp_scratch = base;
1067 FCPARAM(isp, cmap)->isp_scratch = NULL;
1070 FCPARAM(isp, cmap)->isp_scdma = im.maddr;
/freebsd-current/stand/i386/libi386/
H A Dvbe.c59 * palette array for 8-bit indexed colors. In this case, cmap does store
1083 (cmap[i] & gfx_state.tg_fb.fb_mask_red) >>
1085 (cmap[i] & gfx_state.tg_fb.fb_mask_green) >>
1087 (cmap[i] & gfx_state.tg_fb.fb_mask_blue) >>
1088 ffs(gfx_state.tg_fb.fb_mask_blue) - 1, cmap[i]);
H A Dvidconsole.c335 attr = (cmap[bg & 0xf] << 4) | cmap[fg & 0xf];
947 (void) generate_cons_palette(cmap, format,
/freebsd-current/stand/common/
H A Dgfx_fb.h165 extern uint32_t cmap[NCMAP];
H A Dgfx_fb.c144 uint32_t cmap[NCMAP]; variable
/freebsd-current/stand/efi/libefi/
H A Defi_console.c930 (void) generate_cons_palette(cmap, COLOR_FORMAT_RGB,

Completed in 125 milliseconds