Home
last modified time | relevance | path

Searched refs:osize (Results 1 – 6 of 6) sorted by relevance

/l4re-core-master/lua/lib/contrib/src/
A Dlmem.c132 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 Dlstring.c62 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 Dlmem.h84 LUAI_FUNC void luaM_free_ (lua_State *L, void *block, size_t osize);
A Dlauxlib.c1010 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 Dlua.h125 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 Dregex_old.c304 # 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