Home
last modified time | relevance | path

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

1234567

/frameworks/base/libs/androidfw/include/androidfw/
DAsset.h83 virtual off64_t seek(off64_t offset, int whence) = 0;
111 virtual off64_t getLength(void) const = 0;
116 virtual off64_t getRemainingLength(void) const = 0;
123 virtual int openFileDescriptor(off64_t* outStart, off64_t* outLength) const = 0;
162 off64_t handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn);
192 static Asset* createFromFileSegment(int fd, off64_t offset, size_t length,
205 static Asset* createFromCompressedData(int fd, off64_t offset,
262 status_t openChunk(const char* fileName, int fd, off64_t offset, size_t length);
275 off64_t seek(off64_t offset, int whence) override;
279 off64_t getLength(void) const override { return mLength; } in getLength()
[all …]
DStreamingZipInflater.h36 StreamingZipInflater(int fd, off64_t compDataStart, size_t uncompSize, size_t compSize);
50 off64_t seekAbsolute(off64_t absoluteInputPosition);
58 off64_t mInFileStart; // where the compressed data lives in the file
70 off64_t mOutCurPosition; // current position in total offset
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.h132 off64_t mMoofOffset;
161 status_t parseChunk(off64_t *offset, int depth);
162 status_t parseITunesMetaData(off64_t offset, size_t size);
163 status_t parseColorInfo(off64_t offset, size_t size);
164 status_t parsePaspBox(off64_t offset, size_t size);
165 status_t parse3GPPMetaData(off64_t offset, size_t size, int depth);
166 void parseID3v2MetaData(off64_t offset, uint64_t size);
167 status_t parseQTMetaKey(off64_t data_offset, size_t data_size);
168 status_t parseQTMetaVal(int32_t keyId, off64_t data_offset, size_t data_size);
177 status_t parseTrackHeader(off64_t data_offset, off64_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);
62 status_t getXmpOffsetAndSize(off64_t *offset, size_t *size);
79 off64_t mIdatOffset;
91 status_t parseIlocBox(off64_t offset, size_t size);
92 status_t parseIinfBox(off64_t offset, size_t size);
93 status_t parsePitmBox(off64_t offset, size_t size);
94 status_t parseIprpBox(off64_t offset, size_t size);
95 status_t parseIdatBox(off64_t offset, size_t size);
[all …]
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;
89 off64_t offset;
107 uint32_t /*type*/, off64_t /*offset*/, size_t /*size*/) { in onChunkData()
115 status_t parseChunk(off64_t *offset);
117 status_t parseChunks(off64_t offset, size_t size);
124 status_t Box::parseChunk(off64_t *offset) { in parseChunk()
135 off64_t data_offset = *offset + 8; in parseChunk()
162 off64_t chunk_data_size = chunk_size - (data_offset - *offset); in parseChunk()
177 status_t Box::parseChunks(off64_t offset, size_t size) { in parseChunks()
178 off64_t stopOffset = offset + size; in parseChunks()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DDataSourceBase.h47 virtual ssize_t readAt(off64_t offset, void *data, size_t size) = 0;
50 bool getUInt16(off64_t offset, uint16_t *x) { in getUInt16()
63 bool getUInt24(off64_t offset, uint32_t *x) { in getUInt24()
75 bool getUInt32(off64_t offset, uint32_t *x) { in getUInt32()
87 bool getUInt64(off64_t offset, uint64_t *x) { in getUInt64()
101 bool getUInt16Var(off64_t offset, uint16_t *x, size_t size) { in getUInt16Var()
114 bool getUInt32Var(off64_t offset, uint32_t *x, size_t size) { in getUInt32Var()
127 bool getUInt64Var(off64_t offset, uint64_t *x, size_t size) { in getUInt64Var()
142 virtual status_t getSize(off64_t *size) { in getSize()
157 virtual status_t getAvailableSize(off64_t /*offset*/, off64_t * /*size*/) { in getAvailableSize() argument
DMPEG4Writer.h67 void seekOrPostError(int fd, off64_t offset, int whence);
107 off64_t mOffset;
108 off64_t mPreAllocateFileEndOffset; //End of file offset during preallocation.
109 off64_t mMdatOffset;
110 off64_t mMaxOffsetAppend; // File offset written upto while appending.
111 off64_t mMdatEndOffset; // End offset of mdat atom.
113 off64_t mInMemoryCacheOffset;
114 off64_t mInMemoryCacheSize;
116 off64_t mFreeBoxOffset;
118 off64_t mMoovExtraSize;
[all …]
/frameworks/av/media/libdatasource/include/datasource/
DNuCachedSource2.h38 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
44 virtual status_t getSize(off64_t *size);
55 status_t getAvailableSize(off64_t offset, off64_t *size);
115 off64_t mCacheOffset;
117 off64_t mLastAccessPos;
138 ssize_t readInternal(off64_t offset, void *data, size_t size);
139 status_t seekInternal_l(off64_t offset);
141 size_t approxDataRemaining_l(off64_t offset, status_t *finalStatus) const;
DMediaHTTP.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/base/libs/hwui/jni/
DUtils.cpp31 off64_t pos = fAsset->seek(0, SEEK_SET); in rewind()
32 if (pos == (off64_t)-1) { in rewind()
59 const off64_t offset = fAsset->seek(0, SEEK_CUR); in getPosition()
96 off64_t oldOffset = fAsset->seek(0, SEEK_CUR); in read()
101 off64_t newOffset = fAsset->seek(size, SEEK_CUR); in read()
122 const off64_t seekReturnVal = asset->seek(0, SEEK_SET); in CopyAssetToData()
123 if ((off64_t)-1 == seekReturnVal) { in CopyAssetToData()
128 const off64_t size = asset->getLength(); in CopyAssetToData()
135 const off64_t len = asset->read(data->writable_data(), size); in CopyAssetToData()
/frameworks/base/libs/androidfw/tests/
DBackupHelpers_test.cpp40 off64_t fileSize = 1024; in TEST_F()
42 off64_t tarSize = 0; in TEST_F()
46 off64_t expectedTarSize = fileSize + 512; in TEST_F()
53 off64_t fileSize = 2ll * 1024ll * 1024ll * 1024ll + 512ll; in TEST_F()
55 off64_t tarSize = 0; in TEST_F()
59 off64_t expectedTarSize = fileSize + 512; in TEST_F()
/frameworks/base/libs/androidfw/
DAsset.cpp112 off64_t size = (cur->getLength()+512)/1024; in getAssetAllocations()
153 off64_t length; in createFromFd()
205 off64_t fileLen; in createFromCompressedFile()
258 /*static*/ Asset* Asset::createFromFileSegment(int fd, off64_t offset,
278 /*static*/ Asset* Asset::createFromCompressedData(int fd, off64_t offset,
343 off64_t Asset::handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn) in handleSeek()
345 off64_t newOffset; in handleSeek()
361 return (off64_t) -1; in handleSeek()
367 return (off64_t) -1; in handleSeek()
408 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/base/native/graphics/jni/
Daassetstreamadaptor.cpp27 off64_t pos = AAsset_seek64(mAAsset, 0, SEEK_SET); in rewind()
28 if (pos == (off64_t)-1) { in rewind()
55 const off64_t offset = AAsset_seek64(mAAsset, 0, SEEK_CUR); in getPosition()
92 const off64_t oldOffset = AAsset_seek64(mAAsset, 0, SEEK_CUR); in read()
98 const off64_t newOffset = AAsset_seek64(mAAsset, size, SEEK_CUR); in read()
/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/ndk/
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);
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()
/frameworks/av/media/libstagefright/include/
DCallbackDataSource.h37 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
38 virtual status_t getSize(off64_t *size);
65 virtual ssize_t readAt(off64_t offset, void* data, size_t size);
66 virtual status_t getSize(off64_t* size);
84 off64_t mCachedOffset;
/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/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 = 0;
234 off64_t mCurrentPos = 0;
247 off64_t pos;
248 off64_t post_id3_pos;
256 off64_t pos = 0; in MP3Extractor()
[all …]
/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/media/extractors/aac/
DAACExtractor.cpp60 off64_t mOffset;
94 static size_t getAdtsFrameLength(DataSourceHelper *source, off64_t offset, size_t* headerSize) { in getAdtsFrameLength()
135 DataSourceHelper *source, off64_t offset) in AACExtractor()
158 off64_t streamSize, numFrames = 0; in AACExtractor()
345 off64_t offset = *static_cast<off64_t*>(meta); in CreateExtractor()
352 off64_t pos = 0; in Sniff()
392 off64_t *offPtr = (off64_t*) malloc(sizeof(off64_t)); in Sniff()
/frameworks/av/media/extractors/fuzzers/include/
DExtractorFuzzerBase.h87 ssize_t readAt(off64_t offset, void* data, size_t size) { in readAt()
93 if ((offset >= static_cast<off64_t>(mLength)) || (offset < 0)) { in readAt()
103 status_t getSize(off64_t* size) { in getSize()
109 *size = static_cast<off64_t>(mLength); in getSize()
114 ssize_t readAt_l(off64_t offset, void* data, size_t size) { in readAt_l()

1234567