Searched refs:SIZEOF_X_UNIT (Results 1 – 2 of 2) sorted by relevance
52 #define SIZEOF_X_UNIT(M) (((M)->x + MATRIX_X_HEADER) * sizeof (bmp_t)) macro
423 (void *)bmp, SIZEOF_X_UNIT(matrix)); in update_matrix()555 (void) memset(bmp, 0, SIZEOF_X_UNIT(matrix)); in clear_matrix()953 matrix->m = (bmp_t *)calloc(y, SIZEOF_X_UNIT(matrix)); in new_matrix()