Home
last modified time | relevance | path

Searched refs:rgnSize (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/external/xserver/dix/
H A Dregion.c348 size_t rgnSize; in RegionRectAlloc() local
352 rgnSize = RegionSizeof(n); in RegionRectAlloc()
353 pRgn->data = (rgnSize > 0) ? malloc(rgnSize) : NULL; in RegionRectAlloc()
360 rgnSize = RegionSizeof(n); in RegionRectAlloc()
361 pRgn->data = (rgnSize > 0) ? malloc(rgnSize) : NULL; in RegionRectAlloc()
373 rgnSize = RegionSizeof(n); in RegionRectAlloc()
374 data = (rgnSize > 0) ? realloc(pRgn->data, rgnSize) : NULL; in RegionRectAlloc()
1319 size_t rgnSize; in RegionFromRects() local
1346 rgnSize = RegionSizeof(nrects); in RegionFromRects()
1347 pData = (rgnSize > 0) ? malloc(rgnSize) : NULL; in RegionFromRects()
/OK3568_Linux_fs/external/xserver/include/
H A Dregionstr.h144 size_t rgnSize; in RegionInit() local
146 if (((_size) > 1) && ((rgnSize = RegionSizeof(_size)) > 0) && in RegionInit()
147 (((_pReg)->data = (RegDataPtr) malloc(rgnSize)) != NULL)) { in RegionInit()