Home
last modified time | relevance | path

Searched refs:pZip (Results 1 – 3 of 3) sorted by relevance

/external/OpenCL-CTS/test_common/miniz/
Dminiz.c2229 static MZ_FORCEINLINE void mz_zip_array_clear(mz_zip_archive *pZip, mz_zip_array *pArray) in mz_zip_array_clear() argument
2231 pZip->m_pFree(pZip->m_pAlloc_opaque, pArray->m_p); in mz_zip_array_clear()
2235 static mz_bool mz_zip_array_ensure_capacity(mz_zip_archive *pZip, mz_zip_array *pArray, size_t min_… in mz_zip_array_ensure_capacity() argument
2239 …if (NULL == (pNew_p = pZip->m_pRealloc(pZip->m_pAlloc_opaque, pArray->m_p, pArray->m_element_size,… in mz_zip_array_ensure_capacity()
2244 static MZ_FORCEINLINE mz_bool mz_zip_array_reserve(mz_zip_archive *pZip, mz_zip_array *pArray, size… in mz_zip_array_reserve() argument
2246 …if (new_capacity > pArray->m_capacity) { if (!mz_zip_array_ensure_capacity(pZip, pArray, new_capac… in mz_zip_array_reserve()
2250 static MZ_FORCEINLINE mz_bool mz_zip_array_resize(mz_zip_archive *pZip, mz_zip_array *pArray, size_… in mz_zip_array_resize() argument
2252 …if (new_size > pArray->m_capacity) { if (!mz_zip_array_ensure_capacity(pZip, pArray, new_size, gro… in mz_zip_array_resize()
2257 static MZ_FORCEINLINE mz_bool mz_zip_array_ensure_room(mz_zip_archive *pZip, mz_zip_array *pArray, … in mz_zip_array_ensure_room() argument
2259 return mz_zip_array_reserve(pZip, pArray, pArray->m_size + n, MZ_TRUE); in mz_zip_array_ensure_room()
[all …]
Dminiz.h392 mz_bool mz_zip_reader_init(mz_zip_archive *pZip, mz_uint64 size, mz_uint32 flags);
393 mz_bool mz_zip_reader_init_mem(mz_zip_archive *pZip, const void *pMem, size_t size, mz_uint32 flags…
396 mz_bool mz_zip_reader_init_file(mz_zip_archive *pZip, const char *pFilename, mz_uint32 flags);
400 mz_uint mz_zip_reader_get_num_files(mz_zip_archive *pZip);
403 mz_bool mz_zip_reader_file_stat(mz_zip_archive *pZip, mz_uint file_index, mz_zip_archive_file_stat …
406 mz_bool mz_zip_reader_is_file_a_directory(mz_zip_archive *pZip, mz_uint file_index);
407 mz_bool mz_zip_reader_is_file_encrypted(mz_zip_archive *pZip, mz_uint file_index);
411 mz_uint mz_zip_reader_get_filename(mz_zip_archive *pZip, mz_uint file_index, char *pFilename, mz_ui…
416 int mz_zip_reader_locate_file(mz_zip_archive *pZip, const char *pName, const char *pComment, mz_uin…
419 mz_bool mz_zip_reader_extract_to_mem_no_alloc(mz_zip_archive *pZip, mz_uint file_index, void *pBuf,…
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DCppAssetManager.java864 ZipFileRO pZip = getZipFileLocked(ap); in openNonAssetInPathLocked() local
865 if (pZip != null) { in openNonAssetInPathLocked()
867 ZipEntryRO entry = pZip.findEntryByName(path.string()); in openNonAssetInPathLocked()
870 pAsset = openAssetFromZipLocked(pZip, entry, mode, path); in openNonAssetInPathLocked()
871 pZip.releaseEntry(entry); in openNonAssetInPathLocked()
1243 ZipFileRO pZip; in scanAndMergeZipLocked() local
1251 pZip = mZipSet.getZip(ap.path.string()); in scanAndMergeZipLocked()
1252 if (pZip == null) { in scanAndMergeZipLocked()
1284 if (!pZip.startIteration(iterationCookie, dirName.string(), null)) { in scanAndMergeZipLocked()
1290 while ((entry = pZip.nextEntry(iterationCookie.get())) != null) { in scanAndMergeZipLocked()
[all …]