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 * Seek to the specified offset within the asset data. 'whence' uses the
105 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence);
108 * Close the asset, freeing all associated resources.
110 void AAsset_close(AAsset* asset);
117 const void* AAsset_getBuffer(AAsset* asset);
120 * Report the total size of the asset data.
122 off_t AAsset_getLength(AAsset* asset);
125 * Report the total size of the asset data. Reports the size using a 64-bit
128 off64_t AAsset_getLength64(AAsset* asset);
131 * Report the total amount of asset data that can be read from the current position.
133 off_t AAsset_getRemainingLength(AAsset* asset);
136 * Report the total amount of asset data that can be read from the current position.
140 off64_t AAsset_getRemainingLength64(AAsset* asset);
143 * Open a new file descriptor that can be used to read the asset data. If the
147 * Returns < 0 if direct fd access is not possible (for example, if the asset is
150 int AAsset_openFileDescriptor(AAsset* asset, off_t* outStart, off_t* outLength);
153 * Open a new file descriptor that can be used to read the asset data.
158 * Returns < 0 if direct fd access is not possible (for example, if the asset is
161 int AAsset_openFileDescriptor64(AAsset* asset, off64_t* outStart, off64_t* outLength);
164 * Returns whether this asset's internal buffer is allocated in ordinary RAM (i.e. not
167 int AAsset_isAllocated(AAsset* asset);