Searched refs:osize (Results 1 – 6 of 6) sorted by relevance
/l4re-core-master/lua/lib/contrib/src/ |
A D | lmem.c | 132 void luaM_free_ (lua_State *L, void *block, size_t osize) { in luaM_free_() argument 134 lua_assert((osize == 0) == (block == NULL)); in luaM_free_() 135 (*g->frealloc)(g->ud, block, osize, 0); in luaM_free_() 136 g->GCdebt -= osize; in luaM_free_() 149 size_t osize, size_t nsize) { in tryagain() argument 165 lua_assert((osize == 0) == (block == NULL)); in luaM_realloc_() 166 newblock = firsttry(g, block, osize, nsize); in luaM_realloc_() 168 newblock = tryagain(L, block, osize, nsize); in luaM_realloc_() 173 g->GCdebt = (g->GCdebt + nsize) - osize; in luaM_realloc_() 178 void *luaM_saferealloc_ (lua_State *L, void *block, size_t osize, in luaM_saferealloc_() argument [all …]
|
A D | lstring.c | 62 static void tablerehash (TString **vect, int osize, int nsize) { in tablerehash() argument 64 for (i = osize; i < nsize; i++) /* clear new elements */ in tablerehash() 66 for (i = 0; i < osize; i++) { /* rehash old part of the array */ in tablerehash() 87 int osize = tb->size; in luaS_resize() local 89 if (nsize < osize) /* shrinking table? */ in luaS_resize() 90 tablerehash(tb->hash, osize, nsize); /* depopulate shrinking part */ in luaS_resize() 91 newvect = luaM_reallocvector(L, tb->hash, osize, nsize, TString*); in luaS_resize() 93 if (nsize < osize) /* was it shrinking table? */ in luaS_resize() 94 tablerehash(tb->hash, nsize, osize); /* restore to original size */ in luaS_resize() 100 if (nsize > osize) in luaS_resize() [all …]
|
A D | lmem.h | 84 LUAI_FUNC void luaM_free_ (lua_State *L, void *block, size_t osize);
|
A D | lauxlib.c | 1010 static void *l_alloc (void *ud, void *ptr, size_t osize, size_t nsize) { in l_alloc() argument 1011 (void)ud; (void)osize; /* not used */ in l_alloc()
|
A D | lua.h | 125 typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize);
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/regex/ |
A D | regex_old.c | 304 # define REGEX_REALLOCATE(source, osize, nsize) realloc (source, nsize) argument 326 # define REGEX_REALLOCATE(source, osize, nsize) \ argument 328 memcpy (destination, source, osize)) 341 # define REGEX_REALLOCATE_STACK(source, osize, nsize) \ argument 351 # define REGEX_REALLOCATE_STACK(source, osize, nsize) realloc (source, nsize) argument 358 # define REGEX_REALLOCATE_STACK(source, osize, nsize) \ argument 359 REGEX_REALLOCATE (source, osize, nsize)
|
Completed in 19 milliseconds