Home
last modified time | relevance | path

Searched refs:topsize (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/lib/
Dmembuff.c235 int topsize, botsize; in membuff_makecontig() local
251 topsize = mb->end - mb->tail; in membuff_makecontig()
258 if (mb->head + topsize >= mb->tail) in membuff_makecontig()
260 memmove(mb->start + topsize, mb->start, botsize); in membuff_makecontig()
261 debug(" - memmove(%d, %d, %d)", topsize, 0, botsize); in membuff_makecontig()
265 topsize = mb->head - mb->tail; in membuff_makecontig()
270 memcpy(mb->start, mb->tail, topsize); in membuff_makecontig()
271 debug(" - memcpy(%d, %d, %d)", 0, (int)(mb->tail - mb->start), topsize); in membuff_makecontig()
275 mb->head = mb->start + topsize + botsize; in membuff_makecontig()
/external/python/cpython2/Modules/_ctypes/libffi/src/
Ddlmalloc.c2078 size_t topsize; member
2633 assert(sz == m->topsize); in do_check_top_chunk()
2829 sum += m->topsize + TOP_FOOT_SIZE; in traverse_and_check()
2874 assert(m->topsize == chunksize(m->top)); in do_check_malloc_state()
2875 assert(m->topsize > 0); in do_check_malloc_state()
2894 size_t mfree = m->topsize + TOP_FOOT_SIZE; in internal_mallinfo()
2918 nm.keepcost = m->topsize; in internal_mallinfo()
2937 used = fp - (m->topsize + TOP_FOOT_SIZE); in internal_malloc_stats()
3291 m->topsize = psize; in init_top()
3316 m->dvsize = m->topsize = 0; in reset_on_error()
[all …]
/external/libffi/src/
Ddlmalloc.c2073 size_t topsize; member
2628 assert(sz == m->topsize); in do_check_top_chunk()
2824 sum += m->topsize + TOP_FOOT_SIZE; in traverse_and_check()
2869 assert(m->topsize == chunksize(m->top)); in do_check_malloc_state()
2870 assert(m->topsize > 0); in do_check_malloc_state()
2889 size_t mfree = m->topsize + TOP_FOOT_SIZE; in internal_mallinfo()
2913 nm.keepcost = m->topsize; in internal_mallinfo()
2932 used = fp - (m->topsize + TOP_FOOT_SIZE); in internal_malloc_stats()
3286 m->topsize = psize; in init_top()
3311 m->dvsize = m->topsize = 0; in reset_on_error()
[all …]
/external/dlmalloc/
Dmalloc.c2583 size_t topsize; member
3245 assert(sz == m->topsize); in do_check_top_chunk()
3441 sum += m->topsize + TOP_FOOT_SIZE; in traverse_and_check()
3488 assert(m->topsize > 0); in do_check_malloc_state()
3508 size_t mfree = m->topsize + TOP_FOOT_SIZE; in internal_mallinfo()
3534 nm.keepcost = m->topsize; in internal_mallinfo()
3555 used = fp - (m->topsize + TOP_FOOT_SIZE); in internal_malloc_stats()
3919 m->topsize = psize; in init_top()
3944 m->dvsize = m->topsize = 0; in reset_on_error()
3971 size_t tsize = m->topsize += qsize; in prepend_alloc()
[all …]