/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/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 …]
|
D | norms.cpp | 142 UBool Norms::combinesWithCCBetween(const Norm &norm, uint8_t lowCC, int32_t highCC) const { in combinesWithCCBetween() argument 145 const CompositionPair *pairs=norm.getCompositionPairs(length); in combinesWithCCBetween() 170 void CompositionBuilder::rangeHandler(UChar32 start, UChar32 end, Norm &norm) { in rangeHandler() argument 171 if(norm.mappingType!=Norm::ROUND_TRIP) { return; } in rangeHandler() 179 if(norm.cc!=0) { in rangeHandler() 188 const UnicodeString &m=*norm.mapping; in rangeHandler() 230 void Decomposer::rangeHandler(UChar32 start, UChar32 end, Norm &norm) { in rangeHandler() argument 231 if(!norm.hasMapping()) { return; } in rangeHandler() 232 const UnicodeString &m=*norm.mapping; in rangeHandler() 249 if(norm.mappingType==Norm::ROUND_TRIP) { in rangeHandler() [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/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/kernel_tests/signal/ |
D | dct_ops_test.py | 45 def _np_dct1(signals, norm=None): argument 49 del norm 59 def _np_dct2(signals, norm=None): argument 69 if norm == "ortho": 79 def _np_dct3(signals, norm=None): argument 85 if norm == "ortho": 106 def _compare(self, signals, norm, dct_type, atol=5e-4, rtol=5e-4): argument 108 np_dct = NP_DCT[dct_type](signals, norm) 109 tf_dct = dct_ops.dct(signals, type=dct_type, norm=norm).eval() 111 np_idct = NP_IDCT[dct_type](signals, norm) [all …]
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | normalization_test.py | 94 norm = keras.layers.BatchNormalization( 96 model.add(norm) 105 out -= np.reshape(keras.backend.eval(norm.beta), (1, 3, 1, 1)) 106 out /= np.reshape(keras.backend.eval(norm.gamma), (1, 3, 1, 1)) 114 norm = keras.layers.BatchNormalization( 116 model.add(norm) 125 out -= np.reshape(keras.backend.eval(norm.beta), (1, 1, 1, 3)) 126 out /= np.reshape(keras.backend.eval(norm.gamma), (1, 1, 1, 3)) 147 norm = keras.layers.BatchNormalization( 153 y = norm(x) [all …]
|
/external/mesa3d/src/mesa/tnl/ |
D | t_vb_texgen.c | 105 const GLfloat *norm = normal->start; in build_m3() local 108 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { in build_m3() 112 two_nu = 2.0F * DOT3(norm,u); in build_m3() 113 fx = f[i][0] = u[0] - norm[0] * two_nu; in build_m3() 114 fy = f[i][1] = u[1] - norm[1] * two_nu; in build_m3() 115 fz = f[i][2] = u[2] - norm[2] * two_nu; in build_m3() 133 GLfloat *norm = normal->start; in build_m2() local 136 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { in build_m2() 141 two_nu = 2.0F * DOT3(norm,u); in build_m2() 142 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 | 31 def _validate_dct_arguments(input_tensor, dct_type, n, axis, norm): argument 40 if norm == "ortho": 46 if norm not in (None, "ortho"): 48 "Unknown normalization. Expected None or 'ortho', got: %s" % norm) 53 def dct(input, type=2, n=None, axis=-1, norm=None, name=None): # pylint: disable=redefined-builtin argument 89 _validate_dct_arguments(input, type, n, axis, norm) 116 if norm == "ortho": 128 if norm == "ortho": 153 def idct(input, type=2, n=None, axis=-1, norm=None, name=None): # pylint: disable=redefined-builtin argument 190 _validate_dct_arguments(input, type, n, axis, norm) [all …]
|
/external/deqp-deps/glslang/Test/baseResults/ |
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 …]
|
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.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 …]
|
/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/skia/tools/ |
D | sk_tool_utils.cpp | 194 static inline void norm_to_rgb(SkBitmap* bm, int x, int y, const SkVector3& norm) { in norm_to_rgb() argument 195 SkASSERT(SkScalarNearlyEqual(norm.length(), 1.0f)); in norm_to_rgb() 196 unsigned char r = static_cast<unsigned char>((0.5f * norm.fX + 0.5f) * 255); in norm_to_rgb() 197 unsigned char g = static_cast<unsigned char>((-0.5f * norm.fY + 0.5f) * 255); in norm_to_rgb() 198 unsigned char b = static_cast<unsigned char>((0.5f * norm.fZ + 0.5f) * 255); in norm_to_rgb() 207 SkVector3 norm; in create_hemi_normal_map() local 211 norm.fX = (x + 0.5f - center.fX) / halfSize.fX; in create_hemi_normal_map() 212 norm.fY = (y + 0.5f - center.fY) / halfSize.fY; in create_hemi_normal_map() 214 SkScalar tmp = norm.fX * norm.fX + norm.fY * norm.fY; in create_hemi_normal_map() 216 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 …]
|
/external/mesa3d/src/mesa/main/ |
D | format_parser.py | 47 def __init__(self, type, norm, size): argument 49 self.norm = norm 58 if self.norm: 64 return self.type == other.type and self.norm == other.norm and self.size == other.size 70 if self.norm: 84 if self.norm: 348 if channel.norm != ref_channel.norm: 431 norm = None 435 if norm is None: 436 norm = c.norm [all …]
|
/external/virglrenderer/src/gallium/auxiliary/util/ |
D | u_format_parse.py | 55 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: 157 if channel.norm != ref_channel.norm: 176 if channel.norm != ref_channel.norm: 294 norm = True 299 norm = False [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_format_parse.py | 54 def __init__(self, type, norm, pure, size, name = ''): argument 56 self.norm = norm 64 if self.norm: 72 …return self.type == other.type and self.norm == other.norm and self.pure == other.pure and self.si… 80 if self.norm: 96 if self.norm: 156 if channel.norm != ref_channel.norm: 175 if channel.norm != ref_channel.norm: 293 norm = True 298 norm = False [all …]
|