HomeSort by relevance Sort by last modified time
    Searched refs:Clamp (Results 1 - 25 of 87) sorted by null

1 2 3 4

  /external/libchrome/base/numerics/
clamped_math.h 224 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/deqp-deps/SPIRV-Tools/source/util/
parse_number.h 73 // A templated class with a static member function Clamp, where Clamp sets a
79 // The default specialization does not clamp the value.
80 static bool Clamp(T*) { return false; }
88 static bool Clamp(T* value_pointer) {
192 ok = !ClampToZeroIfUnsignedType<T>::Clamp(value_pointer);
  /external/swiftshader/third_party/SPIRV-Tools/source/util/
parse_number.h 73 // A templated class with a static member function Clamp, where Clamp sets a
79 // The default specialization does not clamp the value.
80 static bool Clamp(T*) { return false; }
88 static bool Clamp(T* value_pointer) {
192 ok = !ClampToZeroIfUnsignedType<T>::Clamp(value_pointer);
  /external/tensorflow/tensorflow/lite/kernels/internal/
strided_slice_logic.h 27 // Use until std::clamp() is available from C++17.
28 inline int Clamp(const int v, const int lo, const int hi) {
102 start = Clamp(start, 0, axis_size - 1);
155 stop = Clamp(stop, 0, axis_size);
158 stop = Clamp(stop, -1, axis_size - 1);
  /external/tensorflow/tensorflow/compiler/tf2xla/kernels/
clip_by_value_op.cc 54 ctx->SetOutput(0, xla::Clamp(min, input, max));
quantize_and_dequantize_op.cc 128 // The semantics of the op does not guarantee to clamp to the specified
131 // No need to clamp to min_range and max_range if range_given_ == false as
133 input = Clamp(min_range, input, max_range);
relu_op.cc 43 // Clamp the scalar input between 0 and 6.
48 ctx->SetOutput(0, xla::Clamp(zero, ctx->Input(0), six));
  /external/tensorflow/tensorflow/core/kernels/
meta_support.h 104 // Take an array of uint8 values and clamp them to the range [clamp_min,
106 void Clamp(OpKernelContext* context, const quint8* input, int input_count,
quantized_activation_ops.cc 44 meta::Clamp(context, input_ui8_array.data(), input_ui8_array.size(),
78 meta::Clamp(context, input_ui8_array.data(), input_ui8_array.size(),
scale_and_translate_op_test.cc 87 inline const T& Clamp(const T& low, const T& high, const T& value) {
102 const int64 y_span_start = Clamp(
107 Clamp(static_cast<int64>(0), in_height - 1,
111 const int64 x_span_start = Clamp(
117 Clamp(static_cast<int64>(0), in_width - 1,
  /external/deqp-deps/SPIRV-Tools/source/
text_handler.h 94 // A templated class with a static member function Clamp, where Clamp
101 // The default specialization does not clamp the value.
102 static bool Clamp(T*) { return false; }
111 static bool Clamp(T* value_pointer) {
  /external/icu/icu4c/source/i18n/
double-conversion-bignum.cpp 86 Clamp();
133 Clamp();
171 Clamp();
248 Clamp();
422 Clamp();
543 Clamp();
687 void Bignum::Clamp() {
776 Clamp();
double-conversion-bignum.h 133 void Clamp();
  /external/swiftshader/third_party/SPIRV-Tools/source/
text_handler.h 94 // A templated class with a static member function Clamp, where Clamp
101 // The default specialization does not clamp the value.
102 static bool Clamp(T*) { return false; }
111 static bool Clamp(T* value_pointer) {
  /external/v8/src/
bignum.cc 50 Clamp();
99 Clamp();
137 Clamp();
214 Clamp();
388 Clamp();
507 Clamp();
643 void Bignum::Clamp() {
740 Clamp();
bignum.h 95 void Clamp();
  /external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
format_conversion.h 82 INLINE simdscalar Clamp(simdscalar const &vC, uint32_t Component)
182 // clamp
183 vComp = Clamp<DstFormat>(vComp, comp);
252 INLINE simd16scalar SIMDCALL Clamp(simd16scalar const &v, uint32_t Component)
352 // clamp
353 vComp = Clamp<DstFormat>(vComp, comp);
blend.h 239 INLINE void Clamp(simdvector &src)
275 SWR_INVALID("Unimplemented clamp: %d", type);
293 // clamp src/dst/constant
294 Clamp<type>(src);
295 Clamp<type>(src1);
296 Clamp<type>(dst);
297 Clamp<type>(constColor);
  /external/tensorflow/tensorflow/compiler/xla/tests/
vector_ops_simple_test.cc 280 Clamp(zero, x, one);
292 Clamp(zero, x, one);
304 Clamp(one, x, two);
316 Clamp(zero, x, one);
336 XlaComputation clamp; local
338 // clamp(y) = clamp<0,5>(y)
339 XlaBuilder builder("clamp");
343 Clamp(zero, y_value, ConstantR0<float>(&builder, 5));
346 clamp = computation_status.ConsumeValueOrDie()
    [all...]
scalar_computations_test.cc 737 Clamp(ConstantR0<int32>(&builder, -1), // The lower bound.
746 Clamp(ConstantR0<int32>(&builder, -1), // The lower bound.
755 Clamp(ConstantR0<int32>(&builder, -1), // The lower bound.
764 Clamp(ConstantR0<uint32>(&builder, 1), // The lower bound.
773 Clamp(ConstantR0<uint32>(&builder, 1), // The lower bound.
782 Clamp(ConstantR0<uint32>(&builder, 1), // The lower bound.
791 Clamp(ConstantR0<float>(&builder, 2.0f), // The lower bound.
800 Clamp(ConstantR0<float>(&builder, 2.0f), // The lower bound.
809 Clamp(ConstantR0<float>(&builder, 2.0f), // The lower bound.
  /external/ImageMagick/PerlMagick/demo/
demo.pl 128 $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/
AMDGPUISelDAGToDAG.cpp 177 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;
770 // src0_modifiers, src0, src1_modifiers, src1, src2_modifiers, src2, clamp, omod
784 // src0_modifiers, src0, src1_modifiers, src1, clamp, omod
817 SDValue Clamp = CurDAG->getTargetConstant(0, SL, MVT::i1)
    [all...]
  /external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
blend_jit.cpp 157 void Clamp(SWR_FORMAT format, Value* src[4])
601 // clamp sources
602 Clamp(state.format, src);
603 Clamp(state.format, src1);
604 Clamp(state.format, dst);
605 Clamp(state.format, constantColor);
661 Clamp(state.format, src);
662 Clamp(state.format, dst);
  /external/skia/modules/canvaskit/htmlcanvas/
lineargradient.js 63 this._colors, this._pos, CanvasKit.TileMode.Clamp);
radialgradient.js 74 CanvasKit.TileMode.Clamp);

Completed in 595 milliseconds

1 2 3 4