Searched refs:rbuf (Results 1 - 7 of 7) sorted by relevance
/ast/src/cmd/tests/sfio/ |
H A D | twrrd.c | 26 char rbuf[1023]; local 46 { if(sfread(fp,rbuf,sizeof(rbuf)) != sizeof(rbuf)) 49 if(strcmp(rbuf,wbuf) != 0)
|
H A D | tmpread.c | 33 char wbuf[1023], rbuf[RBUF*1023], *s; local 56 { if(sfread(fr, rbuf, sizeof(rbuf)) != sizeof(rbuf)) 58 for(r = 0, s = rbuf; r < RBUF; r += 1, s += n)
|
H A D | tstdio.c | 34 char buf[128*1024], rbuf[1024], *sp; local 85 rbuf[0] = 0; 86 if(fread(rbuf, 1, 7, f2) != 7) 89 if(rbuf[i] != '0'+i) 97 rbuf[0] = 0; 98 fread(rbuf, 5, 1, f); 100 if(rbuf[i-5] != '0'+i) 102 if(rbuf[i-5] != '\n') 120 fread(rbuf, 10, 1, f2); 121 if(rbuf[ [all...] |
H A D | talign.c | 47 char buf[1024], rbuf[128*1024]; local 62 sfsetbuf(f,rbuf,sizeof(rbuf));
|
H A D | texcept.c | 100 char rbuf[4*1024]; local 163 for(i = 0; i < sizeof(rbuf); ++i) 164 rbuf[i] = i; 165 sfwrite(f,rbuf,sizeof(rbuf)); 171 if(sfread(f,rbuf,4) != 4) 174 if(rbuf[i] != i)
|
/ast/src/lib/libast/sfio/ |
H A D | sfmove.c | 48 uchar *rbuf = NIL(uchar*); local 143 if(rsize <= 0 && (rbuf = (uchar*)malloc(w)) ) 145 if(rbuf) 146 { next = rbuf; 232 if(rbuf) 233 free(rbuf);
|
/ast/src/cmd/mailx/ |
H A D | quit.c | 335 FILE* rbuf; local 370 rbuf = 0; 373 if (!(rbuf = fileopen(state.tmp.more, "w")) || !fbuf) 377 filecopy(NiL, fbuf, NiL, rbuf, NiL, (off_t)0, NiL, NiL, 0); 379 if (filecopy(NiL, fbuf, NiL, rbuf, NiL, (off_t)(size - state.mailsize), NiL, NiL, 0)) 382 fileclose(rbuf); 383 if (!(rbuf = fileopen(state.tmp.more, "r"))) 469 writeback(rbuf); 586 writeback(rbuf); 597 if (rbuf) { [all...] |
Completed in 20 milliseconds