Searched refs:Log2FloorNonZero (Results 1 – 18 of 18) sorted by relevance
36 uint32_t nbits = Log2FloorNonZero(insertlen - 2) - 1u; in GetInsertLengthCode()39 return (uint16_t)(Log2FloorNonZero(insertlen - 66) + 10); in GetInsertLengthCode()53 uint32_t nbits = Log2FloorNonZero(copylen - 6) - 1u; in GetCopyLengthCode()56 return (uint16_t)(Log2FloorNonZero(copylen - 70) + 12); in GetCopyLengthCode()
124 const uint32_t nbits = Log2FloorNonZero(tail) - 1u; in EmitInsertLen()131 const uint32_t nbits = Log2FloorNonZero(tail); in EmitInsertLen()153 const size_t nbits = Log2FloorNonZero(tail) - 1; in EmitCopyLen()160 const size_t nbits = Log2FloorNonZero(tail); in EmitCopyLen()178 const size_t nbits = Log2FloorNonZero(tail) - 1; in EmitCopyLenLastDistance()194 const size_t nbits = Log2FloorNonZero(tail); in EmitCopyLenLastDistance()212 uint32_t nbits = Log2FloorNonZero(d) - 1; in EmitDistance()615 const size_t table_bits = Log2FloorNonZero(table_size); in FOR_TABLE_BITS_()
189 const uint32_t nbits = Log2FloorNonZero(tail) - 1u; in EmitInsertLen()197 const uint32_t nbits = Log2FloorNonZero(tail); in EmitInsertLen()238 const uint32_t nbits = Log2FloorNonZero(tail) - 1u; in EmitCopyLen()246 const uint32_t nbits = Log2FloorNonZero(tail); in EmitCopyLen()269 const uint32_t nbits = Log2FloorNonZero(tail) - 1; in EmitCopyLenLastDistance()285 const uint32_t nbits = Log2FloorNonZero(tail); in EmitCopyLenLastDistance()307 const uint32_t nbits = Log2FloorNonZero(d) - 1u; in EmitDistance()751 const size_t table_bits = Log2FloorNonZero(table_size); in FOR_TABLE_BITS_()
21 static BROTLI_INLINE uint32_t Log2FloorNonZero(size_t n) { in Log2FloorNonZero() function
36 size_t bucket = Log2FloorNonZero(dist) - 1; in PrefixEncodeCopyDistance()
75 size_t lg = (length == 1) ? 1 : Log2FloorNonZero((uint32_t)(length - 1)) + 1; in BrotliEncodeMlen()113 size_t nbits = Log2FloorNonZero(n); in StoreVarLenUint8()643 max_prefix = max_reps > 0 ? Log2FloorNonZero(max_reps) : 0; in RunLengthCodeZeros()662 uint32_t run_length_prefix = Log2FloorNonZero(reps); in RunLengthCodeZeros()1194 Log2FloorNonZero(num_distance_symbols - 1) + 1; in BrotliStoreMetaBlockFast()
122 BROTLI_DISTANCE_BIT_PENALTY * Log2FloorNonZero(backward_reference_offset); in BackwardReferenceScore()
1196 (Log2FloorNonZero((uint32_t)block_size - 1) + 1); in WriteMetadataHeader()
282 static uint32 Log2FloorNonZero(uint32 n) { in Log2FloorNonZero() function333 return static_cast<int>(Log2FloorNonZero(static_cast<uint32>(n))); in Log2FloorNonZero64_Portable()335 return 32 + static_cast<int>(Log2FloorNonZero(topbits)); in Log2FloorNonZero64_Portable()
1662 uint32 log2value = Bits::Log2FloorNonZero(value | 0x1); in VarintSize32()