/external/srec/srec/clib/ |
D | jacobi.c | 38 static void Rotate(double **a, int dim, int i, int j, int k, int l, double s, 41 static double SumOffDiag(double **mat, int dim); 46 void Jacobi(double **matrix, int dim, double *egval, double **egvec) in Jacobi() argument 64 b = (double *) CALLOC(dim, sizeof(double), "clib.jacobi.b"); in Jacobi() 65 d = (double *) CALLOC(dim, sizeof(double), "clib.jacobi.d"); in Jacobi() 66 z = (double *) CALLOC(dim, sizeof(double), "clib.jacobi.z"); in Jacobi() 67 a = (double **) CALLOC(dim, sizeof(double *), "clib.jacobi.input_jacobi"); in Jacobi() 68 v = (double **) CALLOC(dim, sizeof(double *), "clib.jacobi.input_jacobi"); in Jacobi() 69 for (i = 0; i < dim; i++) in Jacobi() 71 a[i] = (double *) CALLOC(dim, sizeof(double), "clib.jacobi.input_jacobi[]"); in Jacobi() [all …]
|
D | matrix_i.c | 41 void lubksb(double **mat, int dim, int *index, double *b); 42 int ludcmp(double **mat, int dim, int *index); 44 int invert_matrix(covdata **mat, covdata **inv, int dim) in invert_matrix() argument 55 index = (int *) CALLOC(dim, sizeof(int), "clib.index_imatrix"); in invert_matrix() 56 col = (double *) CALLOC(dim, sizeof(double), "clib.col"); in invert_matrix() 57 input = (double **) CALLOC(dim, sizeof(double *), "clib.input_imatrix"); in invert_matrix() 58 for (ii = 0; ii < dim; ii++) in invert_matrix() 60 input[ii] = (double *) CALLOC(dim, sizeof(double), "clib.input_imatrix[]"); in invert_matrix() 61 for (jj = 0; jj < dim; jj++) in invert_matrix() 65 if ((err_code = ludcmp(input, dim, index)) > 0) return(err_code); in invert_matrix() [all …]
|
D | imeld_tr.c | 47 int dim = prep->dim; in linear_transform_frame() local 50 ASSERT(prep->dim < MAX_DIMEN); in linear_transform_frame() 52 for (ii = 0; ii < dim; ii++) in linear_transform_frame() 55 for (jj = 0; jj < prep->dim; jj++) in linear_transform_frame() 65 for (ii = 0; ii < dim; ii++) in linear_transform_frame() 68 for (ii = 0; ii < dim; ii++) in linear_transform_frame() 73 for (ii = 0; ii < dim; ii++) in linear_transform_frame() 88 ASSERT (prep->dim < MAX_DIMEN); in inverse_transform_frame() 92 for (ii= 0; ii < prep->dim; ii++) in inverse_transform_frame() 95 for (ii= 0; ii < prep->dim; ii++) { in inverse_transform_frame() [all …]
|
D | imeld_rd.c | 49 int invert_matrix(covdata **mat, covdata **inv, int dim); 57 prep->dim = matdim; in create_linear_transform() 72 delete_fixed_matrix(prep->matrix, prep->dim); in free_linear_transform() 78 delete_matrix(prep->imelda, prep->dim); in free_linear_transform() 82 delete_fixed_matrix(prep->invmat, prep->dim); in free_linear_transform() 83 delete_matrix(prep->inverse, prep->dim); in free_linear_transform() 119 if (!prep->dim) prep->dim = matdim; in init_newton_transform() 120 else if (prep->dim != matdim) in init_newton_transform() 123 prep->dim, matdim); in init_newton_transform() 167 invert_matrix(prep->imelda, prep->inverse, prep->dim); in init_newton_transform()
|
/external/libvorbis/vq/ |
D | metrics.c | 53 return c->valuelist+i*c->c->dim; in _now() 76 histogram_error[i]=_ogg_calloc(b->entries*b->dim,sizeof(float)); in process_preprocess() 77 histogram_errorsq[i]=_ogg_calloc(b->entries*b->dim,sizeof(float)); in process_preprocess() 78 histogram_hi[i]=_ogg_calloc(b->entries*b->dim,sizeof(float)); in process_preprocess() 79 histogram_lo[i]=_ogg_calloc(b->entries*b->dim,sizeof(float)); in process_preprocess() 104 float this=_dist(c->c->dim,_now(c,j),_now(c,k)); in cell_spacing() 152 int dim=b->c->dim; in process_postprocess() local 166 for(k=0;k<dim;k++){ in process_postprocess() 168 i*dim+k,(b->valuelist+i*dim)[k], in process_postprocess() 169 sqrt((histogram_errorsq[book]+i*dim)[k]/histogram[book][i])); in process_postprocess() [all …]
|
D | bookutil.c | 27 int dim=book->dim; in _best() local 37 for(i=0,o=step*(dim-1);i<dim;i++,o-=step){ in _best() 43 for(i=0,o=step*(dim-1);i<dim;i++,o-=step){ in _best() 59 for(j=0;j<dim;j++){ in _best() 197 for(i=1;i<c->dim;i++) in get_vector() 201 if(i==c->dim){ in get_vector() 202 float temp=a[c->dim-1]; in get_vector() 203 for(i=0;i<c->dim;i++)a[i]-=sequence_base; in get_vector() 252 &(c->dim),&(c->entries))!=2){ in codebook_load() 273 quant_to_read=c->entries*c->dim; in codebook_load() [all …]
|
/external/eigen/test/ |
D | umeyama.cpp | 94 void run_test(int dim, int num_elements) in run_test() argument 104 MatrixX R = randMatrixSpecialUnitary<Scalar>(dim); in run_test() 105 VectorX t = Scalar(50)*VectorX::Random(dim,1); in run_test() 107 MatrixX cR_t = MatrixX::Identity(dim+1,dim+1); in run_test() 108 cR_t.block(0,0,dim,dim) = c*R; in run_test() 109 cR_t.block(0,dim,dim,1) = t; in run_test() 111 MatrixX src = MatrixX::Random(dim+1, num_elements); in run_test() 112 src.row(dim) = Matrix<Scalar, 1, Dynamic>::Constant(num_elements, Scalar(1)); in run_test() 116 MatrixX cR_t_umeyama = umeyama(src.block(0,0,dim,num_elements), dst.block(0,0,dim,num_elements)); in run_test() 130 const int dim = Dimension; in run_fixed_size_test() local [all …]
|
D | geo_alignedbox.cpp | 28 const Index dim = _box.dim(); in alignedbox() local 30 VectorType p0 = VectorType::Random(dim); in alignedbox() 31 VectorType p1 = VectorType::Random(dim); in alignedbox() 33 p1 = VectorType::Random(dim); } in alignedbox() 36 BoxType b0(dim); in alignedbox() 37 BoxType b1(VectorType::Random(dim),VectorType::Random(dim)); in alignedbox() 51 BoxType *bp0 = new BoxType(dim); in alignedbox() 52 BoxType *bp1 = new BoxType(dim); in alignedbox() 77 const Index dim = _box.dim(); in alignedboxCastTests() local 79 VectorType p0 = VectorType::Random(dim); in alignedboxCastTests() [all …]
|
/external/srec/srec/ca/ |
D | catrans.c | 74 hTransform->dim = dimen; in CA_LoadTransform() 76 hTransform->imelda_acc.between = create_accumulate_matrix(hTransform->dim); in CA_LoadTransform() 77 hTransform->imelda_acc.bmean = (accdata *) VAR_ALLOCATE(hTransform->dim, in CA_LoadTransform() 80 hTransform->imelda_acc.wmean = (accdata *) VAR_ALLOCATE(hTransform->dim, in CA_LoadTransform() 82 hTransform->mllr_acc.between = create_accumulate_matrix(hTransform->dim + 1); in CA_LoadTransform() 83 hTransform->mllr_acc.within = create_accumulate_matrix(hTransform->dim + 1); in CA_LoadTransform() 117 delete_accumulate_matrix(hTransform->imelda_acc.between, hTransform->dim); in CA_UnloadTransform() 118 delete_accumulate_matrix(hTransform->imelda_acc.within, hTransform->dim); in CA_UnloadTransform() 119 delete_accumulate_matrix(hTransform->mllr_acc.between, hTransform->dim + 1); in CA_UnloadTransform() 120 delete_accumulate_matrix(hTransform->mllr_acc.within, hTransform->dim + 1); in CA_UnloadTransform() [all …]
|
/external/opencv/cv/src/ |
D | _cvkdtree.hpp | 69 int dim; // split dimension; >=0 for nodes, -1 for leaves member 118 int dim, __valuector ctor) { in median_partition() argument 121 median_partition(first, last, k, dim, ctor); in median_partition() 128 int dim; member 132 : pivot(_pivot), dim(_dim), deref(_deref), ctor(_ctor) { in median_pr() 135 return deref(ctor(lhs), dim) <= deref(ctor(pivot), dim); in operator ()() 141 __instype * k, int dim, __valuector ctor) { in median_partition() argument 147 (last[-1], dim, deref, ctor)); in median_partition() 151 median_partition(middle + 1, last, k, dim, ctor); in median_partition() 153 median_partition(first, middle, k, dim, ctor); in median_partition() [all …]
|
/external/freetype/src/pshinter/ |
D | pshrec.c | 559 ps_dimension_set_mask_bit( PS_Dimension dim, 568 error = ps_mask_table_last( &dim->masks, memory, &mask ); 582 ps_dimension_end_mask( PS_Dimension dim, in ps_dimension_end_mask() argument 585 FT_UInt count = dim->masks.num_masks; in ps_dimension_end_mask() 591 mask = dim->masks.masks + count - 1; in ps_dimension_end_mask() 600 ps_dimension_reset_mask( PS_Dimension dim, in ps_dimension_reset_mask() argument 608 ps_dimension_end_mask( dim, end_point ); in ps_dimension_reset_mask() 611 return ps_mask_table_alloc( &dim->masks, memory, &mask ); in ps_dimension_reset_mask() 617 ps_dimension_set_mask_bits( PS_Dimension dim, in ps_dimension_set_mask_bits() argument 628 error = ps_dimension_reset_mask( dim, end_point, memory ); in ps_dimension_set_mask_bits() [all …]
|
D | pshglob.c | 44 PSH_Dimension dim = &globals->dimension[direction]; in psh_globals_scale_widths() local 45 PSH_Widths stdw = &dim->stdw; in psh_globals_scale_widths() 49 FT_Fixed scale = dim->scale_mult; in psh_globals_scale_widths() 319 FT_Int dim, top, bot, delta; in psh_blues_set_zones() local 326 for ( dim = 1; dim >= 0; dim-- ) in psh_blues_set_zones() 641 PSH_Dimension dim = &globals->dimension[1]; in psh_globals_new() local 642 PSH_Width write = dim->stdw.widths; in psh_globals_new() 656 dim->stdw.count = priv->num_snap_widths + 1; in psh_globals_new() 661 PSH_Dimension dim = &globals->dimension[0]; in psh_globals_new() local 662 PSH_Width write = dim->stdw.widths; in psh_globals_new() [all …]
|
/external/srec/srec/crec/ |
D | get_fram.c | 60 utt->gen_utt.dim = dimen; in init_utterance() 90 clear_ambient_estimation(utt->gen_utt.backchan, utt->gen_utt.dim); in free_utterance() 107 prep->dim = dimen; in init_preprocessed() 108 prep->seq = (imeldata *) CALLOC(prep->dim, sizeof(imeldata), in init_preprocessed() 110 prep->seq_unnorm = (imeldata *) CALLOC(prep->dim, sizeof(imeldata), in init_preprocessed() 112 prep->last_frame = (featdata *) CALLOC(prep->dim, sizeof(featdata), in init_preprocessed() 160 prep->dim = 0; in clear_preprocessed() 178 if (utt->gen_utt.dim != prep->dim) in get_data_frame() 204 memcpy(prep->seq_unnorm, prep->seq, prep->dim * sizeof(imeldata)); in get_data_frame() 208 utt->gen_utt.channorm->dim); in get_data_frame() [all …]
|
/external/freetype/src/autofit/ |
D | afcjk.c | 85 int dim; in af_cjk_metrics_init_widths() local 117 for ( dim = 0; dim < AF_DIMENSION_MAX; dim++ ) in af_cjk_metrics_init_widths() 119 AF_CJKAxis axis = &metrics->axis[dim]; in af_cjk_metrics_init_widths() 120 AF_AxisHints axhints = &hints->axis[dim]; in af_cjk_metrics_init_widths() 125 error = af_latin_hints_compute_segments( hints, (AF_Dimension)dim ); in af_cjk_metrics_init_widths() 129 af_latin_hints_link_segments( hints, (AF_Dimension)dim ); in af_cjk_metrics_init_widths() 158 for ( dim = 0; dim < AF_DIMENSION_MAX; dim++ ) in af_cjk_metrics_init_widths() 160 AF_CJKAxis axis = &metrics->axis[dim]; in af_cjk_metrics_init_widths() 573 AF_Dimension dim ) in af_cjk_metrics_scale_dim() argument 581 axis = &metrics->axis[dim]; in af_cjk_metrics_scale_dim() [all …]
|
D | aflatin.c | 71 int dim; in af_latin_metrics_init_widths() local 103 for ( dim = 0; dim < AF_DIMENSION_MAX; dim++ ) in af_latin_metrics_init_widths() 105 AF_LatinAxis axis = &metrics->axis[dim]; in af_latin_metrics_init_widths() 106 AF_AxisHints axhints = &hints->axis[dim]; in af_latin_metrics_init_widths() 112 (AF_Dimension)dim ); in af_latin_metrics_init_widths() 117 (AF_Dimension)dim ); in af_latin_metrics_init_widths() 146 for ( dim = 0; dim < AF_DIMENSION_MAX; dim++ ) in af_latin_metrics_init_widths() 148 AF_LatinAxis axis = &metrics->axis[dim]; in af_latin_metrics_init_widths() 525 AF_Dimension dim ) in af_latin_metrics_scale_dim() argument 533 if ( dim == AF_DIMENSION_HORZ ) in af_latin_metrics_scale_dim() [all …]
|
D | aflatin2.c | 43 AF_Dimension dim ); 47 AF_Dimension dim ); 74 int dim; in af_latin2_metrics_init_widths() local 102 for ( dim = 0; dim < AF_DIMENSION_MAX; dim++ ) in af_latin2_metrics_init_widths() 104 AF_LatinAxis axis = &metrics->axis[dim]; in af_latin2_metrics_init_widths() 105 AF_AxisHints axhints = &hints->axis[dim]; in af_latin2_metrics_init_widths() 111 (AF_Dimension)dim ); in af_latin2_metrics_init_widths() 116 (AF_Dimension)dim ); in af_latin2_metrics_init_widths() 145 for ( dim = 0; dim < AF_DIMENSION_MAX; dim++ ) in af_latin2_metrics_init_widths() 147 AF_LatinAxis axis = &metrics->axis[dim]; in af_latin2_metrics_init_widths() [all …]
|
/external/tremolo/Tremolo/ |
D | codebook.c | 72 for(j=0;j<b->dim;j++){ in decpack() 78 for(j=0;j<b->dim;j++) in decpack() 84 for(j=0;j<b->dim;j++){ in decpack() 348 int vals=b->entries>>((bits-1)*(b->dim-1)/b->dim); in _book_maptype1_quantvals() 354 for(i=0;i<b->dim;i++){ in _book_maptype1_quantvals() 392 s->dim=oggpack_read(opb,16); in vorbis_book_unpack() 393 s->dec_buf=_ogg_malloc(sizeof(ogg_int32_t)*s->dim); in vorbis_book_unpack() 398 if(s->dim<=0)goto _eofout; in vorbis_book_unpack() 399 if(_ilog(s->dim)+_ilog(s->entries)>24)goto _eofout; in vorbis_book_unpack() 400 if (s->dim > INT_MAX/s->entries) goto _eofout; in vorbis_book_unpack() [all …]
|
/external/javassist/src/main/javassist/compiler/ast/ |
D | Declarator.java | 30 public Declarator(int type, int dim) { in Declarator() argument 33 arrayDim = dim; in Declarator() 38 public Declarator(ASTList className, int dim) { in Declarator() argument 41 arrayDim = dim; in Declarator() 48 public Declarator(int type, String jvmClassName, int dim, in Declarator() argument 52 arrayDim = dim; in Declarator() 59 public Declarator make(Symbol sym, int dim, ASTree init) { in make() argument 60 Declarator d = new Declarator(this.varType, this.arrayDim + dim); in make()
|
D | InstanceOfExpr.java | 24 public InstanceOfExpr(ASTList className, int dim, ASTree expr) { in InstanceOfExpr() argument 25 super(className, dim, expr); in InstanceOfExpr() 28 public InstanceOfExpr(int type, int dim, ASTree expr) { in InstanceOfExpr() argument 29 super(type, dim, expr); in InstanceOfExpr()
|
/external/eigen/test/eigen2/ |
D | eigen2_alignedbox.cpp | 21 const int dim = _box.dim(); in alignedbox() local 26 VectorType p0 = VectorType::Random(dim); in alignedbox() 27 VectorType p1 = VectorType::Random(dim); in alignedbox() 30 BoxType b0(dim); in alignedbox() 31 BoxType b1(VectorType::Random(dim),VectorType::Random(dim)); in alignedbox()
|
/external/libvorbis/lib/ |
D | codebook.c | 36 oggpack_write(opb,c->dim,16); in vorbis_staticbook_pack() 127 quantvals=c->entries*c->dim; in vorbis_staticbook_pack() 158 s->dim=oggpack_read(opb,16); in vorbis_staticbook_unpack() 162 if(_ilog(s->dim)+_ilog(s->entries)>24)goto _eofout; in vorbis_staticbook_unpack() 232 quantvals=(s->dim==0?0:_book_maptype1_quantvals(s)); in vorbis_staticbook_unpack() 235 quantvals=s->entries*s->dim; in vorbis_staticbook_unpack() 359 int step=n/book->dim; in vorbis_book_decodevs_add() 367 t[i] = book->valuelist+entry[i]*book->dim; in vorbis_book_decodevs_add() 369 for(i=0,o=0;i<book->dim;i++,o+=step) in vorbis_book_decodevs_add() 381 if(book->dim>8){ in vorbis_book_decodev_add() [all …]
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
D | ScenarioData.java | 90 …ineGraph(ScenarioResults scenarioResults, ConfigResults configResults, Dim dim, List highlightedPo… in getLineGraph() argument 98 TimeLineGraph graph = new TimeLineGraph(scenarioName + ": " + dim.getName(), dim); in getLineGraph() 114 double value = buildResults.getValue(dim.getId()); in getLineGraph() 121 …graph.addItem("main", label, dim.getDisplayValue(value), value, color, true, Utils.getDateFromBuil… in getLineGraph() 125 …graph.addItem("main", label, dim.getDisplayValue(value), value, black, false, Utils.getDateFromBui… in getLineGraph() 130 …graph.addItem("main", buildID, dim.getDisplayValue(value), value, yellow, false, Utils.getDateFrom… in getLineGraph() 136 …graph.addItem("main", buildID, dim.getDisplayValue(value), value, black, false, Utils.getDateFromB… in getLineGraph() 142 …graph.addItem("reference", label, dim.getDisplayValue(value), value, magenta, true, Utils.getDateF… in getLineGraph() 147 …graph.addItem("reference", label, dim.getDisplayValue(value), value, magenta, false, Utils.getDate… in getLineGraph() 279 Dim dim = this.dimensions[d]; in printSummary() local [all …]
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/model/ |
D | DimResultsElement.java | 23 Dim dim; field in DimResultsElement 79 this.dim = d; in DimResultsElement() 91 return this.dim.getName(); in getLabel() 118 return this.dim.getDescription(); in getPropertyValue() 121 long count = buildResults.getCount(this.dim.getId()); in getPropertyValue() 125 return new Double(buildResults.getValue(this.dim.getId())); in getPropertyValue() 127 return new Double(buildResults.getDeviation(this.dim.getId())); in getPropertyValue() 129 return new Double(buildResults.getError(this.dim.getId())); in getPropertyValue()
|
/external/clang/test/SemaTemplate/ |
D | instantiate-field.cpp | 95 template <int dim> 99 unsigned char value : (dim > 0 ? dim : 1); 102 template <int dim> 103 inline B<dim>::B(const unsigned char i) : value(i) {} in B()
|
/external/javassist/src/main/javassist/expr/ |
D | NewArray.java | 88 int dim = Descriptor.arrayDimension(desc); in getComponentType() local 89 desc = Descriptor.toArrayComponent(desc, dim); in getComponentType() 179 int dim = 1; in replace2() local 200 dim = iterator.byteAt(currentPos + 3); in replace2() 211 CtClass[] params = new CtClass[dim]; in replace2() 212 for (int i = 0; i < dim; ++i) in replace2() 223 jc.recordProceed(new ProceedForArray(retType, opcode, index, dim)); in replace2() 245 ProceedForArray(CtClass type, int op, int i, int dim) { in ProceedForArray() argument 249 dimension = dim; in ProceedForArray()
|