Lines Matching defs:len
36 static size_t DecideMultiByteStatsLevel(size_t pos, size_t len, size_t mask,
42 for (i = 0; i < len; ++i) {
56 static void EstimateBitCostsForLiteralsUTF8(size_t pos, size_t len, size_t mask,
60 const size_t max_utf8 = DecideMultiByteStatsLevel(pos, len, mask, data);
63 size_t in_window = BROTLI_MIN(size_t, window_half, len);
80 for (i = 0; i < len; ++i) {
91 if (i + window_half < len) {
127 void BrotliEstimateBitCostsForLiterals(size_t pos, size_t len, size_t mask,
129 if (BrotliIsMostlyUTF8(data, pos, mask, len, kMinUTF8Ratio)) {
130 EstimateBitCostsForLiteralsUTF8(pos, len, mask, data, cost);
135 size_t in_window = BROTLI_MIN(size_t, window_half, len);
144 for (i = 0; i < len; ++i) {
151 if (i + window_half < len) {