Lines Matching refs:offset
196 status_t SampleIterator::getChunkOffset(uint32_t chunk, off64_t *offset) {
197 *offset = 0;
213 *offset = ntohl(offset32);
225 *offset = ntoh64(offset64);
332 int32_t offset = mTable->getCompositionTimeOffset(sampleIndex);
333 if ((offset < 0 && *time < (offset == INT32_MIN ?
334 INT32_MAX : uint32_t(-offset))) ||
335 (offset > 0 && *time > UINT32_MAX - offset)) {
336 ALOGE("%u + %d would overflow", *time, offset);
339 if (offset > 0) {
340 *time += offset;
342 *time -= (offset == INT32_MIN ? INT32_MAX : (-offset));