Searched refs:last_distance (Results 1 – 3 of 3) sorted by relevance
91 int last_distance = distance_cache[0]; in PrepareDistanceCache() local92 distance_cache[4] = last_distance - 1; in PrepareDistanceCache()93 distance_cache[5] = last_distance + 1; in PrepareDistanceCache()94 distance_cache[6] = last_distance - 2; in PrepareDistanceCache()95 distance_cache[7] = last_distance + 2; in PrepareDistanceCache()96 distance_cache[8] = last_distance - 3; in PrepareDistanceCache()97 distance_cache[9] = last_distance + 3; in PrepareDistanceCache()
249 int last_distance = -1; in CreateCommands() local296 candidate = ip - last_distance; in CreateCommands()332 if (distance == last_distance) { in CreateCommands()337 last_distance = distance; in CreateCommands()376 last_distance = (int)(base - candidate); /* > 0 */ in CreateCommands()379 EmitDistance((uint32_t)last_distance, commands); in CreateCommands()
461 int last_distance; in BrotliCompressFragmentFastImpl() local492 last_distance = -1; in BrotliCompressFragmentFastImpl()537 candidate = ip - last_distance; in BrotliCompressFragmentFastImpl()587 if (distance == last_distance) { in BrotliCompressFragmentFastImpl()593 last_distance = distance; in BrotliCompressFragmentFastImpl()628 last_distance = (int)(base - candidate); /* > 0 */ in BrotliCompressFragmentFastImpl()632 EmitDistance((size_t)last_distance, cmd_depth, cmd_bits, in BrotliCompressFragmentFastImpl()