• Home
  • Raw
  • Download

Lines Matching refs:l

84     size_t l = 0;  in BrotliFindAllStaticDictionaryMatchesFor()  local
85 while (node && l < max_length) { in BrotliFindAllStaticDictionaryMatchesFor()
87 if (l >= min_length && node->len_) { in BrotliFindAllStaticDictionaryMatchesFor()
88 AddMatch(node->idx_, l, node->len_, matches); in BrotliFindAllStaticDictionaryMatchesFor()
91 c = data[l++]; in BrotliFindAllStaticDictionaryMatchesFor()
101 const size_t l = w.len & 0x1F; in BrotliFindAllStaticDictionaryMatchesFor() local
102 const size_t n = (size_t)1 << dictionary->words->size_bits_by_length[l]; in BrotliFindAllStaticDictionaryMatchesFor()
105 w.len = (uint8_t)l; in BrotliFindAllStaticDictionaryMatchesFor()
108 DictMatchLength(dictionary->words, data, id, l, max_length); in BrotliFindAllStaticDictionaryMatchesFor()
114 if (matchlen == l) { in BrotliFindAllStaticDictionaryMatchesFor()
115 AddMatch(id, l, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
120 if (matchlen >= l - 1) { in BrotliFindAllStaticDictionaryMatchesFor()
121 AddMatch(id + 12 * n, l - 1, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
122 if (l + 2 < max_length && in BrotliFindAllStaticDictionaryMatchesFor()
123 data[l - 1] == 'i' && data[l] == 'n' && data[l + 1] == 'g' && in BrotliFindAllStaticDictionaryMatchesFor()
124 data[l + 2] == ' ') { in BrotliFindAllStaticDictionaryMatchesFor()
125 AddMatch(id + 49 * n, l + 3, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
131 if (l > 9) minlen = BROTLI_MAX(size_t, minlen, l - 9); in BrotliFindAllStaticDictionaryMatchesFor()
132 maxlen = BROTLI_MIN(size_t, matchlen, l - 2); in BrotliFindAllStaticDictionaryMatchesFor()
134 size_t cut = l - len; in BrotliFindAllStaticDictionaryMatchesFor()
137 AddMatch(id + transform_id * n, len, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
140 if (matchlen < l || l + 6 >= max_length) { in BrotliFindAllStaticDictionaryMatchesFor()
143 s = &data[l]; in BrotliFindAllStaticDictionaryMatchesFor()
146 AddMatch(id + n, l + 1, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
149 AddMatch(id + 28 * n, l + 3, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
151 if (s[3] == ' ') AddMatch(id + 46 * n, l + 4, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
153 if (s[3] == ' ') AddMatch(id + 60 * n, l + 4, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
156 AddMatch(id + 10 * n, l + 5, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
161 AddMatch(id + 38 * n, l + 4, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
165 if (s[3] == ' ') AddMatch(id + 16 * n, l + 4, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
167 if (s[3] == ' ') AddMatch(id + 47 * n, l + 4, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
172 AddMatch(id + 25 * n, l + 5, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
176 AddMatch(id + 37 * n, l + 6, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
181 if (s[3] == ' ') AddMatch(id + 8 * n, l + 4, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
183 if (s[3] == ' ') AddMatch(id + 45 * n, l + 4, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
187 AddMatch(id + 80 * n, l + 5, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
192 if (s[4] == ' ') AddMatch(id + 5 * n, l + 5, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
195 AddMatch(id + 29 * n, l + 6, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
199 if (s[3] == ' ') AddMatch(id + 17 * n, l + 4, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
203 AddMatch(id + 35 * n, l + 6, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
207 AddMatch(id + 19 * n, l + 1, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
209 AddMatch(id + 21 * n, l + 2, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
212 AddMatch(id + 20 * n, l + 1, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
214 AddMatch(id + 31 * n, l + 2, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
217 if (s[5] == ' ') AddMatch(id + 43 * n, l + 6, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
220 AddMatch(id + 75 * n, l + 7, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
226 AddMatch(id + 76 * n, l + 1, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
228 AddMatch(id + 14 * n, l + 2, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
231 AddMatch(id + 22 * n, l + 1, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
233 AddMatch(id + 50 * n, l + 2, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
236 AddMatch(id + 24 * n, l + 1, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
238 AddMatch(id + 36 * n, l + 1, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
240 AddMatch(id + 51 * n, l + 1, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
242 AddMatch(id + 57 * n, l + 1, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
245 AddMatch(id + 70 * n, l + 2, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
247 AddMatch(id + 86 * n, l + 2, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
251 AddMatch(id + 84 * n, l + 3, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
255 if (s[2] == ' ') AddMatch(id + 53 * n, l + 3, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
257 if (s[2] == ' ') AddMatch(id + 82 * n, l + 3, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
260 AddMatch(id + 95 * n, l + 4, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
265 AddMatch(id + 90 * n, l + 4, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
270 AddMatch(id + 92 * n, l + 4, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
274 AddMatch(id + 100 * n, l + 4, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
280 AddMatch(id + 93 * n, l + 5, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
283 if (s[2] == ' ') AddMatch(id + 61 * n, l + 3, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
287 AddMatch(id + 106 * n, l + 4, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
301 AddMatch(id + (is_all_caps ? 44 : 9) * n, l, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
303 if (l + 1 >= max_length) { in BrotliFindAllStaticDictionaryMatchesFor()
307 s = &data[l]; in BrotliFindAllStaticDictionaryMatchesFor()
309 AddMatch(id + (is_all_caps ? 68 : 4) * n, l + 1, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
311 AddMatch(id + (is_all_caps ? 87 : 66) * n, l + 1, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
313 AddMatch(id + (is_all_caps ? 97 : 69) * n, l + 2, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
316 AddMatch(id + (is_all_caps ? 101 : 79) * n, l + 1, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
318 AddMatch(id + (is_all_caps ? 114 : 88) * n, l + 2, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
321 AddMatch(id + (is_all_caps ? 112 : 99) * n, l + 1, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
323 AddMatch(id + (is_all_caps ? 107 : 58) * n, l + 2, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
326 AddMatch(id + (is_all_caps ? 94 : 74) * n, l + 1, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
328 AddMatch(id + (is_all_caps ? 113 : 78) * n, l + 1, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
331 AddMatch(id + (is_all_caps ? 105 : 104) * n, l + 2, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
333 AddMatch(id + (is_all_caps ? 116 : 108) * n, l + 2, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
346 const size_t l = w.len & 0x1F; in BrotliFindAllStaticDictionaryMatchesFor() local
347 const size_t n = (size_t)1 << dictionary->words->size_bits_by_length[l]; in BrotliFindAllStaticDictionaryMatchesFor()
350 w.len = (uint8_t)l; in BrotliFindAllStaticDictionaryMatchesFor()
358 AddMatch(id + (is_space ? 6 : 32) * n, l + 1, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
360 if (l + 2 >= max_length) { in BrotliFindAllStaticDictionaryMatchesFor()
366 s = &data[l + 1]; in BrotliFindAllStaticDictionaryMatchesFor()
368 AddMatch(id + (is_space ? 2 : 77) * n, l + 2, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
370 AddMatch(id + (is_space ? 89 : 67) * n, l + 2, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
373 AddMatch(id + 103 * n, l + 2, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
375 AddMatch(id + 33 * n, l + 3, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
378 AddMatch(id + 71 * n, l + 2, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
380 AddMatch(id + 52 * n, l + 3, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
384 AddMatch(id + 81 * n, l + 3, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
386 AddMatch(id + 98 * n, l + 3, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
401 AddMatch(id + (is_all_caps ? 85 : 30) * n, l + 1, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
403 if (l + 2 >= max_length) { in BrotliFindAllStaticDictionaryMatchesFor()
407 s = &data[l + 1]; in BrotliFindAllStaticDictionaryMatchesFor()
409 AddMatch(id + (is_all_caps ? 83 : 15) * n, l + 2, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
412 AddMatch(id + 109 * n, l + 2, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
415 AddMatch(id + (is_all_caps ? 111 : 65) * n, l + 3, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
418 AddMatch(id + (is_all_caps ? 115 : 96) * n, l + 2, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
420 AddMatch(id + (is_all_caps ? 117 : 91) * n, l + 3, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
424 AddMatch(id + (is_all_caps ? 110 : 118) * n, l + 3, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
426 AddMatch(id + (is_all_caps ? 119 : 120) * n, l + 3, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
441 const size_t l = w.len & 0x1F; in BrotliFindAllStaticDictionaryMatchesFor() local
442 const size_t n = (size_t)1 << dictionary->words->size_bits_by_length[l]; in BrotliFindAllStaticDictionaryMatchesFor()
445 w.len = (uint8_t)l; in BrotliFindAllStaticDictionaryMatchesFor()
449 AddMatch(id + 102 * n, l + 2, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
451 } else if (l + 2 < max_length && data[l + 2] == ' ') { in BrotliFindAllStaticDictionaryMatchesFor()
453 AddMatch(id + t * n, l + 3, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
470 const size_t l = w.len & 0x1F; in BrotliFindAllStaticDictionaryMatchesFor() local
471 const size_t n = (size_t)1 << dictionary->words->size_bits_by_length[l]; in BrotliFindAllStaticDictionaryMatchesFor()
474 w.len = (uint8_t)l; in BrotliFindAllStaticDictionaryMatchesFor()
477 AddMatch(id + (data[0] == ' ' ? 41 : 72) * n, l + 5, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
479 if (l + 5 < max_length) { in BrotliFindAllStaticDictionaryMatchesFor()
480 const uint8_t* s = &data[l + 5]; in BrotliFindAllStaticDictionaryMatchesFor()
482 if (l + 8 < max_length && in BrotliFindAllStaticDictionaryMatchesFor()
484 AddMatch(id + 62 * n, l + 9, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
485 if (l + 12 < max_length && in BrotliFindAllStaticDictionaryMatchesFor()
487 AddMatch(id + 73 * n, l + 13, l, matches); in BrotliFindAllStaticDictionaryMatchesFor()
510 int l; in BrotliFindAllStaticDictionaryMatches() local
516 for (l = 0; l < BROTLI_MAX_STATIC_DICTIONARY_MATCH_LEN + 1; l++) { in BrotliFindAllStaticDictionaryMatches()
517 matches2[l] = kInvalidMatch; in BrotliFindAllStaticDictionaryMatches()
523 for (l = 0; l < BROTLI_MAX_STATIC_DICTIONARY_MATCH_LEN + 1; l++) { in BrotliFindAllStaticDictionaryMatches()
524 if (matches2[l] != kInvalidMatch) { in BrotliFindAllStaticDictionaryMatches()
525 uint32_t dist = (uint32_t)(matches2[l] >> 5); in BrotliFindAllStaticDictionaryMatches()
526 uint32_t len_code = matches2[l] & 31; in BrotliFindAllStaticDictionaryMatches()
532 AddMatch(dist, (size_t)l, len_code, matches); in BrotliFindAllStaticDictionaryMatches()