Searched refs:base_size (Results 1 – 3 of 3) sorted by relevance
142 Py_ssize_t base_size = b->b_size - offset; in buffer_from_object() local143 if (base_size < 0) in buffer_from_object()144 base_size = 0; in buffer_from_object()145 if (size == Py_END_OF_BUFFER || size > base_size) in buffer_from_object()146 size = base_size; in buffer_from_object()
355 GLsizei base_size = ceildiv(width, 4) * ceildiv(height, 4) * depth; in compressedTexImageSize() local358 return base_size * multiplier; \ in compressedTexImageSize()