Home
last modified time | relevance | path

Searched refs:remainder_size (Results 1 – 5 of 5) sorted by relevance

/external/u-boot/common/
Ddlmalloc.c1247 long remainder_size; /* its size */ local
1309 remainder_size = victim_size - nb;
1311 if (remainder_size >= (long)MINSIZE) /* too big */
1317 else if (remainder_size >= 0) /* exact fit */
1335 remainder_size = victim_size - nb;
1337 if (remainder_size >= (long)MINSIZE) /* re-split */
1342 set_head(remainder, remainder_size | PREV_INUSE);
1343 set_foot(remainder, remainder_size);
1350 if (remainder_size >= 0) /* exhaust */
1398 remainder_size = victim_size - nb;
[all …]
Ddlmalloc.src2112 long remainder_size; /* its size */
2163 remainder_size = victim_size - nb;
2165 if (remainder_size >= (long)MINSIZE) /* too big */
2171 else if (remainder_size >= 0) /* exact fit */
2189 remainder_size = victim_size - nb;
2191 if (remainder_size >= (long)MINSIZE) /* re-split */
2196 set_head(remainder, remainder_size | PREV_INUSE);
2197 set_foot(remainder, remainder_size);
2204 if (remainder_size >= 0) /* exhaust */
2252 remainder_size = victim_size - nb;
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/
Ddlmalloc.c3971 size_t remainder_size = size - nb; in internal_memalign() local
3974 set_inuse(m, remainder, remainder_size); in internal_memalign()
4016 size_t remainder_size; /* remaining bytes while splitting */ in ialloc() local
4067 remainder_size = chunksize(p); in ialloc()
4072 memset((size_t*)mem, 0, remainder_size - SIZE_T_SIZE - array_size); in ialloc()
4079 array_chunk_size = remainder_size - contents_size; in ialloc()
4082 remainder_size = contents_size; in ialloc()
4093 remainder_size -= size; in ialloc()
4098 set_size_and_pinuse_of_inuse_chunk(m, p, remainder_size); in ialloc()
4107 assert(remainder_size == element_size); in ialloc()
[all …]
/external/libffi/src/
Ddlmalloc.c3966 size_t remainder_size = size - nb; in internal_memalign() local
3969 set_inuse(m, remainder, remainder_size); in internal_memalign()
4011 size_t remainder_size; /* remaining bytes while splitting */ in ialloc() local
4062 remainder_size = chunksize(p); in ialloc()
4067 memset((size_t*)mem, 0, remainder_size - SIZE_T_SIZE - array_size); in ialloc()
4074 array_chunk_size = remainder_size - contents_size; in ialloc()
4077 remainder_size = contents_size; in ialloc()
4088 remainder_size -= size; in ialloc()
4093 set_size_and_pinuse_of_inuse_chunk(m, p, remainder_size); in ialloc()
4102 assert(remainder_size == element_size); in ialloc()
[all …]
/external/dlmalloc/
Dmalloc.c4975 size_t remainder_size = size - nb; in internal_memalign() local
4978 set_inuse(m, remainder, remainder_size); in internal_memalign()
4979 dispose_chunk(m, remainder, remainder_size); in internal_memalign()
5011 size_t remainder_size; /* remaining bytes while splitting */ in ialloc() local
5063 remainder_size = chunksize(p); in ialloc()
5068 memset((size_t*)mem, 0, remainder_size - SIZE_T_SIZE - array_size); in ialloc()
5075 array_chunk_size = remainder_size - contents_size; in ialloc()
5078 remainder_size = contents_size; in ialloc()
5089 remainder_size -= size; in ialloc()
5094 set_size_and_pinuse_of_inuse_chunk(m, p, remainder_size); in ialloc()
[all …]