Home
last modified time | relevance | path

Searched refs:oldsize (Results 1 – 12 of 12) sorted by relevance

/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdlib/malloc-standard/
A Drealloc.c28 size_t oldsize; /* its size */ in realloc() local
62 oldsize = chunksize(oldp); in realloc()
68 if ((unsigned long)(oldsize) >= (unsigned long)(nb)) { in realloc()
71 newsize = oldsize; in realloc()
75 next = chunk_at_offset(oldp, oldsize); in realloc()
79 (unsigned long)(newsize = oldsize + chunksize(next)) >= in realloc()
112 newsize += oldsize; in realloc()
122 copysize = oldsize - (sizeof(size_t)); in realloc()
195 if (oldsize == newsize - offset) { in realloc()
211 sum = av->mmapped_mem += newsize - oldsize; in realloc()
[all …]
/l4re-core-master/lua/lib/contrib/src/
A Dlmem.c113 size_t oldsize = cast_sizet((*size) * size_elem); in luaM_shrinkvector_() local
115 lua_assert(newsize <= oldsize); in luaM_shrinkvector_()
116 newblock = luaM_saferealloc_(L, block, oldsize, newsize); in luaM_shrinkvector_()
A Dlmem.h80 LUAI_FUNC void *luaM_realloc_ (lua_State *L, void *block, size_t oldsize,
82 LUAI_FUNC void *luaM_saferealloc_ (lua_State *L, void *block, size_t oldsize,
A Dlparser.c177 int oldsize = f->sizelocvars; in registerlocalvar() local
180 while (oldsize < f->sizelocvars) in registerlocalvar()
181 f->locvars[oldsize++].varname = NULL; in registerlocalvar()
354 int oldsize = f->sizeupvalues; in allocupvalue() local
358 while (oldsize < f->sizeupvalues) in allocupvalue()
359 f->upvalues[oldsize++].name = NULL; in allocupvalue()
692 int oldsize = f->sizep; in addprototype() local
694 while (oldsize < f->sizep) in addprototype()
695 f->p[oldsize++] = NULL; in addprototype()
A Dldo.c192 int oldsize = stacksize(L); in luaD_reallocstack() local
203 i = ((oldsize <= newsize) ? oldsize : newsize) + EXTRA_STACK; in luaD_reallocstack()
208 luaM_freearray(L, L->stack, oldsize + EXTRA_STACK); in luaD_reallocstack()
A Dlcode.c547 int k, oldsize; in addk() local
556 oldsize = f->sizek; in addk()
563 while (oldsize < f->sizek) setnilvalue(&f->k[oldsize++]); in addk()
/l4re-core-master/uclibc/lib/libpthread/src/sysdeps/generic/
A Ddl-tls.c726 size_t oldsize = dtv[-1].counter; in _dl_update_slotinfo() local
740 _dl_memcpy (newp, &dtv[-1], oldsize * sizeof (dtv_t)); in _dl_update_slotinfo()
753 _dl_memset (newp + 2 + oldsize, '\0', in _dl_update_slotinfo()
754 (newsize - oldsize) * sizeof (dtv_t)); in _dl_update_slotinfo()
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/generic/
A Ddl-tls.c726 size_t oldsize = dtv[-1].counter; in _dl_update_slotinfo() local
740 _dl_memcpy (newp, &dtv[-1], oldsize * sizeof (dtv_t)); in _dl_update_slotinfo()
753 _dl_memset (newp + 2 + oldsize, '\0', in _dl_update_slotinfo()
754 (newsize - oldsize) * sizeof (dtv_t)); in _dl_update_slotinfo()
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/
A Ddl-tls.c801 size_t oldsize = dtv[-1].counter; in _dl_update_slotinfo() local
815 _dl_memcpy (newp, &dtv[-1], oldsize * sizeof (dtv_t)); in _dl_update_slotinfo()
828 _dl_memset (newp + 2 + oldsize, '\0', in _dl_update_slotinfo()
829 (newsize - oldsize) * sizeof (dtv_t)); in _dl_update_slotinfo()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-9/src/c++17/
A Dfs_path.cc273 const int oldsize = impl->_M_size; in operator =() local
276 const int minsize = std::min(newsize, oldsize); in operator =()
279 if (newsize > oldsize) in operator =()
281 std::uninitialized_copy_n(from + oldsize, newsize - oldsize, in operator =()
282 to + oldsize); in operator =()
285 else if (newsize < oldsize) in operator =()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-10/src/c++17/
A Dfs_path.cc280 const int oldsize = impl->_M_size; in operator =() local
283 const int minsize = std::min(newsize, oldsize); in operator =()
286 if (newsize > oldsize) in operator =()
288 std::uninitialized_copy_n(from + oldsize, newsize - oldsize, in operator =()
289 to + oldsize); in operator =()
292 else if (newsize < oldsize) in operator =()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-11/src/c++17/
A Dfs_path.cc280 const int oldsize = impl->_M_size; in operator =() local
283 const int minsize = std::min(newsize, oldsize); in operator =()
286 if (newsize > oldsize) in operator =()
288 std::uninitialized_copy_n(from + oldsize, newsize - oldsize, in operator =()
289 to + oldsize); in operator =()
292 else if (newsize < oldsize) in operator =()

Completed in 54 milliseconds