Lines Matching defs:data
24 /* Reserve a segment of data or buffer.
40 reg Void_t* data;
57 { data = (Void_t*)f->next;
63 data = (Void_t*)rsrv->data;
67 data = NIL(Void_t*);
70 SFMTXRETURN(f, data);
91 /* iterate until get to a stream that has data or buffer space */
131 { if(n == 0) /* peek-read only if there is no buffered data */
160 /* request was only to assess data availability */
166 data = NIL(Void_t*);
168 { if(n > 0) /* got data */
169 data = (Void_t*)f->next;
171 data = (Void_t*)rsrv->data;
173 else if(n >= sz) /* got data */
174 data = (Void_t*)f->next;
179 data = (Void_t*)f->next;
184 data = (Void_t*)rsrv->data;
187 { if((n = SFREAD(f,(Void_t*)rsrv->data,sz)) >= sz) /* read side buffer */
188 data = (Void_t*)rsrv->data;
194 if(data)
197 if((f->mode & SF_READ) && size == 0 && data != f->next)
199 f->endr = f->endw = f->data;
202 { if(data == (Void_t*)f->next)
209 SFMTXRETURN(f, data);