/external/opencv/cxcore/src/ |
D | cxdatastructs.cpp | 56 ((block)->data + ((block)->count - 1)*((seq)->elem_size)) 58 #define CV_SWAP_ELEMS(a,b,elem_size) \ argument 61 for( k = 0; k < elem_size; k++ ) \ 445 cvCreateSeq( int seq_flags, int header_size, int elem_size, CvMemStorage * storage ) in cvCreateSeq() argument 455 if( header_size < (int)sizeof( CvSeq ) || elem_size <= 0 ) in cvCreateSeq() 469 typesize != 0 && typesize != elem_size ) in cvCreateSeq() 474 seq->elem_size = elem_size; in cvCreateSeq() 477 CV_CALL( cvSetSeqBlockSize( seq, (1 << 10)/elem_size )); in cvCreateSeq() 490 int elem_size; in cvSetSeqBlockSize() local 504 elem_size = seq->elem_size; in cvSetSeqBlockSize() [all …]
|
D | cxdxt.cpp | 221 icvDFTInit( int n0, int nf, int* factors, int* itab, int elem_size, void* _wave, int inv_itab ) in icvDFTInit() argument 247 if( elem_size == sizeof(CvComplex64f) ) in icvDFTInit() 368 if( elem_size == sizeof(CvComplex64f) ) in icvDFTInit() 395 assert( elem_size == sizeof(CvComplex32f) ); in icvDFTInit() 1574 int len, int elem_size ) in icvCopyColumn() argument 1582 if( elem_size == sizeof(int) ) in icvCopyColumn() 1587 else if( elem_size == sizeof(int)*2 ) in icvCopyColumn() 1595 else if( elem_size == sizeof(int)*4 ) in icvCopyColumn() 1611 int len, int elem_size ) in icvCopyFrom2Columns() argument 1619 if( elem_size == sizeof(int) ) in icvCopyFrom2Columns() [all …]
|
D | cxlogic.cpp | 198 int elem_size, elem_size1, type, depth; in icvLogicS() local 260 elem_size = CV_ELEM_SIZE(type); in icvLogicS() 283 dy = CV_MAX_LOCAL_SIZE/(elem_size*size.height); in icvLogicS() 289 buf_size = dstbuf.step ? dstbuf.step*dy : size.width*elem_size; in icvLogicS() 300 copym_func = icvGetCopyMaskFunc( elem_size ); in icvLogicS() 322 cvSize(tsize.width*elem_size, tsize.height), buf, elem_size1 )); in icvLogicS() 350 int type, elem_size; in icvLogic() local 428 elem_size = CV_ELEM_SIZE(type); in icvLogic() 450 dy = CV_MAX_LOCAL_SIZE/(elem_size*size.height); in icvLogic() 456 buf_size = dstbuf.step ? dstbuf.step*dy : size.width*elem_size; in icvLogic() [all …]
|
D | cxutils.cpp | 819 int cont_flag, arr_size, elem_size, cols, step; in cvRandShuffle() local 838 elem_size = CV_ELEM_SIZE(mat->type); in cvRandShuffle() 839 if( elem_size % sizeof_int == 0 && (cont_flag || step % sizeof_int == 0) ) in cvRandShuffle() 843 elem_size /= sizeof_int; in cvRandShuffle() 859 int* p = idata + pair_buf[j]*elem_size, *q = idata + pair_buf[j+1]*elem_size, t; in cvRandShuffle() 860 for( k = 0; k < elem_size; k++ ) in cvRandShuffle() 866 uchar* p = data + pair_buf[j]*elem_size, *q = data + pair_buf[j+1]*elem_size, t; in cvRandShuffle() 867 for( k = 0; k < elem_size; k++ ) in cvRandShuffle() 879 p = idata + row1*step + (idx1 - row1*cols)*elem_size; in cvRandShuffle() 880 q = idata + row2*step + (idx2 - row2*cols)*elem_size; in cvRandShuffle() [all …]
|
D | cxarithm.cpp | 425 int buf_size, elem_size; local 437 elem_size = CV_ELEM_SIZE(type); 439 dy = CV_MAX_LOCAL_SIZE/(elem_size*size.height); 445 buf_size = dstbuf.step ? dstbuf.step*dy : size.width*elem_size; 456 copym_func = icvGetCopyMaskFunc( elem_size ); 669 int buf_size, elem_size; in cvSubRS() local 681 elem_size = CV_ELEM_SIZE(type); in cvSubRS() 683 dy = CV_MAX_LOCAL_SIZE/(elem_size*size.height); in cvSubRS() 689 buf_size = dstbuf.step ? dstbuf.step*dy : size.width*elem_size; in cvSubRS() 700 copym_func = icvGetCopyMaskFunc( elem_size ); in cvSubRS() [all …]
|
D | cxpersistence.cpp | 198 cvCreateMap( int flags, int header_size, int elem_size, in cvCreateMap() argument 213 CV_CALL( map = (CvGenericHash*)cvCreateSet( flags, header_size, elem_size, storage )); in cvCreateMap() 3120 int elem_size = CV_ELEM_SIZE(elem_type); in cvWriteRawData() local 3123 offset = cvAlign( offset, elem_size ); in cvWriteRawData() 3248 int elem_size = CV_ELEM_SIZE(elem_type); in cvReadRawDataSlice() local 3252 offset = cvAlign( offset, elem_size ); in cvReadRawDataSlice() 3402 int elem_size = node->data.seq->elem_size; in icvWriteCollection() local 3416 CV_NEXT_SEQ_ELEM( elem_size, reader ); in icvWriteCollection() 3876 CV_NEXT_SEQ_ELEM( elements->elem_size, reader ); in icvReadSparseMat() 3884 CV_NEXT_SEQ_ELEM( elements->elem_size, reader ); in icvReadSparseMat() [all …]
|
D | cxmatmul.cpp | 1105 int elem_size = CV_ELEM_SIZE(type); in cvGEMM() local 1114 int work_elem_size = elem_size << (CV_MAT_DEPTH(type) == CV_32F ? 1 : 0); in cvGEMM() 1121 a_step0 = A->step, a_step1 = elem_size; in cvGEMM() 1123 a_step0 = elem_size, a_step1 = A->step; in cvGEMM() 1126 b_step0 = b_step, b_step1 = elem_size; in cvGEMM() 1128 b_step0 = elem_size, b_step1 = b_step; in cvGEMM() 1136 c_step0 = C->step, c_step1 = elem_size; in cvGEMM() 1138 c_step0 = elem_size, c_step1 = C->step; in cvGEMM() 1152 b_buf_size = (dk0+dk0/8+1)*dk0_1*elem_size; in cvGEMM() 1157 a_buf_size = (dm0+dm0/8+1)*((dk0+dk0/8+2)&-2)*elem_size; in cvGEMM() [all …]
|
/external/compiler-rt/lib/asan/ |
D | asan_malloc_win.cc | 96 void *_recalloc(void *p, size_t n, size_t elem_size) { in _recalloc() argument 98 return calloc(n, elem_size); in _recalloc() 99 const size_t size = n * elem_size; in _recalloc() 100 if (elem_size != 0 && size / elem_size != n) in _recalloc()
|
D | asan_malloc_linux.cc | 133 void *(*calloc)(uptr n_elements, uptr elem_size); 140 void *(*calloc)(uptr n_elements, uptr elem_size);
|
/external/opencv/cv/src/ |
D | cvsubdivision2d.cpp | 116 memset( subdiv_point, 0, subdiv->elem_size ); in cvSubdiv2DAddPoint() 573 int elem_size; in cvClearSubdivVoronoi2D() local 586 elem_size = subdiv->edges->elem_size; in cvClearSubdivVoronoi2D() 595 CV_NEXT_SEQ_ELEM( elem_size, reader ); in cvClearSubdivVoronoi2D() 600 elem_size = subdiv->elem_size; in cvClearSubdivVoronoi2D() 613 CV_NEXT_SEQ_ELEM( elem_size, reader ); in cvClearSubdivVoronoi2D() 627 int i, total, elem_size; in cvCalcSubdivVoronoi2D() local 641 elem_size = subdiv->edges->elem_size; in cvCalcSubdivVoronoi2D() 652 CV_NEXT_SEQ_ELEM( elem_size, reader ); in cvCalcSubdivVoronoi2D() 708 CV_NEXT_SEQ_ELEM( elem_size, reader ); in cvCalcSubdivVoronoi2D()
|
D | cvcontourtree.cpp | 146 tree_root = (_CvTrianAttr *) (writer.ptr - writer.seq->elem_size); in icvCreateContourTree() 257 cur_adr = (_CvTrianAttr *) (writer.ptr - writer.seq->elem_size); in icvCreateContourTree() 286 cur_adr = (_CvTrianAttr *) (writer.ptr - writer.seq->elem_size); in icvCreateContourTree() 425 cur_adr = (_CvTrianAttr *) (writer.ptr - writer.seq->elem_size); in icvCreateContourTree() 438 cur_adr = (_CvTrianAttr *) (writer.ptr - writer.seq->elem_size); in icvCreateContourTree() 454 cur_adr = (_CvTrianAttr *) (writer.ptr - writer.seq->elem_size); in icvCreateContourTree() 465 cur_adr = (_CvTrianAttr *) (writer.ptr - writer.seq->elem_size); in icvCreateContourTree() 498 cur_adr = (_CvTrianAttr *) (writer.ptr - writer.seq->elem_size); in icvCreateContourTree() 511 cur_adr = (_CvTrianAttr *) (writer.ptr - writer.seq->elem_size); in icvCreateContourTree() 527 cur_adr = (_CvTrianAttr *) (writer.ptr - writer.seq->elem_size); in icvCreateContourTree() [all …]
|
D | cvfundam.cpp | 1037 int plane_stride, stride, elem_size; in cvComputeCorrespondEpilines() local 1104 elem_size = CV_ELEM_SIZE(depth); in cvComputeCorrespondEpilines() 1110 stride = elem_size; in cvComputeCorrespondEpilines() 1114 plane_stride = elem_size; in cvComputeCorrespondEpilines() 1115 stride = points->rows == 1 ? dims*elem_size : points->step; in cvComputeCorrespondEpilines() 1315 int s_plane_stride, s_stride, d_plane_stride, d_stride, elem_size; in cvConvertPointsHomogeneous() local 1324 elem_size = CV_ELEM_SIZE(src->type); in cvConvertPointsHomogeneous() 1327 s_plane_stride = src->step / elem_size, s_stride = 1; in cvConvertPointsHomogeneous() 1329 s_stride = src->step / elem_size, s_plane_stride = 1; in cvConvertPointsHomogeneous() 1332 d_plane_stride = dst->step / elem_size, d_stride = 1; in cvConvertPointsHomogeneous() [all …]
|
D | cvshapedescr.cpp | 114 CV_NEXT_SEQ_ELEM( contour->elem_size, reader ); in cvArcLength() 400 CV_NEXT_SEQ_ELEM( sequence->elem_size, reader ); in cvMinEnclosingCircle() 434 CV_NEXT_SEQ_ELEM( sequence->elem_size, reader ); in cvMinEnclosingCircle() 477 CV_NEXT_SEQ_ELEM( contour->elem_size, reader ); in icvContourArea() 493 CV_NEXT_SEQ_ELEM( contour->elem_size, reader ); in icvContourArea() 817 CV_NEXT_SEQ_ELEM( points->elem_size, reader ); in icvFitEllipse_F() 839 CV_NEXT_SEQ_ELEM( points->elem_size, reader ); in icvFitEllipse_F()
|
D | cvconvhull.cpp | 341 CV_NEXT_SEQ_ELEM( ptseq->elem_size, reader ); in cvConvexHull2() 713 CV_PREV_SEQ_ELEM( hull->elem_size, hull_reader ); in cvConvexityDefects() 717 CV_NEXT_SEQ_ELEM( hull->elem_size, hull_reader ); in cvConvexityDefects()
|
/external/e2fsprogs/lib/ext2fs/ |
D | alloc_tables.c | 39 int elem_size) in flexbg_offset() argument 47 size = rem_grp * elem_size; in flexbg_offset() 57 elem_size)) in flexbg_offset() 71 if (ext2fs_get_free_blocks2(fs, start_blk, last_blk, elem_size, in flexbg_offset() 75 if (ext2fs_get_free_blocks2(fs, 0, last_blk, elem_size, bmap, in flexbg_offset()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_tile.c | 198 const unsigned elem_size = 16; /* sizeof(uint128_t) */ in micro_tile_1_x_1_128bit() local 204 memcpy(dst, src, width * elem_size); in micro_tile_1_x_1_128bit() 205 dst += dst_pitch * elem_size; in micro_tile_1_x_1_128bit() 206 src += src_pitch * elem_size; in micro_tile_1_x_1_128bit() 422 const unsigned elem_size = 16; /* sizeof(uint128_t) */ in micro_untile_1_x_1_128bit() local 428 memcpy(dst, src, width * elem_size); in micro_untile_1_x_1_128bit() 429 dst += dst_pitch * elem_size; in micro_untile_1_x_1_128bit() 430 src += src_pitch * elem_size; in micro_untile_1_x_1_128bit()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_tile.c | 198 const unsigned elem_size = 16; /* sizeof(uint128_t) */ in micro_tile_1_x_1_128bit() local 204 memcpy(dst, src, width * elem_size); in micro_tile_1_x_1_128bit() 205 dst += dst_pitch * elem_size; in micro_tile_1_x_1_128bit() 206 src += src_pitch * elem_size; in micro_tile_1_x_1_128bit() 422 const unsigned elem_size = 16; /* sizeof(uint128_t) */ in micro_untile_1_x_1_128bit() local 428 memcpy(dst, src, width * elem_size); in micro_untile_1_x_1_128bit() 429 dst += dst_pitch * elem_size; in micro_untile_1_x_1_128bit() 430 src += src_pitch * elem_size; in micro_untile_1_x_1_128bit()
|
/external/opencv/cxcore/include/ |
D | cxtypes.h | 1213 int elem_size; /* Size of sequence element in bytes. */ \ 1458 (CV_SEQ_KIND(seq) == CV_SEQ_KIND_CURVE && (seq)->elem_size == 1) 1522 (seq)->elem_size == sizeof(elem_type)), \ 1536 memcpy((writer).ptr, elem_ptr, (writer).seq->elem_size);\ 1537 (writer).ptr += (writer).seq->elem_size; \ 1542 assert( (writer).seq->elem_size == sizeof(elem)); \ 1554 #define CV_NEXT_SEQ_ELEM( elem_size, reader ) \ argument 1556 if( ((reader).ptr += (elem_size)) >= (reader).block_max ) \ 1564 #define CV_PREV_SEQ_ELEM( elem_size, reader ) \ argument 1566 if( ((reader).ptr -= (elem_size)) < (reader).block_min ) \ [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_context.c | 617 const void *elements, unsigned elem_size) in draw_set_indexes() argument 619 assert(elem_size == 0 || in draw_set_indexes() 620 elem_size == 1 || in draw_set_indexes() 621 elem_size == 2 || in draw_set_indexes() 622 elem_size == 4); in draw_set_indexes() 624 draw->pt.user.eltSizeIB = elem_size; in draw_set_indexes()
|
/external/opencv/ml/src/ |
D | mlnbayes.cpp | 500 CV_NEXT_SEQ_ELEM( seq->elem_size, reader ); in read() 511 CV_NEXT_SEQ_ELEM( seq->elem_size, reader ); in read() 522 CV_NEXT_SEQ_ELEM( seq->elem_size, reader ); in read() 533 CV_NEXT_SEQ_ELEM( seq->elem_size, reader ); in read() 544 CV_NEXT_SEQ_ELEM( seq->elem_size, reader ); in read() 555 CV_NEXT_SEQ_ELEM( seq->elem_size, reader ); in read()
|
/external/mesa3d/src/egl/main/ |
D | eglarray.c | 190 _eglFlattenArray(_EGLArray *array, void *buffer, EGLint elem_size, EGLint size, in _eglFlattenArray() argument 205 (void *) ((char *) buffer + elem_size * i)); in _eglFlattenArray()
|
D | eglarray.h | 74 _eglFlattenArray(_EGLArray *array, void *buffer, EGLint elem_size, EGLint size,
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | eg_asm.c | 77 S_SQ_CF_ALLOC_EXPORT_WORD0_ELEM_SIZE(cf->output.elem_size) | in eg_bytecode_cf_build() 108 S_SQ_CF_ALLOC_EXPORT_WORD0_ELEM_SIZE(cf->output.elem_size) | in eg_bytecode_cf_build()
|
D | r600_asm.h | 124 unsigned elem_size; member
|
/external/libpcap/ |
D | pcap-dos.c | 1315 PCAP_ASSERT (tail->size < active_dev->queue.elem_size-4-2); in peek_rxbuf() 1399 buf += q->elem_size; in pktq_check() 1411 q->elem_size = size; in pktq_init() 1466 return (struct rx_elem*) (q->buf_start + (q->elem_size * q->in_index)); in pktq_in_elem() 1474 return (struct rx_elem*) (q->buf_start + (q->elem_size * q->out_index)); in pktq_out_elem()
|