Lines Matching refs:CvMemBlock
96 assert( sizeof(CvMemBlock) % CV_STRUCT_ALIGN == 0 ); in icvInitMemStorage()
162 CvMemBlock *block; in icvDestroyMemStorage()
163 CvMemBlock *dst_top = 0; in icvDestroyMemStorage()
173 CvMemBlock *temp = block; in icvDestroyMemStorage()
249 storage->free_space = storage->bottom ? storage->block_size - sizeof(CvMemBlock) : 0; in cvClearMemStorage()
270 CvMemBlock *block; in icvGoNextMemBlock()
274 CV_CALL( block = (CvMemBlock *)cvAlloc( storage->block_size )); in icvGoNextMemBlock()
314 storage->free_space = storage->block_size - sizeof(CvMemBlock); in icvGoNextMemBlock()
376 storage->free_space = storage->top ? storage->block_size - sizeof(CvMemBlock) : 0; in cvRestoreMemStoragePos()
403 … size_t max_free_space = cvAlignLeft(storage->block_size - sizeof(CvMemBlock), CV_STRUCT_ALIGN); in cvMemStorageAlloc()
502 useful_block_size = cvAlignLeft(seq->storage->block_size - sizeof(CvMemBlock) - in cvSetSeqBlockSize()