Home
last modified time | relevance | path

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

/external/rust/crates/libz-sys/src/zlib-ng/test/
Dminideflate.c45 void deflate_params(FILE *fin, FILE *fout, int32_t read_buf_size, int32_t write_buf_size, int32_t l… in deflate_params() argument
53 read_buf = (uint8_t *)malloc(read_buf_size); in deflate_params()
55 fprintf(stderr, "failed to create read buffer (%d)\n", read_buf_size); in deflate_params()
77 read = (int32_t)fread(read_buf, 1, read_buf_size, fin); in deflate_params()
129 void inflate_params(FILE *fin, FILE *fout, int32_t read_buf_size, int32_t write_buf_size, int32_t w… in inflate_params() argument
138 read_buf = (uint8_t *)malloc(read_buf_size); in inflate_params()
140 fprintf(stderr, "failed to create read buffer (%d)\n", read_buf_size); in inflate_params()
162 read = (int32_t)fread(read_buf, 1, read_buf_size, fin); in inflate_params()
233 int32_t read_buf_size = 4096; in main() local
248 read_buf_size = atoi(argv[++i]); in main()
[all …]
/external/OpenCL-CTS/test_common/miniz/
Dminiz.c2780 …mz_uint64 needed_size, cur_file_ofs, comp_remaining, out_buf_ofs = 0, read_buf_size, read_buf_ofs … in mz_zip_reader_extract_to_mem_no_alloc() local
2840 read_buf_size = read_buf_avail = file_stat.m_comp_size; in mz_zip_reader_extract_to_mem_no_alloc()
2849 read_buf_size = user_read_buf_size; in mz_zip_reader_extract_to_mem_no_alloc()
2856 read_buf_size = MZ_MIN(file_stat.m_comp_size, MZ_ZIP_MAX_IO_BUF_SIZE); in mz_zip_reader_extract_to_mem_no_alloc()
2858 if (((0, sizeof(size_t) == sizeof(mz_uint32))) && (read_buf_size > 0x7FFFFFFF)) in mz_zip_reader_extract_to_mem_no_alloc()
2860 if (((sizeof(size_t) == sizeof(mz_uint32))) && (read_buf_size > 0x7FFFFFFF)) in mz_zip_reader_extract_to_mem_no_alloc()
2863 if (NULL == (pRead_buf = pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, (size_t)read_buf_size))) in mz_zip_reader_extract_to_mem_no_alloc()
2874 read_buf_avail = MZ_MIN(read_buf_size, comp_remaining); in mz_zip_reader_extract_to_mem_no_alloc()
2970 …mz_uint64 read_buf_size, read_buf_ofs = 0, read_buf_avail, comp_remaining, out_buf_ofs = 0, cur_fi… in mz_zip_reader_extract_to_callback() local
3010 read_buf_size = read_buf_avail = file_stat.m_comp_size; in mz_zip_reader_extract_to_callback()
[all …]
/external/rust/crates/libc/src/
Dpsp.rs2901 read_buf_size: i32, in sceKernelGetModuleIdList()
3038 read_buf_size: i32, in sceKernelGetThreadmanIdList()