Lines Matching full:asset
18 * @addtogroup Asset
42 * The asset hierarchy may be examined like a filesystem, using
51 * {@link AAssetDir} provides access to a chunk of the asset hierarchy as if
61 * {@link AAsset} provides access to a read-only asset.
82 * Open the named directory within the asset hierarchy. The directory can then
91 * Open an asset.
98 * Iterate over the files in an asset directory. A NULL string is returned
124 int AAsset_read(AAsset* asset, void* buf, size_t count);
127 * Seek to the specified offset within the asset data. 'whence' uses the
132 off_t AAsset_seek(AAsset* asset, off_t offset, int whence);
135 * Seek to the specified offset within the asset data. 'whence' uses the
143 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence);
146 * Close the asset, freeing all associated resources.
148 void AAsset_close(AAsset* asset);
155 const void* AAsset_getBuffer(AAsset* asset);
158 * Report the total size of the asset data.
160 off_t AAsset_getLength(AAsset* asset);
163 * Report the total size of the asset data. Reports the size using a 64-bit
166 off64_t AAsset_getLength64(AAsset* asset);
169 * Report the total amount of asset data that can be read from the current position.
171 off_t AAsset_getRemainingLength(AAsset* asset);
174 * Report the total amount of asset data that can be read from the current position.
178 off64_t AAsset_getRemainingLength64(AAsset* asset);
181 * Open a new file descriptor that can be used to read the asset data. If the
185 * Returns < 0 if direct fd access is not possible (for example, if the asset is
188 int AAsset_openFileDescriptor(AAsset* asset, off_t* outStart, off_t* outLength);
191 * Open a new file descriptor that can be used to read the asset data.
196 * Returns < 0 if direct fd access is not possible (for example, if the asset is
199 int AAsset_openFileDescriptor64(AAsset* asset, off64_t* outStart, off64_t* outLength);
202 * Returns whether this asset's internal buffer is allocated in ordinary RAM (i.e. not
205 int AAsset_isAllocated(AAsset* asset);