/third_party/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() 111 UBool ExtraData::setNoNoDelta(UChar32 c, Norm &norm) const { in setNoNoDelta() 114 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 …]
|
/third_party/skia/third_party/externals/icu/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() 111 UBool ExtraData::setNoNoDelta(UChar32 c, Norm &norm) const { in setNoNoDelta() 114 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 …]
|
/third_party/flutter/skia/third_party/externals/icu/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 …]
|
/third_party/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 …]
|
/third_party/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 …]
|
/third_party/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 …]
|
/third_party/python/Lib/test/ |
D | test_glob.py | 14 def norm(self, *parts): member in GlobTests 21 filename = self.norm(*parts) 39 os.symlink(self.norm('broken'), self.norm('sym1')) 40 os.symlink('broken', self.norm('sym2')) 41 os.symlink(os.path.join('a', 'bcd'), self.norm('sym3')) 108 eq(self.glob('a'), [self.norm('a')]) 109 eq(self.glob('a', 'D'), [self.norm('a', 'D')]) 110 eq(self.glob('aab'), [self.norm('aab')]) 133 eq(self.glob('a*'), map(self.norm, ['a', 'aab', 'aaa'])) 134 eq(self.glob('*a'), map(self.norm, ['a', 'aaa'])) [all …]
|
/third_party/mindspore/tests/ut/cpp/parallel/ops_info/ |
D | l2_normalize_info_test.cc | 31 L2NormalizeInfoPtr norm; variable 63 norm = std::make_shared<L2NormalizeInfo>("l2_normalize_info", inputs_shape, outputs_shape, attr); in SetUp() 70 norm->Init(strategy); in TEST_F() 71 Shape dev_matrix_shape = norm->dev_matrix_shape(); in TEST_F() 81 norm->Init(strategy); in TEST_F() 82 std::vector<TensorInfo> inputs = norm->inputs_tensor_info(); in TEST_F() 83 std::vector<TensorInfo> outputs = norm->outputs_tensor_info(); in TEST_F() 102 norm->Init(strategy); in TEST_F() 103 std::vector<TensorInfo> inputs = norm->inputs_tensor_info(); in TEST_F() 104 std::vector<TensorInfo> outputs = norm->outputs_tensor_info(); in TEST_F() [all …]
|
/third_party/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 …]
|
/third_party/boost/libs/numeric/odeint/examples/ |
D | gram_schmidt.hpp | 25 void normalize( Iterator first , Iterator last , T norm ) in normalize() argument 27 while( first != last ) *first++ /= norm; in normalize() 47 value_type norm[num_of_lyap]; in gram_schmidt() local 52 std::fill( norm , norm+num_of_lyap , 0.0 ); in gram_schmidt() 55 norm[0] = sqrt( std::inner_product( beg1 , end1 , beg1 , 0.0 ) ); in gram_schmidt() 56 normalize( beg1 , end1 , norm[0] ); in gram_schmidt() 75 norm[j] = sqrt( std::inner_product( beg1 , end1 , beg1 , 0.0 ) ); in gram_schmidt() 77 normalize( beg1 , end1 , norm[j] ); in gram_schmidt() 81 lyap[j] += log( norm[j] ); in gram_schmidt()
|
/third_party/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 …]
|
/third_party/typescript/tests/baselines/reference/ |
D | es6ClassTest8.types | 34 static norm(v:Vector):Vector {return null;} 35 >norm : (v: Vector) => Vector 100 this.forward = Vector.norm(Vector.minus(lookAt,this.pos)); 101 >this.forward = Vector.norm(Vector.minus(lookAt,this.pos)) : Vector 105 >Vector.norm(Vector.minus(lookAt,this.pos)) : Vector 106 >Vector.norm : (v: Vector) => Vector 108 >norm : (v: Vector) => Vector 118 this.right = Vector.times(down, Vector.norm(Vector.cross(this.forward, down))); 119 >this.right = Vector.times(down, Vector.norm(Vector.cross(this.forward, down))) : Vector 123 >Vector.times(down, Vector.norm(Vector.cross(this.forward, down))) : Vector [all …]
|
/third_party/gstreamer/gstplugins_good/sys/v4l2/ |
D | tunernorm.c | 63 gst_tuner_norm_init (GstTunerNorm * norm) in gst_tuner_norm_init() argument 65 norm->label = NULL; in gst_tuner_norm_init() 66 g_value_init (&norm->framerate, GST_TYPE_FRACTION); in gst_tuner_norm_init() 72 GstTunerNorm *norm = GST_TUNER_NORM (object); in gst_tuner_norm_dispose() local 74 if (norm->label) { in gst_tuner_norm_dispose() 75 g_free (norm->label); in gst_tuner_norm_dispose() 76 norm->label = NULL; in gst_tuner_norm_dispose()
|
D | gstv4l2tuner.c | 59 gst_v4l2_tuner_norm_init (GstV4l2TunerNorm * norm) in gst_v4l2_tuner_norm_init() argument 61 norm->index = 0; in gst_v4l2_tuner_norm_init() 146 GstTunerNorm * norm) in gst_v4l2_tuner_set_norm_and_notify() argument 148 if (gst_v4l2_tuner_set_norm (v4l2object, norm)) { in gst_v4l2_tuner_set_norm_and_notify() 156 gst_v4l2_tuner_set_norm (GstV4l2Object * v4l2object, GstTunerNorm * norm) in gst_v4l2_tuner_set_norm() argument 158 GstV4l2TunerNorm *v4l2norm = GST_V4L2_TUNER_NORM (norm); in gst_v4l2_tuner_set_norm() 166 gst_tuner_norm_changed (GST_TUNER (v4l2object->element), norm); in gst_v4l2_tuner_set_norm() 179 v4l2_std_id norm; in gst_v4l2_tuner_get_norm() local 184 if (!gst_v4l2_get_norm (v4l2object, &norm)) in gst_v4l2_tuner_get_norm() 187 return gst_v4l2_tuner_get_norm_by_std_id (v4l2object, norm); in gst_v4l2_tuner_get_norm() [all …]
|
/third_party/flutter/skia/tools/ |
D | ToolUtils.cpp | 233 static inline void norm_to_rgb(SkBitmap* bm, int x, int y, const SkVector3& norm) { in norm_to_rgb() argument 234 SkASSERT(SkScalarNearlyEqual(norm.length(), 1.0f)); in norm_to_rgb() 235 unsigned char r = static_cast<unsigned char>((0.5f * norm.fX + 0.5f) * 255); in norm_to_rgb() 236 unsigned char g = static_cast<unsigned char>((-0.5f * norm.fY + 0.5f) * 255); in norm_to_rgb() 237 unsigned char b = static_cast<unsigned char>((0.5f * norm.fZ + 0.5f) * 255); in norm_to_rgb() 246 SkVector3 norm; in create_hemi_normal_map() local 250 norm.fX = (x + 0.5f - center.fX) / halfSize.fX; in create_hemi_normal_map() 251 norm.fY = (y + 0.5f - center.fY) / halfSize.fY; in create_hemi_normal_map() 253 SkScalar tmp = norm.fX * norm.fX + norm.fY * norm.fY; in create_hemi_normal_map() 255 norm.set(0.0f, 0.0f, 1.0f); in create_hemi_normal_map() [all …]
|
/third_party/boost/libs/math/test/ |
D | test_pFq.hpp | 65 void check_pFq_result(const T& result, const T& norm, const T& expect, const std::initializer_list<… in check_pFq_result() argument 76 T found_err = norm / fabs(result); in check_pFq_result() 213 T norm; in test_spots_1F1() local 214 T result = boost::math::hypergeometric_pFq({ (*row)[0] }, { (*row)[1] }, (*row)[2], &norm); in test_spots_1F1() 215 check_pFq_result(result, norm, (*row)[3], { (*row)[0] }, { (*row)[1] }, (*row)[2]); in test_spots_1F1() 229 T norm; in test_spots_1F1_b() local 230 T result = boost::math::hypergeometric_pFq({ (*row)[0] }, { (*row)[1] }, (*row)[2], &norm); in test_spots_1F1_b() 231 check_pFq_result(result, norm, (*row)[3], { (*row)[0] }, { (*row)[1] }, (*row)[2]); in test_spots_1F1_b() 245 T norm; in test_spots_2F1() local 246 …esult = boost::math::hypergeometric_pFq({ (*row)[0], (*row)[1] }, { (*row)[2] }, (*row)[3], &norm); in test_spots_2F1() [all …]
|
/third_party/skia/tools/ |
D | ToolUtils.cpp | 269 static inline void norm_to_rgb(SkBitmap* bm, int x, int y, const SkVector3& norm) { in norm_to_rgb() argument 270 SkASSERT(SkScalarNearlyEqual(norm.length(), 1.0f)); in norm_to_rgb() 271 unsigned char r = static_cast<unsigned char>((0.5f * norm.fX + 0.5f) * 255); in norm_to_rgb() 272 unsigned char g = static_cast<unsigned char>((-0.5f * norm.fY + 0.5f) * 255); in norm_to_rgb() 273 unsigned char b = static_cast<unsigned char>((0.5f * norm.fZ + 0.5f) * 255); in norm_to_rgb() 282 SkVector3 norm; in create_hemi_normal_map() local 286 norm.fX = (x + 0.5f - center.fX) / halfSize.fX; in create_hemi_normal_map() 287 norm.fY = (y + 0.5f - center.fY) / halfSize.fY; in create_hemi_normal_map() 289 SkScalar tmp = norm.fX * norm.fX + norm.fY * norm.fY; in create_hemi_normal_map() 291 norm.set(0.0f, 0.0f, 1.0f); in create_hemi_normal_map() [all …]
|