Home
last modified time | relevance | path

Searched refs:lua_settop (Results 1 – 12 of 12) sorted by relevance

/minix3/external/mit/lua/dist/src/
H A Dlbaselib.c77 lua_settop(L, 1); /* yes; return it */ in luaB_tonumber()
108 lua_settop(L, 1); in luaB_error()
136 lua_settop(L, 2); in luaB_setmetatable()
162 lua_settop(L, 2); in luaB_rawget()
171 lua_settop(L, 3); in luaB_rawset()
234 lua_settop(L, 2); /* create a 2nd argument if there isn't one */ in luaB_next()
369 lua_settop(L, RESERVEDSLOT); /* create reserved slot */ in luaB_load()
387 lua_settop(L, 1); in luaB_dofile()
403 lua_settop(L, 1); /* leave only message (default if no other one) */ in luaB_assert()
H A Dldblib.c64 lua_settop(L, 2); in db_setmetatable()
82 lua_settop(L, 2); in db_setuservalue()
238 lua_settop(L, arg+3); in db_setlocal()
356 lua_settop(L, arg+1); in db_sethook()
417 lua_settop(L, 0); /* remove eventual returns */ in db_debug()
H A Dlmathlib.c109 lua_settop(L, 1); /* integer is its own floor */ in math_floor()
120 lua_settop(L, 1); /* integer is its own ceil */ in math_ceil()
153 lua_settop(L, 1); /* number is its own integer part */ in math_modf()
H A Dlua.c378 lua_settop(L, 0); in loadline()
419 lua_settop(L, 0); /* clear stack */ in doREPL()
H A Dlua.h174 LUA_API void (lua_settop) (lua_State *L, int idx); variable
377 #define lua_pop(L,n) lua_settop(L, -(n)-1)
H A Dloslib.c294 lua_settop(L, 1); /* make sure table is at the top */ in os_time()
H A Dliolib.c575 lua_settop(L , 1); in io_readline()
589 lua_settop(L, 0); in io_readline()
H A Dltablib.c331 lua_settop(L, 2); /* make sure there are two arguments */ in sort()
H A Dlauxlib.c94 lua_settop(L, top); /* remove function and global table */ in pushglobalfuncname()
682 lua_settop(L, fnameindex); /* ignore results from 'lua_load' */ in luaL_loadfilex()
H A Dloadlib.c562 lua_settop(L, 1); /* _LOADED table will be at index 2 */ in ll_require()
H A Dlstrlib.c193 lua_settop(L, 1); in str_dump()
685 lua_settop(L, 2); in gmatch()
H A Dlapi.c176 LUA_API void lua_settop (lua_State *L, int idx) { in lua_settop() function