Home
last modified time | relevance | path

Searched defs:clamp (Results 1 – 25 of 108) sorted by relevance

12345

/third_party/node/test/parallel/
Dtest-internal-webidl-converttoint.js34 assert.strictEqual(convertToInt('x', NaN, 64, { clamp: true }), 0); property
35 assert.strictEqual(convertToInt('x', Infinity, 64, { clamp: true }), Number.MAX_SAFE_INTEGER); property
36 assert.strictEqual(convertToInt('x', -Infinity, 64, { clamp: true }), 0); property
37 assert.strictEqual(convertToInt('x', -Infinity, 64, { signed: true, clamp: true }), Number.MIN_SAFE… property
38 assert.strictEqual(convertToInt('x', 0x1_0000_0000, 32, { clamp: true }), 0xFFFF_FFFF); property
39 assert.strictEqual(convertToInt('x', 0xFFFF_FFFF, 32, { clamp: true }), 0xFFFF_FFFF); property
40 assert.strictEqual(convertToInt('x', 0x8000_0000, 32, { clamp: true, signed: true }), 0x7FFF_FFFF); property
41 assert.strictEqual(convertToInt('x', 0xFFFF_FFFF, 32, { clamp: true, signed: true }), 0x7FFF_FFFF); property
42 assert.strictEqual(convertToInt('x', 0.5, 64, { clamp: true }), 0); property
43 assert.strictEqual(convertToInt('x', 1.5, 64, { clamp: true }), 2); property
[all …]
/third_party/skia/src/gpu/effects/
DGrBicubicEffect.cpp120 auto clamp = kPremul_SkAlphaType == alphaType ? Clamp::kPremul : Clamp::kUnpremul; in Make() local
136 auto clamp = kPremul_SkAlphaType == alphaType ? Clamp::kPremul : Clamp::kUnpremul; in Make() local
155 auto clamp = kPremul_SkAlphaType == alphaType ? Clamp::kPremul : Clamp::kUnpremul; in MakeSubset() local
183 auto clamp = kPremul_SkAlphaType == alphaType ? Clamp::kPremul : Clamp::kUnpremul; in MakeSubset() local
193 auto clamp = kPremul_SkAlphaType == alphaType ? Clamp::kPremul : Clamp::kUnpremul; in Make() local
201 Clamp clamp) in GrBicubicEffect()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
Dwrap.inl7 GLM_FUNC_QUALIFIER vecType<T, P> clamp(vecType<T, P> const& Texcoord) function
13 GLM_FUNC_QUALIFIER genType clamp(genType const & Texcoord) function
Dsimd_vec4.inl420 GLM_FUNC_QUALIFIER detail::fvec4SIMD clamp function
430 GLM_FUNC_QUALIFIER detail::fvec4SIMD clamp function
/third_party/mesa3d/src/mesa/main/
Dpolygon.c309 GLfloat factor, GLfloat units, GLfloat clamp) in _mesa_polygon_offset_clamp()
336 _mesa_PolygonOffsetClampEXT( GLfloat factor, GLfloat units, GLfloat clamp ) in _mesa_PolygonOffsetClampEXT()
Dblend.c1042 _mesa_ClampColor(GLenum target, GLenum clamp) in _mesa_ClampColor()
1091 get_clamp_color(const struct gl_framebuffer *fb, GLenum clamp) in get_clamp_color()
1131 GLboolean clamp; in _mesa_update_clamp_fragment_color() local
/third_party/astc-encoder/Source/
Dastcenc_vecmathlib_common_4.h119 ASTCENC_SIMD_INLINE vint4 clamp(int minv, int maxv, vint4 a) in clamp() function
219 ASTCENC_SIMD_INLINE vfloat4 clamp(float minv, float maxv, vfloat4 a) in clamp() function
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcPolygonOffsetClampTests.hpp41 GLfloat clamp; member
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DQuadRasterizer.cpp319 …4 &x, Float4 &D, Float4 &rhw, Pointer<Byte> planeEquation, bool flat, bool perspective, bool clamp) in interpolate()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_state_inlines.h42 boolean clamp) in r300_translate_blend_function()
/third_party/node/deps/undici/src/types/
Dwebidl.d.ts13 clamp?: boolean property
/third_party/skia/modules/canvaskit/
Dcolor.js193 function clamp(c) { function
/third_party/node/deps/brotli/c/enc/
Dliteral_cost.c21 static size_t UTF8Position(size_t last, size_t c, size_t clamp) { in UTF8Position()
/third_party/skia/third_party/externals/brotli/c/enc/
Dliteral_cost.c21 static size_t UTF8Position(size_t last, size_t c, size_t clamp) { in UTF8Position()
/third_party/jerryscript/jerry-ext/include/jerryscript-ext/
Darg.impl.h60 uint8_t clamp; /**< clamping policy */ member
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_offset.c47 float clamp; member
/third_party/skia/src/core/
DSkVM.h784 F32 clamp(F32 x, F32 lo, F32 hi) { return max(lo, min(x, hi)); } in clamp() function
785 F32 clamp(F32 x, F32 lo, float hi) { return clamp( x , lo , splat(hi)); } in clamp() function
786 F32 clamp(F32 x, float lo, float hi) { return clamp( x , splat(lo), splat(hi)); } in clamp() function
787 F32 clamp(F32 x, float lo, F32 hi) { return clamp( x , splat(lo), hi ); } in clamp() function
788 F32 clamp(float x, F32 lo, F32 hi) { return clamp(splat(x), lo , hi ); } in clamp() function
789 F32 clamp(float x, F32 lo, float hi) { return clamp(splat(x), lo , splat(hi)); } in clamp() function
790 F32 clamp(float x, float lo, F32 hi) { return clamp(splat(x), splat(lo), hi ); } in clamp() function
1252 SI F32 clamp(F32 x, F32 lo, F32 hi) { return x->clamp(x,lo,hi); } in clamp() function
1253 SI F32 clamp(F32 x, F32 lo, float hi) { return x->clamp(x,lo,hi); } in clamp() function
1254 SI F32 clamp(F32 x, float lo, F32 hi) { return x->clamp(x,lo,hi); } in clamp() function
[all …]
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_limits.h46 } clamp; member
/third_party/mesa3d/src/panfrost/bifrost/valhall/
Dvalhall.h97 bool clamp : 1; member
/third_party/node/deps/undici/src/lib/websocket/
Dwebsocket.js154 code = webidl.converters['unsigned short'](code, { clamp: true }) property
/third_party/mesa3d/src/util/format/
Du_format_pack.py299 clamp=True, argument
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/
Dfunc_common.inl543 GLM_FUNC_QUALIFIER genType clamp(genType x, genType minVal, genType maxVal) function
550 GLM_FUNC_QUALIFIER vecType<T, P> clamp(vecType<T, P> const & x, T minVal, T maxVal) function
557 …GLM_FUNC_QUALIFIER vecType<T, P> clamp(vecType<T, P> const & x, vecType<T, P> const & minVal, vecT… function
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeDefs.hpp48 template<typename T> inline T clamp (T x, T a, T b) { DE_ASSERT(a <= b); return x < a ? a : (x > … in clamp() function
/third_party/mesa3d/src/compiler/nir/
Dnir_conversion_builder.h439 bool clamp) in nir_convert_with_rounding()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_blend.c59 boolean clamp[PIPE_MAX_COLOR_BUFS]; /**< clamp colors to [0,1]? */ member
940 const boolean clamp = bqs->clamp[cbuf]; in blend_fallback() local

12345