Home
last modified time | relevance | path

Searched refs:rad (Results 1 – 25 of 52) sorted by relevance

123

/external/jmonkeyengine/engine/src/core/com/jme3/bounding/
DIntersection.java121 float p0, p1, p2, rad; in intersect() local
133 rad = fez * extent.y + fey * extent.z; in intersect()
134 if (min > rad || max < -rad) { in intersect()
144 rad = fez * extent.x + fex * extent.z; in intersect()
145 if (min > rad || max < -rad) { in intersect()
155 rad = fey * extent.x + fex * extent.y; in intersect()
156 if (min > rad || max < -rad) { in intersect()
170 rad = fez * extent.y + fey * extent.z; in intersect()
171 if (min > rad || max < -rad) { in intersect()
181 rad = fez * extent.x + fex * extent.z; in intersect()
[all …]
/external/clang/test/Analysis/
Darray-struct-region.c27 void nested_compound_literals(int rad) { in nested_compound_literals() argument
33 vec[a][0] *= rad; // no-warning in nested_compound_literals()
34 vec[a][1] *= rad; // no-warning in nested_compound_literals()
38 void nested_compound_literals_float(float rad) { in nested_compound_literals_float() argument
44 vec[a][0] *= rad; // no-warning in nested_compound_literals_float()
45 vec[a][1] *= rad; // no-warning in nested_compound_literals_float()
/external/chromium/chrome/browser/ui/views/
Dstatus_bubble_views.cc349 SkScalar rad[8]; in OnPaint() local
357 rad[0] = 0; in OnPaint()
358 rad[1] = 0; in OnPaint()
361 rad[2] = 0; in OnPaint()
362 rad[3] = 0; in OnPaint()
368 rad[0] = SkIntToScalar(kBubbleCornerRadius); in OnPaint()
369 rad[1] = SkIntToScalar(kBubbleCornerRadius); in OnPaint()
372 rad[2] = 0; in OnPaint()
373 rad[3] = 0; in OnPaint()
376 rad[0] = 0; in OnPaint()
[all …]
Dtheme_install_bubble_view.cc116 SkScalar rad[8]; in OnPaint() local
118 rad[i] = SkIntToScalar(kBubbleCornerRadius); in OnPaint()
130 path.addRoundRect(rect, rad, SkPath::kCW_Direction); in OnPaint()
Dfullscreen_exit_bubble.cc95 SkScalar rad[8] = { 0, 0, 0, 0, padding, padding, padding, padding }; in OnPaint() local
97 path.addRoundRect(rect, rad, SkPath::kCW_Direction); in OnPaint()
/external/skia/bench/
DBlurBench.cpp33 BlurBench(void* param, SkScalar rad, SkBlurMaskFilter::BlurStyle bs) : INHERITED(param) { in BlurBench() argument
34 fRadius = rad; in BlurBench()
36 const char* name = rad > 0 ? gStyleName[bs] : "none"; in BlurBench()
37 if (SkScalarFraction(rad) != 0) { in BlurBench()
38 fName.printf("blur_%.2f_%s", SkScalarToFloat(rad), name); in BlurBench()
40 fName.printf("blur_%d_%s", SkScalarRound(rad), name); in BlurBench()
/external/quake/quake/src/WinQuake/
Dgl_rlight.cpp80 float rad; in R_RenderDlight() local
82 rad = light->radius * 0.35; in R_RenderDlight()
85 if (Length (v) < rad) in R_RenderDlight()
105 *pPos++ = light->origin[i] - vpn[i]*rad; in R_RenderDlight()
114 *pPos++ = light->origin[j] + vright[j]*cos(a)*rad in R_RenderDlight()
115 + vup[j]*sin(a)*rad; in R_RenderDlight()
127 v[i] = light->origin[i] - vpn[i]*rad; in R_RenderDlight()
134 v[j] = light->origin[j] + vright[j]*cos(a)*rad in R_RenderDlight()
135 + vup[j]*sin(a)*rad; in R_RenderDlight()
Dr_surf.cpp66 float dist, rad, minlight; in R_AddDynamicLights() local
83 rad = cl_dlights[lnum].radius; in R_AddDynamicLights()
86 rad -= fabs(dist); in R_AddDynamicLights()
88 if (rad < minlight) in R_AddDynamicLights()
90 minlight = rad - minlight; in R_AddDynamicLights()
122 temp = (rad - dist)*256; in R_AddDynamicLights()
135 blocklights[t*smax + s] += (rad - dist)*256; in R_AddDynamicLights()
Dgl_rsurf.cpp72 float dist, rad, minlight; in R_AddDynamicLights() local
88 rad = cl_dlights[lnum].radius; in R_AddDynamicLights()
91 rad -= fabs(dist); in R_AddDynamicLights()
93 if (rad < minlight) in R_AddDynamicLights()
95 minlight = rad - minlight; in R_AddDynamicLights()
124 blocklights[t*smax + s] += (int)((rad - dist)*256); in R_AddDynamicLights()
/external/tcpdump/
Dprint-radius.c896 register const struct radius_hdr *rad; in radius_print() local
900 rad = (struct radius_hdr *)dat; in radius_print()
901 len = EXTRACT_16BITS(&rad->len); in radius_print()
914 tok2str(radius_command_values,"Unknown Command",rad->code), in radius_print()
915 rad->code, in radius_print()
916 rad->id, in radius_print()
923 tok2str(radius_command_values,"Unknown Command",rad->code), in radius_print()
924 rad->code, in radius_print()
925 rad->id); in radius_print()
928 printf("%02x", rad->auth[auth_idx] ); in radius_print()
/external/skia/samplecode/
DSampleOvalTest.cpp55 const SkScalar rad = SkScalarHalf(fSize.width()); in checkOval() local
66 if (dist <= rad && !*ptr) { in checkOval()
69 } else if (dist > rad && *ptr) { in checkOval()
DClockFaceView.cpp134 SkScalar rad = 3 + SkIntToScalar(4) * (1 - interp); in makepe() local
135 lattice.setScale(rad*2, rad*2, 0, 0); in makepe()
137 return new Dot2DPathEffect(rad, lattice, pts); in makepe()
DSamplePathFill.cpp79 SkScalar rad = -SK_ScalarPI / 2; in make_star() local
84 rad += drad; in make_star()
85 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star()
DSampleArc.cpp140 const SkScalar rad[] = { d, d, d, d, d, d, d, d }; in onDrawContent() local
142 path.addRoundRect(r, rad); in onDrawContent()
/external/quake/quake/src/QW/client/
Dgl_rlight.c99 float rad; in R_RenderDlight() local
104 rad = light->radius * 0.35; in R_RenderDlight()
107 if (Length (v) < rad) in R_RenderDlight()
122 v[i] = light->origin[i] - vpn[i]*rad; in R_RenderDlight()
130 + vup[j]*(*bub_sin)) * rad; in R_RenderDlight()
Dr_surf.c66 float dist, rad, minlight; in R_AddDynamicLights() local
83 rad = cl_dlights[lnum].radius; in R_AddDynamicLights()
86 rad -= fabs(dist); in R_AddDynamicLights()
88 if (rad < minlight) in R_AddDynamicLights()
90 minlight = rad - minlight; in R_AddDynamicLights()
119 blocklights[t*smax + s] += (rad - dist)*256; in R_AddDynamicLights()
Dgl_rsurf.c72 float dist, rad, minlight; in R_AddDynamicLights() local
88 rad = cl_dlights[lnum].radius; in R_AddDynamicLights()
91 rad -= fabs(dist); in R_AddDynamicLights()
93 if (rad < minlight) in R_AddDynamicLights()
95 minlight = rad - minlight; in R_AddDynamicLights()
124 blocklights[t*smax + s] += (rad - dist)*256; in R_AddDynamicLights()
/external/skia/gm/
Dpathfill.cpp79 SkScalar rad = -SK_ScalarPI / 2; in make_star() local
84 rad += drad; in make_star()
85 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star()
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/SSAO/
Dssao15.frag76 float rad =m_SampleRadius / position.z;
81 vec2 coord1 = reflection(vec2(m_Samples[j]), rand) * vec2(rad,rad);
Dssao.frag84 float rad =m_SampleRadius / position.z;
89 vec2 coord1 = reflection(vec2(m_Samples[j]), vec2(rand)) * vec2(rad,rad);
/external/skia/src/core/
DSkPath.cpp709 void SkPath::addRoundRect(const SkRect& rect, const SkScalar rad[], in addRoundRect() argument
719 add_corner_arc(this, rect, rad[0], rad[1], 180, dir, true); in addRoundRect()
720 add_corner_arc(this, rect, rad[2], rad[3], 270, dir, false); in addRoundRect()
721 add_corner_arc(this, rect, rad[4], rad[5], 0, dir, false); in addRoundRect()
722 add_corner_arc(this, rect, rad[6], rad[7], 90, dir, false); in addRoundRect()
724 add_corner_arc(this, rect, rad[0], rad[1], 180, dir, true); in addRoundRect()
725 add_corner_arc(this, rect, rad[6], rad[7], 90, dir, false); in addRoundRect()
726 add_corner_arc(this, rect, rad[4], rad[5], 0, dir, false); in addRoundRect()
727 add_corner_arc(this, rect, rad[2], rad[3], 270, dir, false); in addRoundRect()
DSkMath.cpp427 double rad = i * 3.141592653589793 / (2*kTableSize); in build_sintable() local
428 double val = sin(rad); in build_sintable()
/external/skia/src/gpu/
DGrContext.cpp651 const GrScalar rad = GrScalarHalf(width); in setStrokeRectStrip() local
654 verts[0].set(rect.fLeft + rad, rect.fTop + rad); in setStrokeRectStrip()
655 verts[1].set(rect.fLeft - rad, rect.fTop - rad); in setStrokeRectStrip()
656 verts[2].set(rect.fRight - rad, rect.fTop + rad); in setStrokeRectStrip()
657 verts[3].set(rect.fRight + rad, rect.fTop - rad); in setStrokeRectStrip()
658 verts[4].set(rect.fRight - rad, rect.fBottom - rad); in setStrokeRectStrip()
659 verts[5].set(rect.fRight + rad, rect.fBottom + rad); in setStrokeRectStrip()
660 verts[6].set(rect.fLeft + rad, rect.fBottom - rad); in setStrokeRectStrip()
661 verts[7].set(rect.fLeft - rad, rect.fBottom + rad); in setStrokeRectStrip()
/external/icu4c/data/locales/
Dewo.txt101 "séradé",
/external/quake/quake/src/QW/server/
Dpr_cmds.c766 float rad; in PF_findradius() local
774 rad = G_FLOAT(OFS_PARM1); in PF_findradius()
785 if (Length(eorg) > rad) in PF_findradius()

123