Home
last modified time | relevance | path

Searched refs:cast_sizet (Results 1 – 8 of 8) sorted by relevance

/l4re-core-master/lua/lib/contrib/src/
A Dlmem.h32 (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 Dlmem.c97 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 Dllimits.h134 #define cast_sizet(i) cast(size_t, (i)) macro
A Dlstate.c68 { size_t t = cast_sizet(e); \
A Dltable.c362 luaM_freearray(L, t->node, cast_sizet(sizenode(t))); in freehash()
A Dlapi.c472 case LUA_VLCF: return cast_voidp(cast_sizet(fvalue(o))); in lua_topointer()
A Dlgc.c122 #define gnodelast(h) gnode(h, cast_sizet(sizenode(h)))
A Dlcode.c589 setpvalue(&k, cast_voidp(cast_sizet(n))); in luaK_intK()

Completed in 18 milliseconds