HomeSort by relevance Sort by last modified time
    Searched refs:linebuf (Results 1 - 25 of 88) sorted by null

1 2 3 4

  /onnv/onnv-gate/usr/src/cmd/vi/port/
ex_vops3.c 88 strcpy(save, linebuf);
116 if (linebuf[0] == 0) {
120 while (linebuf[0] == 0);
123 linebuf[0] = 0;
124 wcursor = linebuf;
168 if (!pastatom || wcursor == linebuf && endPS())
171 if (linebuf[0] == 0) {
175 while (linebuf[0] == 0);
185 if (dir < 0 && (wdot != llimit || wcursor != linebuf)) {
193 if (linebuf[0] == 0 && !pastatom &&
    [all...]
ex_vops.c 76 CP(vutmp, linebuf);
77 vUD1 = linebuf; vUD2 = strend(linebuf);
80 vUA1 = linebuf; vUA2 = strend(linebuf);
92 cursor = linebuf;
170 strcpy(vutmp, linebuf);
191 temp[vUA2 - linebuf] = 0;
192 for (cp = &temp[vUA1 - linebuf]; *cp;) {
213 if (cursor > linebuf && cursor >= strend(linebuf)
    [all...]
ex_voper.c 433 wcursor = linebuf;
485 wcursor = lastchr(linebuf, wcursor);
509 wcursor = vskipwh(linebuf);
527 wcursor = linebuf;
532 if (linebuf[0]) {
533 wcursor = strend(linebuf);
534 wcursor = lastchr(linebuf, wcursor);
537 wcursor = linebuf;
559 wcursor = lastchr(linebuf, wcursor);
562 if (margin() && opf == vmove || wcursor < linebuf) {
    [all...]
ex_vwind.c 65 * context or save linebuf as current line.
483 if(curs >= strend(linebuf)) {
484 if(!*linebuf)
485 wcursor = linebuf;
487 wcursor = strend(linebuf);
488 wcursor = lastchr(linebuf, wcursor);
492 j = wcursor - linebuf;
493 for(wcursor = linebuf; wcursor - linebuf < j; ) {
497 if(wcursor - linebuf > j
    [all...]
ex_subr.c 101 cp = &linebuf[LBSIZE - 2];
114 cp = &linebuf[LBSIZE - 2];
115 return (nqcolumn(lastchr(linebuf, cp), (unsigned char *)0));
187 if (*cp == 0 && i == indent && linebuf[0] == 0) {
397 unsigned char *cp = linebuf;
421 strcpy(linebuf, seekpt);
576 if(lim == linebuf - 1 || lim == &linebuf[LBSIZE-2])
622 if(lim == linebuf - 1 || lim == &linebuf[LBSIZE-2]
    [all...]
  /onnv/onnv-gate/usr/src/cmd/sgs/rtld.4.x/
rtsubrs.c 124 char linebuf[128]; local
126 doprf(fd, fmt, adx, linebuf);
130 doprf(fd, fmt, adx, linebuf)
134 char *linebuf;
143 if (lbp >= &linebuf[128]) { \
144 _write(fd, linebuf, lbp - &linebuf[0]); \
145 lbp = &linebuf[0]; \
150 lbp = &linebuf[0];
154 _write(fd, linebuf, lbp - &linebuf[0])
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mailx/
aux.c 147 char linebuf[LINESIZE]; local
154 if (readline(ibuf, linebuf) < 0)
157 while ((lc = gethfield(ibuf, linebuf, lc)) >= 0)
158 if (ishfield(linebuf, field))
159 r = (*add)(r, hcontents(linebuf));
172 char linebuf[],
182 if (readline(f, linebuf) < 0)
185 if (strlen(linebuf) == 0)
187 if (isspace(linebuf[0]))
189 if (!headerp(linebuf))
596 char linebuf[LINESIZE]; local
    [all...]
collect.c 66 static int stripnulls(register char *linebuf, register int nread);
104 char linebuf[LINESIZE+1], *cp; local
247 if ((nread = getline(linebuf,LINESIZE,stdin,&hasnulls)) == NULL) {
259 if (intty && equal(".\n", linebuf) &&
270 if (write(fileno(obuf),linebuf,nread) != nread)
274 if (linebuf[0] == '\n') {
279 if (!headerp(linebuf)) {
285 nread = stripnulls(linebuf, nread);
298 if (strlen(linebuf) + strlen(cp2) >=
301 cp = &linebuf[strlen(linebuf)]
1277 register char *cp, *cp2, *linebuf; local
1313 register char *linebuf; local
    [all...]
fio.c 65 char linebuf[LINESIZE]; local
101 while ((n = getln(linebuf, sizeof (linebuf), ibuf)) > 0) {
106 hdr = inhead && (headerp(linebuf) ||
107 (linebuf[0] == ' ' || linebuf[0] == '\t'));
115 if (fwrite(linebuf, 1, (int)clen, otf) !=
120 l += linecount(linebuf, clen);
126 memcpy(linebuf, linebuf+clen, n+1)
    [all...]
  /onnv/onnv-gate/usr/src/lib/print/libprint/common/
nss_printer.c 121 getprinterentry(char *linebuf, int linelen, char *ns)
127 NSS_XbyY_INIT(&arg, linebuf, linebuf, linelen, str2printer);
137 getprinterbyname(char *name, char *linebuf, int linelen, char *ns)
143 NSS_XbyY_INIT(&arg, linebuf, linebuf, linelen, str2printer);
  /onnv/onnv-gate/usr/src/cmd/msgfmt/
check_header.c 89 char *linebuf; local
99 linebuf = NULL;
103 ln_size = get_one_line(&linebuf, &mbuf, &size);
108 p = linebuf;
111 ln_size = get_one_line(&linebuf, &mbuf, &size);
116 p = linebuf;
152 ln_size = get_one_line(&linebuf, &mbuf, &size);
157 p = linebuf;
295 ln_size = get_one_line(&linebuf, &mbuf, &size);
300 p = linebuf;
    [all...]
  /onnv/onnv-gate/usr/src/lib/fm/libdiskstatus/common/
ds_util.c 58 char linebuf[LINEBUFLEN]; local
69 linep = linebuf;
136 linebuf[LINEBUFLEN - bufleft] = 0;
138 dprintf("%s\n", linebuf);
140 linep = linebuf;
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/
ftprestart.c 130 char linebuf[BUFSIZ]; local
180 while (fgets(linebuf, BUFSIZ, accessfile) != NULL) {
181 if (strncasecmp(linebuf, "shutdown", 8) == 0) {
182 (void) strtok(linebuf, " \t");
220 while (fgets(linebuf, sizeof(linebuf) - 1, accessfile) != NULL) {
221 if (strncasecmp(linebuf, "virtual", 7) == 0) {
222 if ((p = strstr(linebuf, "root")) != NULL) {
225 if ((cp = strchr(linebuf, '\n')) != NULL)
285 while (fgets(linebuf, sizeof(linebuf) - 1, accessfile) != NULL)
    [all...]
ftpshut.c 224 char linebuf[1024]; local
299 (void) strlcpy(linebuf, myaclbuf, sizeof(linebuf));
301 (void) strtok(linebuf, " \t"); /* returns "shutdown" */
389 while (fgets(linebuf, sizeof(linebuf) - 1, accessfile) != NULL) {
390 if (strncasecmp(linebuf, "virtual", 7) == 0) {
392 if ((sp = strstr(linebuf, "root")) != NULL) {
454 while (fgets(linebuf, sizeof(linebuf) - 1, accessfile) != NULL)
    [all...]
domain.c 188 char linebuf[MAXPATHLEN]; local
205 while (fgets(linebuf, sizeof(linebuf), msg_file)) {
206 if ((crptr = strchr(linebuf, '\n')) != NULL)
208 msg_massage(linebuf, outbuf, sizeof(outbuf));
  /onnv/onnv-gate/usr/src/cmd/exstr/
exstr.c 243 char linebuf[BUFSIZ]; local
262 inp = linebuf;
264 linebuf[0] = '\0';
349 } else if (*linebuf != '\0')
350 (void) fputs(linebuf, stdout);
352 inp = linebuf;
353 if (fgets(linebuf,
354 sizeof (linebuf), fi) == (char *)NULL) {
379 if (fgets(linebuf,
380 sizeof (linebuf), fi) == (char *)NULL)
    [all...]
  /onnv/onnv-gate/usr/src/ucbcmd/sed/
sed1.c 133 if((execp = gline(linebuf)) == 0) {
214 for(p1 = linebuf; p1 < spend; p1++)
237 p1 = linebuf;
274 lp = linebuf;
297 loc2 = sp - genbuf + linebuf;
305 lp = linebuf;
359 p1 = p2 = linebuf;
379 p1 = linebuf;
390 if (p1 == &linebuf[LBSIZE+1]) {
400 p2 = linebuf;
    [all...]
  /onnv/onnv-gate/usr/src/lib/libsocket/inet/
bootparams_getbyname.c 48 char *linebuf, /* buffer to put the answer in */
49 int linelen /* max # of bytes to put into linebuf */
55 NSS_XbyY_INIT(&arg, linebuf, linebuf, linelen, str2bootent);
  /onnv/onnv-gate/usr/src/psm/stand/bootlst/common/
bootlst.c 139 char linebuf[MAX_CMDLINE]; local
154 while (fgets(linebuf, MAX_CMDLINE, file)) {
155 cp = trim_white_space(linebuf);
191 while (cons_gets(linebuf, MAX_CMDLINE)) {
193 cp = trim_white_space(linebuf);
  /onnv/onnv-gate/usr/src/cmd/dumpcs/
dumpcs.c 51 static char linebuf[SCRWID / 2 * (MB_LEN_MAX + 1)]; variable
165 (void) strcpy(linebuf, "");
168 (void) printf("\n%s", linebuf);
209 if (*linebuf) {
211 (void) printf("\n%s", linebuf);
219 (void) sprintf(linebuf, "%lx ",
224 (void) sprintf(linebuf, "%lx ", wc);
237 (void) strcat(linebuf, prep);
239 (void) strcat(linebuf, " ");
241 (void) strcat(linebuf, prep)
    [all...]
  /onnv/onnv-gate/usr/src/lib/fm/libdiagcode/common/
diagcode.c 98 static const char *keymatch(const char *linebuf, const char *key[]);
150 char linebuf[DICTMAXLINE]; /* line read from dict */ local
236 while (fgets(linebuf, DICTMAXLINE, dhp->fp) != NULL) {
238 if (*linebuf == '\n' || *linebuf == '#')
242 if (strncmp(linebuf, Header, sizeof (Header) - 1)) {
257 startparse(&pstate, &linebuf[sizeof (Header) - 1]);
382 char linebuf[DICTMAXLINE]; /* line read from dict */ local
403 while (fgets(linebuf, DICTMAXLINE, dhp->fp) != NULL) {
405 if (*linebuf == '\n' || *linebuf == '#'
442 char linebuf[DICTMAXLINE]; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mms/mm/common/
mm_db.c 906 char linebuf[100]; local
946 while (fgets(linebuf, sizeof (linebuf), dbfp) != NULL) {
947 if (isdigit(linebuf[0])) {
948 verpos = strchr(linebuf, ' ');
949 verlen = verpos - linebuf;
950 strncpy(verbuf, linebuf, verlen);
952 if (vernum > dbcurver && linebuf[verlen - 1] == 'u') {
954 if (strchr(linebuf, ';') != NULL) {
956 linebuf);
1045 char linebuf[100]; local
1199 char linebuf[100]; local
    [all...]
  /onnv/onnv-gate/usr/src/common/openssl/crypto/pkcs7/
pk7_mime.c 105 static int strip_eol(char *linebuf, int *plen);
385 char linebuf[MAX_SMLEN]; local
387 while((len = BIO_read(in, linebuf, MAX_SMLEN)) > 0)
388 BIO_write(out, linebuf, len);
393 while ((len = BIO_gets(in, linebuf, MAX_SMLEN)) > 0) {
394 eol = strip_eol(linebuf, &len);
396 BIO_write(out, linebuf, len);
437 char linebuf[MAX_SMLEN]; local
450 while ((len = BIO_gets(bio, linebuf, MAX_SMLEN)) > 0) {
451 state = mime_bound_check(linebuf, len, bound, blen)
491 char linebuf[MAX_SMLEN]; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/vi/misc/
xstr.c 141 char linebuf[BUFSIZ]; local
147 if (fgets(linebuf, sizeof (linebuf), stdin) == NULL) {
155 if (linebuf[0] == '#') {
156 if (linebuf[1] == ' ' && isdigit(linebuf[2]))
157 printf("#line%s", &linebuf[1]);
159 printf("%s", linebuf);
162 for (cp = linebuf; c = *cp++; ) {
  /onnv/onnv-gate/usr/src/cmd/xstr/
xstr.c 123 char linebuf[BUFSIZ]; variable
135 if (fgets(linebuf, sizeof (linebuf), stdin) == NULL) {
143 if (linebuf[0] == '#') {
144 if (linebuf[1] == ' ' && isdigit(linebuf[2]))
145 (void) printf("#line%s", &linebuf[1]);
147 (void) printf("%s", linebuf);
150 for (cp = linebuf; (c = *cp++) != 0; ) {
217 if (fgets(linebuf, sizeof (linebuf), stdin
    [all...]

Completed in 1079 milliseconds

1 2 3 4