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

12

/external/chromium-trace/trace-viewer/third_party/gl-matrix/spec/gl-matrix/
H A Dmat4-spec.js346 var rad = Math.PI * 0.5;
350 beforeEach(function() { result = mat4.rotate(out, matA, rad, axis); });
355 0, Math.cos(rad), Math.sin(rad), 0,
356 0, -Math.sin(rad), Math.cos(rad), 0,
372 beforeEach(function() { result = mat4.rotate(matA, matA, rad, axis); });
377 0, Math.cos(rad), Math.sin(rad), 0,
378 0, -Math.sin(rad), Mat
[all...]
/external/libppp/src/
H A Dradius.c168 if (rad_request_authenticator(r->cx.rad, R, sizeof R) != AUTH_LEN) {
178 S = rad_server_secret(r->cx.rad); /* We need the RADIUS secret */
273 rad_close(r->cx.rad);
282 rad_close(r->cx.rad);
293 rad_close(r->cx.rad);
309 rad_close(r->cx.rad);
314 "radius(%s): %s\n", stype, rad_strerror(r->cx.rad));
317 rad_close(r->cx.rad);
322 got, rad_strerror(r->cx.rad));
325 rad_close(r->cx.rad);
717 struct radius *rad = descriptor2radius(d); local
829 radius_put_physical_details(struct radius *rad, struct physical *p) argument
[all...]
H A Dradius.h44 struct rad_handle *rad; /* Using this to talk to our lib */ member in struct:radius::__anon21407
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/
H A DIntersection.java77 // float rad = fa * boxhalfsize.y + fb * boxhalfsize.z;
78 // if(min > rad || max < -rad)
104 // float min,max,p0,p1,p2,rad,fex,fey,fez;
121 float p0, p1, p2, rad;
133 rad = fez * extent.y + fey * extent.z;
134 if (min > rad || max < -rad) {
144 rad = fez * extent.x + fex * extent.z;
145 if (min > rad || ma
[all...]
/external/skia/bench/
H A DBlurRectBench.cpp29 BlurRectBench(SkScalar rad) { argument
30 fRadius = rad;
79 BlurRectDirectBench(SkScalar rad) : INHERITED(rad) { argument
82 if (SkScalarFraction(rad) != 0) {
83 name.printf("blurrect_direct_%.2f", SkScalarToFloat(rad));
85 name.printf("blurrect_direct_%d", SkScalarRoundToInt(rad));
104 BlurRectSeparableBench(SkScalar rad) : INHERITED(rad) { argument
131 BlurRectBoxFilterBench(SkScalar rad) argument
159 BlurRectGaussianBench(SkScalar rad) argument
[all...]
H A DMorphologyBench.cpp36 MorphologyBench(SkScalar rad, MorphologyType style) argument
38 fRadius = rad;
40 const char* name = rad > 0 ? gStyleName[style] : "none";
41 if (SkScalarFraction(rad) != 0) {
42 fName.printf("morph_%.2f_%s", SkScalarToFloat(rad), name);
44 fName.printf("morph_%d_%s", SkScalarRound(rad), name);
H A DBlurBench.cpp36 BlurBench(SkScalar rad, SkBlurMaskFilter::BlurStyle bs, uint32_t flags = 0) { argument
37 fRadius = rad;
40 const char* name = rad > 0 ? gStyleName[bs] : "none";
43 if (SkScalarFraction(rad) != 0) {
44 fName.printf("blur_%.2f_%s_%s", SkScalarToFloat(rad), name, quality);
46 fName.printf("blur_%d_%s_%s", SkScalarRound(rad), name, quality);
H A DStrokeBench.cpp72 SkScalar rad = 4; local
73 fRec.fRRect.setRectXY(r, rad, rad);
/external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/
H A Dquat.js107 * @param {Number} rad the angle in radians
110 quat.setAxisAngle = function(out, axis, rad) {
111 rad = rad * 0.5;
112 var s = Math.sin(rad);
116 out[3] = Math.cos(rad);
172 * @param {number} rad angle (in radians) to rotate
175 quat.rotateX = function (out, a, rad) {
176 rad *= 0.5;
179 bx = Math.sin(rad), b
[all...]
H A Dmat2.js193 * @param {Number} rad the angle to rotate the matrix by
196 mat2.rotate = function (out, a, rad) {
198 s = Math.sin(rad),
199 c = Math.cos(rad);
H A Dmat2d.js181 * @param {Number} rad the angle to rotate the matrix by
184 mat2d.rotate = function (out, a, rad) {
191 st = Math.sin(rad),
192 ct = Math.cos(rad);
/external/skia/gm/
H A Dtechtalk1.cpp164 SkScalar rad = paint.getStrokeWidth() / 2; local
166 r.outset(rad, rad);
168 r.inset(rad*2, rad*2);
219 SkScalar rad = paint.getStrokeWidth() / 2; local
220 r.outset(rad, rad);
222 r.inset(rad*2, rad*
228 SkScalar rad = paint.getStrokeWidth() / 2; local
239 SkScalar rad = paint.getStrokeWidth() / 2; local
244 SkScalar rad = paint.getStrokeWidth() / 2; local
[all...]
H A Dpathfill.cpp76 SkScalar rad = -SK_ScalarPI / 2; local
81 rad += drad;
82 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV);
/external/chromium_org/third_party/skia/src/effects/
H A DSkGpuBlurUtils.cpp78 SkScalar rad = SkIntToScalar(radius); local
83 lowerSrcRect.fRight = srcRect.left() + rad;
84 lowerDstRect.fRight = dstRect.left() + rad;
85 upperSrcRect.fLeft = srcRect.right() - rad;
86 upperDstRect.fLeft = dstRect.right() - rad;
87 middleSrcRect.inset(rad, 0);
88 middleDstRect.inset(rad, 0);
93 lowerSrcRect.fBottom = srcRect.top() + rad;
94 lowerDstRect.fBottom = dstRect.top() + rad;
95 upperSrcRect.fTop = srcRect.bottom() - rad;
[all...]
/external/skia/src/effects/
H A DSkGpuBlurUtils.cpp78 SkScalar rad = SkIntToScalar(radius); local
83 lowerSrcRect.fRight = srcRect.left() + rad;
84 lowerDstRect.fRight = dstRect.left() + rad;
85 upperSrcRect.fLeft = srcRect.right() - rad;
86 upperDstRect.fLeft = dstRect.right() - rad;
87 middleSrcRect.inset(rad, 0);
88 middleDstRect.inset(rad, 0);
93 lowerSrcRect.fBottom = srcRect.top() + rad;
94 lowerDstRect.fBottom = dstRect.top() + rad;
95 upperSrcRect.fTop = srcRect.bottom() - rad;
[all...]
/external/chromium/chrome/browser/ui/views/
H A Dstatus_bubble_views.cc349 SkScalar rad[8]; local
357 rad[0] = 0;
358 rad[1] = 0;
361 rad[2] = 0;
362 rad[3] = 0;
368 rad[0] = SkIntToScalar(kBubbleCornerRadius);
369 rad[1] = SkIntToScalar(kBubbleCornerRadius);
372 rad[2] = 0;
373 rad[3] = 0;
376 rad[
[all...]
H A Dtheme_install_bubble_view.cc116 SkScalar rad[8]; local
118 rad[i] = SkIntToScalar(kBubbleCornerRadius);
130 path.addRoundRect(rect, rad, SkPath::kCW_Direction);
/external/chromium_org/chrome/browser/ui/views/
H A Dstatus_bubble_views.cc363 SkScalar rad[8]; local
371 rad[0] = 0;
372 rad[1] = 0;
375 rad[2] = 0;
376 rad[3] = 0;
382 rad[0] = SkIntToScalar(kBubbleCornerRadius);
383 rad[1] = SkIntToScalar(kBubbleCornerRadius);
386 rad[2] = 0;
387 rad[3] = 0;
390 rad[
[all...]
/external/tcpdump/
H A Dprint-radius.c896 register const struct radius_hdr *rad; local
900 rad = (struct radius_hdr *)dat;
901 len = EXTRACT_16BITS(&rad->len);
914 tok2str(radius_command_values,"Unknown Command",rad->code),
915 rad->code,
916 rad->id,
923 tok2str(radius_command_values,"Unknown Command",rad->code),
924 rad->code,
925 rad->id);
928 printf("%02x", rad
[all...]
/external/clang/test/Analysis/
H A Darray-struct-region.c22 void nested_compound_literals(int rad) { argument
28 vec[a][0] *= rad; // no-warning
29 vec[a][1] *= rad; // no-warning
33 void nested_compound_literals_float(float rad) { argument
39 vec[a][0] *= rad; // no-warning
40 vec[a][1] *= rad; // no-warning
/external/arduino/hardware/arduino/cores/arduino/
H A Dwiring.h83 #define degrees(rad) ((rad)*RAD_TO_DEG)
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
H A DGeometry.js138 * @param {number} rad
141 WebInspector.Geometry.radToDeg = function(rad)
143 return rad * 180 / Math.PI;
/external/chromium_org/cc/base/
H A Dmath_util.h78 static double Rad2Deg(double rad) { return rad * 180.0 / kPiDouble; } argument
81 static float Rad2Deg(float rad) { return rad * 180.0f / kPiFloat; } argument
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.osgi.util_3.2.100.v20100503.jar ... final org.osgi.util.measurement.Unit rad private static final org.osgi.util.measurement ...
/external/chromium_org/third_party/skia/src/gpu/
H A DGrContext.cpp680 const SkScalar rad = SkScalarHalf(width); local
683 verts[0].set(rect.fLeft + rad, rect.fTop + rad);
684 verts[1].set(rect.fLeft - rad, rect.fTop - rad);
685 verts[2].set(rect.fRight - rad, rect.fTop + rad);
686 verts[3].set(rect.fRight + rad, rect.fTop - rad);
687 verts[4].set(rect.fRight - rad, rec
[all...]

Completed in 470 milliseconds

12