Searched refs:max_distance (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/third_party/brotli/src/brotli/enc/ |
D | backward_references.cc | 66 size_t max_distance = std::min(i + i_diff, max_backward_limit); in CreateBackwardReferences() local 71 i + i_diff, i_end - i, max_distance, in CreateBackwardReferences() 101 max_distance = std::min(i + i_diff + 1, max_backward_limit); in CreateBackwardReferences() 105 i + i_diff + 1, i_end - i - 1, max_distance, in CreateBackwardReferences() 172 max_distance = std::min(i + i_diff, max_backward_limit); in CreateBackwardReferences() 175 i + i_diff, i_end - i, max_distance, in CreateBackwardReferences()
|
D | encode.cc | 407 size_t max_distance = std::min(pos, max_backward); in ComputeDistanceShortCodes() local 410 if (cur_dist <= max_distance) { in ComputeDistanceShortCodes() 436 int word_idx = cur_dist - max_distance - 1; in ComputeDistanceShortCodes() 867 size_t max_distance = std::min(*pos, (size_t)kMaxBackwardDistance); in StoreMetaBlock() local
|
/external/chromium_org/tools/perf/metrics/ |
D | speedindex_unittest.py | 122 max_distance = 42. 132 time_completeness[1], 0.1, 1 - (16 + 16 + 16) / max_distance) 134 time_completeness[2], 0.2, 1 - (12 + 10 + 13) / max_distance) 136 time_completeness[3], 0.3, 1 - (6 + 10 + 8) / max_distance) 138 time_completeness[4], 0.4, 1 - (4 + 4 + 4) / max_distance)
|
/external/chromium_org/ui/events/gestures/ |
D | gesture_recognizer_impl.cc | 98 const int max_distance = in GetTargetForLocation() local 123 if (closest_distance_squared < max_distance * max_distance && closest_point) in GetTargetForLocation() 152 if (closest_distance_squared < max_distance * max_distance) in GetTargetForLocation()
|
D | gesture_sequence.cc | 869 double max_distance = in IsSecondTouchDownCloseEnoughForTwoFingerTap() local 873 if (distance < max_distance * max_distance) in IsSecondTouchDownCloseEnoughForTwoFingerTap()
|
/external/chromium_org/third_party/brotli/src/brotli/dec/ |
D | decode.c | 674 int max_distance = 0; in BrotliDecompress() local 981 max_distance != max_backward_distance) { in BrotliDecompress() 982 max_distance = pos; in BrotliDecompress() 984 max_distance = max_backward_distance; in BrotliDecompress() 989 if (distance > max_distance) { in BrotliDecompress() 993 int word_id = distance - max_distance - 1; in BrotliDecompress()
|