Home
last modified time | relevance | path

Searched refs:last_distance (Results 1 – 7 of 7) sorted by relevance

/third_party/node/deps/brotli/c/enc/
Dhash.h79 int last_distance = distance_cache[0]; in PrepareDistanceCache() local
80 distance_cache[4] = last_distance - 1; in PrepareDistanceCache()
81 distance_cache[5] = last_distance + 1; in PrepareDistanceCache()
82 distance_cache[6] = last_distance - 2; in PrepareDistanceCache()
83 distance_cache[7] = last_distance + 2; in PrepareDistanceCache()
84 distance_cache[8] = last_distance - 3; in PrepareDistanceCache()
85 distance_cache[9] = last_distance + 3; in PrepareDistanceCache()
Dcompress_fragment.c460 int last_distance; in BrotliCompressFragmentFastImpl() local
491 last_distance = -1; in BrotliCompressFragmentFastImpl()
536 candidate = ip - last_distance; in BrotliCompressFragmentFastImpl()
586 if (distance == last_distance) { in BrotliCompressFragmentFastImpl()
592 last_distance = distance; in BrotliCompressFragmentFastImpl()
627 last_distance = (int)(base - candidate); /* > 0 */ in BrotliCompressFragmentFastImpl()
631 EmitDistance((size_t)last_distance, cmd_depth, cmd_bits, in BrotliCompressFragmentFastImpl()
Dcompress_fragment_two_pass.c252 int last_distance = -1; in CreateCommands() local
298 candidate = ip - last_distance; in CreateCommands()
335 if (distance == last_distance) { in CreateCommands()
340 last_distance = distance; in CreateCommands()
394 last_distance = (int)(base - candidate); /* > 0 */ in CreateCommands()
397 EmitDistance((uint32_t)last_distance, commands); in CreateCommands()
/third_party/skia/third_party/externals/brotli/c/enc/
Dhash.h79 int last_distance = distance_cache[0]; in PrepareDistanceCache() local
80 distance_cache[4] = last_distance - 1; in PrepareDistanceCache()
81 distance_cache[5] = last_distance + 1; in PrepareDistanceCache()
82 distance_cache[6] = last_distance - 2; in PrepareDistanceCache()
83 distance_cache[7] = last_distance + 2; in PrepareDistanceCache()
84 distance_cache[8] = last_distance - 3; in PrepareDistanceCache()
85 distance_cache[9] = last_distance + 3; in PrepareDistanceCache()
Dcompress_fragment.c460 int last_distance; in BrotliCompressFragmentFastImpl() local
491 last_distance = -1; in BrotliCompressFragmentFastImpl()
536 candidate = ip - last_distance; in BrotliCompressFragmentFastImpl()
586 if (distance == last_distance) { in BrotliCompressFragmentFastImpl()
592 last_distance = distance; in BrotliCompressFragmentFastImpl()
627 last_distance = (int)(base - candidate); /* > 0 */ in BrotliCompressFragmentFastImpl()
631 EmitDistance((size_t)last_distance, cmd_depth, cmd_bits, in BrotliCompressFragmentFastImpl()
Dcompress_fragment_two_pass.c252 int last_distance = -1; in CreateCommands() local
298 candidate = ip - last_distance; in CreateCommands()
335 if (distance == last_distance) { in CreateCommands()
340 last_distance = distance; in CreateCommands()
394 last_distance = (int)(base - candidate); /* > 0 */ in CreateCommands()
397 EmitDistance((uint32_t)last_distance, commands); in CreateCommands()
/third_party/libinput/test/
Dtest-tablet.c1180 last_distance = 0.0, in START_TEST() local
1254 last_distance = libinput_event_tablet_tool_get_distance( in START_TEST()
1293 litest_assert_double_eq(distance, last_distance); in START_TEST()