/titanic_51/usr/src/cmd/vi/port/ |
H A D | ex_cmdsub.c | 90 dol++; in append() 160 if (a2++ != dol) { in delete() 162 reverse(a2, dol + 1); in delete() 163 reverse(a1, dol + 1); in delete() 165 dol -= a2 - a1; in delete() 167 if (a1 > dol) in delete() 168 a1 = dol; in delete() 187 dol -= i; in delete() 193 if (a1 > dol) in delete() 194 a1 = dol; in delete() [all...] |
H A D | ex_addr.c | 108 if (addr2 > dol) in setcount() 109 addr2 = dol; in setcount() 146 if (addr2 > dol) in setcount2() 147 addr2 = dol; in setcount2() 180 addr2 = dol; in setall() 181 if (dol == zero) { in setall() 312 if (addr > dol) { 326 addr = dol; 344 addr = dol; 382 if (addr > dol) [all...] |
H A D | ex_cmds.c | 79 if (dol > zero) 93 if (dol != zero) { 96 if (addr1 < one || addr1 > dol) 155 addr2 = dol; 329 if (dot > dol) 330 dot = dol; 374 if (chng && dol > zero) { 431 if (dot == zero && dol > zero) 450 if (given < 2 && (addr1 == addr2) && (addr2 != dol)) 454 if (given < 2 && addr2 != dol) [all...] |
H A D | ex_vops.c | 131 * with dol through unddol-1. Hack screen image to 139 undkind == UNDPUT ? 0 : unddol - dol); 263 savedot = dot; savedol = dol; savecursor = cursor; 265 nlines = dol - zero; 289 more = savedol - dol; /* amount we shift everything by */ 291 (*(more>0 ? copywR : copyw))(savedol+1, dol+1, truedol-dol); 296 dot = savedot; dol = savedol ; cursor = savecursor; 354 if (wdot < one || wdot > dol) { in vmove() 452 if (wdot > dol) in vdelete() [all...] |
H A D | ex_vmain.c | 394 fprintf(trace, "before vdown in ^D, dot=%d, wdot=%d, dol=%d\n", lineno(dot), lineno(wdot), lineno(dol)); 407 fprintf(trace, "before vnline in ^D, dot=%d, wdot=%d, dol=%d\n", lineno(dot), lineno(wdot), lineno(dol)); 412 fprintf(trace, "after vnline in ^D, dot=%d, wdot=%d, dol=%d\n", lineno(dot), lineno(wdot), lineno(dol)); 488 forbid(addr > dol); 551 forbid (dot == dol); 554 if (cnt > (i = dol - dot + 1)) 898 forbid (!vreg && unddol == dol); [all...] |
H A D | ex_temp.c | 231 if (dot == dol) 233 dol--; 373 if (dol == zero) in synctmp() 410 for (a = zero, bp = blocks; a <= dol; in synctmp() 425 cnt = ((dol - a) + 2) * sizeof (line); in synctmp() 584 line *odol = dol; in putreg() 608 addr1 = addr2 = dol; in putreg() 612 unddol = dol; in putreg() 613 dol = odol; in putreg()
|
H A D | exrecover.c | 117 dot = zero = dol = fendcore; in main() 224 dot--; dol = dot; in main() 237 if (dol > zero) { in main() 238 addr1 = one; addr2 = dol; io = 1; in main() 659 for (ip = one; ip <= dol; ip++) in scrapbad() 680 if (dol - zero != was) in scrapbad() 681 fprintf(stderr, "-%d", dol - zero); in scrapbad()
|
H A D | ex_set.c | 124 for (tmpadr = zero; tmpadr <= dol; tmpadr++) { in set() 165 if (tmpadr == dol) { in set() 195 for (tmpadr = dol+1; tmpadr <= unddol; tmpadr++) { in set() 197 if (tmpadr == dol+1) { in set()
|
H A D | ex_subr.c | 228 for (addr = one; addr <= dol; addr++) 315 return (lineno(dol)); in lineDOL() 468 if (dol == zero) in notempty() 705 more = (a2 - a1 + 1) - (unddol - dol); in save() 715 copyw(dol + 1, a1, a2 - a1 + 1); in save() 737 save(one, dol); in saveall() 922 if (addr != dot && addr >= one && addr <= dol) in markit()
|
H A D | ex_v.c | 372 if (dol == zero) { in fixzero() 387 * unddol back to dol. Don't do this if in a global. 404 unddol = dol; in savevis() 410 * stuff back to [unddol,dol], and killing the partial line kill indicators. 423 undap2 = dol + 1; in undvis() 425 if (undadot <= zero || undadot > dol) in undvis()
|
H A D | ex.c | 522 dot = zero = truedol = unddol = dol = fendcore; in main() 656 if (!itag && (dol > zero)) in main() 658 if (dol > zero) in main() 694 dot = zero = truedol = unddol = dol = fendcore; in init()
|
H A D | ex_io.c | 495 if (addr > dol) in rop3() 496 addr = dol; in rop3() 509 if (dol > zero) { in rop3() 578 addr2=dol; 664 if (c != 2 && addr1 == one && addr2 == dol) { 688 return (addr1 == one && addr2 == dol ? EDF : PARTBUF); in edfile()
|
H A D | ex_vops3.c | 87 limit = dir < 0 ? one : dol; 394 llimit = dol; in lmatchp() 581 if (addr < one || addr > dol) { in lbrack()
|
H A D | ex_re.c | 168 for (a1 = one; a1 <= dol; a1++) { 198 for (a1 = one; a1 <= dol; a1++) { 232 a3 = dol; in gdelete() 245 dol = a1-1; in gdelete() 246 if (dot>dol) in gdelete() 247 dot = dol; in gdelete()
|
H A D | ex_vwind.c | 153 if (dot == dol) { in vdown() 158 i = dol - dot; in vdown()
|
/titanic_51/usr/src/cmd/ed/ |
H A D | ed.c | 199 static LINE dol; variable 508 addr2 = dol; in commands() 521 addr2 = dol; in commands() 569 (addr2 <= dol)) in commands() 711 save28 = (dol != fendcore); in commands() 739 n = zero != dol; in commands() 789 if ((linebuf[0] != '.') && (zero != dol) && in commands() 790 (addr1 <= zero || addr2 > dol)) in commands() 859 (addr2 == dol)) ? 0 : 1; in commands() 876 (addr2 == dol)) in commands() [all...] |
/titanic_51/usr/src/cmd/csh/ |
H A D | sh.lex.c | 514 int left, right, dol; in getexcl() local 533 dol = 0; in getexcl() 536 dol++; in getexcl() 539 dol++; in getexcl() 540 left = 0, right = dol; in getexcl() 556 left = 0, right = dol; in getexcl() 561 if (!getsel(&left, &right, dol)) in getexcl() 567 if (!getsel(&left, &right, dol)) in getexcl() 881 getsel(int *al, int *ar, int dol) in getsel() argument 903 *ar = dol in getsel() [all...] |
H A D | Makefile | 38 sh.dir.o sh.dol.o sh.err.o sh.exec.o sh.exp.o\
|
/titanic_51/usr/src/cmd/pg/ |
H A D | pg.c | 117 *dol, /* last line */ variable 1356 /* now, where is either at, before, or after dol */ 1360 if (where >= dol->l_no) { 1362 dot = dol; 1369 (void) fseeko(f, (off_t)dol->l_addr, SEEK_SET); 1370 dot = dol - 1; 1380 dot = dol; 1383 eofl_no = dol->l_no; 1386 } else { /* where < dol->l_no */ 1552 dol [all...] |
/titanic_51/usr/src/lib/libshell/common/sh/ |
H A D | tdump.c | 227 static int p_comlist(const struct dolnod *dol) in p_comlist() argument 231 argv = dol->dolval+ARG_SPARE; in p_comlist() 234 n = argv - (dol->dolval+1); in p_comlist() 236 argv = dol->dolval+ARG_SPARE; in p_comlist()
|
H A D | trestore.c | 298 register struct dolnod *dol=0; in r_comlist() local 303 dol = (struct dolnod*)stkalloc(shp->stk,sizeof(struct dolnod) + sizeof(char*)*(l+ARG_SPARE)); in r_comlist() 304 dol->dolnum = l; in r_comlist() 305 dol->dolbot = ARG_SPARE; in r_comlist() 306 argv = dol->dolval+ARG_SPARE; in r_comlist() 309 return(dol); in r_comlist()
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | tdump.c | 229 static int p_comlist(const struct dolnod *dol) in p_comlist() argument 233 argv = dol->dolval+ARG_SPARE; in p_comlist() 236 n = argv - (dol->dolval+1); in p_comlist() 238 argv = dol->dolval+ARG_SPARE; in p_comlist()
|
H A D | trestore.c | 302 register struct dolnod *dol=0; in r_comlist() local 307 dol = (struct dolnod*)stkalloc(shp->stk,sizeof(struct dolnod) + sizeof(char*)*(l+ARG_SPARE)); in r_comlist() 308 dol->dolnum = l; in r_comlist() 309 dol->dolbot = ARG_SPARE; in r_comlist() 310 argv = dol->dolval+ARG_SPARE; in r_comlist() 313 return(dol); in r_comlist()
|
/titanic_51/usr/src/cmd/csh/i386/ |
H A D | Makefile | 40 HDDEP = sh.o sh.dir.o sh.dol.o sh.err.o sh.exec.o sh.exp.o sh.file.o \ 44 COMMONOBJS= printf.o sh.char.o sh.dir.o sh.dol.o sh.err.o \
|
/titanic_51/usr/src/cmd/csh/sparc/ |
H A D | Makefile | 42 HDDEP = sh.o sh.dir.o sh.dol.o sh.err.o sh.exec.o sh.exp.o sh.file.o \ 46 COMMONOBJS= printf.o sh.char.o sh.dir.o sh.dol.o sh.err.o \
|