Home
last modified time | relevance | path

Searched refs:points (Results 51 - 75 of 422) sorted by relevance

12345678910>>...17

/third_party/skia/gm/
H A Dhardstop_gradients.cpp80 static void create_gradient_points(int cellRow, int cellCol, SkPoint points[2]) { in create_gradient_points() argument
87 points[0] = SkPoint::Make(x0, y); in create_gradient_points()
88 points[1] = SkPoint::Make(x1, y); in create_gradient_points()
107 SkPoint points[2]; variable
154 create_gradient_points(cellRow, cellCol, points);
157 points,
H A Dp3.cpp194 // TODO(mtklein): sample and check the middle points of these gradients too. in DEF_SIMPLE_GM()
199 SkPoint points[] = {{10.5,10.5}, {69.5,69.5}}; in DEF_SIMPLE_GM() local
203 paint.setShader(SkGradientShader::MakeLinear(points, colors, p3, in DEF_SIMPLE_GM()
225 SkPoint points[] = {{10.5,10.5}, {69.5,69.5}}; in DEF_SIMPLE_GM() local
230 SkGradientShader::MakeLinear(points, colors, p3, in DEF_SIMPLE_GM()
254 SkPoint points[] = {{10.5,10.5}, {69.5,69.5}}; in DEF_SIMPLE_GM() local
258 paint.setShader(SkGradientShader::MakeLinear(points, colors, srgb, in DEF_SIMPLE_GM()
280 SkPoint points[] = {{10.5,10.5}, {69.5,69.5}}; in DEF_SIMPLE_GM() local
285 SkGradientShader::MakeLinear(points, colors, srgb, in DEF_SIMPLE_GM()
308 SkPoint points[] in DEF_SIMPLE_GM() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_syncobj.c130 * handles as well as an array of u64 points and does a host-side wait on all
131 * of syncobj fences at the given points simultaneously.
174 * Import/export of timeline points in timeline syncobjs
951 uint64_t *points; in drm_syncobj_array_wait_timeout() local
954 points = kmalloc_array(count, sizeof(*points), GFP_KERNEL); in drm_syncobj_array_wait_timeout()
955 if (points == NULL) in drm_syncobj_array_wait_timeout()
959 memset(points, 0, count * sizeof(uint64_t)); in drm_syncobj_array_wait_timeout()
961 } else if (copy_from_user(points, user_points, in drm_syncobj_array_wait_timeout()
982 entries[i].point = points[ in drm_syncobj_array_wait_timeout()
1350 uint64_t *points; drm_syncobj_timeline_signal_ioctl() local
1421 uint64_t __user *points = u64_to_user_ptr(args->points); drm_syncobj_query_ioctl() local
[all...]
/third_party/skia/docs/examples/
H A DPath_Iter_setPath.cpp13 SkPoint points[4]; in REG_FIDDLE()
14 verb = iter.next(points); in REG_FIDDLE()
17 SkDebugf("{%g, %g}, ", points[i].fX, points[i].fY); in REG_FIDDLE()
H A DPath_Iter_const_SkPath.cpp13 SkPoint points[4]; in REG_FIDDLE()
14 verb = iter.next(points); in REG_FIDDLE()
17 SkDebugf("{%g, %g}, ", points[i].fX, points[i].fY); in REG_FIDDLE()
H A DPath_Iter_Iter.cpp8 SkPoint points[4]; in REG_FIDDLE() local
9 SkDebugf("iter is " "%s" "done\n", SkPath::kDone_Verb == iter.next(points) ? "" : "not "); in REG_FIDDLE()
12 SkDebugf("iter is " "%s" "done\n", SkPath::kDone_Verb == iter.next(points) ? "" : "not "); in REG_FIDDLE()
H A DCanvas_drawVertices.cpp8 SkPoint points[] = { { 0, 0 }, { 250, 0 }, { 100, 100 }, { 0, 250 } }; in REG_FIDDLE() local
11 SK_ARRAY_COUNT(points), points, nullptr, colors); in REG_FIDDLE()
H A DPath_addPoly.cpp10 const SkPoint points[] = {{20, 20}, {70, 20}, {40, 90}}; in REG_FIDDLE() local
13 path.addPoly(points, SK_ARRAY_COUNT(points), close); in REG_FIDDLE()
H A DPath_close.cpp11 const SkPoint points[] = {{20, 20}, {70, 20}, {40, 90}}; in REG_FIDDLE() local
12 path.addPoly(points, SK_ARRAY_COUNT(points), false); in REG_FIDDLE()
H A DCanvas_drawPoints.cpp12 const SkPoint points[] = {{32, 16}, {48, 48}, {16, 32}}; in REG_FIDDLE() local
18 path.addPoly(points, 3, false); in REG_FIDDLE()
25 canvas->drawPoints(mode, 3, points, paint); in REG_FIDDLE()
H A Dconvex_overstroke_linear_approx_curve.cpp19 SkPoint points[10]; in REG_FIDDLE() local
22 points[i] = SkPoint::Make(65 + 15 * cos(i * PI / 10), 50 - 15 * sin(i * PI / 10)); in REG_FIDDLE()
30 path.lineTo(points[i]); in REG_FIDDLE()
/third_party/node/deps/openssl/openssl/crypto/ec/
H A Dec_mult.c43 EC_POINT **points; /* array with pre-calculated multiples of member
99 if (pre->points != NULL) { in EC_ec_pre_comp_free()
102 for (pts = pre->points; *pts != NULL; pts++) in EC_ec_pre_comp_free()
104 OPENSSL_free(pre->points); in EC_ec_pre_comp_free()
405 * \sum scalars[i]*points[i],
411 size_t num, const EC_POINT *points[], in ossl_ec_wNAF_mul()
431 * 'pre_comp->points' */ in ossl_ec_wNAF_mul()
463 return ossl_ec_scalar_mul_ladder(group, r, scalars[0], points[0], in ossl_ec_wNAF_mul()
479 && (EC_POINT_cmp(group, generator, pre_comp->points[0], ctx) == in ossl_ec_wNAF_mul()
529 * num_val will be the total number of temporarily precomputed points in ossl_ec_wNAF_mul()
410 ossl_ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) ossl_ec_wNAF_mul() argument
836 EC_POINT **points = NULL; ossl_ec_wNAF_precompute_mult() local
[all...]
/third_party/openssl/crypto/ec/
H A Dec_mult.c43 EC_POINT **points; /* array with pre-calculated multiples of member
99 if (pre->points != NULL) { in EC_ec_pre_comp_free()
102 for (pts = pre->points; *pts != NULL; pts++) in EC_ec_pre_comp_free()
104 OPENSSL_free(pre->points); in EC_ec_pre_comp_free()
405 * \sum scalars[i]*points[i],
411 size_t num, const EC_POINT *points[], in ossl_ec_wNAF_mul()
431 * 'pre_comp->points' */ in ossl_ec_wNAF_mul()
463 return ossl_ec_scalar_mul_ladder(group, r, scalars[0], points[0], in ossl_ec_wNAF_mul()
479 && (EC_POINT_cmp(group, generator, pre_comp->points[0], ctx) == in ossl_ec_wNAF_mul()
529 * num_val will be the total number of temporarily precomputed points in ossl_ec_wNAF_mul()
410 ossl_ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) ossl_ec_wNAF_mul() argument
836 EC_POINT **points = NULL; ossl_ec_wNAF_precompute_mult() local
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_floodfill.c43 Points *points; member
274 s->points = av_calloc(inlink->w * inlink->h, 4 * sizeof(Points)); in config_input()
275 if (!s->points) in config_input()
313 s->points[s->front].x = s->x; in filter_frame()
314 s->points[s->front].y = s->y; in filter_frame()
325 x = s->points[s->front].x; in filter_frame()
326 y = s->points[s->front].y; in filter_frame()
332 s->points[s->front] .x = x + 1; in filter_frame()
333 s->points[s->front++].y = y; in filter_frame()
337 s->points[ in filter_frame()
[all...]
/third_party/python/Modules/_decimal/libmpdec/
H A Dbench_full.c61 * value is maxiter. Lower return values indicate how quickly points
122 int points[40][80]; in main() local
154 points[i][j] = color_point(x0, y0, iter, &ctx); in main()
164 if (points[i][j] == iter) { in main()
167 else if (points[i][j] >= 10) { in main()
170 else if (points[i][j] >= 5) { in main()
181 (void)points; /* suppress gcc warning */ in main()
/third_party/libinput/tools/
H A Dptraccel-debug.c194 " custom ... custom motion filter, use --custom-points and --custom-step with this argument\n" in usage()
195 "--custom-points=\"<double>;...;<double>\" ... n points defining a custom acceleration function\n" in usage()
236 .points = {0.0, 1.0}, in main()
266 {"custom-points", 1, 0, OPT_CUSTOM_POINTS }, in main()
327 double *points = double_array_from_string(optarg, in main() local
330 if (!points || in main()
334 "Invalid --custom-points\n" in main()
335 "Please provide at least 2 points separated by a semicolon\n" in main()
336 " e.g. --custom-points in main()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
H A DesextcTessellationShaderVertexSpacing.cpp159 * is a vector of points with the same V component. After this is done, in getEdgesForIsolinesTessellation()
160 * points for each edge need to be sorted by U component. in getEdgesForIsolinesTessellation()
179 if (de::abs(edge.points[0].y - coordinate[1]) < epsilon) in getEdgesForIsolinesTessellation()
182 edge.points.push_back(new_item); in getEdgesForIsolinesTessellation()
197 new_edge.points.push_back(new_item); in getEdgesForIsolinesTessellation()
203 /* For each edge, sort the points by U coordinate */ in getEdgesForIsolinesTessellation()
206 _tess_edge_points& edge_points = edges_iterator->points; in getEdgesForIsolinesTessellation()
257 * data set to identify all points that are part of edges connecting the edge corners. After the loop is done, in getEdgesForQuadsTessellation()
275 /* Iterate over all points */ in getEdgesForQuadsTessellation()
326 * two "current" points wil in getEdgesForQuadsTessellation()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
H A Dzipf_distribution_test.cc229 // Find the split-points for the buckets. in TEST_P()
230 std::vector<size_t> points; in TEST_P() local
237 if (points.empty() || points.back() < x.second) { in TEST_P()
239 points.push_back(x.second); in TEST_P()
249 points.push_back(std::numeric_limits<size_t>::max()); in TEST_P()
256 points.back() = std::numeric_limits<size_t>::max(); in TEST_P()
263 ASSERT_GT(points.size(), 0); in TEST_P()
267 std::vector<int64_t> buckets(points.size(), 0); in TEST_P()
276 auto it = std::upper_bound(std::begin(points), st in TEST_P()
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-glyf-table.hh318 void transform_points (contour_point_vector_t &points) const in transform_points()
326 points.translate (trans); in transform_points()
327 points.transform (matrix); in transform_points()
331 points.transform (matrix); in transform_points()
332 points.translate (trans); in transform_points()
365 const F2DOT14 *points = (const F2DOT14 *) p; in get_transformation() local
368 matrix[0] = matrix[3] = points[0].to_float (); in get_transformation()
373 matrix[0] = points[0].to_float (); in get_transformation()
374 matrix[3] = points[1].to_float (); in get_transformation()
379 matrix[0] = points[ in get_transformation()
[all...]
/third_party/mesa3d/src/gallium/frontends/wgl/
H A Dstw_ext_pixelformat.c328 int points; member
356 * score points. in score_pixelformats()
366 * differ, the score is set to 0 points, effectively removing the in score_pixelformats()
370 scores[index].points = 0; in score_pixelformats()
380 scores[index].points = 0; in score_pixelformats()
382 scores[index].points -= (actual_value - expected_value) in score_pixelformats()
404 * points for a mismatch when the match does not have to be exact. in wglChoosePixelFormatARB()
413 scores[i].points = 0x7fffffff; in wglChoosePixelFormatARB()
450 if (scores[i - 1].points < scores[i].points) { in wglChoosePixelFormatARB()
[all...]
/third_party/node/deps/v8/tools/
H A Davg.py64 def __init__(self, points=0, key=0, average=0, stddev=0, min_width=0, max_width=0):
65 self.widths = dict(points=points, key=key, average=average, stddev=stddev,
87 def format_line(points, key, average, stddev, min_value, max_value,
90 points, widths.points,
161 points=len("{}".format(self.size())) + 2,
180 points=len("{}".format(ARGS['repetitions'])) + 2,
/third_party/skia/include/private/
H A DSkPathRef.h44 int points, weights; member
51 * Holds the path verbs and points. It is versioned by a generation ID. None of its public methods
52 * modify the contents. To modify or append to the verbs/points wrap the SkPathRef in an
58 * The points and verbs are stored in a single allocation. The points are at the begining of the
59 * allocation while the verbs are stored at end of the allocation, in reverse order. Thus the points
67 SkPathRef(SkTDArray<SkPoint> points, SkTDArray<uint8_t> verbs, SkTDArray<SkScalar> weights, in SkPathRef() argument
69 : fPoints(std::move(points)) in SkPathRef()
96 * Returns the array of points.
99 const SkPoint* points() cons in writablePoints() function in final::Editor
319 const SkPoint* points() const { return fPoints.begin(); } points() function in final
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/color/
H A Dcolor_gamma.c40 * The idea is that our regions for X points are exponential and currently they all use
41 * the same number of points (NUM_PTS_IN_REGION) and in each region every point
56 /* one-time setup of X points */
259 /* X points is 2^-25 to 2^7 in precompute_de_pq()
973 rgb += 32; // first 32 points have problems with fixed point, too small in build_freesync_hdr()
1030 /* X points is 2^-25 to 2^7 in build_degamma()
1310 * for evenly spaced points in 0-1 range. lut1D[index] gives correction
1385 struct gamma_pixel *points, in build_evenly_distributed_points()
1389 struct gamma_pixel *p = points; in build_evenly_distributed_points()
1492 * and we concatenate them. It also searches for points o
1384 build_evenly_distributed_points( struct gamma_pixel *points, uint32_t numberof_points, struct dividers dividers) build_evenly_distributed_points() argument
1948 calculate_curve(enum dc_transfer_func_predefined trans, struct dc_transfer_func_distributed_points *points, struct pwl_float_data_ex *rgb_regamma, const struct freesync_hdr_tf_params *fs_params, uint32_t sdr_ref_white_level, struct calculate_buffer *cal_buffer) calculate_curve() argument
2128 mod_color_calculate_degamma_curve(enum dc_transfer_func_predefined trans, struct dc_transfer_func_distributed_points *points) mod_color_calculate_degamma_curve() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_syncobj.c130 * handles as well as an array of u64 points and does a host-side wait on all
131 * of syncobj fences at the given points simultaneously.
178 * Import/export of timeline points in timeline syncobjs
1034 uint64_t *points; in drm_syncobj_array_wait_timeout() local
1041 points = kmalloc_array(count, sizeof(*points), GFP_KERNEL); in drm_syncobj_array_wait_timeout()
1042 if (points == NULL) in drm_syncobj_array_wait_timeout()
1046 memset(points, 0, count * sizeof(uint64_t)); in drm_syncobj_array_wait_timeout()
1048 } else if (copy_from_user(points, user_points, in drm_syncobj_array_wait_timeout()
1069 entries[i].point = points[ in drm_syncobj_array_wait_timeout()
1534 uint64_t *points; drm_syncobj_timeline_signal_ioctl() local
1605 uint64_t __user *points = u64_to_user_ptr(args->points); drm_syncobj_query_ioctl() local
[all...]
/third_party/skia/src/xps/
H A DSkXPSDevice.cpp1092 const SkPoint points[4] = { in createXpsRect() local
1098 return this->createXpsQuad(points, stroke, fill, xpsRect); in createXpsRect()
1100 HRESULT SkXPSDevice::createXpsQuad(const SkPoint (&points)[4],
1104 XPS_POINT startPoint = xps_point(points[0]);
1119 SkScalarToFLOAT(points[1].fX), SkScalarToFLOAT(points[1].fY),
1120 SkScalarToFLOAT(points[2].fX), SkScalarToFLOAT(points[2].fY),
1121 SkScalarToFLOAT(points[3].fX), SkScalarToFLOAT(points[
1142 drawPoints(SkCanvas::PointMode mode, size_t count, const SkPoint points[], const SkPaint& paint) drawPoints() argument
1232 SkPoint points[4] = { internalDrawRect() local
1301 SkPoint points[4]; addXpsPathGeometry() local
[all...]

Completed in 20 milliseconds

12345678910>>...17