Searched refs:CV_STRUCT_ALIGN (Results 1 – 3 of 3) sorted by relevance
/external/opencv3/modules/core/src/ |
D | datastructs.cpp | 44 #define CV_STRUCT_ALIGN ((int)sizeof(double)) macro 53 (int)cvAlign(sizeof(CvSeqBlock), CV_STRUCT_ALIGN) 97 block_size = cvAlign( block_size, CV_STRUCT_ALIGN ); in icvInitMemStorage() 98 assert( sizeof(CvMemBlock) % CV_STRUCT_ALIGN == 0 ); in icvInitMemStorage() 267 assert( storage->free_space % CV_STRUCT_ALIGN == 0 ); in icvGoNextMemBlock() 332 assert( storage->free_space % CV_STRUCT_ALIGN == 0 ); in cvMemStorageAlloc() 336 … size_t max_free_space = cvAlignLeft(storage->block_size - sizeof(CvMemBlock), CV_STRUCT_ALIGN); in cvMemStorageAlloc() 344 assert( (size_t)ptr % CV_STRUCT_ALIGN == 0 ); in cvMemStorageAlloc() 345 storage->free_space = cvAlignLeft(storage->free_space - (int)size, CV_STRUCT_ALIGN ); in cvMemStorageAlloc() 419 sizeof(CvSeqBlock), CV_STRUCT_ALIGN); in cvSetSeqBlockSize() [all …]
|
/external/opencv/cxcore/src/ |
D | cxdatastructs.cpp | 47 (int)cvAlign(sizeof(CvSeqBlock), CV_STRUCT_ALIGN) 95 block_size = cvAlign( block_size, CV_STRUCT_ALIGN ); in icvInitMemStorage() 96 assert( sizeof(CvMemBlock) % CV_STRUCT_ALIGN == 0 ); in icvInitMemStorage() 315 assert( storage->free_space % CV_STRUCT_ALIGN == 0 ); in icvGoNextMemBlock() 399 assert( storage->free_space % CV_STRUCT_ALIGN == 0 ); in cvMemStorageAlloc() 403 … size_t max_free_space = cvAlignLeft(storage->block_size - sizeof(CvMemBlock), CV_STRUCT_ALIGN); in cvMemStorageAlloc() 411 assert( (size_t)ptr % CV_STRUCT_ALIGN == 0 ); in cvMemStorageAlloc() 412 storage->free_space = cvAlignLeft(storage->free_space - (int)size, CV_STRUCT_ALIGN ); in cvMemStorageAlloc() 503 sizeof(CvSeqBlock), CV_STRUCT_ALIGN); in cvSetSeqBlockSize() 766 if( (unsigned)(ICV_FREE_PTR(storage) - seq->block_max) < CV_STRUCT_ALIGN && in icvGrowSeq() [all …]
|
/external/opencv/cxcore/include/ |
D | cxmisc.h | 87 #define CV_STRUCT_ALIGN ((int)sizeof(double)) macro
|