/external/javassist/src/main/javassist/bytecode/analysis/ |
D | MultiArrayType.java | 28 private int dims; field in MultiArrayType 30 public MultiArrayType(MultiType component, int dims) { in MultiArrayType() argument 33 this.dims = dims; in MultiArrayType() 45 String name = arrayName(clazz.getName(), dims); in getCtClass() 59 return dims; in getDimensions() 63 return dims == 1 ? (Type)component : new MultiArrayType(component, dims - 1); in getComponent() 98 if (typeDims > dims) in isAssignableTo() 101 if (typeDims < dims) { in isAssignableTo() 122 return component.equals(multi.component) && dims == multi.dims; in equals() 127 return arrayName(component.toString(), dims); in toString()
|
/external/opencv/ml/src/ |
D | mlem.cpp | 173 m->cols != train_data.dims ) in set_params() 197 cov->rows != cov->cols || cov->cols != train_data.dims ) in set_params() 219 int i, k, dims; in predict() local 226 dims = means->cols; in predict() 229 CV_CALL( cvPreparePredictData( _sample, dims, 0, params.nclusters, _probs, &sample_data )); in predict() 232 size = sizeof(double) * (nclusters + dims); in predict() 241 diff = cvMat( 1, dims, CV_64FC1, (double*)buffer + nclusters ); in predict() 254 for( i = 0; i < dims; i++ ) in predict() 262 for( i = 0; i < dims; i++ ) in predict() 266 for( i = 0; i < dims; i++ ) in predict() [all …]
|
D | mlrtrees.cpp | 309 const int dims = data->var_count; in grow_forest() local 343 CV_CALL(oob_samples_perm_ptr = (float*)cvAlloc( sizeof(float)*nsamples*dims )); in grow_forest() 344 CV_CALL(samples_ptr = (float*)cvAlloc( sizeof(float)*nsamples*dims )); in grow_forest() 345 CV_CALL(missing_ptr = (uchar*)cvAlloc( sizeof(uchar)*nsamples*dims )); in grow_forest() 377 sample = cvMat( 1, dims, CV_32FC1, samples_ptr ); in grow_forest() 378 missing = cvMat( 1, dims, CV_8UC1, missing_ptr ); in grow_forest() 382 sample.data.fl += dims, missing.data.ptr += dims ) in grow_forest() 433 memcpy( oob_samples_perm_ptr, samples_ptr, dims*nsamples*sizeof(float)); in grow_forest() 434 for( m = 0; m < dims; m++ ) in grow_forest() 449 CV_SWAP( mth_var_ptr[i1*dims], mth_var_ptr[i2*dims], temp ); in grow_forest() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | texstorage.c | 52 legal_texobj_target(struct gl_context *ctx, GLuint dims, GLenum target) in legal_texobj_target() argument 54 switch (dims) { in legal_texobj_target() 94 _mesa_problem(ctx, "invalid dims=%u in legal_texobj_target()", dims); in legal_texobj_target() 127 GLuint dims, in setup_texstorage() argument 155 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glTexImage%uD", dims); in setup_texstorage() 191 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glTexStorage%uD", dims); in setup_texstorage() 207 GLuint dims, in clear_image_fields() argument 224 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glTexStorage%uD", dims); in clear_image_fields() 242 tex_storage_error_check(struct gl_context *ctx, GLuint dims, GLenum target, in tex_storage_error_check() argument 291 "glTexStorage%uD(internalformat = %s)", dims, in tex_storage_error_check() [all …]
|
D | texstore.h | 58 struct gl_context *ctx, GLuint dims, \ 74 _mesa_make_temp_ubyte_image(struct gl_context *ctx, GLuint dims, 83 _mesa_make_temp_float_image(struct gl_context *ctx, GLuint dims, 94 GLuint dims, 101 _mesa_store_texsubimage(struct gl_context *ctx, GLuint dims, 110 _mesa_store_compressed_teximage(struct gl_context *ctx, GLuint dims, 116 _mesa_store_compressed_texsubimage(struct gl_context *ctx, GLuint dims,
|
D | texstore.c | 319 _mesa_make_temp_float_image(struct gl_context *ctx, GLuint dims, in _mesa_make_temp_float_image() argument 335 ASSERT(dims >= 1 && dims <= 3); in _mesa_make_temp_float_image() 365 = (const GLubyte *) _mesa_image_address(dims, srcPacking, srcAddr, in _mesa_make_temp_float_image() 431 make_temp_uint_image(struct gl_context *ctx, GLuint dims, in make_temp_uint_image() argument 446 ASSERT(dims >= 1 && dims <= 3); in make_temp_uint_image() 474 = (const GLubyte *) _mesa_image_address(dims, srcPacking, srcAddr, in make_temp_uint_image() 560 _mesa_make_temp_ubyte_image(struct gl_context *ctx, GLuint dims, in _mesa_make_temp_ubyte_image() argument 573 ASSERT(dims >= 1 && dims <= 3); in _mesa_make_temp_ubyte_image() 605 (const GLubyte *) _mesa_image_address(dims, srcPacking, srcAddr, in _mesa_make_temp_ubyte_image() 983 tempImage = _mesa_make_temp_ubyte_image(ctx, dims, in store_ubyte_texture() [all …]
|
D | teximage.c | 1486 legal_teximage_target(struct gl_context *ctx, GLuint dims, GLenum target) in legal_teximage_target() argument 1488 switch (dims) { in legal_teximage_target() 1544 _mesa_problem(ctx, "invalid dims=%u in legal_teximage_target()", dims); in legal_teximage_target() 1557 legal_texsubimage_target(struct gl_context *ctx, GLuint dims, GLenum target) in legal_texsubimage_target() argument 1559 switch (dims) { in legal_texsubimage_target() 1597 dims); in legal_texsubimage_target() 2917 teximage(struct gl_context *ctx, GLboolean compressed, GLuint dims, in teximage() argument 2934 dims, in teximage() 2941 dims, in teximage() 2952 if (!legal_teximage_target(ctx, dims, target)) { in teximage() [all …]
|
/external/opencv/cv/src/ |
D | cvhistogram.cpp | 45 cvCreateHist( int dims, int *sizes, CvHistType type, float** ranges, int uniform ) in cvCreateHist() argument 52 if( (unsigned)dims > CV_MAX_DIM ) in cvCreateHist() 65 CV_CALL( hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, in cvCreateHist() 71 CV_CALL( hist->bins = cvCreateSparseMat( dims, sizes, CV_HIST_DEFAULT_TYPE )); in cvCreateHist() 92 cvMakeHistHeaderForArray( int dims, int *sizes, CvHistogram *hist, in cvMakeHistHeaderForArray() argument 109 CV_CALL( hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, in cvMakeHistHeaderForArray() 283 int i, dims, size[CV_MAX_DIM]; in cvGetMinMaxHistValue() local 288 dims = cvGetDims( hist->bins, size ); in cvGetMinMaxHistValue() 298 if( dims == 1 ) in cvGetMinMaxHistValue() 305 else if( dims == 2 ) in cvGetMinMaxHistValue() [all …]
|
D | cvcalccontrasthistogram.cpp | 66 int dims; 71 dims = hist->c_dims; 72 if( dims != 1 ) 78 for( i = 0; i < dims; i++ ) 89 j = hist->dims[0] * hist->mdims[0]; 91 int *n = (int *)cvAlloc( (size_t)hist->dims[0] * sizeof( int )); 179 int dims; 185 dims = hist->c_dims; 186 if( dims != 1 ) 192 for( i = 0; i < dims; i++ ) [all …]
|
D | cvkdtree.cpp | 90 assert(d->cols == tr->dims()); in find_nn() 153 int dims() { in dims() function 155 dispatch_cvtype(mat, d = ((tree_type*) data)->dims()); in dims() 174 assert(bounds_min->rows * bounds_min->cols == dims()); in find_ortho_range() 175 assert(bounds_max->rows * bounds_max->cols == dims()); in find_ortho_range() 210 int dims = tr->dims(); in cvFindFeatures() local 216 if (desc->cols != dims) in cvFindFeatures() 247 int dims = tr->dims(); in cvFindFeaturesBoxed() local 253 if (bounds_min->cols * bounds_min->rows != dims || in cvFindFeaturesBoxed() 254 bounds_max->cols * bounds_max->rows != dims) in cvFindFeaturesBoxed()
|
D | cvemd.cpp | 119 int dims, CvDistanceFunction dist_func, void *user_param, 177 int dims, size1, size2; in cvCalcEMD2() local 185 dims = signature1->cols - 1; in cvCalcEMD2() 235 if( dims == 0 ) in cvCalcEMD2() 238 user_param = (void *) (size_t)dims; in cvCalcEMD2() 257 dims, dist_func, user_param, in cvCalcEMD2() 336 int dims, CvDistanceFunction dist_func, void* user_param, in icvInitEMD() argument 365 if( buffer_size < (int) (dims * 2 * sizeof( float ))) in icvInitEMD() 367 buffer_size = dims * 2 * sizeof( float ); in icvInitEMD() 400 float weight = signature1[i * (dims + 1)]; in icvInitEMD() [all …]
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/ |
D | MultiANewArrayInsnNode.java | 52 public int dims; field in MultiANewArrayInsnNode 60 public MultiANewArrayInsnNode(final String desc, final int dims) { in MultiANewArrayInsnNode() argument 63 this.dims = dims; in MultiANewArrayInsnNode() 71 mv.visitMultiANewArrayInsn(desc, dims); in accept() 75 return new MultiANewArrayInsnNode(desc, dims); in clone()
|
/external/opencv/cvaux/src/ |
D | camshift.cpp | 88 int dims[CV_MAX_DIM]; in color_transform() local 89 int i, n = get_hist_dims(dims); in color_transform() 160 int i, dims; in update_histogram() local 171 dims = cvGetDims( m_hist->bins ); in update_histogram() 172 for( i = 0; i < dims; i++ ) in update_histogram() 179 for( i = 0; i < dims; i++ ) in update_histogram() 182 for( i = 0; i < dims; i++ ) in update_histogram() 247 CvCamShiftTracker::set_hist_dims( int c_dims, int *dims ) in set_hist_dims() argument 249 if( (unsigned)(c_dims-1) >= (unsigned)CV_MAX_DIM || dims == 0 ) in set_hist_dims() 257 if( c_dims2 == c_dims && memcmp( dims, dims2, c_dims*sizeof(dims[0])) == 0 ) in set_hist_dims() [all …]
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/ |
D | LayoutManager.java | 101 DisplayDimensions dims = widget.getWidgetDimensions(); in draw() local 105 canvas.drawRect(dims.canvasRect, outlineShadowPaint); in draw() 114 canvas.clipRect(dims.canvasRect, Region.Op.INTERSECT); in draw() 116 widget.draw(canvas, dims.canvasRect); in draw() 122 drawSpacing(canvas, dims.canvasRect, dims.marginatedRect, getMarginPaint()); in draw() 126 drawSpacing(canvas, dims.marginatedRect, dims.paddedRect, getPaddingPaint()); in draw() 139 canvas.drawRect(dims.canvasRect, outlinePaint); in draw() 263 public void layout(final DisplayDimensions dims) { in layout() argument 264 this.displayDims = dims; in layout()
|
/external/opencv/cxcore/src/ |
D | cxarray.cpp | 277 cvInitMatNDHeader( CvMatND* mat, int dims, const int* sizes, in cvInitMatNDHeader() argument 299 if( dims <= 0 || dims > CV_MAX_DIM ) in cvInitMatNDHeader() 303 for( i = dims - 1; i >= 0; i-- ) in cvInitMatNDHeader() 315 mat->dims = dims; in cvInitMatNDHeader() 335 cvCreateMatND( int dims, const int* sizes, int type ) in cvCreateMatND() argument 343 CV_CALL( arr = cvCreateMatNDHeader( dims, sizes, type )); in cvCreateMatND() 357 cvCreateMatNDHeader( int dims, const int* sizes, int type ) in cvCreateMatNDHeader() argument 365 if( dims <= 0 || dims > CV_MAX_DIM ) in cvCreateMatNDHeader() 371 CV_CALL( cvInitMatNDHeader( arr, dims, sizes, type, 0 )); in cvCreateMatNDHeader() 397 sizes = (int*)alloca( src->dims*sizeof(sizes[0]) ); in cvCloneMatND() [all …]
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample_aos.c | 525 const unsigned dims = bld->dims; in lp_build_sample_image_nearest() local 565 if (dims >= 2) in lp_build_sample_image_nearest() 567 if (dims >= 3) in lp_build_sample_image_nearest() 573 if (dims >= 2) in lp_build_sample_image_nearest() 575 if (dims >= 3) in lp_build_sample_image_nearest() 581 if (dims >= 2) in lp_build_sample_image_nearest() 583 if (dims >= 3) in lp_build_sample_image_nearest() 600 if (dims >= 2) { in lp_build_sample_image_nearest() 610 if (dims >= 3) { in lp_build_sample_image_nearest() 654 const unsigned dims = bld->dims; in lp_build_sample_image_nearest_afloat() local [all …]
|
D | lp_bld_sample.c | 195 const unsigned dims = bld->dims; in lp_build_rho() local 213 if (dims > 2) { in lp_build_rho() 220 if (dims == 1) { in lp_build_rho() 232 else if (dims == 2) { in lp_build_rho() 247 assert(dims == 3); in lp_build_rho() 274 if (dims > 1) { in lp_build_rho() 288 if (dims <= 1) { in lp_build_rho() 292 if (dims >= 2) { in lp_build_rho() 308 if (dims >= 3) { in lp_build_rho() 322 if (dims <= 1) { in lp_build_rho() [all …]
|
D | lp_bld_sample_soa.c | 88 const unsigned dims = bld->dims; in lp_build_sample_texel_soa() local 105 if (dims >= 2 && in lp_build_sample_texel_soa() 121 if (dims == 3 && in lp_build_sample_texel_soa() 602 const unsigned dims = bld->dims; in lp_build_sample_image_nearest() local 634 if (dims >= 2) { in lp_build_sample_image_nearest() 640 if (dims == 3) { in lp_build_sample_image_nearest() 684 const unsigned dims = bld->dims; in lp_build_sample_image_linear() local 721 if (dims >= 2) { in lp_build_sample_image_linear() 729 if (dims == 3) { in lp_build_sample_image_linear() 766 if (dims == 1) { in lp_build_sample_image_linear() [all …]
|
/external/mesa3d/src/gallium/state_trackers/clover/api/ |
D | kernel.cpp | 192 cl_uint dims, const size_t *grid_offset, in kernel_validate() argument 220 if (dims < 1 || dims > q->dev.max_block_size().size()) in kernel_validate() 223 if (!grid_size || any_of(is_zero<size_t>(), grid_size, grid_size + dims)) in kernel_validate() 229 }, block_size, block_size + dims, in kernel_validate() 235 }, block_size, block_size + dims, grid_size)) in kernel_validate() 239 block_size, block_size + dims) > in kernel_validate() 274 cl_uint dims, const size_t *pgrid_offset, in clEnqueueNDRangeKernel() argument 278 const std::vector<size_t> grid_offset = opt_vector(pgrid_offset, dims); in clEnqueueNDRangeKernel() 279 const std::vector<size_t> grid_size = opt_vector(pgrid_size, dims); in clEnqueueNDRangeKernel() 280 const std::vector<size_t> block_size = opt_vector(pblock_size, dims); in clEnqueueNDRangeKernel() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_lower_texture_gradients.cpp | 63 unsigned dims; in txs_type() local 66 dims = 1; in txs_type() 71 dims = 2; in txs_type() 74 dims = 3; in txs_type() 81 dims++; in txs_type() 83 return glsl_type::get_instance(GLSL_TYPE_INT, dims, 1); in txs_type()
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
D | transform.c | 53 int dims[1]; in WebRtcIsac_Time2Spec() local 58 dims[0] = FRAMESAMPLES_HALF; in WebRtcIsac_Time2Spec() 72 WebRtcIsac_Fftns(1, dims, tmpre, tmpim, -1, 1.0, fftstr_obj); in WebRtcIsac_Time2Spec() 97 int dims; in WebRtcIsac_Spec2time() local 99 dims = FRAMESAMPLES_HALF; in WebRtcIsac_Spec2time() 119 WebRtcIsac_Fftns(1, &dims, outre1, outre2, 1, FRAMESAMPLES_HALF, fftstr_obj); in WebRtcIsac_Spec2time()
|
/external/emma/core/java12/com/vladium/util/ |
D | Descriptors.java | 167 int dims; in typeDescriptorToJavaName() local 168 for (dims = 0; descriptor [start] == '['; ++ dims, ++ start); in typeDescriptorToJavaName() 221 if (dims > 0) in typeDescriptorToJavaName() 224 for (int d = 0; d < dims; ++ d) out.append ("[]"); in typeDescriptorToJavaName()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_texfetch.c | 1119 _mesa_get_texel_fetch_func(gl_format format, GLuint dims) in _mesa_get_texel_fetch_func() argument 1133 switch (dims) { in _mesa_get_texel_fetch_func() 1152 struct swrast_texture_image *texImage, GLuint dims) in set_fetch_functions() argument 1156 ASSERT(dims == 1 || dims == 2 || dims == 3); in set_fetch_functions() 1163 texImage->FetchTexel = _mesa_get_texel_fetch_func(format, dims); in set_fetch_functions() 1173 GLuint dims; in _mesa_update_fetch_functions() local 1180 dims = _mesa_get_texture_dimensions(texObj->Target); in _mesa_update_fetch_functions() 1187 dims); in _mesa_update_fetch_functions()
|
/external/opencv/cvaux/include/ |
D | cvaux.hpp | 74 int get_hist_dims( int* dims = 0 ) const // returns number of histogram dimensions and sets in get_hist_dims() argument 75 { return m_hist ? cvGetDims( m_hist->bins, dims ) : 0; } in get_hist_dims() 92 bool set_hist_dims( int c_dims, int* dims );// set the histogram parameters
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_texture.c | 483 nouveau_teximage(struct gl_context *ctx, GLint dims, in nouveau_teximage() argument 508 dims, ti->Width, ti->Height, depth, format, type, in nouveau_teximage() 516 ret = _mesa_texstore(ctx, dims, ti->_BaseFormat, in nouveau_teximage() 545 nouveau_teximage_123d(struct gl_context *ctx, GLuint dims, in nouveau_teximage_123d() argument 550 nouveau_teximage(ctx, dims, ti, 0, format, type, pixels, in nouveau_teximage_123d() 555 nouveau_compressed_teximage(struct gl_context *ctx, GLuint dims, in nouveau_compressed_teximage() argument 564 nouveau_texsubimage(struct gl_context *ctx, GLint dims, in nouveau_texsubimage() argument 583 dims, width, height, depth, format, type, in nouveau_texsubimage() 590 ret = _mesa_texstore(ctx, dims, ti->_BaseFormat, ti->TexFormat, in nouveau_texsubimage() 608 nouveau_texsubimage_123d(struct gl_context *ctx, GLuint dims, in nouveau_texsubimage_123d() argument [all …]
|