Home
last modified time | relevance | path

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

/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/skqp/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/skia/samplecode/
DSampleChart.cpp32 int leftShift, in gen_paths() argument
43 leftShift %= topData.count(); in gen_paths()
47 int shiftToEndCount = topData.count() - leftShift; in gen_paths()
48 plot->moveTo(x, topData[leftShift]); in gen_paths()
49 fill->moveTo(x, topData[leftShift]); in gen_paths()
52 plot->lineTo(x, topData[i + leftShift]); in gen_paths()
53 fill->lineTo(x, topData[i + leftShift]); in gen_paths()
57 for (int i = 0; i < leftShift; ++i) { in gen_paths()
67 for (int i = 0; i < leftShift; ++i) { in gen_paths()
69 fill->lineTo(x, (*bottomData)[leftShift - 1 - i]); in gen_paths()
/external/skqp/samplecode/
DSampleChart.cpp32 int leftShift, in gen_paths() argument
43 leftShift %= topData.count(); in gen_paths()
47 int shiftToEndCount = topData.count() - leftShift; in gen_paths()
48 plot->moveTo(x, topData[leftShift]); in gen_paths()
49 fill->moveTo(x, topData[leftShift]); in gen_paths()
52 plot->lineTo(x, topData[i + leftShift]); in gen_paths()
53 fill->lineTo(x, topData[i + leftShift]); in gen_paths()
57 for (int i = 0; i < leftShift; ++i) { in gen_paths()
67 for (int i = 0; i < leftShift; ++i) { in gen_paths()
69 fill->lineTo(x, (*bottomData)[leftShift - 1 - i]); in gen_paths()
/external/protobuf/js/binary/
Darith_test.js86 a = a.leftShift();
91 a = a.leftShift();
95 a = a.leftShift();
99 a = a.leftShift();
102 a = a.leftShift();
Darith.js99 jspb.arith.UInt64.prototype.leftShift = function() { method in jspb.arith.UInt64
242 divisor = divisor.leftShift();
243 unit = unit.leftShift();
/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()
1029 void eval_leftShift_int (ShaderEvalContext& c) { c.color.x() = (float)leftShift((int)c.in[0].z(), … in DECLARE_UNARY_INT_GENTYPE_FUNCS()
1030 DECLARE_BINARY_INT_VEC_FUNCS(leftShift) in DECLARE_BINARY_INT_VEC_FUNCS() argument
1055 DECLARE_UINT_INT_GENTYPE_FUNCS(leftShift) in DECLARE_UNARY_UINT_GENTYPE_FUNCS()
1604 …), Value(gType, 0.0f, 4.0f), notUsed, 4e-3f, 0.5f, PRECMASK_MEDIUMP, INT_GENTYPE_FUNCS(leftShift)) in init()
1605 …, Value(gType, 0.0f, 27.0f), notUsed, 5e-10f, 0.5f, PRECMASK_HIGHP, INT_GENTYPE_FUNCS(leftShift)) in init()
1606 …, 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 …]