/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/mesa3d/src/mesa/main/ |
D | texstorage.c | 52 legal_texobj_target(const struct gl_context *ctx, GLuint dims, GLenum target) in legal_texobj_target() argument 54 if (dims < 1 || dims > 3) { in legal_texobj_target() 55 _mesa_problem(ctx, "invalid dims=%u in legal_texobj_target()", dims); in legal_texobj_target() 59 switch (dims) { in legal_texobj_target() 83 switch (dims) { in legal_texobj_target() 307 GLuint dims, GLenum target, in tex_storage_error_check() argument 321 suffix, dims); in tex_storage_error_check() 329 "glTex%sStorage%dD(internalformat = %s)", suffix, dims, in tex_storage_error_check() 338 suffix, dims); in tex_storage_error_check() 346 suffix, dims); in tex_storage_error_check() [all …]
|
D | texstore.c | 152 (void) dims; in _mesa_texstore_z32() 168 const GLvoid *src = _mesa_image_address(dims, srcPacking, in _mesa_texstore_z32() 189 (void) dims; in _mesa_texstore_x8_z24() 198 const GLvoid *src = _mesa_image_address(dims, srcPacking, in _mesa_texstore_x8_z24() 219 (void) dims; in _mesa_texstore_z24_x8() 228 const GLvoid *src = _mesa_image_address(dims, srcPacking, in _mesa_texstore_z24_x8() 252 (void) dims; in _mesa_texstore_z16() 262 const GLvoid *src = _mesa_image_address(dims, srcPacking, in _mesa_texstore_z16() 284 (void) ctx; (void) dims; (void) baseInternalFormat; in _mesa_texstore_ycbcr() 296 _mesa_memcpy_texture(ctx, dims, in _mesa_texstore_ycbcr() [all …]
|
D | texstore.h | 58 struct gl_context *ctx, GLuint dims, \ 97 GLuint dims, 104 _mesa_store_texsubimage(struct gl_context *ctx, GLuint dims, 120 _mesa_store_compressed_teximage(struct gl_context *ctx, GLuint dims, 126 _mesa_store_compressed_texsubimage(struct gl_context *ctx, GLuint dims, 145 _mesa_compute_compressed_pixelstore(GLuint dims, mesa_format texFormat,
|
D | teximage.c | 1108 GLuint dims, in error_check_subtexture_negative_dimensions() argument 1120 if (dims > 1 && subHeight < 0) { in error_check_subtexture_negative_dimensions() 1125 if (dims > 2 && subDepth < 0) { in error_check_subtexture_negative_dimensions() 1140 error_check_subtexture_dimensions(struct gl_context *ctx, GLuint dims, in error_check_subtexture_dimensions() argument 1161 if (dims > 1) { in error_check_subtexture_dimensions() 1174 if (dims > 2) { in error_check_subtexture_dimensions() 1476 legal_teximage_target(struct gl_context *ctx, GLuint dims, GLenum target) in legal_teximage_target() argument 1478 switch (dims) { in legal_teximage_target() 1531 _mesa_problem(ctx, "invalid dims=%u in legal_teximage_target()", dims); in legal_teximage_target() 1544 legal_texsubimage_target(struct gl_context *ctx, GLuint dims, GLenum target, in legal_texsubimage_target() argument [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_vec4_surface_builder.cpp | 164 unsigned dims, unsigned size, in emit_untyped_read() argument 168 emit_insert(bld, addr, dims, true), 1, in emit_untyped_read() 181 unsigned dims, unsigned size, in emit_untyped_write() argument 187 emit_insert(bld, addr, dims, has_simd4x2), in emit_untyped_write() 188 has_simd4x2 ? 1 : dims, in emit_untyped_write() 203 unsigned dims, unsigned rsize, unsigned op, in emit_untyped_atomic() argument 221 emit_insert(bld, addr, dims, has_simd4x2), in emit_untyped_atomic() 222 has_simd4x2 ? 1 : dims, in emit_untyped_atomic() 260 const src_reg &addr, unsigned dims, unsigned size) in emit_typed_read() argument 267 emit_insert(bld, addr, dims, has_simd4x2), in emit_typed_read() [all …]
|
D | brw_vec4_surface_builder.h | 35 unsigned dims, unsigned size, 41 unsigned dims, unsigned size, 48 unsigned dims, unsigned rsize, unsigned op, 53 const src_reg &addr, unsigned dims, unsigned size); 58 unsigned dims, unsigned size); 64 unsigned dims, unsigned rsize, unsigned op,
|
D | brw_fs_surface_builder.cpp | 40 unsigned dims, unsigned arg, unsigned rsize, in emit_send() argument 48 addr, src, usurface, brw_imm_ud(dims), brw_imm_ud(arg) in emit_send() 67 unsigned dims, unsigned size, in emit_untyped_read() argument 71 addr, fs_reg(), surface, dims, size, size, pred); in emit_untyped_read() 82 unsigned dims, unsigned size, in emit_untyped_write() argument 86 addr, src, surface, dims, size, 0, pred); in emit_untyped_write() 98 unsigned dims, unsigned rsize, unsigned op, in emit_untyped_atomic() argument 110 addr, tmp, surface, dims, op, rsize, pred); in emit_untyped_atomic() 120 const fs_reg &addr, unsigned dims, unsigned size) in emit_typed_read() argument 123 addr, fs_reg(), surface, dims, size, size); in emit_typed_read() [all …]
|
D | brw_fs_surface_builder.h | 36 unsigned dims, unsigned size, 42 unsigned dims, unsigned size, 49 unsigned dims, unsigned rsize, unsigned op, 54 const fs_reg &addr, unsigned dims, unsigned size); 59 unsigned dims, unsigned size); 65 unsigned dims, unsigned rsize, unsigned op,
|
D | intel_tex_subimage.c | 73 GLuint dims, in intel_texsubimage_tiled_memcpy() argument 194 GLuint dims, in intelTexSubImage() argument 216 ok = _mesa_meta_pbo_TexSubImage(ctx, dims, texImage, in intelTexSubImage() 223 ok = intel_texsubimage_tiled_memcpy(ctx, dims, texImage, in intelTexSubImage() 231 _mesa_store_texsubimage(ctx, dims, texImage, in intelTexSubImage()
|
/external/eigen/unsupported/test/ |
D | cxx11_tensor_convolution.cpp | 54 Eigen::array<ptrdiff_t, 2> dims; in test_expr() local 55 dims[0] = 0; in test_expr() 56 dims[1] = 1; in test_expr() 57 result = input.convolve(kernel, dims); in test_expr() 80 Eigen::array<ptrdiff_t, 1> dims; in test_modes() local 81 dims[0] = 0; in test_modes() 88 valid = input.pad(padding).convolve(kernel, dims); in test_modes() 96 same = input.pad(padding).convolve(kernel, dims); in test_modes() 106 full = input.pad(padding).convolve(kernel, dims); in test_modes() 122 Eigen::array<ptrdiff_t, 1> dims; in test_strides() local [all …]
|
D | cxx11_tensor_contraction.cpp | 90 Eigen::array<DimPair, 1> dims = {{DimPair(0, 0)}}; in test_scalar() local 91 Tensor<float, 0, DataLayout> scalar = vec1.contract(vec2, dims); in test_scalar() 111 Eigen::array<DimPair, 2> dims = {{DimPair(1, 2), DimPair(2, 3)}}; in test_multidims() local 112 typedef TensorEvaluator<decltype(mat1.contract(mat2, dims)), DefaultDevice> Evaluator; in test_multidims() 113 Evaluator eval(mat1.contract(mat2, dims), DefaultDevice()); in test_multidims() 165 Eigen::array<DimPair, 2> dims = {{DimPair(0, 0), DimPair(3, 4)}}; in test_holes() local 166 Tensor<float, 5, DataLayout> result = t1.contract(t2, dims); in test_holes() 200 Eigen::array<DimPair, 2> dims = {{DimPair(0, 0), DimPair(1, 1)}}; in test_full_redux() local 201 Tensor<float, 1, DataLayout> result = t1.contract(t2, dims); in test_full_redux() 208 dims[0] = DimPair(1, 0); in test_full_redux() [all …]
|
D | cxx11_tensor_argmax_cuda.cu | 72 std::vector<int> dims; in test_cuda_argmax_dim() local 73 dims.push_back(2); dims.push_back(3); dims.push_back(5); dims.push_back(7); in test_cuda_argmax_dim() 80 for (int d = 0; d < 3; ++d) out_shape[d] = (d < dim) ? dims[d] : dims[d+1]; in test_cuda_argmax_dim() 161 std::vector<int> dims; in test_cuda_argmin_dim() local 162 dims.push_back(2); dims.push_back(3); dims.push_back(5); dims.push_back(7); in test_cuda_argmin_dim() 169 for (int d = 0; d < 3; ++d) out_shape[d] = (d < dim) ? dims[d] : dims[d+1]; in test_cuda_argmin_dim()
|
D | cxx11_tensor_custom_op.cpp | 75 array<DimPair, 1> dims; in eval() local 76 dims[0] = DimPair(1, 0); in eval() 78 … output.template chip<2>(i).device(device) = input1.chip<2>(i).contract(input2.chip<2>(i), dims); in eval() 94 array<DimPair, 1> dims; in test_custom_binary_op() local 95 dims[0] = DimPair(1, 0); in test_custom_binary_op() 96 Tensor<float, 2> reference = tensor1.chip<2>(i).contract(tensor2.chip<2>(i), dims); in test_custom_binary_op()
|
D | cxx11_tensor_thread_pool.cpp | 78 Eigen::array<DimPair, 2> dims({{DimPair(2, 0), DimPair(3, 1)}}); in test_multithread_contraction() local 89 t_result.device(thread_pool_device) = t_left.contract(t_right, dims); in test_multithread_contraction() 119 Eigen::array<DimPair, 1> dims{{DimPair(0, 0)}}; in test_contraction_corner_cases() local 130 t_result.device(thread_pool_device) = t_left.contract(t_right, dims); in test_contraction_corner_cases() 145 t_result.device(thread_pool_device) = t_left.contract(t_right, dims); in test_contraction_corner_cases() 162 t_result.device(thread_pool_device) = t_left.contract(t_right, dims); in test_contraction_corner_cases() 180 t_result.device(thread_pool_device) = t_left.contract(t_right, dims); in test_contraction_corner_cases() 214 Eigen::array<DimPair, 1> dims({{DimPair(1, 2)}}); in test_multithread_contraction_agrees_with_singlethread() local 220 st_result = left.contract(right, dims); in test_multithread_contraction_agrees_with_singlethread() 223 tp_result.device(thread_pool_device) = left.contract(right, dims); in test_multithread_contraction_agrees_with_singlethread() [all …]
|
D | cxx11_tensor_contract_cuda.cu | 37 Eigen::array<DimPair, 1> dims(DimPair(1, 0)); in test_cuda_contraction() local 68 gpu_t_result.device(gpu_device) = gpu_t_left.contract(gpu_t_right, dims); in test_cuda_contraction() 69 t_result = t_left.contract(t_right, dims); in test_cuda_contraction() 101 Eigen::array<DimPair, 2> dims(DimPair(0, 0), DimPair(1, 1)); in test_scalar() local 131 gpu_t_result.device(gpu_device) = gpu_t_left.contract(gpu_t_right, dims); in test_scalar() 132 t_result = t_left.contract(t_right, dims); in test_scalar()
|
D | cxx11_tensor_of_complex.cpp | 86 Eigen::array<DimPair, 2> dims; in test_contractions() local 87 dims[0] = DimPair(2, 0); in test_contractions() 88 dims[1] = DimPair(3, 1); in test_contractions() 89 t_result = t_left.contract(t_right, dims); in test_contractions()
|
/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/mesa3d/src/gallium/state_trackers/clover/api/ |
D | kernel.cpp | 226 validate_grid_size(const command_queue &q, cl_uint dims, in validate_grid_size() argument 228 auto grid_size = range(d_grid_size, dims); in validate_grid_size() 230 if (dims < 1 || dims > q.device().max_block_size().size()) in validate_grid_size() 240 validate_grid_offset(const command_queue &q, cl_uint dims, in validate_grid_offset() argument 243 return range(d_grid_offset, dims); in validate_grid_offset() 245 return std::vector<size_t>(dims, 0); in validate_grid_offset() 250 cl_uint dims, const size_t *d_grid_size, in validate_block_size() argument 252 auto grid_size = range(d_grid_size, dims); in validate_block_size() 255 auto block_size = range(d_block_size, dims); in validate_block_size() 278 cl_uint dims, const size_t *d_grid_offset, in clEnqueueNDRangeKernel() argument [all …]
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample_aos.c | 635 const unsigned dims = bld->dims; in lp_build_sample_image_nearest() local 671 if (dims >= 2) in lp_build_sample_image_nearest() 673 if (dims >= 3) in lp_build_sample_image_nearest() 679 if (dims >= 2) { in lp_build_sample_image_nearest() 681 if (dims >= 3) { in lp_build_sample_image_nearest() 701 if (dims >= 2) { in lp_build_sample_image_nearest() 711 if (dims >= 3) { in lp_build_sample_image_nearest() 759 const unsigned dims = bld->dims; in lp_build_sample_image_nearest_afloat() local 783 if (dims >= 2) { in lp_build_sample_image_nearest_afloat() 790 if (dims >= 3) { in lp_build_sample_image_nearest_afloat() [all …]
|
D | lp_bld_sample.c | 223 const unsigned dims = bld->dims; in lp_build_rho() local 237 boolean no_rho_opt = (gallivm_debug & GALLIVM_DEBUG_NO_RHO_APPROX) && (dims > 1); in lp_build_rho() 279 for (i = 0; i < dims; i++) { in lp_build_rho() 307 if (dims > 2) { in lp_build_rho() 316 if (dims > 1) { in lp_build_rho() 318 if (dims > 2) { in lp_build_rho() 350 if (dims < 2) { in lp_build_rho() 353 else if (dims >= 2) { in lp_build_rho() 355 if (dims > 2) { in lp_build_rho() 383 if (dims > 2) { in lp_build_rho() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_texture.c | 416 nouveau_compressed_copy(struct gl_context *ctx, GLint dims, in nouveau_compressed_copy() argument 424 _mesa_compute_compressed_pixelstore(dims, ti->TexFormat, in nouveau_compressed_copy() 441 nouveau_teximage(struct gl_context *ctx, GLint dims, in nouveau_teximage() argument 462 dims, imageSize, in nouveau_teximage() 466 dims, ti->Width, ti->Height, depth, format, type, in nouveau_teximage() 480 nouveau_compressed_copy(ctx, dims, ti, in nouveau_teximage() 484 ret = _mesa_texstore(ctx, dims, ti->_BaseFormat, in nouveau_teximage() 514 nouveau_teximage_123d(struct gl_context *ctx, GLuint dims, in nouveau_teximage_123d() argument 519 nouveau_teximage(ctx, dims, ti, 0, format, type, pixels, in nouveau_teximage_123d() 524 nouveau_compressed_teximage(struct gl_context *ctx, GLuint dims, in nouveau_compressed_teximage() argument [all …]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
D | transform.c | 45 int dims[1]; in WebRtcIsac_Time2Spec() local 50 dims[0] = FRAMESAMPLES_HALF; in WebRtcIsac_Time2Spec() 64 WebRtcIsac_Fftns(1, dims, tmpre, tmpim, -1, 1.0, fftstr_obj); in WebRtcIsac_Time2Spec() 91 int dims; in WebRtcIsac_Spec2time() local 93 dims = FRAMESAMPLES_HALF; in WebRtcIsac_Spec2time() 113 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/eigen/bench/btl/libs/tensors/ |
D | tensor_interface.hh | 78 const Eigen::array<DimPair, 1> dims(DimPair(1, 0)); in matrix_matrix_product() local 79 X/*.noalias()*/ = A.contract(B, dims); in matrix_matrix_product() 84 const Eigen::array<DimPair, 1> dims(DimPair(1, 0)); in matrix_vector_product() local 85 X/*.noalias()*/ = A.contract(B, dims); in matrix_vector_product()
|