Searched refs:RoundTo (Results 1 - 5 of 5) sorted by relevance

/barrelfish-master/usr/eclipseclp/Shm/src/
H A Dshared_mem.c106 #define RoundTo(n,unit) ((n) - ((n) - 1) % (unit) -1 + (unit)) macro
329 word needed = RoundTo(size - avail, hd->shared_header->incr);
H A Dalloc.c151 #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 Dmem.c106 #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 Dio.c285 #define RoundTo(n,unit) ((n) - ((n) - 1) % (unit) -1 + (unit)) macro
/barrelfish-master/usr/eclipseclp/Eplex/
H A Deplex.c327 #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