Searched refs:sendbuf (Results 1 – 4 of 4) sorted by relevance
| /plan9/sys/src/cmd/vt/ |
| H A D | main.c | 106 char sendbuf[BSIZE]; /* hope you can't type ahead more than BSIZE chars */ variable 107 char *sendp = sendbuf; 315 if(sendp > sendbuf) in canon() 322 sendp = sendbuf; in canon() 328 while(sendp > sendbuf && !alnum(*sendp)) { in canon() 334 while(sendp > sendbuf && alnum(*sendp)) { in canon() 342 sendp = sendbuf; in canon() 348 if(sendp < &sendbuf[512]) in canon() 350 sendnchars((int)(sendp-sendbuf), sendbuf); in canon() 351 sendp = sendbuf; in canon() [all …]
|
| /plan9/sys/src/cmd/lp/ |
| H A D | lpdsend.c | 22 unsigned char sendbuf[SBSIZE]; variable 62 while ((n=read(in, sendbuf, SBSIZE)) > 0) { in copyfile() 68 if (write(out, sendbuf, n) != n) { in copyfile() 126 unsigned char sendbuf[1]; in checkqueue() local
|
| /plan9/sys/src/cmd/unix/drawterm/libsec/ |
| H A D | tlshand.c | 783 static uchar sendbuf[9000], *sendp; variable 792 sendp = sendbuf; in msgSend() 795 c->trace("send %s", msgPrint((char*)p, (sizeof sendbuf) - (p-sendbuf), m)); in msgSend() 861 if(p + 3 + nn - sendbuf > sizeof(sendbuf)) { in msgSend() 891 assert(p <= sendbuf+sizeof(sendbuf)); in msgSend() 902 sendp = sendbuf; in msgSend() 903 if(write(c->hand, sendbuf, p-sendbuf) < 0){ in msgSend()
|
| /plan9/sys/src/libsec/port/ |
| H A D | tlshand.c | 804 static uchar sendbuf[9000], *sendp; variable 813 sendp = sendbuf; in msgSend() 816 c->trace("send %s", msgPrint((char*)p, (sizeof sendbuf) - (p-sendbuf), m)); in msgSend() 882 if(p + 3 + nn - sendbuf > sizeof(sendbuf)) { in msgSend() 912 assert(p <= sendbuf+sizeof(sendbuf)); in msgSend() 923 sendp = sendbuf; in msgSend() 924 if(write(c->hand, sendbuf, p-sendbuf) < 0){ in msgSend()
|