Home
last modified time | relevance | path

Searched refs:OVERHEAD (Results 1 – 7 of 7) sorted by relevance

/external/musl/src/malloc/oldmalloc/
Dmalloc_impl.h20 #define OVERHEAD (2*sizeof(size_t)) macro
29 #define MEM_TO_CHUNK(p) (struct chunk *)((char *)(p) - OVERHEAD)
30 #define CHUNK_TO_MEM(c) (void *)((char *)(c) + OVERHEAD)
Dmalloc.c246 *n = (*n + OVERHEAD + SIZE_ALIGN - 1) & SIZE_MASK; in adjust_size()
302 size_t len = n + OVERHEAD + PAGE_SIZE - 1 & -PAGE_SIZE; in malloc()
306 c = (void *)(base + SIZE_ALIGN - OVERHEAD); in malloc()
307 c->csize = len - (SIZE_ALIGN - OVERHEAD); in malloc()
308 c->psize = SIZE_ALIGN - OVERHEAD; in malloc()
374 if (newlen < PAGE_SIZE && (new = malloc(n-OVERHEAD))) { in realloc()
426 new = malloc(n-OVERHEAD); in realloc()
429 memcpy(new, p, (n<n0 ? n : n0) - OVERHEAD); in realloc()
523 size_t align_start_up = (SIZE_ALIGN-1) & (-(uintptr_t)start - OVERHEAD); in __malloc_donate()
529 if (end - start <= OVERHEAD + align_start_up + align_end_down) in __malloc_donate()
[all …]
Dmalloc_usable_size.c8 return p ? CHUNK_SIZE(MEM_TO_CHUNK(p)) - OVERHEAD : 0; in malloc_usable_size()
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DAltsTsiTest.java43 private static final int OVERHEAD = field in AltsTsiTest
130 TsiTest.pingPongSmallFrameTest(OVERHEAD, newHandshakers(), ref); in pingPongSmallFrame()
135 TsiTest.pingPongSmallFrameSmallBufferTest(OVERHEAD, newHandshakers(), ref); in pingPongSmallFrameSmallBuffer()
DFakeTsiTest.java44 private static final int OVERHEAD = field in FakeTsiTest
186 TsiTest.pingPongSmallFrameTest(OVERHEAD, newHandshakers(), ref); in pingPongSmallFrame()
191 TsiTest.pingPongSmallFrameSmallBufferTest(OVERHEAD, newHandshakers(), ref); in pingPongSmallFrameSmallBuffer()
/external/ltp/testcases/realtime/func/sched_latency/
Dsched_latency.c64 #define OVERHEAD 50000 // allow for 50 us of periodic overhead (context switch, etc.) macro
253 if (load_ms * NS_PER_MS >= period - OVERHEAD) { in main()
255 OVERHEAD / NS_PER_US); in main()
/external/one-true-awk/testdir/
Dfunstack.in17583 descriptors = "ARPANET; packet switching; performance evaluation; OVERHEAD;",