Lines Matching refs:offset
43 bool DataSource::getUInt16(off64_t offset, uint16_t *x) {
47 if (readAt(offset, byte, 2) != 2) {
56 bool DataSource::getUInt24(off64_t offset, uint32_t *x) {
60 if (readAt(offset, byte, 3) != 3) {
69 bool DataSource::getUInt32(off64_t offset, uint32_t *x) {
73 if (readAt(offset, &tmp, 4) != 4) {
82 bool DataSource::getUInt64(off64_t offset, uint64_t *x) {
86 if (readAt(offset, &tmp, 8) != 8) {
174 sp<DataSource> DataSource::CreateFromFd(int fd, int64_t offset, int64_t length) {
175 sp<FileSource> source = new FileSource(fd, offset, length);