Home
last modified time | relevance | path

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

1234567

/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/media/stagefright/
DDataSourceBase.h45 virtual ssize_t readAt(off64_t offset, void *data, size_t size) = 0;
48 bool getUInt16(off64_t offset, uint16_t *x);
49 bool getUInt24(off64_t offset, uint32_t *x); // 3 byte int, returned as a 32-bit int
50 bool getUInt32(off64_t offset, uint32_t *x);
51 bool getUInt64(off64_t offset, uint64_t *x);
54 bool getUInt16Var(off64_t offset, uint16_t *x, size_t size);
55 bool getUInt32Var(off64_t offset, uint32_t *x, size_t size);
56 bool getUInt64Var(off64_t offset, uint64_t *x, size_t size);
59 virtual status_t getSize(off64_t *size);
69 virtual status_t getAvailableSize(off64_t /*offset*/, off64_t * /*size*/) { in getAvailableSize() argument
DClearMediaHTTP.h35 off64_t offset);
43 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
45 virtual status_t getSize(off64_t *size);
49 virtual status_t reconnectAtOffset(off64_t offset);
66 off64_t mCachedSize;
/frameworks/av/include/media/
DDataSourceBase.h45 virtual ssize_t readAt(off64_t offset, void *data, size_t size) = 0;
48 bool getUInt16(off64_t offset, uint16_t *x);
49 bool getUInt24(off64_t offset, uint32_t *x); // 3 byte int, returned as a 32-bit int
50 bool getUInt32(off64_t offset, uint32_t *x);
51 bool getUInt64(off64_t offset, uint64_t *x);
54 bool getUInt16Var(off64_t offset, uint16_t *x, size_t size);
55 bool getUInt32Var(off64_t offset, uint32_t *x, size_t size);
56 bool getUInt64Var(off64_t offset, uint64_t *x, size_t size);
59 virtual status_t getSize(off64_t *size);
69 virtual status_t getAvailableSize(off64_t /*offset*/, off64_t * /*size*/) { in getAvailableSize() argument
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.h128 off64_t mMoofOffset;
156 status_t parseChunk(off64_t *offset, int depth);
157 status_t parseITunesMetaData(off64_t offset, size_t size);
158 status_t parseColorInfo(off64_t offset, size_t size);
159 status_t parse3GPPMetaData(off64_t offset, size_t size, int depth);
160 void parseID3v2MetaData(off64_t offset);
161 status_t parseQTMetaKey(off64_t data_offset, size_t data_size);
162 status_t parseQTMetaVal(int32_t keyId, off64_t data_offset, size_t data_size);
171 status_t parseTrackHeader(off64_t data_offset, off64_t data_size);
173 status_t parseSegmentIndex(off64_t data_offset, size_t data_size);
[all …]
DItemTable.h52 status_t parse(uint32_t type, off64_t offset, size_t size);
60 uint32_t *itemIndex, off64_t *offset, size_t *size);
61 status_t getExifOffsetAndSize(off64_t *offset, size_t *size);
76 off64_t mIdatOffset;
88 status_t parseIlocBox(off64_t offset, size_t size);
89 status_t parseIinfBox(off64_t offset, size_t size);
90 status_t parsePitmBox(off64_t offset, size_t size);
91 status_t parseIprpBox(off64_t offset, size_t size);
92 status_t parseIdatBox(off64_t offset, size_t size);
93 status_t parseIrefBox(off64_t offset, size_t size);
DSampleTable.h42 uint32_t type, off64_t data_offset, size_t data_size);
44 status_t setSampleToChunkParams(off64_t data_offset, size_t data_size);
48 uint32_t type, off64_t data_offset, size_t data_size);
50 status_t setTimeToSampleParams(off64_t data_offset, size_t data_size);
53 off64_t data_offset, size_t data_size);
55 status_t setSyncSampleParams(off64_t data_offset, size_t data_size);
67 off64_t *offset,
113 off64_t mChunkOffsetOffset;
117 off64_t mSampleToChunkOffset;
120 off64_t mSampleSizeOffset;
[all …]
DItemTable.cpp75 off64_t offset;
87 off64_t offset;
104 uint32_t /*type*/, off64_t /*offset*/, size_t /*size*/) { in onChunkData()
112 status_t parseChunk(off64_t *offset);
114 status_t parseChunks(off64_t offset, size_t size);
121 status_t Box::parseChunk(off64_t *offset) { in parseChunk()
132 off64_t data_offset = *offset + 8; in parseChunk()
159 off64_t chunk_data_size = chunk_size - (data_offset - *offset); in parseChunk()
174 status_t Box::parseChunks(off64_t offset, size_t size) { in parseChunks()
175 off64_t stopOffset = offset + size; in parseChunks()
[all …]
/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()
57 const off64_t offset = fAsset->seek(0, SEEK_CUR); in getPosition()
94 off64_t oldOffset = fAsset->seek(0, SEEK_CUR); in read()
99 off64_t newOffset = fAsset->seek(size, SEEK_CUR); in read()
120 const off64_t seekReturnVal = asset->seek(0, SEEK_SET); in CopyAssetToStream()
121 if ((off64_t)-1 == seekReturnVal) { in CopyAssetToStream()
126 const off64_t size = asset->getLength(); in CopyAssetToStream()
133 const off64_t len = asset->read(data->writable_data(), size); in CopyAssetToStream()
/frameworks/av/media/libstagefright/include/
DNuCachedSource2.h38 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
44 virtual status_t getSize(off64_t *size);
56 status_t getAvailableSize(off64_t offset, off64_t *size);
116 off64_t mCacheOffset;
118 off64_t mLastAccessPos;
139 ssize_t readInternal(off64_t offset, void *data, size_t size);
140 status_t seekInternal_l(off64_t offset);
142 size_t approxDataRemaining_l(off64_t offset, status_t *finalStatus) const;
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;
/frameworks/av/media/libstagefright/
DDataSourceBase.cpp26 bool DataSourceBase::getUInt16(off64_t offset, uint16_t *x) { in getUInt16()
39 bool DataSourceBase::getUInt24(off64_t offset, uint32_t *x) { in getUInt24()
52 bool DataSourceBase::getUInt32(off64_t offset, uint32_t *x) { in getUInt32()
65 bool DataSourceBase::getUInt64(off64_t offset, uint64_t *x) { in getUInt64()
78 bool DataSourceBase::getUInt16Var(off64_t offset, uint16_t *x, size_t size) { in getUInt16Var()
92 bool DataSourceBase::getUInt32Var(off64_t offset, uint32_t *x, size_t size) { in getUInt32Var()
106 bool DataSourceBase::getUInt64Var(off64_t offset, uint64_t *x, size_t size) { in getUInt64Var()
120 status_t DataSourceBase::getSize(off64_t *size) { in getSize()
/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,
361 off64_t Asset::handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn) in handleSeek()
363 off64_t newOffset; in handleSeek()
379 return (off64_t) -1; in handleSeek()
385 return (off64_t) -1; in handleSeek()
426 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.h151 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence);
175 off64_t AAsset_getLength64(AAsset* asset);
188 off64_t AAsset_getRemainingLength64(AAsset* asset);
210 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()
/frameworks/av/media/extractors/mp3/
DMP3Extractor.cpp48 off64_t *inout_pos, off64_t *post_id3_pos, uint32_t *out_header) { in Resync()
91 off64_t pos = *inout_pos; in Resync()
104 if (pos >= (off64_t)(*inout_pos + kMaxBytesChecked)) { in Resync()
161 off64_t test_pos = pos + frame_size; in Resync()
214 off64_t first_frame_pos, uint32_t fixed_header,
232 off64_t mFirstFramePos;
234 off64_t mCurrentPos;
247 off64_t pos;
248 off64_t post_id3_pos;
260 off64_t pos = 0; in MP3Extractor()
[all …]
DVBRISeeker.h31 DataSourceHelper *source, off64_t post_id3_pos);
34 virtual bool getOffsetForTime(int64_t *timeUs, off64_t *pos);
37 off64_t mBasePos;
/frameworks/av/media/ndk/
DNdkMediaDataSourceCallbacks.cpp28 off64_t size = -1; in DataSource_getSize()
33 ssize_t DataSource_readAt(void *userdata, off64_t offset, void * buf, size_t size) { in DataSource_readAt()
43 ssize_t DataSource_getAvailableSize(void *userdata, off64_t offset) { in DataSource_getAvailableSize()
44 off64_t size = -1; in DataSource_getAvailableSize()
DNdkMediaDataSourcePriv.h48 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
49 virtual status_t getSize(off64_t *);
53 virtual status_t getAvailableSize(off64_t offset, off64_t *size);
/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/av/media/extractors/aac/
DAACExtractor.cpp58 off64_t mOffset;
92 static size_t getAdtsFrameLength(DataSourceHelper *source, off64_t offset, size_t* headerSize) { in getAdtsFrameLength()
133 DataSourceHelper *source, off64_t offset) in AACExtractor()
156 off64_t streamSize, numFrames = 0; in AACExtractor()
326 off64_t offset = *static_cast<off64_t*>(meta); in CreateExtractor()
333 off64_t pos = 0; in Sniff()
373 off64_t *offPtr = (off64_t*) malloc(sizeof(off64_t)); in Sniff()
/frameworks/base/native/android/
Dasset_manager.cpp159 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence) in AAsset_seek64()
180 off64_t AAsset_getLength64(AAsset* asset) in AAsset_getLength64()
190 off64_t AAsset_getRemainingLength64(AAsset* asset) in AAsset_getRemainingLength64()
197 off64_t outStart64, outLength64; in AAsset_openFileDescriptor()
206 int AAsset_openFileDescriptor64(AAsset* asset, off64_t* outStart, off64_t* outLength) in AAsset_openFileDescriptor64()
/frameworks/av/drm/common/include/
DDrmEngineBase.h85 int fd, off64_t offset, off64_t length, const char* mime);
106 void* buffer, ssize_t numBytes, off64_t offset);
388 int fd, off64_t offset, off64_t length) = 0;
405 int /* fd */, off64_t /* offset */, off64_t /* length */, in onOpenDecryptSession() argument
526 void* buffer, ssize_t numBytes, off64_t offset) = 0;

1234567