Home | History | Annotate | Download | only in hpcboot

Lines Matching defs:ofs

222 HttpFile::_read_from_cache(void *buf, size_t bytes, off_t ofs)
226 if (ofs >= _buffer_size)
229 transfer = ofs + bytes > _buffer_size ? _buffer_size - ofs : bytes;
231 memcpy(buf, &_buffer[ofs], transfer);
248 off_t ofs;
251 ofs = offset;
253 ofs = _cur_pos;
258 return _read_from_cache(buf, bytes, ofs);
286 return _read_from_cache(buf, bytes, ofs);
288 int i, n = ofs / bytes;
293 if ((n =(ofs % bytes)))