Searched refs:RoundTo (Results 1 - 5 of 5) sorted by relevance
/barrelfish-master/usr/eclipseclp/Shm/src/ |
H A D | shared_mem.c | 106 #define RoundTo(n,unit) ((n) - ((n) - 1) % (unit) -1 + (unit)) macro 329 word needed = RoundTo(size - avail, hd->shared_header->incr);
|
H A D | alloc.c | 151 #define RoundTo(n,unit) ((n) - ((n) - 1) % (unit) -1 + (unit)) macro 552 *out_bytes_allocated = bytes_allocated = RoundTo(bytes_needed, BYTES_PER_PAGE); 896 return RoundTo(size, BYTES_PER_PAGE);
|
/barrelfish-master/usr/eclipseclp/Kernel/src/ |
H A D | mem.c | 106 #define RoundTo(n,unit) ((n) - ((n) - 1) % (unit) -1 + (unit)) macro 408 if (bytes[i]) /* RoundTo only works for n > 0 */ 409 bytes[i] = RoundTo(bytes[i], STACK_PAGESIZE); 1130 s += RoundTo(ec_options.localsize + ec_options.globalsize, STACK_PAGESIZE); 1181 word stacksize = RoundTo(ec_options.localsize + ec_options.globalsize,
|
H A D | io.c | 285 #define RoundTo(n,unit) ((n) - ((n) - 1) % (unit) -1 + (unit)) macro
|
/barrelfish-master/usr/eclipseclp/Eplex/ |
H A D | eplex.c | 327 #define RoundTo(n,unit) ((n) - ((n) - 1) % (unit) -1 + (unit)) macro 5184 lpd->sosnzsz = RoundTo(lpd->nsosnz, 512); 5191 lpd->sosnzsz = RoundTo(lpd->nsosnz, 512);
|
Completed in 132 milliseconds