Searched refs:lua_settop (Results 1 – 13 of 13) sorted by relevance
/external/lua/src/ |
D | lbaselib.c | 84 lua_settop(L, 1); /* yes; return it */ in luaB_tonumber() 116 lua_settop(L, 1); in luaB_error() 143 lua_settop(L, 2); in luaB_setmetatable() 169 lua_settop(L, 2); in luaB_rawget() 178 lua_settop(L, 3); in luaB_rawset() 253 lua_settop(L, 2); /* create a 2nd argument if there isn't one */ in luaB_next() 378 lua_settop(L, RESERVEDSLOT); /* create reserved slot */ in luaB_load() 395 lua_settop(L, 1); in luaB_dofile() 410 lua_settop(L, 1); /* leave only message (default if no other one) */ in luaB_assert()
|
D | ldblib.c | 59 lua_settop(L, 2); in db_setmetatable() 81 lua_settop(L, 2); in db_setuservalue() 243 lua_settop(L, arg+3); in db_setlocal() 361 lua_settop(L, arg+1); in db_sethook() 421 lua_settop(L, 0); /* remove eventual returns */ in db_debug()
|
D | lmathlib.c | 97 lua_settop(L, 1); /* integer is its own floor */ in math_floor() 108 lua_settop(L, 1); /* integer is its own ceil */ in math_ceil() 141 lua_settop(L, 1); /* number is its own integer part */ in math_modf()
|
D | lua.c | 522 lua_settop(L, 0); in loadline() 564 lua_settop(L, 0); /* clear stack */ in doREPL()
|
D | lua.h | 169 LUA_API void (lua_settop) (lua_State *L, int idx); variable 364 #define lua_pop(L,n) lua_settop(L, -(n)-1)
|
D | lauxlib.c | 90 lua_settop(L, top + 1); /* remove table "loaded" and name copy */ in pushglobalfuncname() 94 lua_settop(L, top); /* remove function and global table */ in pushglobalfuncname() 782 lua_settop(L, fnameindex); /* ignore results from 'lua_load' */ in luaL_loadfilex()
|
D | liolib.c | 629 lua_settop(L , 1); in io_readline() 643 lua_settop(L, 0); /* clear stack */ in io_readline()
|
D | loslib.c | 353 lua_settop(L, 1); /* make sure table is at the top */ in os_time()
|
D | ltablib.c | 403 lua_settop(L, 2); /* make sure there are two arguments */ in sort()
|
D | lstrlib.c | 236 lua_settop(L, 1); /* ensure function is on the top of the stack */ in str_dump() 277 lua_settop(L, 2); /* back to the original arguments */ in trymt() 857 lua_settop(L, 2); /* keep strings on closure to avoid being collected */ in gmatch()
|
D | loadlib.c | 656 lua_settop(L, 1); /* LOADED table will be at index 2 */ in ll_require()
|
D | lapi.c | 173 LUA_API void lua_settop (lua_State *L, int idx) { in lua_settop() function
|
/external/libtextclassifier/native/utils/intents/ |
D | jni-lua.cc | 663 lua_settop(state_, 0); in RunIntentGenerator()
|