Home
last modified time | relevance | path

Searched refs:MAX_SIZET (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/lua/src/
H A Dlmem.h32 (sizeof(n) >= sizeof(size_t) && cast_sizet((n)) + 1 > MAX_SIZET/(e))
45 ((cast_sizet(n) <= MAX_SIZET/sizeof(t)) ? (n) : \
46 cast_uint((MAX_SIZET/sizeof(t))))
H A Dllimits.h41 #define MAX_SIZET ((size_t)(~(size_t)0)) macro
44 #define MAX_SIZE (sizeof(size_t) < sizeof(lua_Integer) ? MAX_SIZET \
H A Dlauxlib.c30 #if !defined(MAX_SIZET)
32 #define MAX_SIZET ((size_t)(~(size_t)0)) macro
534 if (l_unlikely(MAX_SIZET - sz < B->n)) /* overflow in (B->n + sz)? */ in newbuffsize()
H A Dlstrlib.c47 #define MAX_SIZET ((size_t)(~(size_t)0)) macro
50 (sizeof(size_t) < sizeof(int) ? MAX_SIZET : (size_t)(INT_MAX))
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlstring.c160 if (l + 1 > (MAX_SIZET - sizeof(TString))/sizeof(char)) in luaS_newlstr()
177 if (s > MAX_SIZET - sizeof(Udata)) in luaS_newudata()
H A Dlmem.h24 (cast(size_t, (n)+1) > MAX_SIZET/(e)) ? (luaM_toobig(L), 0) : 0), \
H A Dllimits.h26 #define MAX_SIZET ((size_t)(~(size_t)0)-2) macro
H A Dllex.c52 if (luaZ_sizebuffer(b) >= MAX_SIZET/2) in save()
H A Dlvm.c315 if (l >= (MAX_SIZET/sizeof(char)) - tl) in luaV_concat()