Home
last modified time | relevance | path

Searched refs:norm (Results 1 – 25 of 382) sorted by relevance

12345678910>>...16

/external/libxml2/result/
Datt5.sax12 SAX.startElement(norm, attr=' ')
13 SAX.endElement(norm)
16 SAX.startElement(norm, attr=' foo bar ')
17 SAX.endElement(norm)
20 SAX.startElement(norm, attr=' foobar')
21 SAX.endElement(norm)
24 SAX.startElement(norm, attr=' foo bar ')
25 SAX.endElement(norm)
28 SAX.startElement(norm, attr='foobar ')
29 SAX.endElement(norm)
[all …]
Datt5.rde8 1 1 norm 1 0
11 1 1 norm 1 0
14 1 1 norm 1 0
17 1 1 norm 1 0
20 1 1 norm 1 0
23 1 1 norm 1 0
26 1 1 norm 1 0
29 1 1 norm 1 0
32 1 1 norm 1 0
35 1 1 norm 1 0
[all …]
Datt5.rdr8 1 1 norm 1 0
11 1 1 norm 1 0
14 1 1 norm 1 0
17 1 1 norm 1 0
20 1 1 norm 1 0
23 1 1 norm 1 0
26 1 1 norm 1 0
29 1 1 norm 1 0
32 1 1 norm 1 0
35 1 1 norm 1 0
[all …]
Datt5.sax212 SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' '...', 3)
13 SAX.endElementNs(norm, NULL, NULL)
16 SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' f...', 13)
17 SAX.endElementNs(norm, NULL, NULL)
20 SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' fo...', 8)
21 SAX.endElementNs(norm, NULL, NULL)
24 SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' foo...', 9)
25 SAX.endElementNs(norm, NULL, NULL)
28 SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr='foob...', 8)
29 SAX.endElementNs(norm, NULL, NULL)
[all …]
/external/svox/pico/lib/
Dpicosig2.c1006 picoos_int32 *norm; in gen_hann2() local
1009 norm = sig_inObj->norm_window_p; in gen_hann2()
1011 norm[0] = 80224; in gen_hann2()
1012 norm[1] = 320832; in gen_hann2()
1013 norm[2] = 721696; in gen_hann2()
1014 norm[3] = 1282560; in gen_hann2()
1015 norm[4] = 2003104; in gen_hann2()
1016 norm[5] = 2882880; in gen_hann2()
1017 norm[6] = 3921376; in gen_hann2()
1018 norm[7] = 5117984; in gen_hann2()
[all …]
/external/opencv/cxcore/src/
Dcxnorm.cpp57 norm = _update_op_( norm, t0 ); \
58 norm = _update_op_( norm, t1 ); \
64 norm = _update_op_( norm, t0 ); \
65 norm = _update_op_( norm, t1 ); \
72 norm = _update_op_( norm, t0 ); \
83 norm = _update_op_( norm, t0 ); \
98 norm = _update_op_( norm, t0 ); \
99 norm = _update_op_( norm, t1 ); \
107 norm = _update_op_( norm, t0 ); \
108 norm = _update_op_( norm, t1 ); \
[all …]
/external/mesa3d/src/mesa/tnl/
Dt_vb_texgen.c107 const GLfloat *norm = normal->start; in build_m3() local
110 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { in build_m3()
114 two_nu = 2.0F * DOT3(norm,u); in build_m3()
115 fx = f[i][0] = u[0] - norm[0] * two_nu; in build_m3()
116 fy = f[i][1] = u[1] - norm[1] * two_nu; in build_m3()
117 fz = f[i][2] = u[2] - norm[2] * two_nu; in build_m3()
135 GLfloat *norm = normal->start; in build_m2() local
138 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { in build_m2()
143 two_nu = 2.0F * DOT3(norm,u); in build_m2()
144 fx = f[i][0] = u[0] - norm[0] * two_nu; in build_m2()
[all …]
/external/skia/tools/
Dsk_tool_utils.cpp240 static inline void norm_to_rgb(SkBitmap* bm, int x, int y, const SkVector3& norm) { in norm_to_rgb() argument
241 SkASSERT(SkScalarNearlyEqual(norm.length(), 1.0f)); in norm_to_rgb()
242 unsigned char r = static_cast<unsigned char>((0.5f * norm.fX + 0.5f) * 255); in norm_to_rgb()
243 unsigned char g = static_cast<unsigned char>((-0.5f * norm.fY + 0.5f) * 255); in norm_to_rgb()
244 unsigned char b = static_cast<unsigned char>((0.5f * norm.fZ + 0.5f) * 255); in norm_to_rgb()
253 SkVector3 norm; in create_hemi_normal_map() local
257 norm.fX = (x + 0.5f - center.fX) / halfSize.fX; in create_hemi_normal_map()
258 norm.fY = (y + 0.5f - center.fY) / halfSize.fY; in create_hemi_normal_map()
260 SkScalar tmp = norm.fX * norm.fX + norm.fY * norm.fY; in create_hemi_normal_map()
262 norm.set(0.0f, 0.0f, 1.0f); in create_hemi_normal_map()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_format_parse.py55 def __init__(self, type, norm, pure, size, name = ''): argument
57 self.norm = norm
65 if self.norm:
73 …return self.type == other.type and self.norm == other.norm and self.pure == other.pure and self.si…
81 if self.norm:
97 if self.norm:
162 if channel.norm != ref_channel.norm:
282 norm = True
287 norm = False
290 norm = False
[all …]
/external/eigen/test/
Dhouseholder.cpp45 VERIFY_IS_APPROX(v1.norm(), v2.norm()); in householder()
46 if(rows>=2) VERIFY_IS_MUCH_SMALLER_THAN(v1.tail(rows-1).norm(), v1.norm()); in householder()
50 VERIFY_IS_APPROX(v1.norm(), v2.norm()); in householder()
61 VERIFY_IS_APPROX(m1.norm(), m2.norm()); in householder()
62 if(rows>=2) VERIFY_IS_MUCH_SMALLER_THAN(m1.block(1,0,rows-1,cols).norm(), m1.norm()); in householder()
73 VERIFY_IS_APPROX(m3.norm(), m4.norm()); in householder()
74 if(rows>=2) VERIFY_IS_MUCH_SMALLER_THAN(m3.block(0,1,rows,rows-1).norm(), m3.norm()); in householder()
Dstable_norm.cpp72 VERIFY_IS_MUCH_SMALLER_THAN(vzero.norm(), static_cast<RealScalar>(1)); in stable_norm()
73 VERIFY_IS_APPROX(vrand.stableNorm(), vrand.norm()); in stable_norm()
74 VERIFY_IS_APPROX(vrand.blueNorm(), vrand.norm()); in stable_norm()
75 VERIFY_IS_APPROX(vrand.hypotNorm(), vrand.norm()); in stable_norm()
98 VERIFY_IS_APPROX(vrand.colwise().stableNorm(), vrand.colwise().norm()); in stable_norm()
99 VERIFY_IS_APPROX(vrand.colwise().blueNorm(), vrand.colwise().norm()); in stable_norm()
100 VERIFY_IS_APPROX(vrand.colwise().hypotNorm(), vrand.colwise().norm()); in stable_norm()
101 VERIFY_IS_APPROX(vrand.rowwise().stableNorm(), vrand.rowwise().norm()); in stable_norm()
102 VERIFY_IS_APPROX(vrand.rowwise().blueNorm(), vrand.rowwise().norm()); in stable_norm()
103 VERIFY_IS_APPROX(vrand.rowwise().hypotNorm(), vrand.rowwise().norm()); in stable_norm()
Dadjoint.cpp33 … = NumTraits<Scalar>::IsInteger ? RealScalar(0) : (std::max)((s1 * v1 + s2 * v2).norm(),v3.norm()); in run()
37 VERIFY_IS_APPROX(v1.squaredNorm(), v1.norm() * v1.norm()); in run()
39 VERIFY_IS_APPROX(v1, v1.norm() * v1.normalized()); in run()
42 VERIFY_IS_APPROX(v1, v1.norm() * v3); in run()
44 VERIFY_IS_APPROX(v3.norm(), RealScalar(1)); in run()
47 …teger ? 0 : (std::max)((std::max)(v1.norm(),v2.norm()),(std::max)((square * v2).norm(),(square.adj… in run()
52 VERIFY_IS_APPROX(Vec::Random(v1.size()).normalized().norm(), RealScalar(1)); in run()
/external/libcxx/test/std/numerics/complex.number/cmplx.over/
Dnorm.pass.cpp26 static_assert((std::is_same<decltype(std::norm(x)), double>::value), ""); in test()
27 assert(std::norm(x) == norm(std::complex<double>(x, 0))); in test()
34 static_assert((std::is_same<decltype(std::norm(x)), T>::value), ""); in test()
35 assert(std::norm(x) == norm(std::complex<T>(x, 0))); in test()
/external/icu/icu4c/source/test/intltest/
Dtstnrapi.cpp26 Normalizer norm(iter, UNORM_NFC); in TestNormalizerAPI() local
27 if(norm.next()!=0xe4) { in TestNormalizerAPI()
32 Normalizer copy(norm); in TestNormalizerAPI()
74 norm.setIndexOnly(3); in TestNormalizerAPI()
75 if(norm.current()!=0x4e3d) { in TestNormalizerAPI()
134 norm.setMode(UNORM_NONE); in TestNormalizerAPI()
135 if(norm.first()!=0x61 || norm.next()!=0x308 || norm.last()!=0x2f800) { in TestNormalizerAPI()
Dtstnorm.cpp165 Normalizer* norm = new Normalizer("", UNORM_NFD); in TestPrevious() local
170 backAndForth(norm, canonTests[i][0]); in TestPrevious()
174 norm->setMode(UNORM_NFC); in TestPrevious()
176 backAndForth(norm, canonTests[i][0]); in TestPrevious()
179 delete norm; in TestPrevious()
184 Normalizer* norm = new Normalizer("", UNORM_NFD); in TestDecomp() local
185 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 1); in TestDecomp()
187 delete norm; in TestDecomp()
192 Normalizer* norm = new Normalizer("", UNORM_NFKD); in TestCompatDecomp() local
193 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTests), 1); in TestCompatDecomp()
[all …]
/external/ceres-solver/internal/ceres/
Dsmall_blas_test.cc73 EXPECT_NEAR((C_plus_ref - C_plus).norm(), 0.0, kTolerance) in TEST()
91 EXPECT_NEAR((C_minus_ref - C_minus).norm(), 0.0, kTolerance) in TEST()
108 EXPECT_NEAR((C_assign_ref - C_assign).norm(), 0.0, kTolerance) in TEST()
156 EXPECT_NEAR((C_plus_ref - C_plus).norm(), 0.0, kTolerance) in TEST()
173 EXPECT_NEAR((C_minus_ref - C_minus).norm(), 0.0, kTolerance) in TEST()
190 EXPECT_NEAR((C_assign_ref - C_assign).norm(), 0.0, kTolerance) in TEST()
229 EXPECT_NEAR((c_plus_ref - c_plus).norm(), 0.0, kTolerance) in TEST()
238 EXPECT_NEAR((c_minus_ref - c_minus).norm(), 0.0, kTolerance) in TEST()
247 EXPECT_NEAR((c_assign_ref - c_assign).norm(), 0.0, kTolerance) in TEST()
278 EXPECT_NEAR((c_plus_ref - c_plus).norm(), 0.0, kTolerance) in TEST()
[all …]
Drotation_test.cc318 double norm = 0; in TEST() local
321 norm += axis_angle[i] * axis_angle[i]; in TEST()
323 norm = sqrt(norm); in TEST()
328 axis_angle[i] = axis_angle[i] * theta / norm; in TEST()
350 double norm = 0; in TEST() local
353 norm += quaternion[i] * quaternion[i]; in TEST()
355 norm = sqrt(norm); in TEST()
358 quaternion[i] = quaternion[i] / norm; in TEST()
427 double norm = 0; in TEST() local
430 norm += in_axis_angle[i] * in_axis_angle[i]; in TEST()
[all …]
/external/opencv3/modules/calib3d/test/
Dtest_compose_rt.cpp165 if (norm(rvec3_exp, rvec3) > thres || norm(tvec3_exp, tvec3) > thres) in run()
179 if (norm(dr3_dr1, dr3dr1) > thres || norm(dt3_dr1, dt3dr1) > thres) in run()
188 if (norm(dr3_dr2, dr3dr2) > thres || norm(dt3_dr2, dt3dr2) > thres) in run()
197 if (norm(dr3_dt1, dr3dt1) > thres || norm(dt3_dt1, dt3dt1) > thres) in run()
206 if (norm(dr3_dt2, dr3dt2) > thres || norm(dt3_dt2, dt3dt2) > thres) in run()
/external/autotest/client/site_tests/graphics_SanAngeles/src/
Dmatrixop.c70 float norm = sqrtf((*ax) * (*ax) + (*ay) * (*ay) + (*az) * (*az)); in normalize() local
71 if (norm > 0) in normalize()
73 *ax /= norm; in normalize()
74 *ay /= norm; in normalize()
75 *az /= norm; in normalize()
77 return norm; in normalize()
90 float norm = normalize(&ax, &ay, &az); in Matrix4x4_Rotate() local
92 if (norm == 0 || angle == 0) in Matrix4x4_Rotate()
/external/webrtc/webrtc/common_audio/signal_processing/
Dlevinson_durbin.c38 int16_t norm; in WebRtcSpl_LevinsonDurbin() local
42 norm = WebRtcSpl_NormW32(R[0]); in WebRtcSpl_LevinsonDurbin()
46 temp1W32 = WEBRTC_SPL_LSHIFT_W32(R[i], norm); in WebRtcSpl_LevinsonDurbin()
135 norm = WebRtcSpl_NormW32(temp3W32); in WebRtcSpl_LevinsonDurbin()
136 if ((Alpha_exp <= norm) || (temp3W32 == 0)) in WebRtcSpl_LevinsonDurbin()
212 norm = WebRtcSpl_NormW32(temp1W32); in WebRtcSpl_LevinsonDurbin()
213 temp1W32 = WEBRTC_SPL_LSHIFT_W32(temp1W32, norm); in WebRtcSpl_LevinsonDurbin()
219 Alpha_exp = Alpha_exp + norm; in WebRtcSpl_LevinsonDurbin()
/external/opencv3/modules/photo/test/
Dtest_npr.cpp65 double error = cvtest::norm(reference, result, NORM_L1); in TEST()
82 double error = cvtest::norm(reference, result, NORM_L1); in TEST()
100 double error = cvtest::norm(reference, result, NORM_L1); in TEST()
117 double pencil_error = norm(pencil_reference, pencil_result, NORM_L1); in TEST()
121 double color_pencil_error = cvtest::norm(color_pencil_reference, color_pencil_result, NORM_L1); in TEST()
138 double stylized_error = cvtest::norm(stylized_reference, result, NORM_L1); in TEST()
/external/eigen/doc/snippets/
DRealQZ_compute.cpp13 << "\n|A-QSZ|: " << (A-qz.matrixQ()*qz.matrixS()*qz.matrixZ()).norm()
14 << ", |B-QTZ|: " << (B-qz.matrixQ()*qz.matrixT()*qz.matrixZ()).norm()
15 << "\n|QQ* - I|: " << (qz.matrixQ()*qz.matrixQ().adjoint() - MatrixXf::Identity(4,4)).norm()
16 << ", |ZZ* - I|: " << (qz.matrixZ()*qz.matrixZ().adjoint() - MatrixXf::Identity(4,4)).norm()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_maos_vbtmp.h46 GLuint (*norm)[4]; in TAG() local
117 norm = (GLuint (*)[4])VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; in TAG()
120 norm = (GLuint (*)[4])&ctx->Current.Attrib[VERT_ATTRIB_NORMAL]; in TAG()
164 norm = (GLuint (*)[4])((GLubyte *)norm + start * norm_stride); in TAG()
189 v[0].ui = norm[0][0]; in TAG()
190 v[1].ui = norm[0][1]; in TAG()
191 v[2].ui = norm[0][2]; in TAG()
193 norm = (GLuint (*)[4])((GLubyte *)norm + norm_stride); in TAG()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DTnaf.java82 public static BigInteger norm(final byte mu, ZTauElement lambda) in norm() method in Tnaf
84 BigInteger norm; in norm() local
97 norm = s1.add(s2).add(s3); in norm()
101 norm = s1.subtract(s2).add(s3); in norm()
108 return norm; in norm()
123 public static SimpleBigDecimal norm(final byte mu, SimpleBigDecimal u, in norm() method in Tnaf
126 SimpleBigDecimal norm; in norm() local
139 norm = s1.add(s2).add(s3); in norm()
143 norm = s1.subtract(s2).add(s3); in norm()
150 return norm; in norm()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_main.c54 type.norm ? "n" : "", in dump_type()
128 if(type.norm && value < -1.0) in write_elem()
130 if(type.norm && value > 1.0) in write_elem()
197 if(!type.norm) { in random_elem()
306 if(type.sign && !type.norm) { in dump_vec()
339 format = type.norm ? "%2x" : "%4llu"; in dump_vec()
343 format = type.norm ? "%4x" : "%6llx"; in dump_vec()
347 format = type.norm ? "%8x" : "%11llx"; in dump_vec()
351 format = type.norm ? "%16x" : "%21llx"; in dump_vec()

12345678910>>...16