| /onnv/onnv-gate/usr/src/ucbcmd/sed/ |
| sed1.c | 45 char genbuf[LBSIZE+1]; variable 275 sp = genbuf; 290 if (sp == &genbuf[LBSIZE+1]) { 297 loc2 = sp - genbuf + linebuf; 299 if (sp == &genbuf[LBSIZE+1]) { 306 sp = genbuf; 321 if (sp == &genbuf[LBSIZE+1]) 431 p2 = genbuf; 432 genbuf[72] = 0; 440 (void) fprintf(stdout, "%s\n", genbuf); [all...] |
| sed.h | 68 extern char genbuf[];
|
| sed0.c | 91 lcomend = &genbuf[71];
|
| /onnv/onnv-gate/usr/src/cmd/vi/port/ |
| ex_io.c | 155 * Get the argument words for a command into genbuf 197 CP(genbuf, "echo "); cp = &genbuf[5]; 203 if ((cp + len) > &genbuf[LBSIZE - 2]) 223 if (cp > &genbuf[LBSIZE - 2]) 245 if (cp > &genbuf[LBSIZE - 2]) 257 * Glob the argument words in genbuf, or if no globbing 272 unsigned char *v = genbuf + 5; /* strlen("echo ") */ 304 execlp((char *)svalue(vi_SHELL), "sh", "-c", genbuf, (char *)0); 338 * Scan genbuf for shell metacharacters [all...] |
| ex_vops2.c | 245 * Text read by the vgetline routine will be placed in genbuf, 252 vgotoCL(nqcolumn(lastchr(linebuf, cursor), genbuf)); 254 gcursor = genbuf; 414 * New text goes into genbuf starting at gcursor. 438 endsrccol = gcursor - genbuf - 1; 444 * terminating the string in genbuf. 446 endsrccol = gcursor - genbuf - 1; 482 gcursor = strend(genbuf); 505 * line to after new text (gcursor + 1) in genbuf. 513 /* cp new text (genbuf) into linebuf (cursor) * [all...] |
| ex_re.c | 590 sp = genbuf; 653 if ((sp + len) >= &genbuf[LBSIZE]) 663 if (sp >= &genbuf[LBSIZE]) 669 loc2 = (char *)(linebuf + (sp - genbuf)); 671 if (sp >= &genbuf[LBSIZE]) 673 strcLIN(genbuf); 699 if (sp >= &genbuf[LBSIZE]) 762 gp = genbuf; 801 gp = genbuf; 814 if (gp >= &genbuf[LBSIZE - 3] [all...] |
| ex_get.c | 162 unsigned char *cp = genbuf; 228 if (cp > &genbuf[LBSIZE - 2]) 241 lastin = c = smunch(lastin, genbuf); 247 CP(cp, genbuf);
|
| ex_vops.c | 528 strcpy(genbuf, linebuf); 530 if (strlen(genbuf) + strlen(wcursor) > LBSIZE - 2) { 535 strcat(genbuf, wcursor); 536 if (c == 'd' && *vpastwh(genbuf) == 0) { 608 vdoappend(genbuf); 611 strcLIN(genbuf); 763 vdoappend(genbuf); 834 oglobp = globp; globp = genbuf + 1;
|
| ex_cmdsub.c | 253 cp = genbuf; 261 if (*cp1 && cp > genbuf && cp[-1] != ' ' && cp[-1] != '\t') { 269 if ((pcp = cp - MB_CUR_MAX) < genbuf) 270 pcp = genbuf;; 300 if (cp > &genbuf[LBSIZE-2]) 305 strcLIN(genbuf); 464 unsigned char *gp = &genbuf[cursor - linebuf]; 483 * Copy "abcd" into genbuf. 487 strcpy(genbuf, linebuf); 528 * genbuf = "ab1 [all...] |
| exrecover.c | 705 fp = genbuf; 717 nib = fp - genbuf; 718 if (write(io, genbuf, nib) != nib) 722 fp = genbuf; 730 nib = fp - genbuf; 731 if (write(io, genbuf, nib) != nib)
|
| ex_subr.c | 185 i = whitecnt(genbuf); 186 cp = vpastwh(genbuf); 188 genbuf[0] = 0; 211 for (cp = genbuf; indent >= value(vi_TABSTOP); indent -= value(vi_TABSTOP)) 372 str = (unsigned char *)strcpy(genbuf, str);
|
| ex_vops3.c | 419 strcpy(cursor, genbuf); 438 strcpy(scurs, genbuf);
|
| ex_vget.c | 279 cursor = linebuf; linebuf[0] = 0; genbuf[0] = c; 289 (void)vgetline(0, genbuf + 1, &waste, c);
|
| ex_voper.c | 797 vscandir[0] = genbuf[0]; 798 oglobp = globp; CP(vutmp, genbuf); globp = vutmp;
|
| ex.h | 229 var unsigned char genbuf[LBSIZE]; /* Working buffer when manipulating linebuf */ variable
|
| ex_vmain.c | 1099 oglobp = globp; strcpy(vutmp, genbuf+1); globp = vutmp; [all...] |
| /onnv/onnv-gate/usr/src/ucblib/libcurses/ |
| cr_tty.c | 96 static char genbuf[1024]; local 108 if (tgetent(genbuf, type) != 1) { 110 (void) strcpy(genbuf, "xx|dumb:"); 157 (void) strncpy(ttytype, longname(genbuf, type), sizeof (ttytype) - 1);
|
| /onnv/onnv-gate/usr/src/cmd/ed/ |
| ed.c | 210 static char genbuf[LBSIZE]; variable 1383 if ((ninbuf = read(io, genbuf, LBSIZE)-1) < 0) 1386 *genbuf = '\n'; 1391 if (isencrypt(genbuf, ninbuf + 1)) 1396 fp = genbuf; 1398 if (run_crypt(count, genbuf, ninbuf+1, perm) == -1) 1441 fp = genbuf; 1456 n = fp-genbuf; 1458 if (run_crypt(count-n, genbuf, n, perm) == -1) 1460 if (write(io, genbuf, n) != n [all...] |