Home
last modified time | relevance | path

Searched refs:Clamp (Results 1 – 25 of 249) sorted by relevance

12345678910

/external/libchrome/base/numerics/
Dclamped_math.h224 BASE_NUMERIC_ARITHMETIC_OPERATORS(Clamped, Clamp, Add, +, +=)
225 BASE_NUMERIC_ARITHMETIC_OPERATORS(Clamped, Clamp, Sub, -, -=)
226 BASE_NUMERIC_ARITHMETIC_OPERATORS(Clamped, Clamp, Mul, *, *=)
227 BASE_NUMERIC_ARITHMETIC_OPERATORS(Clamped, Clamp, Div, /, /=)
228 BASE_NUMERIC_ARITHMETIC_OPERATORS(Clamped, Clamp, Mod, %, %=)
229 BASE_NUMERIC_ARITHMETIC_OPERATORS(Clamped, Clamp, Lsh, <<, <<=)
230 BASE_NUMERIC_ARITHMETIC_OPERATORS(Clamped, Clamp, Rsh, >>, >>=)
231 BASE_NUMERIC_ARITHMETIC_OPERATORS(Clamped, Clamp, And, &, &=)
232 BASE_NUMERIC_ARITHMETIC_OPERATORS(Clamped, Clamp, Or, |, |=)
233 BASE_NUMERIC_ARITHMETIC_OPERATORS(Clamped, Clamp, Xor, ^, ^=)
[all …]
/external/skia/src/gpu/effects/
DGrBicubicEffect.cpp110 case Clamp::kUnpremul: in emitCode()
113 case Clamp::kPremul: in emitCode()
154 auto clamp = kPremul_SkAlphaType == alphaType ? Clamp::kPremul : Clamp::kUnpremul; in Make()
169 auto clamp = kPremul_SkAlphaType == alphaType ? Clamp::kPremul : Clamp::kUnpremul; in Make()
186 auto clamp = kPremul_SkAlphaType == alphaType ? Clamp::kPremul : Clamp::kUnpremul; in MakeSubset()
193 Clamp clamp) in GrBicubicEffect()
DGrBicubicEffect.h82 enum class Clamp { enum
87 GrBicubicEffect(std::unique_ptr<GrFragmentProcessor> fp, Direction direction, Clamp clamp);
98 Clamp fClamp;
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dformat_conversion.h100 INLINE Float<SIMD_T> SIMDCALL Clamp(Float<SIMD_T> const& v, uint32_t Component) in Clamp() function
148 INLINE simdscalar SIMDCALL Clamp(simdscalar const& v, uint32_t Component) in Clamp() function
150 return Clamp<SIMD256, Format>(v, Component); in Clamp()
154 INLINE simd16scalar SIMDCALL Clamp(simd16scalar const& v, uint32_t Component) in Clamp() function
156 return Clamp<SIMD512, Format>(v, Component); in Clamp()
231 vComp = Clamp<SIMD_T, DstFormat>(vComp, comp); in StoreSOA()
Dblend.h251 INLINE void Clamp(simdvector& src) in Clamp() function
311 Clamp<type>(src); in Blend()
312 Clamp<type>(src1); in Blend()
313 Clamp<type>(dst); in Blend()
314 Clamp<type>(constColor); in Blend()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dstrided_slice_logic.h28 inline int Clamp(const int v, const int lo, const int hi) { in Clamp() function
102 start = Clamp(start, 0, axis_size - 1); in StartForAxis()
155 stop = Clamp(stop, 0, axis_size); in StopForAxis()
158 stop = Clamp(stop, -1, axis_size - 1); in StopForAxis()
/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dparse_number.h80 static bool Clamp(T*) { return false; } in Clamp() function
88 static bool Clamp(T* value_pointer) { in Clamp() function
192 ok = !ClampToZeroIfUnsignedType<T>::Clamp(value_pointer); in ParseNumber()
/external/angle/third_party/spirv-tools/src/source/util/
Dparse_number.h80 static bool Clamp(T*) { return false; } in Clamp() function
88 static bool Clamp(T* value_pointer) { in Clamp() function
192 ok = !ClampToZeroIfUnsignedType<T>::Clamp(value_pointer); in ParseNumber()
/external/deqp-deps/SPIRV-Tools/source/util/
Dparse_number.h80 static bool Clamp(T*) { return false; } in Clamp() function
88 static bool Clamp(T* value_pointer) { in Clamp() function
192 ok = !ClampToZeroIfUnsignedType<T>::Clamp(value_pointer); in ParseNumber()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dvector_ops_simple_test.cc280 Clamp(zero, x, one); in XLA_TEST_F()
292 Clamp(zero, x, one); in XLA_TEST_F()
304 Clamp(one, x, two); in XLA_TEST_F()
318 Clamp(low, x, high); in XLA_TEST_F()
329 Clamp(zero, x, one); in XLA_TEST_F()
356 Clamp(zero, y_value, ConstantR0<float>(&builder, 5)); in XLA_TEST_F()
Dscalar_computations_test.cc747 Clamp(ConstantR0<int32>(&builder, -1), // The lower bound. in XLA_TEST_F()
756 Clamp(ConstantR0<int32>(&builder, -1), // The lower bound. in XLA_TEST_F()
765 Clamp(ConstantR0<int32>(&builder, -1), // The lower bound. in XLA_TEST_F()
774 Clamp(ConstantR0<uint32>(&builder, 1), // The lower bound. in XLA_TEST_F()
783 Clamp(ConstantR0<uint32>(&builder, 1), // The lower bound. in XLA_TEST_F()
792 Clamp(ConstantR0<uint32>(&builder, 1), // The lower bound. in XLA_TEST_F()
801 Clamp(ConstantR0<float>(&builder, 2.0f), // The lower bound. in XLA_TEST_F()
810 Clamp(ConstantR0<float>(&builder, 2.0f), // The lower bound. in XLA_TEST_F()
819 Clamp(ConstantR0<float>(&builder, 2.0f), // The lower bound. in XLA_TEST_F()
/external/v8/src/numbers/
Dbignum.cc47 Clamp(); in AssignUInt64()
92 Clamp(); in AssignDecimalString()
128 Clamp(); in AssignHexString()
202 Clamp(); in SubtractBignum()
371 Clamp(); in Square()
488 Clamp(); in DivideModuloIntBignum()
618 void Bignum::Clamp() { in Clamp() function in v8::internal::Bignum
710 Clamp(); in SubtractTimes()
/external/tensorflow/tensorflow/compiler/tf2xla/lib/
Drandom.cc74 v = xla::Clamp(-one + epsilon, v, one - epsilon); in ParameterizedTruncatedNormal()
79 x = xla::Clamp(a, x, b); in ParameterizedTruncatedNormal()
/external/icu/icu4c/source/i18n/
Ddouble-conversion-bignum.cpp128 Clamp(); in AssignDecimalString()
165 Clamp(); in AssignHexString()
248 Clamp(); in SubtractBignum()
436 Clamp(); in Square()
558 Clamp(); in DivideModuloIntBignum()
728 void Bignum::Clamp() { in Clamp() function in double_conversion::Bignum
806 Clamp(); in SubtractTimes()
/external/ImageMagick/PerlMagick/demo/
Ddemo.pl128 $example->Clamp();
179 $example->Clamp();
271 $example->Clamp();
425 $example->Clamp();
481 $example->Clamp();
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp177 SDValue &Clamp, SDValue &Omod) const;
179 SDValue &Clamp, SDValue &Omod) const;
182 SDValue &Clamp,
186 SDValue &Clamp, SDValue &Omod) const;
190 SDValue &Clamp) const;
194 SDValue &Clamp) const;
198 SDValue &Clamp) const;
817 SDValue Clamp = CurDAG->getTargetConstant(0, SL, MVT::i1); in SelectMAD_64_32() local
819 Clamp }; in SelectMAD_64_32()
1876 SDValue &SrcMods, SDValue &Clamp, in SelectVOP3Mods0() argument
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dquantized_activation_ops.cc44 meta::Clamp(context, input_ui8_array.data(), input_ui8_array.size(), in Compute()
78 meta::Clamp(context, input_ui8_array.data(), input_ui8_array.size(), in Compute()
Dscale_and_translate_op_test.cc86 inline const T& Clamp(const T& low, const T& high, const T& value) { in Clamp() function
101 const int64 y_span_start = Clamp( in Sample()
106 Clamp(static_cast<int64>(0), in_height - 1, in Sample()
110 const int64 x_span_start = Clamp( in Sample()
116 Clamp(static_cast<int64>(0), in_width - 1, in Sample()
/external/swiftshader/third_party/SPIRV-Tools/source/
Dtext_handler.h102 static bool Clamp(T*) { return false; } in Clamp() function
111 static bool Clamp(T* value_pointer) { in Clamp() function
/external/deqp-deps/SPIRV-Tools/source/
Dtext_handler.h102 static bool Clamp(T*) { return false; } in Clamp() function
111 static bool Clamp(T* value_pointer) { in Clamp() function
/external/angle/third_party/spirv-tools/src/source/
Dtext_handler.h102 static bool Clamp(T*) { return false; } in Clamp() function
111 static bool Clamp(T* value_pointer) { in Clamp() function
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dblend_jit.cpp163 void Clamp(SWR_FORMAT format, Value* src[4]) in Clamp() function
660 Clamp(state.format, src); in Create()
661 Clamp(state.format, src1); in Create()
662 Clamp(state.format, dst); in Create()
663 Clamp(state.format, constantColor); in Create()
741 Clamp(state.format, src); in Create()
742 Clamp(state.format, dst); in Create()
/external/tensorflow/tensorflow/lite/kernels/
Dcpu_backend_gemm_test.cc123 void Clamp(const std::vector<Scalar>& src, Scalar clamp_min, Scalar clamp_max, in Clamp() function
133 void Clamp(const GemmParams<AccumScalar, DstScalar, quantization_flavor>& src, in Clamp() function
266 Clamp(expected, clamp_min, clamp_max, &expected_with_clamp); in PerformGemmThenCompareResultsThenAgainWithClamping()
267 Clamp(params, clamp_min, clamp_max, &params_with_clamp); in PerformGemmThenCompareResultsThenAgainWithClamping()
275 Clamp(expected, clamp_min, clamp_max, &expected_with_clamp); in PerformGemmThenCompareResultsThenAgainWithClamping()
276 Clamp(params, clamp_min, clamp_max, &params_with_clamp); in PerformGemmThenCompareResultsThenAgainWithClamping()
/external/pdfium/third_party/lcms/
D0033-opt-integer-overflow.patch9 +// Clamp a fixed point integer to signed 28 bits to avoid overflow in
10 +// calculations. Clamp is intended for use with colorants, requiring one bit
/external/deqp/external/openglcts/docs/specs/
DCTS_ARB_sparse_texture_clamp.txt48 Sparse Texture Clamp Lookup Residency Tests
75 Sparse and Non-sparse Texture Clamp Lookup Color Tests

12345678910