Home
last modified time | relevance | path

Searched refs:rad (Results 1 - 25 of 76) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
H A Dpanel-raydium-rm67191.c266 struct rad_panel *rad = to_rad_panel(panel); in rad_panel_prepare() local
269 if (rad->prepared) in rad_panel_prepare()
272 ret = regulator_bulk_enable(rad->num_supplies, rad->supplies); in rad_panel_prepare()
276 if (rad->reset) { in rad_panel_prepare()
277 gpiod_set_value_cansleep(rad->reset, 1); in rad_panel_prepare()
279 gpiod_set_value_cansleep(rad->reset, 0); in rad_panel_prepare()
283 rad->prepared = true; in rad_panel_prepare()
290 struct rad_panel *rad = to_rad_panel(panel); in rad_panel_unprepare() local
293 if (!rad in rad_panel_unprepare()
318 struct rad_panel *rad = to_rad_panel(panel); rad_panel_enable() local
403 struct rad_panel *rad = to_rad_panel(panel); rad_panel_disable() local
466 struct rad_panel *rad = mipi_dsi_get_drvdata(dsi); rad_bl_get_brightness() local
487 struct rad_panel *rad = mipi_dsi_get_drvdata(dsi); rad_bl_update_status() local
520 rad_init_regulators(struct rad_panel *rad) rad_init_regulators() argument
620 struct rad_panel *rad = mipi_dsi_get_drvdata(dsi); rad_panel_remove() local
635 struct rad_panel *rad = mipi_dsi_get_drvdata(dsi); rad_panel_shutdown() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/
H A Dpanel-raydium-rm67191.c267 struct rad_panel *rad = to_rad_panel(panel); in rad_panel_prepare() local
270 if (rad->prepared) in rad_panel_prepare()
273 ret = regulator_bulk_enable(rad->num_supplies, rad->supplies); in rad_panel_prepare()
277 if (rad->reset) { in rad_panel_prepare()
278 gpiod_set_value_cansleep(rad->reset, 1); in rad_panel_prepare()
280 gpiod_set_value_cansleep(rad->reset, 0); in rad_panel_prepare()
284 rad->prepared = true; in rad_panel_prepare()
291 struct rad_panel *rad = to_rad_panel(panel); in rad_panel_unprepare() local
294 if (!rad in rad_panel_unprepare()
319 struct rad_panel *rad = to_rad_panel(panel); rad_panel_enable() local
404 struct rad_panel *rad = to_rad_panel(panel); rad_panel_disable() local
467 struct rad_panel *rad = mipi_dsi_get_drvdata(dsi); rad_bl_get_brightness() local
488 struct rad_panel *rad = mipi_dsi_get_drvdata(dsi); rad_bl_update_status() local
521 rad_init_regulators(struct rad_panel *rad) rad_init_regulators() argument
621 struct rad_panel *rad = mipi_dsi_get_drvdata(dsi); rad_panel_remove() local
634 struct rad_panel *rad = mipi_dsi_get_drvdata(dsi); rad_panel_shutdown() local
[all...]
/third_party/skia/bench/
H A DBlurRectBench.cpp29 BlurRectBench(SkScalar rad) { in BlurRectBench() argument
30 fRadius = rad; in BlurRectBench()
79 BlurRectDirectBench(SkScalar rad) : INHERITED(rad) { in BlurRectDirectBench() argument
82 if (SkScalarFraction(rad) != 0) { in BlurRectDirectBench()
83 name.printf("blurrect_direct_%.2f", SkScalarToFloat(rad)); in BlurRectDirectBench()
85 name.printf("blurrect_direct_%d", SkScalarRoundToInt(rad)); in BlurRectDirectBench()
106 BlurRectSeparableBench(SkScalar rad) : INHERITED(rad) { } in BlurRectSeparableBench() argument
131 BlurRectBoxFilterBench(SkScalar rad) argument
159 BlurRectGaussianBench(SkScalar rad) BlurRectGaussianBench() argument
[all...]
H A DPolyUtilsBench.cpp121 SkScalar rad = 0; variable
124 *poly->push() = SkPoint::Make(c + SkScalarCos(rad) * r1, c + SkScalarSin(rad) * r1);
125 rad += drad;
126 *poly->push() = SkPoint::Make(c + SkScalarCos(rad) * r2, c + SkScalarSin(rad) * r2);
127 rad += drad;
146 SkScalar rad = 0; variable
149 *poly->push() = SkPoint::Make(c + SkScalarCos(rad) * r, c + SkScalarSin(rad) *
170 SkScalar rad = -SK_ScalarPI / 2; global() variable
195 SkScalar rad = 0; global() variable
220 SkScalar rad = 0; global() variable
[all...]
H A DMorphologyBench.cpp36 MorphologyBench(SkScalar rad, MorphologyType style) in MorphologyBench() argument
38 fRadius = rad; in MorphologyBench()
40 const char* name = rad > 0 ? gStyleName[style] : "none"; in MorphologyBench()
41 if (SkScalarFraction(rad) != 0) { in MorphologyBench()
42 fName.printf("morph_%.2f_%s", SkScalarToFloat(rad), name); in MorphologyBench()
44 fName.printf("morph_%d_%s", SkScalarRoundToInt(rad), name); in MorphologyBench()
H A DBlurBench.cpp37 BlurBench(SkScalar rad, SkBlurStyle bs) { in BlurBench() argument
38 fRadius = rad; in BlurBench()
40 const char* name = rad > 0 ? gStyleName[bs] : "none"; in BlurBench()
42 if (SkScalarFraction(rad) != 0) { in BlurBench()
43 fName.printf("blur_%.2f_%s_%s", SkScalarToFloat(rad), name, quality); in BlurBench()
45 fName.printf("blur_%d_%s_%s", SkScalarRoundToInt(rad), name, quality); in BlurBench()
/third_party/skia/tests/
H A DTracingTest.cpp118 SkScalar rad = SkDegreesToRadians(SkIntToScalar(i)); in test_trace_counters() local
119 TRACE_COUNTER1("skia", "sin", SkScalarSin(rad) * 1000.0f + 1000.0f); in test_trace_counters()
129 SkScalar rad = SkDegreesToRadians(SkIntToScalar(i)); in test_trace_counters() local
130 TRACE_COUNTER1("skia", "sin", SkScalarSin(rad) * 1000.0f + 1000.0f); in test_trace_counters()
131 TRACE_COUNTER1("skia", "cos", SkScalarCos(rad) * 1000.0f + 1000.0f); in test_trace_counters()
142 SkScalar rad = SkDegreesToRadians(SkIntToScalar(i)); in test_trace_counters() local
144 "sin", SkScalarSin(rad) * 1000.0f + 1000.0f, in test_trace_counters()
145 "cos", SkScalarCos(rad) * 1000.0f + 1000.0f); in test_trace_counters()
H A DRRectInPathTest.cpp175 const SkScalar rad = 12814; in test_tricky_radii() local
176 const SkVector vec[] = { { rad, rad }, { 0, rad }, { rad, rad }, { 0, rad } }; in test_tricky_radii()
200 const SkScalar rad = 40; in test_empty_crbug_458524() local
201 rr.setRectXY(bounds, rad, rad); in test_empty_crbug_458524()
416 set_radii(SkVector radii[4], int index, float rad) set_radii() argument
426 const float rad = 33436320; test_skbug_3239() local
[all...]
H A DPolyUtilsTest.cpp201 SkScalar rad = 0; in DEF_TEST() local
204 *poly.push() = SkPoint::Make(c + SkScalarCos(rad) * r1, c + SkScalarSin(rad) * r1); in DEF_TEST()
205 rad += drad; in DEF_TEST()
206 *poly.push() = SkPoint::Make(c + SkScalarCos(rad) * r2, c + SkScalarSin(rad) * r2); in DEF_TEST()
207 rad += drad; in DEF_TEST()
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
H A DMatrix.java139 * Rotates this Matrix along the x-axis by rad radians
143 public Matrix rotateX(float rad) { in rotateX() argument
144 nRotate(this.mNativeInstance, 1, 0, 0, rad); in rotateX()
149 * Rotates this Matrix along the y-axis by rad radians
153 public Matrix rotateY(float rad) { in rotateY() argument
154 nRotate(this.mNativeInstance, 0, 1, 0, rad); in rotateY()
159 * Rotates this Matrix along the z-axis by rad radians
163 public Matrix rotateZ(float rad) { in rotateZ() argument
164 nRotate(this.mNativeInstance, 0, 0, 1, rad); in rotateZ()
169 * Rotates this Matrix along the (x,y,z) axis by rad radian
173 rotate(float x, float y, float z, float rad) rotate() argument
210 nRotate(long mNativeInstance, float x, float y, float z, float rad) nRotate() argument
[all...]
/third_party/skia/docs/examples/
H A DPath_incReserve.cpp10 SkScalar rad = SK_ScalarPI * 2 * i / sides; in REG_FIDDLE()
11 path->lineTo(SkScalarCos(rad) * size, SkScalarSin(rad) * size); in REG_FIDDLE()
/third_party/jerryscript/jerry-core/ecma/base/
H A Decma-helpers-number.c775 int32_t rad = ecma_number_to_int32 (radix_num); in ecma_number_parse_int() local
781 if (rad != 0) in ecma_number_parse_int()
784 if (rad < 2 || rad > 36) in ecma_number_parse_int()
789 else if (rad != 16) in ecma_number_parse_int()
797 rad = 10; in ecma_number_parse_int()
810 rad = 16; in ecma_number_parse_int()
836 current_number = rad; in ecma_number_parse_int()
839 if (!(current_number < rad)) in ecma_number_parse_int()
878 multiplier *= (ecma_number_t) rad; in ecma_number_parse_int()
[all...]
/third_party/skia/src/gpu/ops/
H A DStrokeRectOp.cpp65 const SkScalar rad = SkScalarHalf(width); in init_nonaa_stroke_rect_strip() local
67 verts[0].set(rect.fLeft + rad, rect.fTop + rad); in init_nonaa_stroke_rect_strip()
68 verts[1].set(rect.fLeft - rad, rect.fTop - rad); in init_nonaa_stroke_rect_strip()
69 verts[2].set(rect.fRight - rad, rect.fTop + rad); in init_nonaa_stroke_rect_strip()
70 verts[3].set(rect.fRight + rad, rect.fTop - rad); in init_nonaa_stroke_rect_strip()
71 verts[4].set(rect.fRight - rad, rec in init_nonaa_stroke_rect_strip()
139 SkScalar rad = SkScalarHalf(fStrokeWidth); NonAAStrokeRectOp() local
[all...]
/third_party/python/Lib/turtledemo/
H A Dfractalcurves.py47 def fractalgon(self, n, rad, lev, dir):
52 edge = 2 * rad * math.sin(math.pi / n)
54 self.fd(rad)
62 self.bk(rad)
/third_party/skia/gm/
H A Dbackdrop.cpp27 static sk_sp<SkShader> make_shader(SkScalar cx, SkScalar cy, SkScalar rad) { in make_shader() argument
44 const SkScalar cx = 128, cy = 128, rad = 100; in do_draw() local
46 p.setShader(make_shader(cx, cy, rad)); in do_draw()
48 canvas->drawCircle(cx, cy, rad, p); in do_draw()
H A Daddarc.cpp95 const SkScalar rad = SkDegreesToRadians(deg); in DEF_SIMPLE_GM() local
96 SkScalar rx = SkScalarCos(rad) * R; in DEF_SIMPLE_GM()
97 SkScalar ry = SkScalarSin(rad) * R; in DEF_SIMPLE_GM()
102 SkScalar arcLen = rad * R; in DEF_SIMPLE_GM()
/third_party/cups-filters/filter/pdftopdf/
H A Dqpdf_pdftopdf.cc147 Matrix &Matrix::rotate(double rad) // {{{ in rotate() argument
151 tmp.ctm[0]=cos(rad); in rotate()
152 tmp.ctm[1]=sin(rad); in rotate()
153 tmp.ctm[2]=-sin(rad); in rotate()
154 tmp.ctm[3]=cos(rad); in rotate()
/third_party/skia/modules/canvaskit/
H A Dutil.js8 function radiansToDegrees(rad) {
9 return (rad / Math.PI) * 180;
/applications/standard/app_samples/code/BasicFeature/Native/ArkTSXComponent/entry/src/main/cpp/render/
H A Degl_core.cpp309 GLfloat rad = M_PI / 180 * 72; in Draw() local
312 Rotate2d(centerX, centerY, &rotateX, &rotateY, rad); in Draw()
313 Rotate2d(centerX, centerY, &leftX, &leftY, rad); in Draw()
314 Rotate2d(centerX, centerY, &rightX, &rightY, rad); in Draw()
374 GLfloat rad = M_PI / 180 * 72; in ChangeColor() local
377 Rotate2d(centerX, centerY, &rotateX, &rotateY, rad); in ChangeColor()
378 Rotate2d(centerX, centerY, &leftX, &leftY, rad); in ChangeColor()
379 Rotate2d(centerX, centerY, &rightX, &rightY, rad); in ChangeColor()
/applications/standard/app_samples/code/BasicFeature/Native/NdkXComponent/entry/src/main/cpp/render/
H A Degl_core.cpp313 GLfloat rad = M_PI / 180 * 72; in Draw() local
316 Rotate2d(centerX, centerY, &rotateX, &rotateY, rad); in Draw()
317 Rotate2d(centerX, centerY, &leftX, &leftY, rad); in Draw()
318 Rotate2d(centerX, centerY, &rightX, &rightY, rad); in Draw()
378 GLfloat rad = M_PI / 180 * 72; in ChangeColor() local
381 Rotate2d(centerX, centerY, &rotateX, &rotateY, rad); in ChangeColor()
382 Rotate2d(centerX, centerY, &leftX, &leftY, rad); in ChangeColor()
383 Rotate2d(centerX, centerY, &rightX, &rightY, rad); in ChangeColor()
/applications/standard/app_samples/code/BasicFeature/Native/XComponent/entry/src/main/cpp/render/
H A Degl_core.cpp315 GLfloat rad = M_PI / 180 * 72; in Draw() local
318 Rotate2d(centerX, centerY, &rotateX, &rotateY, rad); in Draw()
319 Rotate2d(centerX, centerY, &leftX, &leftY, rad); in Draw()
320 Rotate2d(centerX, centerY, &rightX, &rightY, rad); in Draw()
380 GLfloat rad = M_PI / 180 * 72; in ChangeColor() local
383 Rotate2d(centerX, centerY, &rotateX, &rotateY, rad); in ChangeColor()
384 Rotate2d(centerX, centerY, &leftX, &leftY, rad); in ChangeColor()
385 Rotate2d(centerX, centerY, &rightX, &rightY, rad); in ChangeColor()
/third_party/skia/modules/skottie/src/effects/
H A DDropShadowEffect.cpp60 const auto rad = SkDegreesToRadians(90 - fDirection); variable
61 fDropShadow->setOffset(SkVector::Make( fDistance * SkScalarCos(rad),
62 -fDistance * SkScalarSin(rad)));
H A DShadowStyles.cpp44 const auto rad = SkDegreesToRadians(180 + fAngle), // 0deg -> left (style) variable
48 const auto offset = SkV2{ fDistance * SkScalarCos(rad),
49 -fDistance * SkScalarSin(rad)};
/third_party/ffmpeg/libavfilter/
H A Daf_acrusher.c277 double rad, sunder, smax, sover; in config_input() local
284 rad = s->lforange / 2.; in config_input()
285 s->smin = FFMAX(s->samples - rad, 1.); in config_input()
286 sunder = s->samples - rad - s->smin; in config_input()
287 smax = FFMIN(s->samples + rad, 250.); in config_input()
288 sover = s->samples + rad - smax; in config_input()
/kernel/linux/linux-5.10/include/linux/
H A Dfixp-arith.h141 #define fixp_cos32_rad(rad, twopi) \
142 fixp_sin32_rad(rad + twopi / 4, twopi)

Completed in 14 milliseconds

1234