Searched refs:mapto (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_tty.c | 268 kpboth(map1, map2, key, mapto, desc) 270 unsigned char *key, *mapto, *desc; variable 277 kpadd(map1, key, mapto, desc); 281 strcat(surmapto, mapto); 295 kpadd(struct maps *mapstr, unsigned char *key, unsigned char *mapto, in kpadd() argument 306 mapstr[i].mapto = mapto; in kpadd()
|
H A D | ex_vops2.c | 1339 for (abno=0; abbrevs[abno].mapto; abno++) { 1342 if(reccnt(abbrevs[abno].cap, abbrevs[abno].mapto)) 1345 macpush(abbrevs[abno].mapto); 1600 reccnt(unsigned char *cap, unsigned char *mapto) in reccnt() argument 1605 final = strlen(mapto) - strlen(cap); in reccnt() 1608 if ((strncmp(cap, mapto+i, strlen(cap)) == 0) /* match */ in reccnt() 1609 && (i == 0 || !wordch(&mapto[i-1])) /* prefix ok */ in reccnt() 1610 && (i == final || !wordch(&mapto[i+strlen(cap)]))) /* suffix ok */ in reccnt()
|
H A D | ex_cmdsub.c | 1533 for (i=0; i< MAXNOMACS && mp[i].mapto; i++) in mapcmd() 1539 lprintf("%s", mp[i].mapto); in mapcmd() 1651 for (slot=0; slot < MAXNOMACS && mp[slot].mapto; slot++) { in addmac() 1653 if (eq(src, mp[slot].cap) || eq(src, mp[slot].mapto)) in addmac() 1676 if (zer >= 0 && mp[slot].mapto == 0) in addmac() 1689 mp[slot].mapto = msnext; in addmac()
|
H A D | ex_vget.c | 548 for (d=0; d < MAXNOMACS && maps[d].mapto; d++) { 600 macpush(maps[d].mapto,maps == arrows); 662 fprintf(trace,"Success: push(%s), return %c",maps[d].mapto, c);
|
H A D | ex_tty.h | 144 unsigned char *mapto; /* .. maps to this string */ member
|