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 * Seek to the specified offset within the asset data. 'whence' uses the
107 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence);
110 * Close the asset, freeing all associated resources.
112 void AAsset_close(AAsset* asset);
119 const void* AAsset_getBuffer(AAsset* asset);
122 * Report the total size of the asset data.
124 off_t AAsset_getLength(AAsset* asset);
127 * Report the total size of the asset data. Reports the size using a 64-bit
130 off64_t AAsset_getLength64(AAsset* asset);
133 * Report the total amount of asset data that can be read from the current position.
135 off_t AAsset_getRemainingLength(AAsset* asset);
138 * Report the total amount of asset data that can be read from the current position.
142 off64_t AAsset_getRemainingLength64(AAsset* asset);
145 * Open a new file descriptor that can be used to read the asset data. If the
149 * Returns < 0 if direct fd access is not possible (for example, if the asset is
152 int AAsset_openFileDescriptor(AAsset* asset, off_t* outStart, off_t* outLength);
155 * Open a new file descriptor that can be used to read the asset data.
160 * Returns < 0 if direct fd access is not possible (for example, if the asset is
163 int AAsset_openFileDescriptor64(AAsset* asset, off64_t* outStart, off64_t* outLength);
166 * Returns whether this asset's internal buffer is allocated in ordinary RAM (i.e. not
169 int AAsset_isAllocated(AAsset* asset);