Lines Matching refs:AAsset
48 struct AAsset { struct
51 AAsset(Asset* asset) : mAsset(asset) { } in AAsset() argument
52 ~AAsset() { delete mAsset; } in ~AAsset() argument
87 AAsset* AAssetManager_open(AAssetManager* amgr, const char* filename, int mode) in AAssetManager_open()
113 return new AAsset(asset); in AAssetManager_open()
171 int AAsset_read(AAsset* asset, void* buf, size_t count) in AAsset_read()
176 off_t AAsset_seek(AAsset* asset, off_t offset, int whence) in AAsset_seek()
181 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence) in AAsset_seek64()
186 void AAsset_close(AAsset* asset) in AAsset_close()
192 const void* AAsset_getBuffer(AAsset* asset) in AAsset_getBuffer()
197 off_t AAsset_getLength(AAsset* asset) in AAsset_getLength()
202 off64_t AAsset_getLength64(AAsset* asset) in AAsset_getLength64()
207 off_t AAsset_getRemainingLength(AAsset* asset) in AAsset_getRemainingLength()
212 off64_t AAsset_getRemainingLength64(AAsset* asset) in AAsset_getRemainingLength64()
217 int AAsset_openFileDescriptor(AAsset* asset, off_t* outStart, off_t* outLength) in AAsset_openFileDescriptor()
228 int AAsset_openFileDescriptor64(AAsset* asset, off64_t* outStart, off64_t* outLength) in AAsset_openFileDescriptor64()
233 int AAsset_isAllocated(AAsset* asset) in AAsset_isAllocated()