Searched refs:size_to_reserve_at_beginning (Results 1 – 2 of 2) sorted by relevance
/external/OpenCL-CTS/test_common/miniz/ |
D | miniz.h | 450 mz_bool mz_zip_writer_init_heap(mz_zip_archive *pZip, size_t size_to_reserve_at_beginning, size_t i… 453 …ter_init_file(mz_zip_archive *pZip, const char *pFilename, mz_uint64 size_to_reserve_at_beginning);
|
D | miniz.c | 3265 mz_bool mz_zip_writer_init_heap(mz_zip_archive *pZip, size_t size_to_reserve_at_beginning, size_t i… in mz_zip_writer_init_heap() argument 3269 if (!mz_zip_writer_init(pZip, size_to_reserve_at_beginning)) in mz_zip_writer_init_heap() 3271 …if (0 != (initial_allocation_size = MZ_MAX(initial_allocation_size, size_to_reserve_at_beginning))) in mz_zip_writer_init_heap() 3293 …iter_init_file(mz_zip_archive *pZip, const char *pFilename, mz_uint64 size_to_reserve_at_beginning) in mz_zip_writer_init_file() argument 3298 if (!mz_zip_writer_init(pZip, size_to_reserve_at_beginning)) in mz_zip_writer_init_file() 3306 if (size_to_reserve_at_beginning) in mz_zip_writer_init_file() 3311 size_t n = (size_t)MZ_MIN(sizeof(buf), size_to_reserve_at_beginning); in mz_zip_writer_init_file() 3317 cur_ofs += n; size_to_reserve_at_beginning -= n; in mz_zip_writer_init_file() 3318 } while (size_to_reserve_at_beginning); in mz_zip_writer_init_file()
|