/external/zopfli/src/zopfli/ |
cache.h | 46 void ZopfliInitCache(size_t blocksize, ZopfliLongestMatchCache* lmc); 49 void ZopfliCleanCache(ZopfliLongestMatchCache* lmc); 54 ZopfliLongestMatchCache* lmc); 57 void ZopfliCacheToSublen(const ZopfliLongestMatchCache* lmc, 61 unsigned ZopfliMaxCachedSublen(const ZopfliLongestMatchCache* lmc,
|
cache.c | 28 void ZopfliInitCache(size_t blocksize, ZopfliLongestMatchCache* lmc) { 30 lmc->length = (unsigned short*)malloc(sizeof(unsigned short) * blocksize); 31 lmc->dist = (unsigned short*)malloc(sizeof(unsigned short) * blocksize); 33 lmc->sublen = (unsigned char*)malloc(ZOPFLI_CACHE_LENGTH * 3 * blocksize); 37 for (i = 0; i < blocksize; i++) lmc->length[i] = 1; 38 for (i = 0; i < blocksize; i++) lmc->dist[i] = 0; 39 for (i = 0; i < ZOPFLI_CACHE_LENGTH * blocksize * 3; i++) lmc->sublen[i] = 0; 42 void ZopfliCleanCache(ZopfliLongestMatchCache* lmc) { 43 free(lmc->length); 44 free(lmc->dist) [all...] |
lz77.c | 165 /* The LMC cache starts at the beginning of the block rather than the 171 unsigned char cache_available = s->lmc && (s->lmc->length[lmcpos] == 0 || 172 s->lmc->dist[lmcpos] != 0); 174 (*limit == ZOPFLI_MAX_MATCH || s->lmc->length[lmcpos] <= *limit || 175 (sublen && ZopfliMaxCachedSublen(s->lmc, 176 lmcpos, s->lmc->length[lmcpos]) >= *limit)); 178 if (s->lmc && limit_ok_for_cache && cache_available) { 179 if (!sublen || s->lmc->length[lmcpos] 180 <= ZopfliMaxCachedSublen(s->lmc, lmcpos, s->lmc->length[lmcpos])) [all...] |
lz77.h | 67 ZopfliLongestMatchCache* lmc; member in struct:ZopfliBlockState
|
deflate.c | 602 s.lmc = (ZopfliLongestMatchCache*)malloc(sizeof(ZopfliLongestMatchCache)); 603 ZopfliInitCache(blocksize, s.lmc); 633 ZopfliCleanCache(s.lmc); 634 free(s.lmc); 654 s.lmc = (ZopfliLongestMatchCache*)malloc(sizeof(ZopfliLongestMatchCache)); 655 ZopfliInitCache(blocksize, s.lmc); 664 ZopfliCleanCache(s.lmc); 665 free(s.lmc); 782 s.lmc = (ZopfliLongestMatchCache*)malloc(sizeof(ZopfliLongestMatchCache)); 783 ZopfliInitCache(inend - instart, s.lmc); [all...] |
blocksplitter.c | 300 s.lmc = 0;
|
/bionic/libc/kernel/uapi/rdma/ |
ib_user_verbs.h | 234 __u8 lmc; member in struct:ib_uverbs_query_port_resp
|
/external/kernel-headers/original/uapi/rdma/ |
ib_user_verbs.h | 250 __u8 lmc; member in struct:ib_uverbs_query_port_resp
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/rdma/ |
ib_user_verbs.h | 204 __u8 lmc; member in struct:ib_uverbs_query_port_resp
|