/illumos-gate/usr/src/cmd/tr/ |
H A D | cmap.h | 41 struct cmap { struct 52 struct cmap *cmap_alloc(void); 53 bool cmap_add(struct cmap *, wint_t, wint_t); 54 wint_t cmap_lookup_hard(struct cmap *, wint_t); 55 void cmap_cache(struct cmap *); 56 wint_t cmap_default(struct cmap *, wint_t);
|
H A D | cmap.c | 37 #include "cmap.h" 45 struct cmap * 48 struct cmap *cm; 65 cmap_add(struct cmap *cm, wint_t from, wint_t to) 118 cmap_lookup_hard(struct cmap *cm, wint_t ch) 134 cmap_cache(struct cmap *cm) 151 cmap_default(struct cmap *cm, wint_t def)
|
H A D | Makefile | 21 OBJS= tr.o str.o cset.o cmap.o
|
H A D | tr.c | 47 #include "cmap.h" 58 cmap_lookup(struct cmap *cm, wint_t from) 67 cmap_max(struct cmap *cm) 85 struct cmap *map;
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | fssnap.c | 775 cow_map_t *cmap = &sidp->sid_cowinfo->cow_map; local 784 ASSERT(offset + len <= cmap->cmap_chunksz); 789 if (chunk >= (cmap->cmap_bmsize * NBBY)) { 799 if (isclr(cmap->cmap_candidate, chunk)) { 813 rw_enter(&cmap->cmap_rwlock, RW_READER); 814 if (isclr(cmap->cmap_hastrans, chunk)) { 827 snapbuf->b_lblkno = lbtodb(chunk * cmap->cmap_chunksz + offset); 869 rw_exit(&cmap->cmap_rwlock); 882 cmn = transtbl_get(cmap, chunk); 889 rw_exit(&cmap 1189 transtbl_add(cow_map_t *cmap, chunknumber_t chunk, caddr_t buf) argument 1220 transtbl_get(cow_map_t *cmap, chunknumber_t chunk) argument 1246 transtbl_delete(cow_map_t *cmap, cow_map_node_t *cmn) argument 1284 transtbl_free(cow_map_t *cmap) argument 1447 cow_map_t *cmap = &cowp->cow_map; local 1661 cow_map_t *cmap = &cowp->cow_map; local 1754 struct cow_map *cmap; local 1902 struct cow_map *cmap = &cowp->cow_map; local 1922 struct cow_map *cmap = &cowp->cow_map; local 1943 struct cow_map *cmap; local 2025 struct cow_map *cmap; local [all...] |
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.char.h | 55 #define cmap(c, bits) (Z=((unsigned)(c)), cmapZ(bits)) macro 57 #define isglob(c) cmap(c, _GLOB) 58 #define ismeta(c) cmap(c, _META) 59 #define digit(c) cmap(c, _DIG)
|
H A D | sh.dol.c | 78 if (cmap(*p++, _DOL|QUOTES)) { /* $, \, ', ", ` */ 256 if (cmap(c, _SP|_NL|_Q|_Q1) || 259 if (cmap(c, QUOTES)) 300 if (!err && cmap(c, QUOTES)) 618 if (cmap(c, QUOTES))
|
H A D | sh.lex.c | 207 if (cmap(c, _META|_ESC)||isauxsp(c)) 278 } else if (cmap(c, _META|_Q|_Q1|_ESC)||isauxsp(c)) { 289 } else if (cmap(c, _Q|_Q1)) { /* '"` */ 333 if (!err && cmap(c, _META|_Q|_Q1)||isauxsp(c))
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | fssnap.h | 68 #define dbtocowchunk(cmap, dblkno) ((dblkno) / \ 69 ((cmap)->cmap_chunksz >> DEV_BSHIFT)) 72 #define cowchunktodb(cmap, cowchunk) ((cowchunk) * \ 73 ((cmap)->cmap_chunksz >> DEV_BSHIFT))
|
H A D | visual_io.h | 97 struct vis_cursorcmap cmap; /* color map info */ member in struct:vis_cursor
|
H A D | fbio.h | 207 struct fbcmap cmap; /* color map info */ member in struct:fbcursor 219 struct fbcmap32 cmap; /* color map info */ member in struct:fbcursor32
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | cgrep.c | 56 uchar_t *cmap; member in struct:re_bm 82 uchar_t *cmap; member in struct:re_cw 140 uchar_t *cmap; /* Character mapping array */ member in struct:re_re 150 uchar_t *cmap; member in struct:__anon4444 283 static re_bm *re_bmcomp(uchar_t *pb, uchar_t *pe, uchar_t *cmap); 284 static re_cw *re_cwinit(uchar_t *cmap); 331 match_pattern.cmap = char_map[iflag]; 375 pat->bm_ptr = re_bmcomp(lb, le, pat->cmap); 381 pat->bm_ptr = re_bmcomp(lb, le, pat->cmap); 386 if ((pat->cw_ptr = re_recw(pat->re_ptr, pat->cmap)) ! 1200 re_bmcomp(uchar_t *pb, uchar_t *pe, uchar_t *cmap) argument 1338 re_cwinit(uchar_t *cmap) argument [all...] |
/illumos-gate/usr/src/uts/common/io/audio/drv/audiovia823x/ |
H A D | audiovia823x.c | 297 uint32_t cmap; local 321 cmap = (1 << 0) | (1 << 4); 324 cmap = (1 << 0) | (2 << 4); 327 cmap = (1 << 0) | (2 << 4) | (3 << 8) | (4 << 12); 330 cmap = (1 << 0) | (2 << 4) | 334 cmap = 0; 337 OUTL(devc, portc->base + OFF_CHANNELS, cmap | 0xFF000000U);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | dumpsubr.c | 402 cbuf_t *cmap; /* array of input (map) buffers */ member in struct:dumpcfg 571 cpend = &old->cmap[old->ncmap]; 572 for (cp = old->cmap; cp != cpend; cp++) 574 kmem_free(old->cmap, old->ncmap * sizeof (cbuf_t)); 664 new->cmap = kmem_zalloc(new->ncmap * sizeof (cbuf_t), KM_SLEEP); 665 cpend = &new->cmap[new->ncmap]; 666 for (cp = new->cmap; cp != cpend; cp++) { 2863 for (cp = dumpcfg.cmap; cp != &dumpcfg.cmap[dumpcfg.ncmap]; cp++)
|
/illumos-gate/usr/src/cmd/sgs/include/ |
H A D | rtld.h | 1074 #define SLOOKUP_INIT(sl, name, cmap, imap, id, hash, rsymndx, rsym, rtype, \ 1076 (void) (sl.sl_name = (name), sl.sl_cmap = (cmap), sl.sl_imap = (imap), \
|
/illumos-gate/usr/src/cmd/auditconfig/ |
H A D | auditconfig.c | 993 struct au_evclass_map cmap; local 1006 cmap.ec_number = evp->ae_number; 1009 if (auditon(A_GETCLASS, (caddr_t)&cmap, len) == -1) { 1016 class = cmap.ec_class;
|