Home | History | Annotate | Download | only in android

Lines Matching refs:asset

44  * Open the named directory within the asset hierarchy.  The directory can then
53 * Open an asset.
60 * Iterate over the files in an asset directory. A NULL string is returned
86 int AAsset_read(AAsset* asset, void* buf, size_t count);
89 * Seek to the specified offset within the asset data. 'whence' uses the
94 off_t AAsset_seek(AAsset* asset, off_t offset, int whence);
97 * Close the asset, freeing all associated resources.
99 void AAsset_close(AAsset* asset);
106 const void* AAsset_getBuffer(AAsset* asset);
109 * Report the total size of the asset data.
111 off_t AAsset_getLength(AAsset* asset);
114 * Report the total amount of asset data that can be read from the current position.
116 off_t AAsset_getRemainingLength(AAsset* asset);
119 * Open a new file descriptor that can be used to read the asset data.
121 * Returns < 0 if direct fd access is not possible (for example, if the asset is
124 int AAsset_openFileDescriptor(AAsset* asset, off_t* outStart, off_t* outLength);
127 * Returns whether this asset's internal buffer is allocated in ordinary RAM (i.e. not
130 int AAsset_isAllocated(AAsset* asset);