Home
last modified time | relevance | path

Searched refs:best_len (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/third_party/externals/brotli/c/enc/
Dhash_longest_match_inc.h172 size_t best_len = out->len; in FN() local
188 if (cur_ix_masked + best_len > ring_buffer_mask || in FN()
189 prev_ix + best_len > ring_buffer_mask || in FN()
190 data[cur_ix_masked + best_len] != data[prev_ix + best_len]) { in FN()
206 best_len = len; in FN()
207 out->len = best_len; in FN()
228 if (cur_ix_masked + best_len > ring_buffer_mask || in FN()
229 prev_ix + best_len > ring_buffer_mask || in FN()
230 data[cur_ix_masked + best_len] != data[prev_ix + best_len]) { in FN()
244 best_len = len; in FN()
[all …]
Dhash_longest_match64_inc.h176 size_t best_len = out->len; in FN() local
192 if (cur_ix_masked + best_len > ring_buffer_mask || in FN()
193 prev_ix + best_len > ring_buffer_mask || in FN()
194 data[cur_ix_masked + best_len] != data[prev_ix + best_len]) { in FN()
210 best_len = len; in FN()
211 out->len = best_len; in FN()
233 if (cur_ix_masked + best_len > ring_buffer_mask || in FN()
234 prev_ix + best_len > ring_buffer_mask || in FN()
235 data[cur_ix_masked + best_len] != data[prev_ix + best_len]) { in FN()
249 best_len = len; in FN()
[all …]
Dhash_to_binary_tree_inc.h116 const size_t max_backward, size_t* const BROTLI_RESTRICT best_len, in FN()
163 if (matches && len > *best_len) { in FN()
164 *best_len = len; in FN()
211 size_t best_len = 1; in FN() local
218 for (i = cur_ix - 1; i > stop && best_len <= 2; --i) { in FN()
233 if (len > best_len) { in FN()
234 best_len = len; in FN()
239 if (best_len < max_length) { in FN()
241 ring_buffer_mask, max_length, max_backward, &best_len, matches); in FN()
247 size_t minlen = BROTLI_MAX(size_t, 4, best_len + 1); in FN()
Dhash_forgetful_chain_inc.h207 size_t best_len = out->len; in FN() local
233 best_len = len; in FN()
234 out->len = best_len; in FN()
256 if (cur_ix_masked + best_len > ring_buffer_mask || in FN()
257 prev_ix + best_len > ring_buffer_mask || in FN()
258 data[cur_ix_masked + best_len] != data[prev_ix + best_len]) { in FN()
272 best_len = len; in FN()
273 out->len = best_len; in FN()
Dhash_longest_match_quickly_inc.h163 size_t best_len = best_len_in; in FN() local
169 if (compare_char == data[prev_ix + best_len]) { in FN()
182 best_len = len; in FN()
229 if (compare_char != data[prev_ix + best_len]) { in FN()
241 best_len = len; in FN()
Dbackward_references_hq.c445 size_t best_len = min_len - 1; in UpdateNodes() local
447 for (; j < BROTLI_NUM_DISTANCE_SHORT_CODES && best_len < max_len; ++j) { in UpdateNodes()
453 uint8_t continuation = ringbuffer[cur_ix_masked + best_len]; in UpdateNodes()
454 if (cur_ix_masked + best_len > ringbuffer_mask) { in UpdateNodes()
468 if (prev_ix + best_len > ringbuffer_mask || in UpdateNodes()
469 continuation != ringbuffer[prev_ix + best_len]) { in UpdateNodes()
484 for (l = best_len + 1; l <= len; ++l) { in UpdateNodes()
495 best_len = l; in UpdateNodes()
/third_party/node/deps/brotli/c/enc/
Dhash_longest_match_inc.h172 size_t best_len = out->len; in FN() local
188 if (cur_ix_masked + best_len > ring_buffer_mask || in FN()
189 prev_ix + best_len > ring_buffer_mask || in FN()
190 data[cur_ix_masked + best_len] != data[prev_ix + best_len]) { in FN()
206 best_len = len; in FN()
207 out->len = best_len; in FN()
228 if (cur_ix_masked + best_len > ring_buffer_mask || in FN()
229 prev_ix + best_len > ring_buffer_mask || in FN()
230 data[cur_ix_masked + best_len] != data[prev_ix + best_len]) { in FN()
244 best_len = len; in FN()
[all …]
Dhash_longest_match64_inc.h176 size_t best_len = out->len; in FN() local
192 if (cur_ix_masked + best_len > ring_buffer_mask || in FN()
193 prev_ix + best_len > ring_buffer_mask || in FN()
194 data[cur_ix_masked + best_len] != data[prev_ix + best_len]) { in FN()
210 best_len = len; in FN()
211 out->len = best_len; in FN()
233 if (cur_ix_masked + best_len > ring_buffer_mask || in FN()
234 prev_ix + best_len > ring_buffer_mask || in FN()
235 data[cur_ix_masked + best_len] != data[prev_ix + best_len]) { in FN()
249 best_len = len; in FN()
[all …]
Dhash_to_binary_tree_inc.h116 const size_t max_backward, size_t* const BROTLI_RESTRICT best_len, in FN()
163 if (matches && len > *best_len) { in FN()
164 *best_len = len; in FN()
211 size_t best_len = 1; in FN() local
218 for (i = cur_ix - 1; i > stop && best_len <= 2; --i) { in FN()
233 if (len > best_len) { in FN()
234 best_len = len; in FN()
239 if (best_len < max_length) { in FN()
241 ring_buffer_mask, max_length, max_backward, &best_len, matches); in FN()
247 size_t minlen = BROTLI_MAX(size_t, 4, best_len + 1); in FN()
Dhash_forgetful_chain_inc.h207 size_t best_len = out->len; in FN() local
233 best_len = len; in FN()
234 out->len = best_len; in FN()
256 if (cur_ix_masked + best_len > ring_buffer_mask || in FN()
257 prev_ix + best_len > ring_buffer_mask || in FN()
258 data[cur_ix_masked + best_len] != data[prev_ix + best_len]) { in FN()
272 best_len = len; in FN()
273 out->len = best_len; in FN()
Dhash_longest_match_quickly_inc.h163 size_t best_len = best_len_in; in FN() local
169 if (compare_char == data[prev_ix + best_len]) { in FN()
182 best_len = len; in FN()
229 if (compare_char != data[prev_ix + best_len]) { in FN()
241 best_len = len; in FN()
Dbackward_references_hq.c445 size_t best_len = min_len - 1; in UpdateNodes() local
447 for (; j < BROTLI_NUM_DISTANCE_SHORT_CODES && best_len < max_len; ++j) { in UpdateNodes()
453 uint8_t continuation = ringbuffer[cur_ix_masked + best_len]; in UpdateNodes()
454 if (cur_ix_masked + best_len > ringbuffer_mask) { in UpdateNodes()
468 if (prev_ix + best_len > ringbuffer_mask || in UpdateNodes()
469 continuation != ringbuffer[prev_ix + best_len]) { in UpdateNodes()
484 for (l = best_len + 1; l <= len; ++l) { in UpdateNodes()
495 best_len = l; in UpdateNodes()
/third_party/ntfs-3g/libntfs-3g/
Dcompress.c150 int best_len) in ntfs_best_match() argument
173 if (best_len >= max_len) { in ntfs_best_match()
199 if (matchptr[best_len] != strptr[best_len] || in ntfs_best_match()
200 matchptr[best_len - 1] != strptr[best_len - 1] || in ntfs_best_match()
204 for (len = 1; len < best_len - 1; len++) in ntfs_best_match()
214 if (++best_len >= nice_len) { in ntfs_best_match()
219 while (best_len < max_len && in ntfs_best_match()
220 (best_matchptr[best_len] == in ntfs_best_match()
221 strptr[best_len])) in ntfs_best_match()
223 best_len++; in ntfs_best_match()
[all …]
/third_party/libwebsockets/win32port/zlib/
Ddeflate.c1083 int best_len = s->prev_length; /* best match length so far */ local
1099 register ush scan_end = *(ushf*)(scan+best_len-1);
1102 register Byte scan_end1 = scan[best_len-1];
1103 register Byte scan_end = scan[best_len];
1138 if (*(ushf*)(match+best_len-1) != scan_end ||
1169 if (match[best_len] != scan_end ||
1170 match[best_len-1] != scan_end1 ||
1200 if (len > best_len) {
1202 best_len = len;
1205 scan_end = *(ushf*)(scan+best_len-1);
[all …]
/third_party/node/deps/zlib/
Ddeflate.c1400 int best_len = (int)s->prev_length; /* best match length so far */ in longest_match() local
1416 register ush scan_end = *(ushf*)(scan + best_len - 1); in longest_match()
1419 register Byte scan_end1 = scan[best_len - 1]; in longest_match()
1420 register Byte scan_end = scan[best_len]; in longest_match()
1456 if (*(ushf*)(match + best_len - 1) != scan_end || in longest_match()
1497 if (match[best_len] != scan_end || in longest_match()
1498 match[best_len - 1] != scan_end1 || in longest_match()
1538 if (len > best_len) { in longest_match()
1540 best_len = len; in longest_match()
1543 scan_end = *(ushf*)(scan + best_len - 1); in longest_match()
[all …]
/third_party/zlib/
Ddeflate.c1286 int best_len = (int)s->prev_length; /* best match length so far */ local
1302 register ush scan_end = *(ushf*)(scan + best_len - 1);
1305 register Byte scan_end1 = scan[best_len - 1];
1306 register Byte scan_end = scan[best_len];
1342 if (*(ushf*)(match + best_len - 1) != scan_end ||
1374 if (match[best_len] != scan_end ||
1375 match[best_len - 1] != scan_end1 ||
1406 if (len > best_len) {
1408 best_len = len;
1411 scan_end = *(ushf*)(scan + best_len - 1);
[all …]
/third_party/skia/third_party/externals/zlib/
Ddeflate.c1289 …int best_len = (s->prev_length == 0) ? ACTUAL_MIN_MATCH-1 : s->prev_length; /* best match … local
1305 register ush scan_end = *(ushf*)(scan+best_len-1);
1308 register Byte scan_end1 = scan[best_len-1];
1309 register Byte scan_end = scan[best_len];
1344 if (*(ushf*)(match+best_len-1) != scan_end ||
1384 if (match[best_len] != scan_end ||
1385 match[best_len-1] != scan_end1 ||
1424 if (len > best_len) {
1426 best_len = len;
1429 scan_end = *(ushf*)(scan+best_len-1);
[all …]
/third_party/node/deps/v8/third_party/zlib/
Ddeflate.c1297 int best_len = (int)s->prev_length; /* best match length so far */ local
1313 register ush scan_end = *(ushf*)(scan+best_len-1);
1316 register Byte scan_end1 = scan[best_len-1];
1317 register Byte scan_end = scan[best_len];
1352 if (*(ushf*)(match+best_len-1) != scan_end ||
1392 if (match[best_len] != scan_end ||
1393 match[best_len-1] != scan_end1 ||
1432 if (len > best_len) {
1434 best_len = len;
1437 scan_end = *(ushf*)(scan+best_len-1);
[all …]
/third_party/ffmpeg/libavcodec/
Dffv1enc.c149 uint64_t best_len[256]; in find_best_state() local
152 best_len[j] = UINT64_MAX; in find_best_state()
169 if (len < best_len[k]) { in find_best_state()
170 best_len[k] = len; in find_best_state()
/third_party/ffmpeg/libavformat/
Dnutenc.c837 int best_len = 0; in find_best_header_idx() local
844 && nut->header_len[i] > best_len in find_best_header_idx()
847 best_len = nut->header_len[i]; in find_best_header_idx()