Searched refs:cast_sizet (Results 1 - 7 of 7) sorted by relevance
/netbsd-current/external/mit/lua/dist/src/ |
H A D | lmem.h | 36 (sizeof(n) >= sizeof(size_t) && cast_sizet((n)) + 1 > MAX_SIZET/(e)) 49 ((cast_sizet(n) <= MAX_SIZET/sizeof(t)) ? (n) : \ 75 (cast(t *, luaM_realloc_(L, v, cast_sizet(oldn) * sizeof(t), \ 76 cast_sizet(n) * sizeof(t))))
|
H A D | lmem.c | 119 newblock = luaM_saferealloc_(L, block, cast_sizet(*psize) * size_elems, 120 cast_sizet(size) * size_elems); 135 size_t oldsize = cast_sizet((*size) * size_elem); 136 size_t newsize = cast_sizet(final_n * size_elem);
|
H A D | llimits.h | 153 #define cast_sizet(i) cast(size_t, (i)) macro
|
H A D | lstate.c | 72 { size_t t = cast_sizet(e); \
|
H A D | ltable.c | 383 luaM_freearray(L, t->node, cast_sizet(sizenode(t)));
|
H A D | lapi.c | 486 case LUA_VLCF: return cast_voidp(cast_sizet(fvalue(o)));
|
H A D | lgc.c | 125 #define gnodelast(h) gnode(h, cast_sizet(sizenode(h)))
|
Completed in 256 milliseconds