Searched refs:MAX_COMP_SIZE (Results 1 – 6 of 6) sorted by relevance
57 #define MAX_COMP_SIZE(orig) (compressBound(orig) + 4) macro251 if ((orig_len & 3) != 0 || file_len > MAX_COMP_SIZE(orig_len)) in SV_VerifyContents()386 SYS_ASSERT(file_len <= MAX_COMP_SIZE(orig_len)); in SV_PushReadChunk()602 uLongf out_len = MAX_COMP_SIZE(len); in SV_PopWriteChunk()626 SYS_ASSERT((int)out_len <= (int)MAX_COMP_SIZE(len)); in SV_PopWriteChunk()
84 index_malloc = MAX_COMP_SIZE * 2; in index_create()91 index_malloc += zck->index.digest_size + MAX_COMP_SIZE*2; in index_create()
234 int header_malloc = zck->hash_type.digest_size + 4 + 2*MAX_COMP_SIZE; in preface_create()266 char *header = zmalloc(MAX_COMP_SIZE); in sig_create()286 int phs = 5 + 2*MAX_COMP_SIZE + zck->hash_type.digest_size; in lead_create()398 int lead = 5 + 2*MAX_COMP_SIZE; in read_lead()
71 if(count > MAX_COMP_SIZE || count > max_length || *val < old_val) { in compint_to_size()
46 return 5 + MAX_COMP_SIZE*2 + get_max_hash_size(); in zck_get_min_download_size()
15 #define MAX_COMP_SIZE (((sizeof(size_t) * 8) / 7) + 1) macro