/third_party/skia/src/gpu/geometry/ |
D | GrQuadUtils.cpp | 50 *e1 = if_then_else(bad, -next_diag(*e1), *e1); in correct_bad_edges() 51 *e2 = if_then_else(bad, -next_diag(*e2), *e2); in correct_bad_edges() 53 *e3 = if_then_else(bad, -next_diag(*e3), *e3); in correct_bad_edges() 61 *c1 = if_then_else(bad, next_ccw(*c1), *c1); in correct_bad_coords() 62 *c2 = if_then_else(bad, next_ccw(*c2), *c2); in correct_bad_coords() 64 *c3 = if_then_else(bad, next_ccw(*c3), *c3); in correct_bad_coords() 328 min(if_then_else(clipW, V4f(SK_ScalarInfinity), x2d)), in projectedBounds() 329 min(if_then_else(clipW, V4f(SK_ScalarInfinity), y2d)), in projectedBounds() 330 max(if_then_else(clipW, V4f(SK_ScalarNegativeInfinity), x2d)), in projectedBounds() 331 max(if_then_else(clipW, V4f(SK_ScalarNegativeInfinity), y2d)) in projectedBounds() [all …]
|
D | GrPathUtils.cpp | 657 float2 tan0 = skvx::if_then_else(C != 0, C, p2 - p0); in findCubicConvex180Chops()
|
/third_party/flutter/skia/third_party/externals/libpng/intel/ |
D | filter_sse2_intrinsics.c | 221 static __m128i if_then_else(__m128i c, __m128i t, __m128i e) { in if_then_else() function 278 nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, in png_read_filter_row_paeth3_sse2() 279 if_then_else(_mm_cmpeq_epi16(smallest, pb), b, in png_read_filter_row_paeth3_sse2() 314 nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, in png_read_filter_row_paeth3_sse2() 315 if_then_else(_mm_cmpeq_epi16(smallest, pb), b, in png_read_filter_row_paeth3_sse2() 376 nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, in png_read_filter_row_paeth4_sse2() 377 if_then_else(_mm_cmpeq_epi16(smallest, pb), b, in png_read_filter_row_paeth4_sse2()
|
/third_party/libpng/intel/ |
D | filter_sse2_intrinsics.c | 221 static __m128i if_then_else(__m128i c, __m128i t, __m128i e) { in if_then_else() function 278 nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, in png_read_filter_row_paeth3_sse2() 279 if_then_else(_mm_cmpeq_epi16(smallest, pb), b, in png_read_filter_row_paeth3_sse2() 314 nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, in png_read_filter_row_paeth3_sse2() 315 if_then_else(_mm_cmpeq_epi16(smallest, pb), b, in png_read_filter_row_paeth3_sse2() 376 nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, in png_read_filter_row_paeth4_sse2() 377 if_then_else(_mm_cmpeq_epi16(smallest, pb), b, in png_read_filter_row_paeth4_sse2()
|
/third_party/skia/third_party/externals/libpng/intel/ |
D | filter_sse2_intrinsics.c | 221 static __m128i if_then_else(__m128i c, __m128i t, __m128i e) { in if_then_else() function 278 nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, in png_read_filter_row_paeth3_sse2() 279 if_then_else(_mm_cmpeq_epi16(smallest, pb), b, in png_read_filter_row_paeth3_sse2() 314 nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, in png_read_filter_row_paeth3_sse2() 315 if_then_else(_mm_cmpeq_epi16(smallest, pb), b, in png_read_filter_row_paeth3_sse2() 376 nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, in png_read_filter_row_paeth4_sse2() 377 if_then_else(_mm_cmpeq_epi16(smallest, pb), b, in png_read_filter_row_paeth4_sse2()
|
/third_party/skia/third_party/externals/libpng/powerpc/ |
D | filter_vsx_intrinsics.c | 483 #define if_then_else(c,t,e) vec_sel(e,t,c) macro 553 nearest_vec = if_then_else( in png_read_filter_row_paeth4_vsx() 556 if_then_else( in png_read_filter_row_paeth4_vsx() 574 nearest_vec = if_then_else( in png_read_filter_row_paeth4_vsx() 577 if_then_else( in png_read_filter_row_paeth4_vsx() 595 nearest_vec = if_then_else( in png_read_filter_row_paeth4_vsx() 598 if_then_else( in png_read_filter_row_paeth4_vsx() 673 nearest_vec = if_then_else( in png_read_filter_row_paeth3_vsx() 676 if_then_else( in png_read_filter_row_paeth3_vsx() 694 nearest_vec = if_then_else( in png_read_filter_row_paeth3_vsx() [all …]
|
/third_party/libpng/powerpc/ |
D | filter_vsx_intrinsics.c | 483 #define if_then_else(c,t,e) vec_sel(e,t,c) macro 553 nearest_vec = if_then_else( in png_read_filter_row_paeth4_vsx() 556 if_then_else( in png_read_filter_row_paeth4_vsx() 574 nearest_vec = if_then_else( in png_read_filter_row_paeth4_vsx() 577 if_then_else( in png_read_filter_row_paeth4_vsx() 595 nearest_vec = if_then_else( in png_read_filter_row_paeth4_vsx() 598 if_then_else( in png_read_filter_row_paeth4_vsx() 673 nearest_vec = if_then_else( in png_read_filter_row_paeth3_vsx() 676 if_then_else( in png_read_filter_row_paeth3_vsx() 694 nearest_vec = if_then_else( in png_read_filter_row_paeth3_vsx() [all …]
|
/third_party/flutter/skia/third_party/externals/libpng/powerpc/ |
D | filter_vsx_intrinsics.c | 483 #define if_then_else(c,t,e) vec_sel(e,t,c) macro 553 nearest_vec = if_then_else( in png_read_filter_row_paeth4_vsx() 556 if_then_else( in png_read_filter_row_paeth4_vsx() 574 nearest_vec = if_then_else( in png_read_filter_row_paeth4_vsx() 577 if_then_else( in png_read_filter_row_paeth4_vsx() 595 nearest_vec = if_then_else( in png_read_filter_row_paeth4_vsx() 598 if_then_else( in png_read_filter_row_paeth4_vsx() 673 nearest_vec = if_then_else( in png_read_filter_row_paeth3_vsx() 676 if_then_else( in png_read_filter_row_paeth3_vsx() 694 nearest_vec = if_then_else( in png_read_filter_row_paeth3_vsx() [all …]
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrQuadPerEdgeAA.cpp | 78 *e1 = if_then_else(bad, -skvx::shuffle<3, 2, 1, 0>(*e1), *e1); in correct_bad_edges() 79 *e2 = if_then_else(bad, -skvx::shuffle<3, 2, 1, 0>(*e2), *e2); in correct_bad_edges() 81 *e3 = if_then_else(bad, -skvx::shuffle<3, 2, 1, 0>(*e3), *e3); in correct_bad_edges() 89 *c1 = if_then_else(bad, nextCCW(*c1), *c1); in correct_bad_coords() 90 *c2 = if_then_else(bad, nextCCW(*c2), *c2); in correct_bad_coords() 92 *c3 = if_then_else(bad, nextCCW(*c3), *c3); in correct_bad_coords() 241 denom = if_then_else(aMask, in outset_projected_vertices() 242 if_then_else(bMask, in outset_projected_vertices() 244 if_then_else(useC1x, c1x, c1y)), /* A & !B */ in outset_projected_vertices() 245 if_then_else(bMask, in outset_projected_vertices() [all …]
|
/third_party/boost/libs/lambda/test/ |
D | control_structures.cpp | 35 using boost::lambda::if_then_else; 103 if_then_else(_1 < _2, boost::lambda::var(min) = _1, boost::lambda::var(min) = _2) in simple_ifs() 107 if_then_else(_1 < _2, boost::lambda::var(min) = _1, boost::lambda::var(min) = _2) in simple_ifs()
|
/third_party/boost/libs/phoenix/test/bll_compatibility/ |
D | control_structures.cpp | 35 using boost::lambda::if_then_else; 103 if_then_else(_1 < _2, boost::lambda::var(min) = _1, boost::lambda::var(min) = _2) in simple_ifs() 107 if_then_else(_1 < _2, boost::lambda::var(min) = _1, boost::lambda::var(min) = _2) in simple_ifs()
|
/third_party/flutter/skia/src/opts/ |
D | SkRasterPipeline_opts.h | 134 SI F if_then_else(I32 c, F t, F e) { return c ? t : e; } in if_then_else() function 205 SI F if_then_else(I32 c, F t, F e) { return vbslq_f32((U32)c,t,e); } 216 return roundtrip - if_then_else(roundtrip > v, 1, 0); 375 SI F if_then_else(I32 c, F t, F e) { return _mm256_blendv_ps(e,t,c); } 712 SI F if_then_else(I32 c, F t, F e) { 721 return roundtrip - if_then_else(roundtrip > v, 1, 0); 927 SI V if_then_else(I32 c, V t, V e) { in if_then_else() function 928 return bit_cast<V>(if_then_else(c, bit_cast<F>(t), bit_cast<F>(e))); in if_then_else() 967 return if_then_else((x == 0) , 0 in approx_powf() 969 return if_then_else((x == 0)|(x == 1), x in approx_powf() [all …]
|
/third_party/skia/src/opts/ |
D | SkRasterPipeline_opts.h | 138 SI F if_then_else(I32 c, F t, F e) { return c ? t : e; } in if_then_else() function 211 SI F if_then_else(I32 c, F t, F e) { return vbslq_f32((U32)c,t,e); } 222 return roundtrip - if_then_else(roundtrip > v, 1, 0); 390 SI F if_then_else(I32 c, F t, F e) { return _mm256_blendv_ps(e,t,c); } 729 SI F if_then_else(I32 c, F t, F e) { 738 return roundtrip - if_then_else(roundtrip > v, 1, 0); 945 SI V if_then_else(I32 c, V t, V e) { in if_then_else() function 946 return sk_bit_cast<V>(if_then_else(c, sk_bit_cast<F>(t), sk_bit_cast<F>(e))); in if_then_else() 995 return if_then_else((x == 0)|(x == 1), x in approx_powf() 1015 return if_then_else(denorm, F(0) in from_half() [all …]
|
D | SkVM_opts.h | 297 CASE(Op::select): r[d].i32 = skvx::if_then_else(r[x].i32, r[y].i32, r[z].i32); in interpret_skvm()
|
/third_party/skia/third_party/skcms/src/ |
D | Transform_inl.h | 148 #define if_then_else(cond, t, e) ((cond) ? (t) : (e)) macro 151 SI T if_then_else(C cond, T t, T e) { in if_then_else() function 178 return if_then_else(em < 0x0400, F0, norm); in F_from_Half() 203 return cast<U16>(if_then_else(em < 0x38800000, (U32)F0 in Half_from_F() 231 SI F min_(F x, F y) { return if_then_else(x > y, y, x); } in min_() 232 SI F max_(F x, F y) { return if_then_else(x < y, y, x); } in max_() 256 return roundtrip - if_then_else(roundtrip > x, F1, F0); in floor_() 304 return if_then_else((x == F0) | (x == F1), x in approx_pow() 326 F v = if_then_else(x < tf->d, tf->c*x + tf->f in apply_tf() 365 F v = if_then_else(x*R <= 1, approx_pow(x*R, G) in apply_hlg() [all …]
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLByteCode.cpp | 846 stack[*ip+3] = skvx::if_then_else(mask(), POP().fFloat, stack[*ip+3].fFloat); in innerRun() 848 stack[*ip+2] = skvx::if_then_else(mask(), POP().fFloat, stack[*ip+2].fFloat); in innerRun() 850 stack[*ip+1] = skvx::if_then_else(mask(), POP().fFloat, stack[*ip+1].fFloat); in innerRun() 852 stack[*ip+0] = skvx::if_then_else(mask(), POP().fFloat, stack[*ip+0].fFloat); in innerRun() 857 globals[*ip+3] = skvx::if_then_else(mask(), POP().fFloat, globals[*ip+3].fFloat); in innerRun() 859 globals[*ip+2] = skvx::if_then_else(mask(), POP().fFloat, globals[*ip+2].fFloat); in innerRun() 861 globals[*ip+1] = skvx::if_then_else(mask(), POP().fFloat, globals[*ip+1].fFloat); in innerRun() 863 globals[*ip+0] = skvx::if_then_else(mask(), POP().fFloat, globals[*ip+0].fFloat); in innerRun() 902 stack[target + *(ip + i)] = skvx::if_then_else( in innerRun() 913 globals[target + *(ip + i)] = skvx::if_then_else( in innerRun() [all …]
|
/third_party/flutter/skia/third_party/skcms/src/ |
D | Transform_inl.h | 137 SI T if_then_else(C cond, T t, T e) { in if_then_else() function 166 return if_then_else(em < 0x0400, F0, norm); in F_from_Half() 191 return cast<U16>(if_then_else(em < 0x38800000, (U32)F0 in Half_from_F() 219 SI F min_(F x, F y) { return if_then_else(x > y, y, x); } in min_() 220 SI F max_(F x, F y) { return if_then_else(x < y, y, x); } in max_() 244 return roundtrip - if_then_else(roundtrip > x, F1, F0); in floor_() 285 return if_then_else((x == F0) | (x == F1), x in approx_pow() 302 F v = if_then_else(x < tf->d, tf->c*x + tf->f in apply_tf() 1021 F scale = if_then_else(F1 / a < INFINITY_, F1 / a, F0); in exec_ops() 1064 X = if_then_else(X*X*X > 0.008856f, X*X*X, (X - (16/116.0f)) * (1/7.787f)); in exec_ops() [all …]
|
/third_party/flutter/skia/tests/ |
D | SkVxTest.cpp | 48 float4 IfThenElse(int4 c, float4 t, float4 e) { return if_then_else(c,t,e); } in IfThenElse() 96 REPORTER_ASSERT(r, all(if_then_else(float4{1,2,3,2} <= float4{2,2,2,2}, float4(42), float4(47)) in DEF_TEST()
|
/third_party/flutter/skia/include/private/ |
D | SkVx.h | 263 SIT Vec<1,T> if_then_else(const Vec<1,M<T>>& cond, const Vec<1,T>& t, const Vec<1,T>& e) { 292 SINT Vec<N,T> if_then_else(const Vec<N,M<T>>& cond, const Vec<N,T>& t, const Vec<N,T>& e) { 293 return join(if_then_else(cond.lo, t.lo, e.lo), 294 if_then_else(cond.hi, t.hi, e.hi)); 492 static inline Vec<4,float> if_then_else(const Vec<4,int >& c, 500 static inline Vec<4,float> if_then_else(const Vec<4,int >& c, 509 static inline Vec<4,float> if_then_else(const Vec<4,int >& c,
|
/third_party/skia/tests/ |
D | SkVxTest.cpp | 83 REPORTER_ASSERT(r, all(if_then_else(float4{1,2,3,2} <= float4{2,2,2,2}, float4(42), float4(47)) in DEF_TEST() 245 REPORTER_ASSERT(r, all(skvx::if_then_else(int2(0,~0), in DEF_TEST() 251 REPORTER_ASSERT(r, all(skvx::if_then_else(int2(0,~0).xyxy(), in DEF_TEST()
|
/third_party/skia/include/private/ |
D | SkVx.h | 443 SIT Vec<1,T> if_then_else(const Vec<1,M<T>>& cond, const Vec<1,T>& t, const Vec<1,T>& e) { 448 SINT Vec<N,T> if_then_else(const Vec<N,M<T>>& cond, const Vec<N,T>& t, const Vec<N,T>& e) { 474 return join(if_then_else(cond.lo, t.lo, e.lo), 475 if_then_else(cond.hi, t.hi, e.hi)); 636 return cast<uint16_t>(if_then_else(is_denorm, Vec<N,uint32_t>(0) 644 return if_then_else(is_denorm, Vec<N,float>(0)
|
/third_party/boost/boost/lambda/ |
D | if.hpp | 100 if_then_else(const lambda_functor<Arg1>& a1, const lambda_functor<Arg2>& a2, in if_then_else() function
|
/third_party/boost/libs/proto/example/ |
D | lambda.hpp | 1073 if_then_else(Cond const &cond, Body1 const &body1, Body2 const &body2) in if_then_else() function
|
/third_party/flutter/skia/src/core/ |
D | SkVM.cpp | 1038 CASE(Op::select): r(d).i32 = skvx::if_then_else(r(x).i32, r(y).i32, r(z).i32); in eval()
|