Home
last modified time | relevance | path

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

/third_party/skia/samplecode/
DSampleChart.cpp32 int leftShift, in gen_paths() argument
41 leftShift %= topData.count(); in gen_paths()
45 int shiftToEndCount = topData.count() - leftShift; in gen_paths()
46 plot->moveTo(x, topData[leftShift]); in gen_paths()
47 fill->moveTo(x, topData[leftShift]); in gen_paths()
50 plot->lineTo(x, topData[i + leftShift]); in gen_paths()
51 fill->lineTo(x, topData[i + leftShift]); in gen_paths()
55 for (int i = 0; i < leftShift; ++i) { in gen_paths()
65 for (int i = 0; i < leftShift; ++i) { in gen_paths()
67 fill->lineTo(x, (*bottomData)[leftShift - 1 - i]); in gen_paths()
/third_party/flutter/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()
/third_party/flutter/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()
/third_party/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()
/third_party/protobuf/js/compatibility_tests/v3.0.0/binary/
Darith_test.js86 a = a.leftShift();
91 a = a.leftShift();
95 a = a.leftShift();
99 a = a.leftShift();
102 a = a.leftShift();
/third_party/protobuf/js/compatibility_tests/v3.1.0/binary/
Darith_test.js86 a = a.leftShift();
91 a = a.leftShift();
95 a = a.leftShift();
99 a = a.leftShift();
102 a = a.leftShift();
/third_party/protobuf/js/binary/
Darith_test.js85 a = a.leftShift();
90 a = a.leftShift();
94 a = a.leftShift();
98 a = a.leftShift();
101 a = a.leftShift();
Darith.js99 jspb.arith.UInt64.prototype.leftShift = function() { method in jspb.arith.UInt64
242 divisor = divisor.leftShift();
243 unit = unit.leftShift();
/third_party/skia/src/core/
DSkRRect.cpp771 SkScalar leftShift = std::max(tl.fX, bl.fX); in InnerBounds() local
776 SkScalar dw = leftShift + rightShift; in InnerBounds()
793 innerBounds.fLeft += leftShift; in InnerBounds()
801 innerBounds.fLeft += kScale * leftShift; in InnerBounds()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
DvktShaderRenderOperatorTests.cpp54 template<typename T> inline T leftShift (T value, int amount) { return value << amount; } in leftShift() function
59 template<typename T, int Size> Vector<T, Size> leftShift (const Vector<T, Size>& value, const Vecto… in leftShift() function
63 result[i] = leftShift(value[i], amount[i]); in leftShift()
75 … leftShiftVecScalar (const Vector<T, Size>& value, int amount) { return leftShift(value, Vector<in… in leftShiftVecScalar()
1017 void eval_leftShift_int (ShaderEvalContext& c) { c.color.x() = (float)leftShift((int)c.in[0].z(), … in DECLARE_UNARY_INT_GENTYPE_FUNCS()
1018 DECLARE_BINARY_INT_VEC_FUNCS(leftShift) in DECLARE_BINARY_INT_VEC_FUNCS() argument
1043 DECLARE_UINT_INT_GENTYPE_FUNCS(leftShift) in DECLARE_UNARY_UINT_GENTYPE_FUNCS()
1529 …), Value(gType, 0.0f, 4.0f), notUsed, 4e-3f, 0.5f, PRECMASK_MEDIUMP, INT_GENTYPE_FUNCS(leftShift)) in init()
1530 …), Value(gType, 0.0f, 27.0f), notUsed, 5e-10f, 0.5f, PRECMASK_HIGHP, INT_GENTYPE_FUNCS(leftShift)) in init()
1531 …, Value(gType, 0.0f, 5.0f), notUsed, 4e-3f, 0.0f, PRECMASK_MEDIUMP, UINT_GENTYPE_FUNCS(leftShift)) in init()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderOperatorTests.cpp54 template<typename T> inline T leftShift (T value, int amount) { return value << amount; } in leftShift() function
59 template<typename T, int Size> Vector<T, Size> leftShift (const Vector<T, Size>& value, const Vecto… in leftShift() function
63 result[i] = leftShift(value[i], amount[i]); in leftShift()
75 … leftShiftVecScalar (const Vector<T, Size>& value, int amount) { return leftShift(value, Vector<in… in leftShiftVecScalar()
1017 void eval_leftShift_int (ShaderEvalContext& c) { c.color.x() = (float)leftShift((int)c.in[0].z(), … in DECLARE_UNARY_INT_GENTYPE_FUNCS()
1018 DECLARE_BINARY_INT_VEC_FUNCS(leftShift) in DECLARE_BINARY_INT_VEC_FUNCS() argument
1043 DECLARE_UINT_INT_GENTYPE_FUNCS(leftShift) in DECLARE_UNARY_UINT_GENTYPE_FUNCS()
1529 …), Value(gType, 0.0f, 4.0f), notUsed, 4e-3f, 0.5f, PRECMASK_MEDIUMP, INT_GENTYPE_FUNCS(leftShift)) in init()
1530 …), Value(gType, 0.0f, 27.0f), notUsed, 5e-10f, 0.5f, PRECMASK_HIGHP, INT_GENTYPE_FUNCS(leftShift)) in init()
1531 …, Value(gType, 0.0f, 5.0f), notUsed, 4e-3f, 0.0f, PRECMASK_MEDIUMP, UINT_GENTYPE_FUNCS(leftShift)) in init()
[all …]
/third_party/vk-gl-cts/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()
1301 void eval_leftShift_int (ShaderEvalContext& c) { c.color.x() = (float)leftShift((int)c.in[0].z(), … in DECLARE_UNARY_INT_GENTYPE_FUNCS()
1302 DECLARE_BINARY_INT_VEC_FUNCS(leftShift) in DECLARE_BINARY_INT_VEC_FUNCS() argument
1327 DECLARE_UINT_INT_GENTYPE_FUNCS(leftShift) in DECLARE_UNARY_UINT_GENTYPE_FUNCS()
1848 …lue(gType, 0.0f, 4.0f), notUsed, 4e-3f, 0.5f, PRECMASK_LOWP_MEDIUMP, INT_GENTYPE_FUNCS(leftShift))
1849 …, Value(gType, 0.0f, 27.0f), notUsed, 5e-10f, 0.5f, PRECMASK_HIGHP, INT_GENTYPE_FUNCS(leftShift))
1850 …ue(gType, 0.0f, 5.0f), notUsed, 4e-3f, 0.0f, PRECMASK_LOWP_MEDIUMP, UINT_GENTYPE_FUNCS(leftShift))
[all …]