Home
last modified time | relevance | path

Searched refs:off64_t (Results 1 – 25 of 127) sorted by relevance

123456

/frameworks/base/libs/androidfw/include/androidfw/
DAsset.h80 virtual off64_t seek(off64_t offset, int whence) = 0;
95 virtual off64_t getLength(void) const = 0;
100 virtual off64_t getRemainingLength(void) const = 0;
107 virtual int openFileDescriptor(off64_t* outStart, off64_t* outLength) const = 0;
141 off64_t handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn);
175 static Asset* createFromFileSegment(int fd, off64_t offset, size_t length,
188 static Asset* createFromCompressedData(int fd, off64_t offset,
249 status_t openChunk(const char* fileName, int fd, off64_t offset, size_t length);
262 virtual off64_t seek(off64_t offset, int whence);
265 virtual off64_t getLength(void) const { return mLength; } in getLength()
[all …]
DStreamingZipInflater.h34 StreamingZipInflater(int fd, off64_t compDataStart, size_t uncompSize, size_t compSize);
48 off64_t seekAbsolute(off64_t absoluteInputPosition);
56 off64_t mInFileStart; // where the compressed data lives in the file
68 off64_t mOutCurPosition; // current position in total offset
/frameworks/av/media/libstagefright/include/
DMPEG4Extractor.h88 off64_t mMoofOffset;
113 status_t parseChunk(off64_t *offset, int depth);
114 status_t parseITunesMetaData(off64_t offset, size_t size);
115 status_t parseColorInfo(off64_t offset, size_t size);
116 status_t parse3GPPMetaData(off64_t offset, size_t size, int depth);
117 void parseID3v2MetaData(off64_t offset);
118 status_t parseQTMetaKey(off64_t data_offset, size_t data_size);
119 status_t parseQTMetaVal(int32_t keyId, off64_t data_offset, size_t data_size);
137 status_t parseDrmSINF(off64_t *offset, off64_t data_offset);
139 status_t parseTrackHeader(off64_t data_offset, off64_t data_size);
[all …]
DSampleTable.h41 uint32_t type, off64_t data_offset, size_t data_size);
43 status_t setSampleToChunkParams(off64_t data_offset, size_t data_size);
47 uint32_t type, off64_t data_offset, size_t data_size);
49 status_t setTimeToSampleParams(off64_t data_offset, size_t data_size);
52 off64_t data_offset, size_t data_size);
54 status_t setSyncSampleParams(off64_t data_offset, size_t data_size);
66 off64_t *offset,
104 off64_t mChunkOffsetOffset;
108 off64_t mSampleToChunkOffset;
111 off64_t mSampleSizeOffset;
[all …]
DDataSource.h68 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,
91 virtual status_t getSize(off64_t *size);
101 virtual status_t reconnectAtOffset(off64_t /*offset*/) { in reconnectAtOffset() argument
136 bool DataSource::getVector(off64_t offset, Vector<T>* x, size_t count, in getVector()
DAVIExtractor.h85 off64_t mMovieOffset;
89 ssize_t parseChunk(off64_t offset, off64_t size, int depth = 0);
90 status_t parseStreamHeader(off64_t offset, size_t size);
91 status_t parseStreamFormat(off64_t offset, size_t size);
92 status_t parseIndex(off64_t offset, size_t size);
98 off64_t *offset, size_t *size, bool *isKey,
DMediaHTTP.h35 off64_t offset);
41 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
43 virtual status_t getSize(off64_t *size);
47 virtual status_t reconnectAtOffset(off64_t offset);
65 off64_t mCachedSize;
DMPEG4Writer.h98 off64_t mOffset;
101 off64_t mMoovBoxBufferOffset;
103 off64_t mFreeBoxOffset;
105 off64_t mEstimatedMoovBoxSize;
106 off64_t mMoovExtraSize;
123 List<off64_t> mBoxes;
206 off64_t addSample_l(MediaBuffer *buffer);
207 off64_t addLengthPrefixedSample_l(MediaBuffer *buffer);
208 off64_t addMultipleLengthPrefixedSamples_l(MediaBuffer *buffer);
DNuCachedSource2.h38 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
42 virtual status_t getSize(off64_t *size);
113 off64_t mCacheOffset;
115 off64_t mLastAccessPos;
136 ssize_t readInternal(off64_t offset, void *data, size_t size);
137 status_t seekInternal_l(off64_t offset);
DCallbackDataSource.h37 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
38 virtual status_t getSize(off64_t *size);
66 virtual ssize_t readAt(off64_t offset, void* data, size_t size);
67 virtual status_t getSize(off64_t* size);
86 off64_t mCachedOffset;
DSampleIterator.h34 off64_t getSampleOffset() const { return mCurrentSampleOffset; } in getSampleOffset()
56 off64_t mCurrentChunkOffset;
66 off64_t mCurrentSampleOffset;
73 status_t getChunkOffset(uint32_t chunk, off64_t *offset);
DVBRISeeker.h31 const sp<DataSource> &source, off64_t post_id3_pos);
34 virtual bool getOffsetForTime(int64_t *timeUs, off64_t *pos);
37 off64_t mBasePos;
/frameworks/base/core/jni/android/graphics/
DUtils.cpp29 off64_t pos = fAsset->seek(0, SEEK_SET); in rewind()
30 if (pos == (off64_t)-1) { in rewind()
62 off64_t oldOffset = fAsset->seek(0, SEEK_CUR); in read()
67 off64_t newOffset = fAsset->seek(size, SEEK_CUR); in read()
88 const off64_t seekReturnVal = asset->seek(0, SEEK_SET); in CopyAssetToStream()
89 if ((off64_t)-1 == seekReturnVal) { in CopyAssetToStream()
94 const off64_t size = asset->getLength(); in CopyAssetToStream()
101 const off64_t len = asset->read(data->writable_data(), size); in CopyAssetToStream()
/frameworks/base/libs/androidfw/
DAsset.cpp112 off64_t size = (cur->getLength()+512)/1024; in getAssetAllocations()
138 off64_t length; in createFromFile()
195 off64_t fileLen; in createFromCompressedFile()
248 /*static*/ Asset* Asset::createFromFileSegment(int fd, off64_t offset,
266 /*static*/ Asset* Asset::createFromCompressedData(int fd, off64_t offset,
359 off64_t Asset::handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn) in handleSeek()
361 off64_t newOffset; in handleSeek()
377 return (off64_t) -1; in handleSeek()
383 return (off64_t) -1; in handleSeek()
424 status_t _FileAsset::openChunk(const char* fileName, int fd, off64_t offset, size_t length) in openChunk()
[all …]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
DFwdLockConv.h43 off64_t errorPos;
54 off64_t fileOffset;
57 off64_t errorPos;
102 typedef off64_t FwdLockConv_LSeekFunc_t(int fileDesc, off64_t offset, int whence);
246 off64_t *pErrorPos);
/frameworks/native/include/android/
Dasset_manager.h147 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence);
172 off64_t AAsset_getLength64(AAsset* asset);
186 off64_t AAsset_getRemainingLength64(AAsset* asset);
209 int AAsset_openFileDescriptor64(AAsset* asset, off64_t* outStart, off64_t* outLength);
/frameworks/wilhelm/src/android/
DAacBqToPcmCbRenderer.cpp39 static size_t getAdtsFrameSize(const uint8_t *data, off64_t offset, size_t size) { in getAdtsFrameSize()
42 if (!(offset + ADTS_HEADER_SIZE_UP_TO_FRAMESIZE < (off64_t) size)) { in getAdtsFrameSize()
86 off64_t offset = 0; in validateBufferStartEndOnFrameBoundaries()
94 while (offset < (off64_t) size) { in validateBufferStartEndOnFrameBoundaries()
101 if (offset > (off64_t) size) { in validateBufferStartEndOnFrameBoundaries()
106 if (offset != (off64_t) size) { in validateBufferStartEndOnFrameBoundaries()
109 assert(offset == (off64_t) size); in validateBufferStartEndOnFrameBoundaries()
DBufferQueueSource.h40 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
42 virtual status_t getSize(off64_t *size);
52 off64_t mStreamToBqOffset;
/frameworks/av/media/libstagefright/
DMP3Extractor.cpp50 off64_t *inout_pos, off64_t *post_id3_pos, uint32_t *out_header) { in Resync()
93 off64_t pos = *inout_pos; in Resync()
106 if (pos >= (off64_t)(*inout_pos + kMaxBytesChecked)) { in Resync()
163 off64_t test_pos = pos + frame_size; in Resync()
216 off64_t first_frame_pos, uint32_t fixed_header,
234 off64_t mFirstFramePos;
236 off64_t mCurrentPos;
256 off64_t pos = 0; in MP3Extractor()
257 off64_t post_id3_pos; in MP3Extractor()
270 pos = (off64_t)meta_offset; in MP3Extractor()
[all …]
DAMRExtractor.cpp39 const off64_t *offset_table,
58 off64_t mOffset;
63 off64_t mOffsetTable[OFFSET_TABLE_LEN];
101 off64_t offset, bool isWide, size_t *frameSize) { in getFrameSizeByOffset()
139 off64_t offset = mIsWide ? 9 : 6; in AMRExtractor()
140 off64_t streamSize; in AMRExtractor()
210 bool isWide, const off64_t *offset_table, size_t offset_table_length) in AMRSource()
220 memcpy ((char*)mOffsetTable, (char*)offset_table, sizeof(off64_t) * mOffsetTableLength); in AMRSource()
DDataSource.cpp43 bool DataSource::getUInt16(off64_t offset, uint16_t *x) { in getUInt16()
56 bool DataSource::getUInt24(off64_t offset, uint32_t *x) { in getUInt24()
69 bool DataSource::getUInt32(off64_t offset, uint32_t *x) { in getUInt32()
82 bool DataSource::getUInt64(off64_t offset, uint64_t *x) { in getUInt64()
95 status_t DataSource::getSize(off64_t *size) { in getSize()
/frameworks/av/media/libstagefright/httplive/
DLiveDataSource.h35 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
36 ssize_t readAtNonBlocking(off64_t offset, void *data, size_t size);
51 off64_t mOffset;
57 ssize_t readAt_l(off64_t offset, void *data, size_t size);
/frameworks/base/native/android/
Dasset_manager.cpp181 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence) in AAsset_seek64()
202 off64_t AAsset_getLength64(AAsset* asset) in AAsset_getLength64()
212 off64_t AAsset_getRemainingLength64(AAsset* asset) in AAsset_getRemainingLength64()
219 off64_t outStart64, outLength64; in AAsset_openFileDescriptor()
228 int AAsset_openFileDescriptor64(AAsset* asset, off64_t* outStart, off64_t* outLength) in AAsset_openFileDescriptor64()
/frameworks/av/drm/libdrmframework/plugins/common/include/
DDrmEngineBase.h84 int fd, off64_t offset, off64_t length, const char* mime);
104 void* buffer, ssize_t numBytes, off64_t offset);
385 int fd, off64_t offset, off64_t length) = 0;
402 int /* fd */, off64_t /* offset */, off64_t /* length */, in onOpenDecryptSession() argument
523 void* buffer, ssize_t numBytes, off64_t offset) = 0;
/frameworks/base/media/jni/
Dandroid_media_MediaDataSource.h45 virtual ssize_t readAt(off64_t offset, size_t size);
46 virtual status_t getSize(off64_t* size);
62 off64_t mCachedSize;

123456