Searched refs:cast_sizet (Results 1 – 8 of 8) sorted by relevance
/l4re-core-master/lua/lib/contrib/src/ |
A D | lmem.h | 32 (sizeof(n) >= sizeof(size_t) && cast_sizet((n)) + 1 > MAX_SIZET/(e)) 45 ((cast_sizet(n) <= MAX_SIZET/sizeof(t)) ? (n) : \ 71 (cast(t *, luaM_realloc_(L, v, cast_sizet(oldn) * sizeof(t), \ 72 cast_sizet(n) * sizeof(t))))
|
A D | lmem.c | 97 newblock = luaM_saferealloc_(L, block, cast_sizet(*psize) * size_elems, in luaM_growaux_() 98 cast_sizet(size) * size_elems); in luaM_growaux_() 113 size_t oldsize = cast_sizet((*size) * size_elem); in luaM_shrinkvector_() 114 size_t newsize = cast_sizet(final_n * size_elem); in luaM_shrinkvector_()
|
A D | llimits.h | 134 #define cast_sizet(i) cast(size_t, (i)) macro
|
A D | lstate.c | 68 { size_t t = cast_sizet(e); \
|
A D | ltable.c | 362 luaM_freearray(L, t->node, cast_sizet(sizenode(t))); in freehash()
|
A D | lapi.c | 472 case LUA_VLCF: return cast_voidp(cast_sizet(fvalue(o))); in lua_topointer()
|
A D | lgc.c | 122 #define gnodelast(h) gnode(h, cast_sizet(sizenode(h)))
|
A D | lcode.c | 589 setpvalue(&k, cast_voidp(cast_sizet(n))); in luaK_intK()
|
Completed in 18 milliseconds