Home
last modified time | relevance | path

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

123456

/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/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/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/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/v8/src/
Dbignum.cc50 Clamp(); in AssignUInt64()
99 Clamp(); in AssignDecimalString()
137 Clamp(); in AssignHexString()
214 Clamp(); in SubtractBignum()
388 Clamp(); in Square()
507 Clamp(); in DivideModuloIntBignum()
643 void Bignum::Clamp() { in Clamp() function in v8::internal::Bignum
740 Clamp(); in SubtractTimes()
/external/icu/icu4c/source/i18n/
Ddouble-conversion-bignum.cpp86 Clamp(); in AssignUInt64()
133 Clamp(); in AssignDecimalString()
171 Clamp(); in AssignHexString()
248 Clamp(); in SubtractBignum()
422 Clamp(); in Square()
543 Clamp(); in DivideModuloIntBignum()
687 void Bignum::Clamp() { in Clamp() function in double_conversion::Bignum
776 Clamp(); in SubtractTimes()
/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()
316 Clamp(zero, x, one); in XLA_TEST_F()
343 Clamp(zero, y_value, ConstantR0<float>(&builder, 5)); in XLA_TEST_F()
Dscalar_computations_test.cc737 Clamp(ConstantR0<int32>(&builder, -1), // The lower bound. in XLA_TEST_F()
746 Clamp(ConstantR0<int32>(&builder, -1), // The lower bound. in XLA_TEST_F()
755 Clamp(ConstantR0<int32>(&builder, -1), // The lower bound. in XLA_TEST_F()
764 Clamp(ConstantR0<uint32>(&builder, 1), // The lower bound. in XLA_TEST_F()
773 Clamp(ConstantR0<uint32>(&builder, 1), // The lower bound. in XLA_TEST_F()
782 Clamp(ConstantR0<uint32>(&builder, 1), // The lower bound. in XLA_TEST_F()
791 Clamp(ConstantR0<float>(&builder, 2.0f), // The lower bound. in XLA_TEST_F()
800 Clamp(ConstantR0<float>(&builder, 2.0f), // The lower bound. in XLA_TEST_F()
809 Clamp(ConstantR0<float>(&builder, 2.0f), // The lower bound. in XLA_TEST_F()
Darray_elementwise_ops_test.cc2062 Clamp(minimum, argument, maximum); in XLA_TEST_F()
2075 Clamp(minimum, argument, maximum); in XLA_TEST_F()
2086 Clamp(minimum, argument, maximum); in XLA_TEST_F()
2103 Add(Add(Clamp(min_vector, arg_vector, max_scalar), in XLA_TEST_F()
2104 Clamp(min_scalar, arg_vector, max_vector)), in XLA_TEST_F()
2105 Add(Clamp(min_vector, arg_vector, max_vector), in XLA_TEST_F()
2106 Clamp(min_scalar, arg_vector, max_scalar))); in XLA_TEST_F()
2117 Clamp(min_vector, arg_vector, max_vector); in XLA_TEST_F()
2130 Add(Add(Clamp(min_vector, arg_vector, max_scalar), in XLA_TEST_F()
2131 Clamp(min_scalar, arg_vector, max_vector)), in XLA_TEST_F()
[all …]
/external/ImageMagick/PerlMagick/demo/
Ddemo.pl128 $example->Clamp();
179 $example->Clamp();
271 $example->Clamp();
425 $example->Clamp();
481 $example->Clamp();
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dformat_conversion.h82 INLINE simdscalar Clamp(simdscalar const &vC, uint32_t Component) in Clamp() function
183 vComp = Clamp<DstFormat>(vComp, comp); in StoreSOA()
252 INLINE simd16scalar SIMDCALL Clamp(simd16scalar const &v, uint32_t Component) in Clamp() function
353 vComp = Clamp<DstFormat>(vComp, comp); in StoreSOA()
Dblend.h239 INLINE void Clamp(simdvector &src) in Clamp() function
294 Clamp<type>(src); in Blend()
295 Clamp<type>(src1); in Blend()
296 Clamp<type>(dst); in Blend()
297 Clamp<type>(constColor); in Blend()
/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/
Dscale_and_translate_op_test.cc87 inline const T& Clamp(const T& low, const T& high, const T& value) { in Clamp() function
102 const int64 y_span_start = Clamp( in Sample()
107 Clamp(static_cast<int64>(0), in_height - 1, in Sample()
111 const int64 x_span_start = Clamp( in Sample()
117 Clamp(static_cast<int64>(0), in_width - 1, in Sample()
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()
Dmeta_support.h106 void Clamp(OpKernelContext* context, const quint8* input, int input_count,
/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/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/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dblend_jit.cpp157 void Clamp(SWR_FORMAT format, Value* src[4]) in Clamp() function
602 Clamp(state.format, src); in Create()
603 Clamp(state.format, src1); in Create()
604 Clamp(state.format, dst); in Create()
605 Clamp(state.format, constantColor); in Create()
661 Clamp(state.format, src); in Create()
662 Clamp(state.format, dst); in Create()
/external/libaom/libaom/third_party/libyuv/source/
Drow_common.cc34 static __inline uint32 Clamp(int32 val) { in Clamp() function
52 static __inline uint32 Clamp(int32 val) {
750 dst_argb[0] = Clamp(sb); in ARGBColorMatrixRow_C()
751 dst_argb[1] = Clamp(sg); in ARGBColorMatrixRow_C()
752 dst_argb[2] = Clamp(sr); in ARGBColorMatrixRow_C()
753 dst_argb[3] = Clamp(sa); in ARGBColorMatrixRow_C()
1022 *b = Clamp((int32)(-(u * UB) + y1 + BB) >> 6); in YuvPixel()
1023 *g = Clamp((int32)(-(v * VG + u * UG) + y1 + BG) >> 6); in YuvPixel()
1024 *r = Clamp((int32)(-(v * VR)+ y1 + BR) >> 6); in YuvPixel()
1030 *b = Clamp((int32)(y1 + YGB) >> 6); in YPixel()
[all …]
/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
/external/ImageMagick/PerlMagick/t/
Dsubroutines.pl99 $background->Clamp();
334 $srcimage->Clamp();
644 $image->Clamp();
1193 $srcimage->Clamp();
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dclip_by_value_op.cc54 ctx->SetOutput(0, xla::Clamp(min, input, max)); in Compile()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp136 SDValue &Clamp, SDValue &Omod) const;
138 SDValue &Clamp, SDValue &Omod) const;
143 SDValue &Clamp,
1457 SDValue &SrcMods, SDValue &Clamp, in SelectVOP3Mods0() argument
1461 Clamp = CurDAG->getTargetConstant(0, DL, MVT::i32); in SelectVOP3Mods0()
1468 SDValue &SrcMods, SDValue &Clamp, in SelectVOP3NoMods0() argument
1470 bool Res = SelectVOP3Mods0(In, Src, SrcMods, Clamp, Omod); in SelectVOP3NoMods0()
1473 cast<ConstantSDNode>(Clamp)->isNullValue() && in SelectVOP3NoMods0()
1488 SDValue &Clamp, in SelectVOP3Mods0Clamp0OMod() argument
1490 Clamp = Omod = CurDAG->getTargetConstant(0, SDLoc(In), MVT::i32); in SelectVOP3Mods0Clamp0OMod()
/external/skqp/experimental/canvaskit/htmlcanvas/
Dlineargradient.js63 this._colors, this._pos, CanvasKit.TileMode.Clamp);

123456