Home | History | Annotate | Download | only in nacl_io

Lines Matching refs:offs

155 Error MountNodeHttp::GetDents(size_t offs,
216 Error MountNodeHttp::Read(size_t offs,
230 return ReadPartialFromCache(offs, buf, count, out_bytes);
233 return DownloadPartial(offs, buf, count, out_bytes);
238 Error MountNodeHttp::Write(size_t offs,
400 Error MountNodeHttp::ReadPartialFromCache(size_t offs,
406 if (offs > cached_data_.size())
409 count = std::min(count, static_cast<int>(cached_data_.size() - offs));
410 memcpy(buf, &cached_data_.data()[offs], count);
416 Error MountNodeHttp::DownloadPartial(size_t offs,
429 offs,
430 offs + count - 1);
458 if (offs >= content_length)
462 if (offs + count > content_length) {
463 count = content_length - offs;
472 if (read_start > offs || read_start > read_end) {
484 read_start = offs;
488 if (read_start < offs) {
491 size_t bytes_to_read = offs - read_start;