/external/stlport/src/ |
num_get_float.cpp | 232 static void _Stl_norm_and_round(uint64& p, int& norm, uint64 prodhi, uint64 prodlo) { 233 norm = 0; 247 norm = 1; 300 int norm; /* number of bits of normalization */ local 308 _Stl_norm_and_round(p, norm, prodhi, prodlo); 309 bexp += _Stl_twoexp[hi] - norm; 315 _Stl_norm_and_round(p, norm, prodhi, prodlo); 316 bexp += _Stl_twoexp[lo] - norm;
|
/ndk/sources/cxx-stl/stlport/src/ |
num_get_float.cpp | 232 static void _Stl_norm_and_round(uint64& p, int& norm, uint64 prodhi, uint64 prodlo) { 233 norm = 0; 247 norm = 1; 300 int norm; /* number of bits of normalization */ local 308 _Stl_norm_and_round(p, norm, prodhi, prodlo); 309 bexp += _Stl_twoexp[hi] - norm; 315 _Stl_norm_and_round(p, norm, prodhi, prodlo); 316 bexp += _Stl_twoexp[lo] - norm;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
Tnaf.java | 75 * Computes the norm of an element <code>λ</code> of 80 * @return The norm of <code>λ</code>. 82 public static BigInteger norm(final byte mu, ZTauElement lambda) method in class:Tnaf 84 BigInteger norm; local 97 norm = s1.add(s2).add(s3); 101 norm = s1.subtract(s2).add(s3); 108 return norm; 112 * Computes the norm of an element <code>λ</code> of 121 * @return The norm of <code>λ</code>. 123 public static SimpleBigDecimal norm(final byte mu, SimpleBigDecimal u method in class:Tnaf 126 SimpleBigDecimal norm; local 321 BigInteger norm = norm(mu, lambda); local 731 BigInteger norm = norm(mu, lambda); local [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
Ray.java | 212 Vector3f norm = edge1.cross(edge2, tempVd); local 214 float dirDotNorm = direction.dot(norm); 234 float diffDotNorm = -sign * diff.dot(norm);
|
Quaternion.java | 397 float norm = norm();
local 398 // we explicitly test norm against one here, saving a division
400 float s = (norm == 1f) ? 2f : (norm > 0f) ? 2f / norm : 0;
417 // using s=2/norm (instead of 1/norm) saves 9 multiplications by 2 here
442 float norm = norm();
local 506 float norm = norm(); local 1079 public float norm() { method in class:Quaternion 1117 float norm = norm(); local 1135 float norm = norm(); local [all...] |
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
GeometryBatchFactory.java | 46 Vector3f norm = new Vector3f(); local 53 norm.x = inBuf.get(i * 3 + 0); 54 norm.y = inBuf.get(i * 3 + 1); 55 norm.z = inBuf.get(i * 3 + 2); 57 transform.multNormal(norm, norm); 59 outBuf.put(offset + i * 3 + 0, norm.x); 60 outBuf.put(offset + i * 3 + 1, norm.y); 61 outBuf.put(offset + i * 3 + 2, norm.z);
|
/external/libvpx/vp8/encoder/ |
bitstream.c | 161 static const unsigned int norm[256] = variable 214 shift = norm[range]; 274 shift = norm[range]; 429 shift = norm[range]; 489 shift = norm[range]; 633 shift = norm[range]; 693 shift = norm[range]; [all...] |
/external/opencv/cvaux/src/ |
cvlevmarprojbandle.cpp | 1350 double norm = cvNorm(vectorX_points4D); local 1355 double norm = cvNorm(vectorX_projMatrs[i]); local 1384 double norm = cvNorm(matrsUk[i]); local 1390 double norm = cvNorm(matrsVi[i]); local 1427 double norm = cvNorm(matrsUk[i]); local 1433 double norm = cvNorm(matrsVi[i]); local [all...] |
cvhmm.cpp | 1501 float norm; local [all...] |
cvlmeds.cpp | 682 double norm, summ, best_norm; local 806 norm = 0; 819 norm += summ * summ; 822 norm = sqrt( norm ); 824 if( best_norm == -1 || norm < best_norm ) 830 best_norm = norm; [all...] |
/external/skia/src/core/ |
SkStroke.cpp | 241 SkVector norm, unit; local 244 this->quad_to(&tmp[0], normalAB, unitNormalAB, &norm, &unit, subDivide); 245 this->quad_to(&tmp[2], norm, unit, normalBC, unitNormalBC, subDivide); 299 SkVector norm, unit, dummy, unitDummy; local 302 this->cubic_to(&tmp[0], normalAB, unitNormalAB, &norm, &unit, 306 this->cubic_to(&tmp[3], norm, unit, &dummy, &unitDummy, subDivide);
|
/external/svox/pico/lib/ |
picosig2.c | 1006 picoos_int32 *norm; local [all...] |
/frameworks/base/libs/androidfw/ |
VelocityTracker.cpp | 475 float norm = vectorNorm(&q[j][0], m); local 476 if (norm < 0.000001f) { 479 ALOGD(" - no solution, norm=%f", norm); 484 float invNorm = 1.0f / norm; [all...] |
/frameworks/native/opengl/libs/GLES_trace/src/ |
gltrace_fixup.cpp | 584 GLboolean norm = glGetVertexAttrib(context, index, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED); local 590 index, size, type, norm, stride, ptr, [all...] |
/hardware/invensense/libsensors/ |
MPLSensor.cpp | 675 float norm = 0; local 688 norm = quat[1] * quat[1] + quat[2] * quat[2] + quat[3] * quat[3] 691 if (norm > 1.0f) { 693 norm = sqrtf(norm); 694 float inv_norm = 1.0f / norm; [all...] |
/packages/experimental/DreamTheater/src/com/android/dreamtheater/ |
BouncyDroid.java | 72 public Vec norm() { method in class:BouncyDroid.BouncyView.World.Vec 261 springForce = springForce.norm().mul(mag); 290 mBody.v = mBody.v.norm().mul(MAX_SPEED);
|
/external/icu4c/i18n/ |
ucol_res.cpp | 381 UColAttributeValue norm; local 405 norm = normalizationMode; 506 ucol_setAttribute(result, UCOL_NORMALIZATION_MODE, norm, status); [all...] |
/external/icu4c/test/cintltst/ |
callcoll.c | 279 UColAttributeValue norm = ucol_getAttribute(myCollation, UCOL_NORMALIZATION_MODE, &status); local 311 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); 347 if(getTestOption(QUICK_OPTION) <= 0 && norm != UCOL_ON) { 351 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); [all...] |
cnormtst.c | 663 UChar norm[100]; local 672 norm + normsize, 100 - normsize, &status); 687 if (nfdsize != normsize || u_memcmp(nfd, norm, nfdsize) != 0) { [all...] |
/external/icu4c/test/intltest/ |
tstnorm.cpp | 165 Normalizer* norm = new Normalizer("", UNORM_NFD); local 170 backAndForth(norm, canonTests[i][0]); 174 norm->setMode(UNORM_NFC); 176 backAndForth(norm, canonTests[i][0]); 179 delete norm; 184 Normalizer* norm = new Normalizer("", UNORM_NFD); local 185 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 1); 187 delete norm; 192 Normalizer* norm = new Normalizer("", UNORM_NFKD); local 193 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTests), 1) 202 Normalizer* norm = new Normalizer("", UNORM_NFC); local 212 Normalizer* norm = new Normalizer("", UNORM_NFKC); local 232 Normalizer* norm = new Normalizer("", UNORM_NFC); local 254 Normalizer* norm = new Normalizer("", UNORM_NFD); local [all...] |
/external/icu4c/tools/dumpce/ |
dumpce.cpp | 1134 UChar norm[32]; local [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
SkeletonControl.java | 167 VertexBuffer norm = mesh.getBuffer(Type.Normal); local 169 FloatBuffer nb = (FloatBuffer) norm.getData(); 393 * Also the iteration has additional indexes since tangent has 4 components instead of 3 for pos and norm
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
BatchNode.java | 511 Vector3f norm = vars.vect2; local 525 norm.x = tmpFloatN[index++]; 527 norm.y = tmpFloatN[index++]; 529 norm.z = tmpFloatN[index]; 532 transform.multNormal(norm, norm); 536 tmpFloatN[index++] = norm.x; 538 tmpFloatN[index++] = norm.y; 540 tmpFloatN[index++] = norm.z; 555 Vector3f norm = vars.vect2 local [all...] |
/external/opencv/cxcore/src/ |
cxutils.cpp | 716 double norm = 0, v; local 728 norm += v*v; 730 norm = sqrt(norm); 736 norm += v; 742 norm = MAX(norm,v); 745 norm = norm > DBL_EPSILON ? 1./norm : 0. [all...] |
/external/opencv/ml/src/ |
ml_inner_functions.cpp | 330 float rad, norm, coefficient; local 357 norm = (float) cvNorm (&sample, 0, CV_L2); 358 coefficient = rad / norm; [all...] |