Searched refs:fread (Results 1 - 17 of 17) sorted by relevance

/ast/src/lib/libast/stdio/
H A Dfread.c27 fread(void* p, size_t s, size_t n, Sfio_t* f) function
31 STDIO_INT(f, "fread", ssize_t, (void*, size_t, size_t, Sfio_t*), (p, s, n, f))
H A Dstdio_c99.c87 return fread(buf, size, n, sp);
/ast/src/cmd/tests/sfio/
H A Dtstdio.c60 fread(buf, sizeof(buf), 1, f);
86 if(fread(rbuf, 1, 7, f2) != 7)
98 fread(rbuf, 5, 1, f);
120 fread(rbuf, 10, 1, f2);
/ast/src/lib/libtk/generic/
H A DtkImgGIF.c65 #define ReadOK(file,buffer,len) (fread(buffer, len, 1, file) != 0)
176 if (fread(buf, 1, 3, f) != 3) {
213 if (fread(buf, 1, 1, f) != 1) {
235 if (fread(buf, 1, 1, f) != 1) {
254 if (fread(buf, 1, 9, f) != 9) {
323 if ((fread(buf, 1, 6, f) != 6)
329 if (fread(buf, 1, 4, f) != 4) {
H A DtkImgPPM.c210 count = fread(pixelPtr, 1, (unsigned) nBytes, f);
/ast/src/lib/libast/astsa/
H A Dast.h129 #define sfread(f,b,n) fread(b,n,1,f)
/ast/src/cmd/cs/vcs_src/
H A Difs_http.c87 while( (len = fread( buf, 1, sizeof(buf), fsrc )) > 0 )
/ast/src/lib/libz/
H A Dminigzip.c108 * pipe), use the normal fread loop.
113 len = (int)fread(buf, 1, sizeof(buf), in);
115 perror("fread");
H A Dgzio.c336 s->stream.avail_in = (uInt)fread(s->inbuf, 1, Z_BUFSIZE, s->file);
387 len = (uInt)fread(s->inbuf + len, 1, Z_BUFSIZE >> len, s->file);
531 (uInt)fread(next_out, 1, s->stream.avail_out, s->file);
542 s->stream.avail_in = (uInt)fread(s->inbuf, 1, Z_BUFSIZE, s->file);
/ast/src/lib/libvcodex/
H A Dvcodex.h76 #define sfread(s,b,n) fread((b), 1, (n), (s))
78 #define sfrd(s,b,n,d) fread((b), 1, (n), (s))
/ast/src/cmd/mailx/
H A Dproc.c335 if ((c = fread(buf, 1, sizeof(buf) - 1, ip)) <= 0) {
H A Dsend.c157 if ((n = fread(pp->buf, 1, n, ip)) <= 0)
H A Dfio.c648 n = fread(buf, 1, sizeof(buf), fp);
/ast/src/cmd/INIT/
H A Dratz.c3833 s->stream.avail_in = (uInt)fread(s->inbuf, 1, Z_BUFSIZE, s->file);
3884 len = (uInt)fread(s->inbuf + len, 1, Z_BUFSIZE >> len, s->file);
4027 (uInt)fread(next_out, 1, s->stream.avail_out, s->file);
4038 s->stream.avail_in = (uInt)fread(s->inbuf, 1, Z_BUFSIZE, s->file);
4414 r = fread(buf, sizeof(Header_t), 1, fp) == 1;
/ast/src/cmd/bzip/
H A Dbzip2.c314 nIbuf = fread ( ibuf, sizeof(UChar), 5000, stream );
/ast/src/lib/libast/
H A DMakefile170 fpurge.c fputc.c fputs.c fread.c freopen.c fscanf.c \
/ast/src/lib/libbz/
H A Dbzlib.c1132 n = fread ( bzf->buf, sizeof(UChar),

Completed in 72 milliseconds