Lines Matching refs:offset
37 char *BlobCore::stringAt(Offset offset)
39 char *s = at<char>(offset);
40 if (offset < this->length() && memchr(s, 0, this->length() - offset))
46 const char *BlobCore::stringAt(Offset offset) const
48 const char *s = at<const char>(offset);
49 if (offset < this->length() && memchr(s, 0, this->length() - offset))
63 BlobCore *BlobCore::readBlob(int fd, size_t offset, uint32_t magic, size_t minSize, size_t maxSize)
66 if (::pread(fd, &header, sizeof(header), offset) == sizeof(header))
71 if (::pread(fd, blob+1, remainder, offset + sizeof(header)) == ssize_t(remainder))