Home
last modified time | relevance | path

Searched refs:leftShift (Results 1 – 4 of 4) sorted by relevance

/external/skia/samplecode/
DSampleChart.cpp33 int leftShift, in gen_paths() argument
44 leftShift %= topData.count(); in gen_paths()
48 int shiftToEndCount = topData.count() - leftShift; in gen_paths()
49 plot->moveTo(x, topData[leftShift]); in gen_paths()
50 fill->moveTo(x, topData[leftShift]); in gen_paths()
53 plot->lineTo(x, topData[i + leftShift]); in gen_paths()
54 fill->lineTo(x, topData[i + leftShift]); in gen_paths()
58 for (int i = 0; i < leftShift; ++i) { in gen_paths()
68 for (int i = 0; i < leftShift; ++i) { in gen_paths()
70 fill->lineTo(x, (*bottomData)[leftShift - 1 - i]); in gen_paths()
/external/skia/bench/
DChartBench.cpp38 int leftShift, in gen_paths() argument
49 leftShift %= topData.count(); in gen_paths()
53 int shiftToEndCount = topData.count() - leftShift; in gen_paths()
54 plot->moveTo(x, topData[leftShift]); in gen_paths()
55 fill->moveTo(x, topData[leftShift]); in gen_paths()
58 plot->lineTo(x, topData[i + leftShift]); in gen_paths()
59 fill->lineTo(x, topData[i + leftShift]); in gen_paths()
63 for (int i = 0; i < leftShift; ++i) { in gen_paths()
73 for (int i = 0; i < leftShift; ++i) { in gen_paths()
75 fill->lineTo(x, (*bottomData)[leftShift - 1 - i]); in gen_paths()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderOperatorTests.cpp66 template<typename T> inline T leftShift (T value, int amount) { return value << amount; } in leftShift() function
71 template<typename T, int Size> Vector<T, Size> leftShift (const Vector<T, Size>& value, const Vecto… in leftShift() function
75 result[i] = leftShift(value[i], amount[i]); in leftShift()
87 … leftShiftVecScalar (const Vector<T, Size>& value, int amount) { return leftShift(value, Vector<in… in leftShiftVecScalar()
1028 void eval_leftShift_int (ShaderEvalContext& c) { c.color.x() = (float)leftShift((int)c.in[0].z(), … in DECLARE_UNARY_INT_GENTYPE_FUNCS()
1029 DECLARE_BINARY_INT_VEC_FUNCS(leftShift) in DECLARE_BINARY_INT_VEC_FUNCS() argument
1054 DECLARE_UINT_INT_GENTYPE_FUNCS(leftShift) in DECLARE_UNARY_UINT_GENTYPE_FUNCS()
1603 …), Value(gType, 0.0f, 4.0f), notUsed, 4e-3f, 0.5f, PRECMASK_MEDIUMP, INT_GENTYPE_FUNCS(leftShift)) in init()
1604 …, Value(gType, 0.0f, 27.0f), notUsed, 5e-10f, 0.5f, PRECMASK_HIGHP, INT_GENTYPE_FUNCS(leftShift)) in init()
1605 …, Value(gType, 0.0f, 5.0f), notUsed, 4e-3f, 0.0f, PRECMASK_MEDIUMP, UINT_GENTYPE_FUNCS(leftShift)) in init()
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderOperatorTests.cpp81 template<typename T> inline T leftShift (T value, int amount) { return value << amount; } in leftShift() function
86 template<typename T, int Size> Vector<T, Size> leftShift (const Vector<T, Size>& value, const Vecto… in leftShift() function
90 result[i] = leftShift(value[i], amount[i]); in leftShift()
102 … leftShiftVecScalar (const Vector<T, Size>& value, int amount) { return leftShift(value, Vector<in… in leftShiftVecScalar()
1088 void eval_leftShift_int (ShaderEvalContext& c) { c.color.x() = (float)leftShift((int)c.in[0].z(), … in DECLARE_UNARY_INT_GENTYPE_FUNCS()
1089 DECLARE_BINARY_INT_VEC_FUNCS(leftShift) in DECLARE_BINARY_INT_VEC_FUNCS() argument
1114 DECLARE_UINT_INT_GENTYPE_FUNCS(leftShift) in DECLARE_UNARY_UINT_GENTYPE_FUNCS()
1635 …lue(gType, 0.0f, 4.0f), notUsed, 4e-3f, 0.5f, PRECMASK_LOWP_MEDIUMP, INT_GENTYPE_FUNCS(leftShift)) in init()
1636 …, Value(gType, 0.0f, 27.0f), notUsed, 5e-10f, 0.5f, PRECMASK_HIGHP, INT_GENTYPE_FUNCS(leftShift)) in init()
1637 …ue(gType, 0.0f, 5.0f), notUsed, 4e-3f, 0.0f, PRECMASK_LOWP_MEDIUMP, UINT_GENTYPE_FUNCS(leftShift)) in init()
[all …]