Searched refs:mapto (Results 1 – 5 of 5) sorted by relevance
/titanic_50/usr/src/cmd/vi/port/ |
H A D | ex_tty.c | 270 kpboth(map1, map2, key, mapto, desc) 272 unsigned char *key, *mapto, *desc; variable 279 kpadd(map1, key, mapto, desc); 283 strcat(surmapto, mapto); 297 kpadd(struct maps *mapstr, unsigned char *key, unsigned char *mapto, in kpadd() argument 308 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); 1599 reccnt(unsigned char *cap, unsigned char *mapto) in reccnt() argument 1604 final = strlen(mapto) - strlen(cap); in reccnt() 1607 if ((strncmp(cap, mapto+i, strlen(cap)) == 0) /* match */ in reccnt() 1608 && (i == 0 || !wordch(&mapto[i-1])) /* prefix ok */ in reccnt() 1609 && (i == final || !wordch(&mapto[i+strlen(cap)]))) /* suffix ok */ in reccnt()
|
H A D | ex_vget.c | 547 for (d=0; d < MAXNOMACS && maps[d].mapto; d++) { 599 macpush(maps[d].mapto,maps == arrows); 661 fprintf(trace,"Success: push(%s), return %c",maps[d].mapto, c);
|
H A D | ex_tty.h | 146 unsigned char *mapto; /* .. maps to this string */ member
|
H A D | ex_cmdsub.c | 1527 for (i=0; i< MAXNOMACS && mp[i].mapto; i++) in mapcmd() 1533 lprintf("%s", mp[i].mapto); in mapcmd() 1646 for (slot=0; slot < MAXNOMACS && mp[slot].mapto; slot++) { in addmac() 1648 if (eq(src, mp[slot].cap) || eq(src, mp[slot].mapto)) in addmac() 1671 if (zer >= 0 && mp[slot].mapto == 0) in addmac() 1684 mp[slot].mapto = msnext; in addmac()
|