Home
last modified time | relevance | path

Searched refs:rbuf (Results 1 – 15 of 15) sorted by relevance

/original-bsd/lib/libcompat/regexp/
H A Dtry.c118 char rbuf[BUFSIZ]; in multiple() local
127 while (fgets(rbuf, sizeof(rbuf), stdin) != NULL) { in multiple()
128 rbuf[strlen(rbuf)-1] = '\0'; /* Dispense with \n. */ in multiple()
130 scan = rbuf; in multiple()
165 regsub((regexp *)NULL, "foo", rbuf); in multiple()
170 regsub(r, (char *)NULL, rbuf); in multiple()
184 regsub(&badregexp, "foo", rbuf); in multiple()
/original-bsd/old/cpnull/
H A Dcpnull.c72 char resp, c, rbuf[BUFSIZ], *cp = rbuf; in response() local
91 write(2, rbuf, cp-rbuf); in response()
96 } while (cp < &rbuf[BUFSIZ] && c != '\n'); in response()
97 write(2, rbuf, cp - rbuf); in response()
/original-bsd/usr.bin/mail/
H A Dquit.c82 rbuf = NULL; in quit()
85 rbuf = Fopen(tempResid, "w"); in quit()
86 if (rbuf == NULL || fbuf == NULL) in quit()
91 (void) putc(c, rbuf); in quit()
98 (void) putc(c, rbuf); in quit()
101 Fclose(rbuf); in quit()
158 writeback(rbuf); in quit()
264 writeback(rbuf); in quit()
275 if (rbuf != NULL) { in quit()
279 while ((c = getc(rbuf)) != EOF) in quit()
[all …]
/original-bsd/usr.bin/ex/
H A Dex_temp.c390 struct rbuf { struct
469 rbuf = &KILLrbuf;
480 rblock = rbuf->rb_next;
490 return (sizeof (struct rbuf)); in shread()
505 rbuf = &putrbuf;
562 rnext = rbuf->rb_next; in getREG()
563 rbufcp = rbuf->rb_text; in getREG()
591 rbuf = &YANKrbuf;
595 rbufcp = &rbuf->rb_text[sizeof rbuf->rb_text - rnleft];
628 register struct rbuf *rp = rbuf; in YANKline()
[all …]
/original-bsd/sys/vax/uba/
H A Ddhureg.h24 short rbuf; /* recv.char/ds.change register (R) */ member
27 #define dhurbuf un2.rbuf
79 #define DHU_RX_LINE(rbuf) (((rbuf) & DHU_RB_RLN) >> 8) argument
H A Ddmxreg.h18 short rbuf; /* receiver buffer (ro) */ member
25 #define rsp rbuf /* receive silo parameter register (wo) */
H A Ddmx.c171 while ((c = addr->rbuf) < 0) {
/original-bsd/usr.bin/tftp/
H A Dtftpsubs.c232 char rbuf[PKTSIZE]; local
241 (void) recvfrom(f, rbuf, sizeof (rbuf), 0,
/original-bsd/local/ditroff/ditroff.old.okeeffe/troff/
H A Dn3.c36 tchar *rbuf; variable
40 tchar rbuf[BLK]; variable
399 if (read(ibf, (char *)rbuf, BLK * sizeof(tchar)) == 0) in rbf()
402 i = rbuf[ip & (BLK-1)]; in rbf()
404 rbuf = &corebuf[roff]; in rbf()
405 i = rbuf[ip & (BLK-1)]; in rbf()
408 i = rbuf[ip & (BLK-1)]; in rbf()
439 if (read(ibf, (char *)rbuf, BLK * sizeof(tchar)) == 0)
442 rbuf = &corebuf[roff];
445 return(rbuf[p & (BLK-1)]);
/original-bsd/sys/vax/if/
H A Dif_ec.c457 int len, off, resid, ecoff, rbuf; local
463 rbuf = addr->ec_rcr & EC_RBN;
464 if (rbuf < ECRLBF || rbuf > ECRHBF)
466 ecbuf = es->es_buf[rbuf];
524 addr->ec_rcr = start_read|EC_RCLR|rbuf;
/original-bsd/old/roff/common_source/
H A Dn3.c77 int rbuf[BLK]; variable
80 int *rbuf; variable
384 if(read(ibf, (char *)rbuf, BLK * sizeof(int)) == 0)return(0);
386 rbuf = &Buf[roff];
389 return(rbuf[p & (BLK-1)]);
/original-bsd/bin/rcp/
H A Drcp.c789 char ch, *cp, resp, rbuf[BUFSIZ]; in response() local
794 cp = rbuf; in response()
807 } while (cp < &rbuf[BUFSIZ] && ch != '\n'); in response()
810 (void)write(STDERR_FILENO, rbuf, cp - rbuf); in response()
/original-bsd/old/as.tahoe/
H A Dassyms.c741 char rbuf[2048]; local
745 nread = fread(rbuf, sizeof(char),
746 min(sizeof(rbuf), left), strfile);
749 bwrite(rbuf, nread, symfile);
/original-bsd/old/as.vax/
H A Dassyms.c713 char rbuf[2048]; local
717 nread = fread(rbuf, sizeof(char),
718 min(sizeof(rbuf), left), strfile);
721 bwrite(rbuf, nread, symfile);
/original-bsd/sys/nfs/
H A Dnfs_serv.c2475 iv.iov_base = rbuf;
2500 free((caddr_t)rbuf, M_TEMP);
2527 FREE((caddr_t)rbuf, M_TEMP);
2537 cpos = rbuf;
2538 cend = rbuf + siz;
2644 FREE((caddr_t)rbuf, M_TEMP);
2719 iv.iov_base = rbuf;
2744 free((caddr_t)rbuf, M_TEMP);
2776 cpos = rbuf;
2777 cend = rbuf + siz;
[all …]