Clamp 460 content/browser/accessibility/browser_accessibility_manager_android.cc int nearest_x = Clamp(x, node_bounds.x(), node_bounds.right()); Clamp 461 content/browser/accessibility/browser_accessibility_manager_android.cc int nearest_y = Clamp(y, node_bounds.y(), node_bounds.bottom()); Clamp 113 content/browser/android/edge_effect.cc layer->SetOpacity(Clamp(opacity, 0.f, 1.f)); Clamp 175 content/browser/android/edge_effect.cc edge_alpha_ = edge_alpha_start_ = Clamp(distance, kPullEdgeBegin, kMaxAlpha); Clamp 177 content/browser/android/edge_effect.cc = Clamp(distance * kPullDistanceEdgeFactor, kHeldEdgeScaleY, 1.f); Clamp 191 content/browser/android/edge_effect.cc Clamp(glow_scale_y_ + glow_change * kPullDistanceGlowFactor, Clamp 224 content/browser/android/edge_effect.cc dpi_scale_ * Clamp(std::abs(velocity), kMinVelocity, kMaxVelocity); Clamp 241 content/browser/android/edge_effect.cc edge_alpha_finish_ = Clamp(scaled_velocity * kVelocityEdgeFactor, 0.f, 1.f); Clamp 243 content/browser/android/edge_effect.cc edge_scale_y_finish_ = Clamp(scaled_velocity * kVelocityEdgeFactor, Clamp 253 content/browser/android/edge_effect.cc glow_alpha_finish_ = Clamp(glow_alpha_start_, Clamp 66 media/base/simd/convert_rgb_to_yuv_sse2.cc return Clamp(y + 16); Clamp 74 media/base/simd/convert_rgb_to_yuv_sse2.cc return Clamp(u + 128); Clamp 82 media/base/simd/convert_rgb_to_yuv_sse2.cc return Clamp(v + 128); Clamp 303 media/base/yuv_convert_unittest.cc TEST(YUVConvertTest, Clamp) { Clamp 56 native_client_sdk/src/examples/demo/flock/goose.cc velocity_.Clamp(kMaxSpeed); Clamp 116 native_client_sdk/src/examples/demo/flock/goose.cc alignment.Clamp(kMaxTurningForce); Clamp 165 native_client_sdk/src/examples/demo/flock/goose.cc new_direction.Clamp(kMaxTurningForce); Clamp 55 native_client_sdk/src/examples/demo/flock/vector2.h void Clamp(double max_mag) { Clamp 89 third_party/libwebp/enc/frame.c s->dq = Clamp(dq, -30.f, 30.f); Clamp 92 third_party/libwebp/enc/frame.c s->q = Clamp(s->q + s->dq, 0.f, 100.f); Clamp 742 third_party/libwebp/enc/frame.c q = Clamp(q, 0.f, 100.f); Clamp 981 ui/native_theme/native_theme_base.cc color[1] = Clamp(hsv[1] + saturate_amount, 0.0, 1.0); Clamp 982 ui/native_theme/native_theme_base.cc color[2] = Clamp(hsv[2] + brighten_amount, 0.0, 1.0); Clamp 1062 ui/native_theme/native_theme_base.cc SkScalar min_diff = Clamp((hsv1[1] + hsv2[1]) * 1.2f, 0.28f, 0.5f); Clamp 1063 ui/native_theme/native_theme_base.cc SkScalar diff = Clamp(fabs(hsv1[2] - hsv2[2]) / 2, min_diff, 0.5f); Clamp 178 ui/native_theme/native_theme_base.h SkScalar Clamp(SkScalar value,