Lines Matching refs:offset
59 static sp<DataSource> CreateFromFd(int fd, int64_t offset, int64_t length);
66 // this returns zero; it just means the given offset is equal to, or
68 virtual ssize_t readAt(off64_t offset, void *data, size_t size) = 0;
71 bool getUInt16(off64_t offset, uint16_t *x);
72 bool getUInt24(off64_t offset, uint32_t *x); // 3 byte int, returned as a 32-bit int
73 bool getUInt32(off64_t offset, uint32_t *x);
74 bool getUInt64(off64_t offset, uint64_t *x);
87 bool getVector(off64_t offset, Vector<T>* x, size_t count,
101 virtual status_t reconnectAtOffset(off64_t /*offset*/) {
136 bool DataSource::getVector(off64_t offset, Vector<T>* x, size_t count,
155 numBytesRead = this->readAt(offset, (void*)&tmp, numBytesPerChunk);
166 offset += numBytesPerChunk;
172 numBytesRead = this->readAt(offset, (void*)&tmp, (count - i) * sizeof(T));