Home
last modified time | relevance | path

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

123

/frameworks/compile/slang/
Dslang_rs_reflect_utils.cpp33 const char *dot = fileName + strlen(fileName); in GetFileNameStem() local
34 const char *slash = dot - 1; in GetFileNameStem()
39 if ((*slash == '.') && (*dot == 0)) { in GetFileNameStem()
40 dot = slash; in GetFileNameStem()
45 return string(slash, dot - slash); in GetFileNameStem()
67 const char *dot = rsFileName + strlen(rsFileName); in InternalFileNameConvert() local
68 const char *slash = dot - 1; in InternalFileNameConvert()
73 if ((*slash == '.') && (*dot == 0)) { in InternalFileNameConvert()
74 dot = slash; in InternalFileNameConvert()
81 for (; (i < 255) && (slash < dot); ++slash) { in InternalFileNameConvert()
/frameworks/base/tests/RenderScriptTests/SceneGraph/res/raw/
Dplastic_lights.glsl12 float light0_Diffuse = clamp(dot(worldNorm, light0Vec), 0.0, 1.0);
13 float light0Spec = clamp(dot(-light0R, V), 0.001, 1.0);
18 float light1_Diffuse = clamp(dot(worldNorm, light1Vec), 0.0, 1.0);
19 float light1Spec = clamp(dot(-light1R, V), 0.001, 1.0);
Ddiffuse_lights.glsl11 float light0_Diffuse = clamp(dot(worldNorm, light0Vec), 0.0, 1.0);
14 float light1_Diffuse = clamp(dot(worldNorm, light1Vec), 0.0, 1.0);
Dplastic.glsl12 float light0_Diffuse = clamp(dot(worldNorm, light0Vec), 0.0, 1.0);
13 float light0Spec = clamp(dot(-light0R, V), 0.001, 1.0);
Dmetal.glsl12 float light0_Diffuse = clamp(dot(worldNorm, light0Vec), 0.0, 1.0);
13 float light0Spec = clamp(dot(-light0R, V), 0.001, 1.0);
Dpaintf.glsl12 float light0_Diffuse = clamp(dot(worldNorm, light0Vec), 0.01, 0.99);
13 float light0Spec = clamp(dot(-light0R, V), 0.001, 1.0);
Dselect_color.glsl7 float lum = dot(desat, col);
Ddiffuse.glsl12 float light0_Diffuse = dot(worldNorm, light0Vec);
/frameworks/base/tests/RenderScriptTests/PerfTest/res/raw/
Dshaderv.glsl18 light0_Diffuse = clamp(dot(worldNorm, light0Vec), 0.0, 1.0) * UNI_light0_Diffuse;
19 float light0Spec = clamp(dot(light0R, V), 0.001, 1.0);
24 light1_Diffuse = clamp(dot(worldNorm, light1Vec), 0.0, 1.0) * UNI_light1_Diffuse;
25 float light1Spec = clamp(dot(light1R, V), 0.001, 1.0);
Dshader2f.glsl12 float light0_Diffuse = clamp(dot(worldNorm, light0Vec), 0.0, 1.0) * UNI_light0_Diffuse;
13 float light0Spec = clamp(dot(light0R, V), 0.001, 1.0);
18 float light1_Diffuse = clamp(dot(worldNorm, light1Vec), 0.0, 1.0) * UNI_light1_Diffuse;
19 float light1Spec = clamp(dot(light1R, V), 0.001, 1.0);
/frameworks/base/tests/RenderScriptTests/MiscSamples/res/raw/
Dshaderv.glsl18 light0_Diffuse = clamp(dot(worldNorm, light0Vec), 0.0, 1.0) * UNI_light0_Diffuse;
19 float light0Spec = clamp(dot(light0R, V), 0.001, 1.0);
24 light1_Diffuse = clamp(dot(worldNorm, light1Vec), 0.0, 1.0) * UNI_light1_Diffuse;
25 float light1Spec = clamp(dot(light1R, V), 0.001, 1.0);
Dshaderarrayv.glsl20 light0_Diffuse = clamp(dot(worldNorm, light0Vec), 0.0, 1.0) * UNI_light_Diffuse[0];
21 float light0Spec = clamp(dot(light0R, V), 0.001, 1.0);
26 light1_Diffuse = clamp(dot(worldNorm, light1Vec), 0.0, 1.0) * UNI_light_Diffuse[1];
27 float light1Spec = clamp(dot(light1R, V), 0.001, 1.0);
Dshader2f.glsl12 float light0_Diffuse = clamp(dot(worldNorm, light0Vec), 0.0, 1.0) * UNI_light0_Diffuse;
13 float light0Spec = clamp(dot(light0R, V), 0.001, 1.0);
18 float light1_Diffuse = clamp(dot(worldNorm, light1Vec), 0.0, 1.0) * UNI_light1_Diffuse;
19 float light1Spec = clamp(dot(light1R, V), 0.001, 1.0);
/frameworks/compile/libbcc/lib/Renderscript/runtime/arch/
Ddot_length.c19 extern float __attribute__((overloadable)) dot(float lhs, float rhs) { in dot() function
22 extern float __attribute__((overloadable)) dot(float2 lhs, float2 rhs) { in dot() function
25 extern float __attribute__((overloadable)) dot(float3 lhs, float3 rhs) { in dot() function
28 extern float __attribute__((overloadable)) dot(float4 lhs, float4 rhs) { in dot() function
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
Dstochastic_linear_ranker.h177 const double dot = weight_.DotProduct(sample); in ScoreSample() local
182 return dot; in ScoreSample()
184 return pow(kernel_gain_ * dot + kernel_bias_, kernel_param_); in ScoreSample()
188 return exp(-1 * kernel_param_ * (w_square + s_square - 2 * dot)); in ScoreSample()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DLocationCluster.java118 double dot = 0f; in moveAwayCluster() local
120 dot += mCenter[i] * cluster.mCenter[i]; in moveAwayCluster()
124 vector[i] = mCenter[i] - dot * cluster.mCenter[i]; in moveAwayCluster()
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dgreyscale.fs24 float3 mono = dot(f4.rgb, gMonoMult);
30 return (uchar)dot(f4.rgb, gMonoMult);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dgreyscale.fs24 float3 mono = dot(f4.rgb, gMonoMult);
30 return (uchar)dot(f4.rgb, gMonoMult);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dgreyscale.fs24 float3 mono = dot(f4.rgb, gMonoMult);
30 return (uchar)dot(f4.rgb, gMonoMult);
/frameworks/rs/scriptc/
Drs_math.rsh167 float distToCenter = dot(left->xyz, sphere->xyz) + left->w;
171 distToCenter = dot(right->xyz, sphere->xyz) + right->w;
175 distToCenter = dot(top->xyz, sphere->xyz) + top->w;
179 distToCenter = dot(bottom->xyz, sphere->xyz) + bottom->w;
183 distToCenter = dot(near->xyz, sphere->xyz) + near->w;
187 distToCenter = dot(far->xyz, sphere->xyz) + far->w;
/frameworks/compile/mclinker/include/mcld/ADT/
DStringHash.h285 unsigned int dot = 0;
291 ++dot;
315 result |= (dot << 28);
/frameworks/base/core/jni/android/graphics/
DCamera.cpp88 SkScalar dot = v->dotWithNormal(SkFloatToScalar(x), SkFloatToScalar(y), in Camera_dotWithNormal() local
90 return SkScalarToFloat(dot); in Camera_dotWithNormal()
/frameworks/rs/tests/cppbasic/
Dmono.rs48 float3 mono = dot(f4.rgb, gMonoMult);
/frameworks/base/libs/hwui/
DVector.h101 float dot(const Vector2& v) const { in dot() function
/frameworks/base/tests/CoreTests/android/core/
DSSLSocketTest.java126 int dot = line.indexOf(':'); in fetch() local
127 if (dot != -1) { in fetch()
128 String key = line.substring(0, dot).trim(); in fetch()
129 String value = line.substring(dot + 1).trim(); in fetch()

123