Searched refs:sublen (Results 1 - 11 of 11) sorted by relevance

/external/zopfli/src/zopfli/
H A Dcache.h37 to every possible shorter-than-the-best length (the so called "sublen" array).
42 unsigned char* sublen; member in struct:ZopfliLongestMatchCache
51 /* Stores sublen array in the cache. */
52 void ZopfliSublenToCache(const unsigned short* sublen,
56 /* Extracts sublen array from the cache. */
59 unsigned short* sublen);
H A Dcache.c33 lmc->sublen = (unsigned char*)malloc(ZOPFLI_CACHE_LENGTH * 3 * blocksize);
39 for (i = 0; i < ZOPFLI_CACHE_LENGTH * blocksize * 3; i++) lmc->sublen[i] = 0;
45 free(lmc->sublen);
48 void ZopfliSublenToCache(const unsigned short* sublen, argument
60 cache = &lmc->sublen[ZOPFLI_CACHE_LENGTH * pos * 3];
63 if (i == length || sublen[i] != sublen[i + 1]) {
65 cache[j * 3 + 1] = sublen[i] % 256;
66 cache[j * 3 + 2] = (sublen[i] >> 8) % 256;
83 unsigned short* sublen) {
81 ZopfliCacheToSublen(const ZopfliLongestMatchCache* lmc, size_t pos, size_t length, unsigned short* sublen) argument
[all...]
H A Dlz77.c157 Gets distance, length and sublen values from the cache if possible.
164 unsigned short* sublen, unsigned short* distance, unsigned short* length) {
175 (sublen && ZopfliMaxCachedSublen(s->lmc,
179 if (!sublen || s->lmc->length[lmcpos]
183 if (sublen) {
184 ZopfliCacheToSublen(s->lmc, lmcpos, *length, sublen);
185 *distance = sublen[*length];
187 assert(sublen[*length] == s->lmc->dist[lmcpos]);
203 Stores the found sublen, distance and length in the longest match cache, if
208 const unsigned short* sublen,
162 TryGetFromLongestMatchCache(ZopfliBlockState* s, size_t pos, size_t* limit, unsigned short* sublen, unsigned short* distance, unsigned short* length) argument
206 StoreInLongestMatchCache(ZopfliBlockState* s, size_t pos, size_t limit, const unsigned short* sublen, unsigned short distance, unsigned short length) argument
229 ZopfliFindLongestMatch(ZopfliBlockState* s, const ZopfliHash* h, const unsigned char* array, size_t pos, size_t size, size_t limit, unsigned short* sublen, unsigned short* distance, unsigned short* length) argument
[all...]
H A Dlz77.h78 Even when not using "sublen", it can be more efficient to provide an array,
86 sublen: output array of 259 elements, or null. Has, for each length, the
94 unsigned short* sublen, unsigned short* distance, unsigned short* length);
H A Dsqueeze.c219 unsigned short sublen[259]; local
268 ZopfliFindLongestMatch(s, h, in, i, inend, ZOPFLI_MAX_MATCH, sublen,
288 newCost = costs[j] + costmodel(k, sublen[k], costcontext);
/external/tcpdump/
H A Dprint-babel.c253 uint8_t subtype, sublen; local
264 sublen = *cp++;
265 if(cp + sublen > ep)
271 cp += sublen;
275 if (sublen == 0) {
280 while(sublen--) {
289 cp += sublen;
H A Dprint-lldp.c643 u_int sublen; local
682 sublen = *(tptr+6);
683 if (tlv_len < 7+sublen) {
687 safeputs((const char *)tptr+7, sublen);
693 sublen = *(tptr+4);
694 if (tlv_len < 5+sublen) {
698 safeputs((const char *)tptr+5, sublen);
774 sublen=tlv_len-5;
775 if(sublen%3!=0){
780 while(i<sublen) {
[all...]
H A Dprint-isoclns.c1970 u_int metric, status_byte, bit_length, byte_length, sublen, processed, subtlvtype, subtlvlen; local
2053 sublen=*(tptr++);
2054 processed+=sublen+1;
2055 printf(" (%u)",sublen); /* print out subTLV length */
2057 while (sublen>0) {
2067 sublen-=(subtlvlen+2);
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dieee802_1x.c1437 u8 *buf, *pos, *end, type, sublen; local
1457 sublen = *pos++;
1458 if (sublen < 2)
1460 sublen -= 2; /* skip header */
1461 if (pos + sublen > end)
1466 ieee802_1x_hs20_sub_rem(sta, pos, sublen);
1469 ieee802_1x_hs20_deauth_req(hapd, sta, pos, sublen);
1472 ieee802_1x_hs20_session_info(hapd, sta, pos, sublen,
/external/wpa_supplicant_8/src/ap/
H A Dieee802_1x.c1437 u8 *buf, *pos, *end, type, sublen; local
1457 sublen = *pos++;
1458 if (sublen < 2)
1460 sublen -= 2; /* skip header */
1461 if (pos + sublen > end)
1466 ieee802_1x_hs20_sub_rem(sta, pos, sublen);
1469 ieee802_1x_hs20_deauth_req(hapd, sta, pos, sublen);
1472 ieee802_1x_hs20_session_info(hapd, sta, pos, sublen,
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dieee802_1x.c1437 u8 *buf, *pos, *end, type, sublen; local
1457 sublen = *pos++;
1458 if (sublen < 2)
1460 sublen -= 2; /* skip header */
1461 if (pos + sublen > end)
1466 ieee802_1x_hs20_sub_rem(sta, pos, sublen);
1469 ieee802_1x_hs20_deauth_req(hapd, sta, pos, sublen);
1472 ieee802_1x_hs20_session_info(hapd, sta, pos, sublen,

Completed in 670 milliseconds