Home
last modified time | relevance | path

Searched refs:l_memcontrol (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/lua/src/
H A Dltests.h58 LUA_API Memcontrol l_memcontrol; variable
105 #define luaL_newstate() lua_newstate(debug_realloc, &l_memcontrol)
H A Dltests.c70 l_memcontrol.numblocks = l_memcontrol.total = 0; in badexit()
190 Memcontrol l_memcontrol = variable
840 lua_pushinteger(L, l_memcontrol.total); in mem_query()
841 lua_pushinteger(L, l_memcontrol.numblocks); in mem_query()
842 lua_pushinteger(L, l_memcontrol.maxmem); in mem_query()
848 l_memcontrol.memlimit = limit; in mem_query()
856 lua_pushinteger(L, l_memcontrol.objcount[i]); in mem_query()
867 l_memcontrol.countlimit = ~0L; in alloc_count()
869 l_memcontrol.countlimit = luaL_checkinteger(L, 1); in alloc_count()
876 l_memcontrol.failnext = 1; in alloc_failnext()
[all …]