Lines Matching refs:AAsset
50 struct AAsset { struct
53 explicit AAsset(std::unique_ptr<Asset> asset) : mAsset(std::move(asset)) { } in AAsset() argument
66 AAsset* AAssetManager_open(AAssetManager* amgr, const char* filename, int mode) in AAssetManager_open()
91 return new AAsset(std::move(asset)); in AAssetManager_open()
149 int AAsset_read(AAsset* asset, void* buf, size_t count) in AAsset_read()
154 off_t AAsset_seek(AAsset* asset, off_t offset, int whence) in AAsset_seek()
159 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence) in AAsset_seek64()
164 void AAsset_close(AAsset* asset) in AAsset_close()
170 const void* AAsset_getBuffer(AAsset* asset) in AAsset_getBuffer()
175 off_t AAsset_getLength(AAsset* asset) in AAsset_getLength()
180 off64_t AAsset_getLength64(AAsset* asset) in AAsset_getLength64()
185 off_t AAsset_getRemainingLength(AAsset* asset) in AAsset_getRemainingLength()
190 off64_t AAsset_getRemainingLength64(AAsset* asset) in AAsset_getRemainingLength64()
195 int AAsset_openFileDescriptor(AAsset* asset, off_t* outStart, off_t* outLength) in AAsset_openFileDescriptor()
206 int AAsset_openFileDescriptor64(AAsset* asset, off64_t* outStart, off64_t* outLength) in AAsset_openFileDescriptor64()
211 int AAsset_isAllocated(AAsset* asset) in AAsset_isAllocated()