Lines Matching defs:readAt
173 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
221 ssize_t MPEG4DataSource::readAt(off64_t offset, void *data, size_t size) {
230 return mSource->readAt(offset, data, size);
255 ssize_t err = mSource->readAt(mCachedOffset, mCache, mCachedSize);
508 if (mDataSource->readAt(offset, hdr, 8) < 8) {
581 if (DataSource->readAt(offset, &data, 1) < 1) {
596 if (mDataSource->readAt(data_offset, &updateIdTag, 1) < 1) {
615 if (mDataSource->readAt(data_offset, &descriptorTag, 1) < 1) {
626 if (mDataSource->readAt(data_offset, buffer, 2) < 2) {
635 if (mDataSource->readAt(data_offset, buffer, 8) < 8) {
658 if (mDataSource->readAt(data_offset, &updateIdTag, 1) < 1) {
677 if (mDataSource->readAt(data_offset, &tag, 1) < 1) {
692 if (mDataSource->readAt(data_offset, &id, 1) < 1) {
711 if (mDataSource->readAt(data_offset, sinf->IPMPData, sinf->len) < sinf->len) {
765 if (mDataSource->readAt(*offset, hdr, 8) < 8) {
773 if (mDataSource->readAt(*offset + 8, &chunk_size, 8) < 8) {
819 if (mDataSource->readAt(*offset, buffer, n)
959 if (mDataSource->readAt(data_offset, &version, 1) < 1) {
1030 if (mDataSource->readAt(data_offset, &original_fourcc, 4) < 4) {
1058 if (mDataSource->readAt(data_offset + 4, buf + 1, 3) < 3) {
1068 if (mDataSource->readAt(data_offset + 7, buf + 3, 1) < 1) {
1086 if (mDataSource->readAt(data_offset + 8, &defaultKeyId, 16) < 16) {
1114 if (mDataSource->readAt(data_offset + 4, &pssh.uuid, 16) < 16) {
1119 if (mDataSource->readAt(data_offset + 20, &psshdatalen, 4) < 4) {
1135 if (mDataSource->readAt(data_offset + 24, pssh.data, requested) < requested) {
1152 if (mDataSource->readAt(
1169 if (mDataSource->readAt(
1181 if (mDataSource->readAt(
1191 if (mDataSource->readAt(
1215 if (mDataSource->readAt(lang_offset, &lang, sizeof(lang))
1246 if (mDataSource->readAt(
1299 if (mDataSource->readAt(
1352 if (mDataSource->readAt(
1565 if (mDataSource->readAt(
1588 if (mDataSource->readAt(
1625 if (mDataSource->readAt(
1639 if (mDataSource->readAt(
1672 if (mDataSource->readAt(
1690 if (mDataSource->readAt(
1748 if (mDataSource->readAt(
1795 if (mDataSource->readAt(
1850 if (mDataSource->readAt(
1905 if ((size_t)(mDataSource->readAt(*offset, buffer + size, chunk_size))
1932 if (mDataSource->readAt(
2128 if (mDataSource->readAt(data_offset, &version, 1) < 1) {
2140 if (mDataSource->readAt(
2219 if (mDataSource->readAt(
2409 if (mDataSource->readAt(
3101 if (mDataSource->readAt(*offset, hdr, 8) < 8) {
3109 if (mDataSource->readAt(*offset + 8, &chunk_size, 8) < 8) {
3146 if (mDataSource->readAt(*offset, hdr, 8) < 8) {
3220 if (mDataSource->readAt(
3252 if (mDataSource->readAt(offset, &defsize, 1) != 1) {
3274 mDataSource->readAt(offset, mCurrentSampleInfoSizes, smplcnt);
3283 if (mDataSource->readAt(offset, &version, sizeof(version)) != 1) {
3337 if (mDataSource->readAt(drmoffset, smpl->iv, ivlength) != ivlength) {
3784 mDataSource->readAt(offset, (uint8_t *)mBuffer->data(), size);
3863 mDataSource->readAt(offset, (uint8_t*)mBuffer->data(), size);
3865 num_bytes_read = mDataSource->readAt(offset, mSrcBuffer, size);
4059 mDataSource->readAt(offset, (uint8_t *)mBuffer->data(), size);
4139 mDataSource->readAt(offset, (uint8_t*)mBuffer->data(), size);
4141 num_bytes_read = mDataSource->readAt(offset, mSrcBuffer, size);
4237 ssize_t n = source->readAt(4, header, sizeof(header));
4306 if (source->readAt(offset, hdr, 8) < 8) {
4315 if (source->readAt(offset + 8, &chunkSize, 8) < 8) {
4352 if (source->readAt(