Searched refs:lims (Results 1 – 2 of 2) sorted by relevance
16 struct rlimit lims; in test_limit() local19 if (getrlimit(RLIMIT_MEMLOCK, &lims)) { in test_limit()29 map = mmap(NULL, 2 * lims.rlim_max, PROT_READ | PROT_WRITE, in test_limit()35 munmap(map, 2 * lims.rlim_max); in test_limit()
800 BoxRec lims; in CheckVirtualMotion() local838 lims = *RegionExtents(&pWin->borderSize); in CheckVirtualMotion()839 if (pSprite->hot.x < lims.x1) in CheckVirtualMotion()840 pSprite->hot.x = lims.x1; in CheckVirtualMotion()841 else if (pSprite->hot.x >= lims.x2) in CheckVirtualMotion()842 pSprite->hot.x = lims.x2 - 1; in CheckVirtualMotion()843 if (pSprite->hot.y < lims.y1) in CheckVirtualMotion()844 pSprite->hot.y = lims.y1; in CheckVirtualMotion()845 else if (pSprite->hot.y >= lims.y2) in CheckVirtualMotion()846 pSprite->hot.y = lims.y2 - 1; in CheckVirtualMotion()