Searched refs:genbuf (Results 1 - 18 of 18) sorted by relevance
/illumos-gate/usr/src/ucbcmd/sed/ |
H A D | 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...] |
H A D | sed.h | 68 extern char genbuf[];
|
H A D | sed0.c | 91 lcomend = &genbuf[71];
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_io.c | 152 * Get the argument words for a command into genbuf 194 CP(genbuf, "echo "); cp = &genbuf[5]; 200 if ((cp + len) > &genbuf[LBSIZE - 2]) 220 if (cp > &genbuf[LBSIZE - 2]) 242 if (cp > &genbuf[LBSIZE - 2]) 254 * Glob the argument words in genbuf, or if no globbing 269 unsigned char *v = genbuf + 5; /* strlen("echo ") */ 301 execlp((char *)svalue(vi_SHELL), "sh", "-c", genbuf, (char *)0); 335 * Scan genbuf fo [all...] |
H A D | ex_vops2.c | 243 * Text read by the vgetline routine will be placed in genbuf, 250 vgotoCL(nqcolumn(lastchr(linebuf, cursor), genbuf)); 252 gcursor = genbuf; 412 * New text goes into genbuf starting at gcursor. 436 endsrccol = gcursor - genbuf - 1; 442 * terminating the string in genbuf. 444 endsrccol = gcursor - genbuf - 1; 480 gcursor = strend(genbuf); 503 * line to after new text (gcursor + 1) in genbuf. 511 /* cp new text (genbuf) int [all...] |
H A D | ex_re.c | 587 sp = genbuf; 650 if ((sp + len) >= &genbuf[LBSIZE]) 660 if (sp >= &genbuf[LBSIZE]) 666 loc2 = (char *)(linebuf + (sp - genbuf)); 668 if (sp >= &genbuf[LBSIZE]) 670 strcLIN(genbuf); 696 if (sp >= &genbuf[LBSIZE]) 759 gp = genbuf; 798 gp = genbuf; 811 if (gp >= &genbuf[LBSIZ [all...] |
H A D | ex_get.c | 159 unsigned char *cp = genbuf; 225 if (cp > &genbuf[LBSIZE - 2]) 238 lastin = c = smunch(lastin, genbuf); 244 CP(cp, genbuf);
|
H A D | ex_vops.c | 526 strcpy(genbuf, linebuf); 528 if (strlen(genbuf) + strlen(wcursor) > LBSIZE - 2) { 533 strcat(genbuf, wcursor); 534 if (c == 'd' && *vpastwh(genbuf) == 0) { 606 vdoappend(genbuf); 609 strcLIN(genbuf); 761 vdoappend(genbuf); 832 oglobp = globp; globp = genbuf + 1;
|
H A D | ex_cmdsub.c | 252 cp = genbuf; 260 if (*cp1 && cp > genbuf && cp[-1] != ' ' && cp[-1] != '\t') { 268 if ((pcp = cp - MB_CUR_MAX) < genbuf) 269 pcp = genbuf;; 299 if (cp > &genbuf[LBSIZE-2]) 304 strcLIN(genbuf); 463 unsigned char *gp = &genbuf[cursor - linebuf]; 482 * Copy "abcd" into genbuf. 486 strcpy(genbuf, linebuf); 527 * genbuf [all...] |
H A D | 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)
|
H A D | ex_subr.c | 182 i = whitecnt(genbuf); 183 cp = vpastwh(genbuf); 185 genbuf[0] = 0; 208 for (cp = genbuf; indent >= value(vi_TABSTOP); indent -= value(vi_TABSTOP)) 369 str = (unsigned char *)strcpy(genbuf, str);
|
H A D | ex_vops3.c | 416 strcpy(cursor, genbuf); 435 strcpy(scurs, genbuf);
|
H A D | ex_vget.c | 276 cursor = linebuf; linebuf[0] = 0; genbuf[0] = c; 286 (void)vgetline(0, genbuf + 1, &waste, c);
|
H A D | ex_voper.c | 797 vscandir[0] = genbuf[0]; 798 oglobp = globp; CP(vutmp, genbuf); globp = vutmp;
|
H A D | ex.h | 226 var unsigned char genbuf[LBSIZE]; /* Working buffer when manipulating linebuf */ variable
|
H A D | ex_vmain.c | 1099 oglobp = globp; strcpy(vutmp, genbuf+1); globp = vutmp;
|
/illumos-gate/usr/src/ucblib/libcurses/ |
H A D | 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);
|
/illumos-gate/usr/src/cmd/ed/ |
H A D | ed.c | 207 static char genbuf[LBSIZE]; variable 1378 if ((ninbuf = read(io, genbuf, LBSIZE)-1) < 0) 1381 *genbuf = '\n'; 1386 if (isencrypt(genbuf, ninbuf + 1)) 1391 fp = genbuf; 1393 if (run_crypt(count, genbuf, ninbuf+1, perm) == -1) 1436 fp = genbuf; 1451 n = fp-genbuf; 1453 if (run_crypt(count-n, genbuf, n, perm) == -1) 1455 if (write(io, genbuf, [all...] |
Completed in 88 milliseconds