Searched refs:roundup (Results 1 - 9 of 9) sorted by relevance

/external/valgrind/main/memcheck/tests/amd64/
H A Dinsn-pcmpistri.c40 const size_t roundup = ((len+15)/16)*16; local
44 posix_memalign(&space, 16, roundup);
45 memset(space, 'x', roundup);
53 for (i=len ; i < roundup ; ++i)
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dvsnprintf.c44 #ifndef roundup
45 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
74 e = (char *)roundup((unsigned long)e, pgsize);
/external/mesa3d/src/mesa/main/
H A Dvsnprintf.c44 #ifndef roundup
45 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
74 e = (char *)roundup((unsigned long)e, pgsize);
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dlow_level_alloc.cc189 // pagesize, roundup, min_size
194 size_t roundup; // lowest power of 2 >= max(16,sizeof (AllocList)) member in struct:LowLevelAlloc::Arena
267 arena->roundup = 16;
268 while (arena->roundup < sizeof (arena->freelist.header)) {
269 arena->roundup += arena->roundup;
271 // Don't allocate blocks less than twice the roundup size to avoid tiny
273 arena->min_size = 2 * arena->roundup;
441 size_t req_rnd = RoundUp(request + sizeof (s->header), arena->roundup);
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dlow_level_alloc.cc189 // pagesize, roundup, min_size
194 size_t roundup; // lowest power of 2 >= max(16,sizeof (AllocList)) member in struct:LowLevelAlloc::Arena
267 arena->roundup = 16;
268 while (arena->roundup < sizeof (arena->freelist.header)) {
269 arena->roundup += arena->roundup;
271 // Don't allocate blocks less than twice the roundup size to avoid tiny
273 arena->min_size = 2 * arena->roundup;
441 size_t req_rnd = RoundUp(request + sizeof (s->header), arena->roundup);
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/include/linux/
H A Dkernel.h49 #ifndef roundup
50 #define roundup(x, y) ( \ macro
/external/libpcap/
H A Dpcap-bpf.c1699 #ifndef roundup
1700 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) /* to any y */ macro
1702 pb->zbufsize = roundup(v, getpagesize());
/external/elfutils/0.153/src/
H A Dstrings.c483 roundup (2 * min_len_bytes + 1, ps));
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dsymbol.c190 curr->end = roundup(curr->start, 4096);

Completed in 240 milliseconds