Home | History | Annotate | Download | only in android

Lines Matching refs:asset

46  * Open the named directory within the asset hierarchy.  The directory can then
55 * Open an asset.
62 * Iterate over the files in an asset directory. A NULL string is returned
88 int AAsset_read(AAsset* asset, void* buf, size_t count);
91 * Seek to the specified offset within the asset data. 'whence' uses the
96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence);
99 * Close the asset, freeing all associated resources.
101 void AAsset_close(AAsset* asset);
108 const void* AAsset_getBuffer(AAsset* asset);
111 * Report the total size of the asset data.
113 off_t AAsset_getLength(AAsset* asset);
116 * Report the total amount of asset data that can be read from the current position.
118 off_t AAsset_getRemainingLength(AAsset* asset);
121 * Open a new file descriptor that can be used to read the asset data.
123 * Returns < 0 if direct fd access is not possible (for example, if the asset is
126 int AAsset_openFileDescriptor(AAsset* asset, off_t* outStart, off_t* outLength);
129 * Returns whether this asset's internal buffer is allocated in ordinary RAM (i.e. not
132 int AAsset_isAllocated(AAsset* asset);