Searched refs:readf (Results 1 - 25 of 57) sorted by relevance

123

/ast/src/cmd/tests/sfio/
H A Dtalign.c26 ssize_t readf(Sfio_t* f, Void_t* buf, size_t n, Sfdisc_t* disc) function
28 ssize_t readf(f,buf,n,disc)
40 Sfdisc_t Disc = {readf, (Sfwrite_f)0, (Sfseek_f)0, (Sfexcept_f)0, (Sfdisc_t*)0};
H A Dtscanf1.c68 Mydisc.disc.readf = oneread;
H A Dtstack.c49 ssize_t readf(Sfio_t* f, Void_t* buf, size_t n, Sfdisc_t* disc) function
51 ssize_t readf(f, buf, n, disc)
59 terror("Stream mode should be inaccessible in readf");
78 Sfdisc_t Disc = { readf, writef, NIL(Sfseek_f), exceptf, 0 };
H A Dtexcept.c151 Disc2.readf = readfunc;
H A Dtmprdwr.c130 disc.disc.readf = discread;
/ast/src/lib/libpz/
H A Dpzdeflate.c48 Pzread_f readf; local
64 if (readf = pz->disc->readf)
73 if ((r = (*readf)(pz, pz->io, buf, pz->disc)) < 0)
112 readf = pz->disc->readf;
144 else if ((r = readf ? (*readf)(pz, pz->io, pat, pz->disc) : sfread(pz->io, pat, pp->row)) != pp->row)
169 if ((r = readf ? (*readf)(p
[all...]
H A Dpzconvert.c91 Pzread_f readf; member in struct:__anon364
133 if (state->readf)
136 if ((n = (*state->readf)(pz, sp, s, disc)) <= 0)
155 n = state->readf ? (*state->readf)(pz, sp, data, disc) : sfread(sp, data, pp->row);
334 if ((state->readf || state->writef) && !(state->buf = vmnewof(pz->vm, 0, unsigned char, m, 0)))
599 disc->readf = cvtread;
691 state->readf = pz->disc->readf;
/ast/src/lib/libast/disc/
H A Dsfdcslow.c72 disc->readf = NIL(Sfread_f);
H A Dsfdctee.c89 te->disc.readf = NIL(Sfread_f);
H A Dsfdcdos.c326 if((*disc->readf)(iop,iop->data,size,disc)<0)
335 n=(*disc->readf)(iop,iop->data,size,disc);
405 dos->disc.readf = dos_read;
H A Dsfdcfilter.c172 fi->disc.readf = filterread;
/ast/src/lib/libvdelta/vd01/
H A Dvdelta01.h76 Vdio_f readf; /* to read data */ member in struct:_vddisc_s
H A Dvdupdate01.c185 r = (*disc->readf)
193 r = (*disc->readf)
231 r = (*target->readf)
275 if(!delta || (!delta->data && !delta->readf) )
303 { if(!source || (!source->data && !source->readf) )
357 { r = (*target->readf)(tab.src,n,p,target);
377 r = (*source->readf)(tab.src,n,p,source);
/ast/src/lib/libvdelta/
H A Dvdelta.h94 Vdio_f readf; /* to read data */ member in struct:_vddisc_s
H A Dvdupdate.c187 r = (*disc->readf)
195 r = (*disc->readf)
233 r = (*target->readf)
277 if(!delta || (!delta->data && !delta->readf) )
315 { if(!source || (!source->data && !source->readf) )
373 { r = (*target->readf)(tab.src,n,p,target);
395 r = (*source->readf)(tab.src,n,p,source);
/ast/src/lib/libast/sfio/
H A Dsfdisc.c37 ** them to the new discipline when its readf() asks for new data.
141 if(!disc && f->disc && f->disc->disc && f->disc->disc->readf == _dccaread )
171 if((f->mode&SF_READ) && n > 0 && disc && disc->readf )
176 dcca->disc.readf = _dccaread;
187 /* save old readf, writef, and seekf to see if stream need reinit */
192 GETDISCF(oreadf,readf,Sfread_f);
249 REINIT(oreadf,readf,Sfread_f);
/ast/src/lib/libast/stdio/
H A Dvfwscanf.c105 w->sfdisc.readf = wideread;
/ast/src/lib/libdss/
H A Ddsslib.h52 Dssread_f readf; \
H A Ddssfile.c168 file->readf = noreadf;
215 file->readf = file->format->readf;
220 file->readf = nullreadf;
286 if ((r = (*file->readf)(file, &file->record, file->dss->disc)) <= 0)
/ast/src/cmd/pax/
H A Dpaxlib.c197 part->disc.readf = part_read;
227 pax->readf = paxread;
H A Dpaxlib.h210 off_t (*readf)(Pax_t*, Paxarchive_t*, void*, off_t, off_t, int); member in struct:Pax_s
237 #define paxread(p,a,b,n,m,f) (*(p)->readf)(p,a,b,n,m,f)
/ast/src/lib/libcodex/
H A Dcodex.c204 if (!meth->readf)
206 r = (*meth->readf)(f, buf, n, disc);
600 code->sfdisc.readf = trace_read;
606 code->sfdisc.readf = meth->readf;
H A Dcodex.h115 ssize_t (*readf)(Sfio_t*, void*, size_t, Sfdisc_t*); member in struct:Codexmeth_s
/ast/src/lib/libbz/
H A Dsfdcbzip.c202 bz->disc.readf = sfbzread;
/ast/src/cmd/std/
H A Dpss.h171 int (*readf)(Pss_t*, Pss_id_t); member in struct:Pssmeth_s

Completed in 65 milliseconds

123