/external/icu/icu4c/source/tools/gennorm2/ |
D | extradata.cpp | 40 int32_t ExtraData::writeMapping(UChar32 c, const Norm &norm, UnicodeString &dataString) { in writeMapping() argument 41 UnicodeString &m=*norm.mapping; in writeMapping() 44 int32_t firstUnit=length|(norm.trailCC<<8); in writeMapping() 46 if(norm.rawMapping!=NULL) { in writeMapping() 47 UnicodeString &rm=*norm.rawMapping; in writeMapping() 79 int32_t cccLccc=norm.cc|(norm.leadCC<<8); in writeMapping() 90 int32_t ExtraData::writeNoNoMapping(UChar32 c, const Norm &norm, in writeNoNoMapping() argument 94 int32_t offset=writeMapping(c, norm, newMapping); in writeNoNoMapping() 110 UBool ExtraData::setNoNoDelta(UChar32 c, Norm &norm) const { in setNoNoDelta() 113 if(norm.mappingCP>=0 && in setNoNoDelta() [all …]
|
D | n2builder.cpp | 325 void Normalizer2DataBuilder::postProcess(Norm &norm) { in postProcess() argument 332 if(norm.hasMapping()) { in postProcess() 333 if(norm.mapping->length()>Normalizer2Impl::MAPPING_LENGTH_MASK) { in postProcess() 334 norm.error="mapping longer than maximum of 31"; in postProcess() 339 if(norm.rawMapping!=nullptr) { in postProcess() 340 norms.reorder(*norm.rawMapping, buffer); in postProcess() 343 norms.reorder(*norm.mapping, buffer); in postProcess() 348 norm.leadCC=1; in postProcess() 349 norm.trailCC=0xff; in postProcess() 351 norm.leadCC=buffer.ccAt(0); in postProcess() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_glob.py | 16 def norm(self, *parts): member in GlobTests 20 filename = self.norm(*parts) 38 os.symlink(self.norm('broken'), self.norm('sym1')) 39 os.symlink('broken', self.norm('sym2')) 40 os.symlink(os.path.join('a', 'bcd'), self.norm('sym3')) 66 eq(self.glob('a'), [self.norm('a')]) 67 eq(self.glob('a', 'D'), [self.norm('a', 'D')]) 68 eq(self.glob('aab'), [self.norm('aab')]) 87 eq(self.glob('a*'), map(self.norm, ['a', 'aab', 'aaa'])) 88 eq(self.glob('*a'), map(self.norm, ['a', 'aaa'])) [all …]
|
/external/libxml2/result/ |
D | att5.sax | 12 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 …]
|
D | att5.rdr | 8 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 …]
|
D | att5.rde | 8 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 …]
|
D | att5.sax2 | 12 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/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_query_hw_sm.c | 609 uint8_t norm[2]; /* normalization num,denom */ member 623 .norm = { 1, 1 }, 632 .norm = { 2, 1 }, 641 .norm = { 1, 1 }, 650 .norm = { 1, 1 }, 659 .norm = { 1, 1 }, 668 .norm = { 1, 1 }, 677 .norm = { 1, 1 }, 686 .norm = { 1, 1 }, 695 .norm = { 1, 1 }, [all …]
|
/external/libxml2/result/noent/ |
D | att5.sax2 | 12 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/tensorflow/tensorflow/python/kernel_tests/signal/ |
D | dct_ops_test.py | 64 def _np_dct1(signals, n=None, norm=None): argument 68 del norm 80 def _np_dct2(signals, n=None, norm=None): argument 91 if norm == "ortho": 101 def _np_dct3(signals, n=None, norm=None): argument 108 if norm == "ortho": 123 def _np_dct4(signals, n=None, norm=None): argument 130 if norm == "ortho": 152 def _compare(self, signals, n, norm, dct_type, atol, rtol): argument 154 np_dct = NP_DCT[dct_type](signals, n=n, norm=norm) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_glob.py | 13 def norm(self, *parts): member in GlobTests 20 filename = self.norm(*parts) 38 os.symlink(self.norm('broken'), self.norm('sym1')) 39 os.symlink('broken', self.norm('sym2')) 40 os.symlink(os.path.join('a', 'bcd'), self.norm('sym3')) 66 eq(self.glob('a'), [self.norm('a')]) 67 eq(self.glob('a', 'D'), [self.norm('a', 'D')]) 68 eq(self.glob('aab'), [self.norm('aab')]) 83 eq(self.glob('a*'), map(self.norm, ['a', 'aab', 'aaa'])) 84 eq(self.glob('*a'), map(self.norm, ['a', 'aaa'])) [all …]
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | normalization_test.py | 109 norm = keras.layers.BatchNormalization( 111 model.add(norm) 121 out -= np.reshape(keras.backend.eval(norm.beta), (1, 3, 1, 1)) 122 out /= np.reshape(keras.backend.eval(norm.gamma), (1, 3, 1, 1)) 130 norm = keras.layers.BatchNormalization( 132 model.add(norm) 142 out -= np.reshape(keras.backend.eval(norm.beta), (1, 1, 1, 3)) 143 out /= np.reshape(keras.backend.eval(norm.gamma), (1, 1, 1, 3)) 165 norm = keras.layers.BatchNormalization( 171 y = norm(x) [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | normalize_op_test.py | 38 norm = np.linalg.norm(x, ord, tuple(axis)) 43 norm = np.expand_dims(norm, d) 46 norm = np.expand_dims(norm, d) 47 return x / norm 50 norm = np.linalg.norm(x.flatten(), ord, axis) 51 return x / norm 53 norm = np.apply_along_axis(np.linalg.norm, axis, x, ord) 54 return x / np.expand_dims(norm, axis)
|
/external/mesa3d/src/mesa/tnl/ |
D | t_vb_texgen.c | 106 const GLfloat *norm = normal->start; in build_m3() local 109 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { in build_m3() 113 two_nu = 2.0F * DOT3(norm,u); in build_m3() 114 fx = f[i][0] = u[0] - norm[0] * two_nu; in build_m3() 115 fy = f[i][1] = u[1] - norm[1] * two_nu; in build_m3() 116 fz = f[i][2] = u[2] - norm[2] * two_nu; in build_m3() 134 GLfloat *norm = normal->start; in build_m2() local 137 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { in build_m2() 142 two_nu = 2.0F * DOT3(norm,u); in build_m2() 143 fx = f[i][0] = u[0] - norm[0] * two_nu; in build_m2() [all …]
|
/external/eigen/test/ |
D | stable_norm.cpp | 76 VERIFY_IS_MUCH_SMALLER_THAN(vzero.norm(), static_cast<RealScalar>(1)); in stable_norm() 77 VERIFY_IS_APPROX(vrand.stableNorm(), vrand.norm()); in stable_norm() 78 VERIFY_IS_APPROX(vrand.blueNorm(), vrand.norm()); in stable_norm() 79 VERIFY_IS_APPROX(vrand.hypotNorm(), vrand.norm()); in stable_norm() 102 VERIFY_IS_APPROX(vrand.colwise().stableNorm(), vrand.colwise().norm()); in stable_norm() 103 VERIFY_IS_APPROX(vrand.colwise().blueNorm(), vrand.colwise().norm()); in stable_norm() 104 VERIFY_IS_APPROX(vrand.colwise().hypotNorm(), vrand.colwise().norm()); in stable_norm() 105 VERIFY_IS_APPROX(vrand.rowwise().stableNorm(), vrand.rowwise().norm()); in stable_norm() 106 VERIFY_IS_APPROX(vrand.rowwise().blueNorm(), vrand.rowwise().norm()); in stable_norm() 107 VERIFY_IS_APPROX(vrand.rowwise().hypotNorm(), vrand.rowwise().norm()); in stable_norm() [all …]
|
/external/tensorflow/tensorflow/python/ops/signal/ |
D | dct_ops.py | 32 def _validate_dct_arguments(input_tensor, dct_type, n, axis, norm): argument 41 if norm == "ortho": 47 if norm not in (None, "ortho"): 49 "Unknown normalization. Expected None or 'ortho', got: %s" % norm) 55 def dct(input, type=2, n=None, axis=-1, norm=None, name=None): # pylint: disable=redefined-builtin argument 99 _validate_dct_arguments(input, type, n, axis, norm) 138 if norm == "ortho": 150 if norm == "ortho": 174 dct2 = dct(input, type=2, n=2*axis_dim, axis=axis, norm=None) 178 if norm == "ortho": [all …]
|
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/ |
D | hlsl.domain.1.tese.out | 7 …1; ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 9 … array of structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 16 …o' ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 21 …ex ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 22 … array of structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 34 0:26 norm: direct index for structure ( temp 3-component vector of float) 35 …o' ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 39 0:26 norm: direct index for structure ( temp 3-component vector of float) 40 …ex ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 41 … array of structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) [all …]
|
D | hlsl.domain.2.tese.out | 7 …3; ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 10 … array of structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 15 …o' ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 20 …ex ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 21 … array of structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 31 0:29 norm: direct index for structure ( temp 3-component vector of float) 32 …o' ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 36 0:29 norm: direct index for structure ( temp 3-component vector of float) 37 …ex ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 38 … array of structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) [all …]
|
D | hlsl.domain.3.tese.out | 7 …1; ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 9 … array of structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 15 …o' ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 20 …ex ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 21 … array of structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 31 0:28 norm: direct index for structure ( temp 3-component vector of float) 32 …o' ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 36 0:28 norm: direct index for structure ( temp 3-component vector of float) 37 …ex ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 38 … array of structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) [all …]
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | hlsl.domain.1.tese.out | 7 …1; ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 9 … array of structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 16 …o' ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 21 …ex ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 22 … array of structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 34 0:26 norm: direct index for structure ( temp 3-component vector of float) 35 …o' ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 39 0:26 norm: direct index for structure ( temp 3-component vector of float) 40 …ex ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 41 … array of structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) [all …]
|
D | hlsl.domain.2.tese.out | 7 …3; ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 10 … array of structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 15 …o' ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 20 …ex ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 21 … array of structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 31 0:29 norm: direct index for structure ( temp 3-component vector of float) 32 …o' ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 36 0:29 norm: direct index for structure ( temp 3-component vector of float) 37 …ex ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 38 … array of structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) [all …]
|
D | hlsl.domain.3.tese.out | 7 …1; ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 9 … array of structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 15 …o' ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 20 …ex ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 21 … array of structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 31 0:28 norm: direct index for structure ( temp 3-component vector of float) 32 …o' ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 36 0:28 norm: direct index for structure ( temp 3-component vector of float) 37 …ex ( temp structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) 38 … array of structure{ temp 4-component vector of float pos, temp 3-component vector of float norm}) [all …]
|
/external/skia/tools/ |
D | ToolUtils.cpp | 264 static inline void norm_to_rgb(SkBitmap* bm, int x, int y, const SkVector3& norm) { in norm_to_rgb() argument 265 SkASSERT(SkScalarNearlyEqual(norm.length(), 1.0f)); in norm_to_rgb() 266 unsigned char r = static_cast<unsigned char>((0.5f * norm.fX + 0.5f) * 255); in norm_to_rgb() 267 unsigned char g = static_cast<unsigned char>((-0.5f * norm.fY + 0.5f) * 255); in norm_to_rgb() 268 unsigned char b = static_cast<unsigned char>((0.5f * norm.fZ + 0.5f) * 255); in norm_to_rgb() 277 SkVector3 norm; in create_hemi_normal_map() local 281 norm.fX = (x + 0.5f - center.fX) / halfSize.fX; in create_hemi_normal_map() 282 norm.fY = (y + 0.5f - center.fY) / halfSize.fY; in create_hemi_normal_map() 284 SkScalar tmp = norm.fX * norm.fX + norm.fY * norm.fY; in create_hemi_normal_map() 286 norm.set(0.0f, 0.0f, 1.0f); in create_hemi_normal_map() [all …]
|
/external/skqp/tools/ |
D | sk_tool_utils.cpp | 193 static inline void norm_to_rgb(SkBitmap* bm, int x, int y, const SkVector3& norm) { in norm_to_rgb() argument 194 SkASSERT(SkScalarNearlyEqual(norm.length(), 1.0f)); in norm_to_rgb() 195 unsigned char r = static_cast<unsigned char>((0.5f * norm.fX + 0.5f) * 255); in norm_to_rgb() 196 unsigned char g = static_cast<unsigned char>((-0.5f * norm.fY + 0.5f) * 255); in norm_to_rgb() 197 unsigned char b = static_cast<unsigned char>((0.5f * norm.fZ + 0.5f) * 255); in norm_to_rgb() 206 SkVector3 norm; in create_hemi_normal_map() local 210 norm.fX = (x + 0.5f - center.fX) / halfSize.fX; in create_hemi_normal_map() 211 norm.fY = (y + 0.5f - center.fY) / halfSize.fY; in create_hemi_normal_map() 213 SkScalar tmp = norm.fX * norm.fX + norm.fY * norm.fY; in create_hemi_normal_map() 215 norm.set(0.0f, 0.0f, 1.0f); in create_hemi_normal_map() [all …]
|
/external/libgsm/add-test/ |
D | add_test.dta | 317 'norm ================ 320 norm 1 = 30 321 norm 2 = 29 322 norm 3 = 29 323 norm 4 = 28 324 norm 5 = 28 326 norm 0x08000000 = 3 327 norm 0x10000000 = 2 328 norm 0x20000000 = 1 329 norm 0x20000001 = 1 [all …]
|