Home
last modified time | relevance | path

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

12345

/frameworks/compile/mclinker/lib/Script/
DTernaryOp.cpp42 uint64_t dot = m_pOperand[0]->value(); in eval() local
47 alignAddress(dot, maxPageSize); in eval()
49 form1 = dot + (dot & (maxPageSize - 1)); in eval()
50 form2 = dot + (dot & (maxPageSize - commonPageSize)); in eval()
/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);
Dplastic.glsl12 float light0_Diffuse = clamp(dot(worldNorm, light0Vec), 0.0, 1.0);
13 float light0Spec = clamp(dot(-light0R, 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);
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);
/frameworks/compile/slang/
Dslang_rs_reflect_utils.cpp36 const char *dot = fileName + strlen(fileName); in GetFileNameStem() local
37 const char *slash = dot - 1; in GetFileNameStem()
42 if ((*slash == '.') && (*dot == 0)) { in GetFileNameStem()
43 dot = slash; in GetFileNameStem()
48 return string(slash, dot - slash); in GetFileNameStem()
70 const char *dot = rsFileName + strlen(rsFileName); in InternalFileNameConvert() local
71 const char *slash = dot - 1; in InternalFileNameConvert()
76 if ((*slash == '.') && (*dot == 0)) { in InternalFileNameConvert()
77 dot = slash; in InternalFileNameConvert()
84 for (; (i < 255) && (slash < dot); ++slash) { in InternalFileNameConvert()
/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/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
DParserHelper.java31 final int dot = name.lastIndexOf('.'); in stripExtension() local
32 return dot < 0 ? name : name.substring(0, dot); in stripExtension()
/frameworks/compile/mclinker/lib/Object/
DSectionMap.cpp339 Output::dot_iterator dot = (*it)->find_first_explicit_dot(); in fixupDotSymbols() local
340 if (dot != (*it)->dot_end() && (*dot).symbol().isDot() && in fixupDotSymbols()
341 (*dot).getRpnExpr().hasDot()) { in fixupDotSymbols()
346 Output::dot_iterator ref = (*it)->dotAssignments().insert(dot, assign); in fixupDotSymbols()
347 for (RpnExpr::iterator tok = (*dot).getRpnExpr().begin(), in fixupDotSymbols()
348 tokEnd = (*dot).getRpnExpr().end(); in fixupDotSymbols()
360 Output::dot_iterator dot = (*it)->find_last_explicit_dot(); in fixupDotSymbols() local
361 if (dot == (*it)->dot_end()) { in fixupDotSymbols()
366 dot = (*it)->dotAssignments().insert(dot, assign); in fixupDotSymbols()
374 *tok = &((*dot).symbol()); in fixupDotSymbols()
/frameworks/av/media/libmedia/docs/
DMakefile1 paused.png : paused.dot
2 dot -Tpng < $< > $@
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
Dstochastic_linear_ranker.h178 const double dot = weight_.DotProduct(sample); in ScoreSample() local
183 return dot; in ScoreSample()
185 return pow(kernel_gain_ * dot + kernel_bias_, kernel_param_); in ScoreSample()
189 return exp(-1 * kernel_param_ * (w_square + s_square - 2 * dot)); in ScoreSample()
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dgreyscale.rs25 float3 mono = dot(f4.rgb, gMonoMult);
31 return (uchar)dot(f4.rgb, gMonoMult);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dgreyscale.rs25 float3 mono = dot(f4.rgb, gMonoMult);
31 return (uchar)dot(f4.rgb, gMonoMult);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dgreyscale.rs25 float3 mono = dot(f4.rgb, gMonoMult);
31 return (uchar)dot(f4.rgb, gMonoMult);
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
Dbugdroid.rs31 if (dot(p2 - p1, img - p1) > 0 && dot(p1 - p2, img - p2) > 0) {
49 float dot1 = dot(p2 - p1, img - p1);
50 float dot2 = dot(p1 - p2, img - p2);
71 float tmp1 = dot(normal, pc);
86 float tmp1 = dot(normal, pc);
89 if (length(pc - dot(normal, pc) * normal) > radius) {
DQuaternion.java44 private static double dot(double[] a, double[] b) { in dot() method in Quaternion
49 double norm = Math.sqrt(dot(a, a)); in normal()
57 double angle = Math.acos(dot(vec1, vec2)); in set()
64 return Math.acos(Math.min(dot(vec1, vec2), 1)); in calcAngle()
/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/scriptc/
Drs_vector_math.rsh72 * dot: Dot product of two vectors
74 * Computes the dot product of two vectors.
77 dot(float left_vector, float right_vector);
80 dot(float2 left_vector, float2 right_vector);
83 dot(float3 left_vector, float3 right_vector);
86 dot(float4 left_vector, float4 right_vector);
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/
Dgreyscale_f.rs23 return dot(in, gMonoMult);
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicColorMatrix.cpp117 uint32_t dot :1; // [12] member
261 if (!key.u.addMask) key.u.dot = 1; in computeKey()
363 DEF_SYM(dot) in DEF_SYM()
469 if (key.u.dot) in selectKernel()
504 if (!key.u.dot) { in build()
681 if (key.u.dot) { in build()
683 ADD_CHUNK(dot); in build()
722 key.u.dot = 0; in build()

12345