Home
last modified time | relevance | path

Searched refs:lua_pop (Results 1 – 21 of 21) sorted by relevance

/netbsd-src/external/bsd/lutok/dist/
H A Dstate_test.cpp74 lua_pop(raw(state), 1); in is_available()
206 lua_pop(raw(state), 1); in ATF_TEST_CASE_BODY()
216 lua_pop(raw(state), 1); in ATF_TEST_CASE_BODY()
230 lua_pop(raw(state), 2); in ATF_TEST_CASE_BODY()
245 lua_pop(raw(state), 2); in ATF_TEST_CASE_BODY()
258 lua_pop(raw(state), 1); in ATF_TEST_CASE_BODY()
276 lua_pop(raw(state), 3); in ATF_TEST_CASE_BODY()
295 lua_pop(raw(state), 4); in ATF_TEST_CASE_BODY()
306 lua_pop(raw(state), 1); in ATF_TEST_CASE_BODY()
320 lua_pop(raw(state), 2); in ATF_TEST_CASE_BODY()
[all …]
H A Dstate.cpp562 lua_pop(_pimpl->lua_state, 1); in next()
566 lua_pop(_pimpl->lua_state, 1); in next()
595 lua_pop(_pimpl->lua_state, 1); in open_string()
614 lua_pop(_pimpl->lua_state, 1); in open_table()
645 lua_pop(_pimpl->lua_state, count); in pop()
772 lua_pop(_pimpl->lua_state, 1); in set_global()
803 lua_pop(_pimpl->lua_state, 2); in set_table()
H A Ddebug_test.cpp57 lua_pop(raw(state), 1); in ATF_TEST_CASE_BODY()
H A Dexceptions.cpp87 lua_pop(raw_state, 1); in from_stack()
/netbsd-src/external/mit/lua/dist/src/
H A Dloadlib.c291 lua_pop(L, 1); /* remove value */ in noenv()
328 lua_pop(L, 1); /* pop versioned variable name ('nver') */ in setpath()
342 lua_pop(L, 2); /* pop CLIBS table and 'plib' */ in checkclib()
357 lua_pop(L, 1); /* pop CLIBS table */ in addtoclib()
370 lua_pop(L, 1); /* pop handle */ in gctm()
638 lua_pop(L, 1); /* remove nil */ in findloader()
648 lua_pop(L, 1); /* remove extra return */ in findloader()
652 lua_pop(L, 2); /* remove both returns */ in findloader()
667 lua_pop(L, 1); /* remove 'getfield' result */ in ll_require()
678 lua_pop(L, 1); /* pop nil */ in ll_require()
[all …]
H A Dltablib.c57 lua_pop(L, n); /* pop metatable and tested metamethods */ in checktab()
289 lua_pop(L, 1); /* pop result */ in sort_comp()
311 lua_pop(L, 1); /* remove a[i] */ in partition()
318 lua_pop(L, 1); /* remove a[j] */ in partition()
323 lua_pop(L, 1); /* pop a[j] */ in partition()
360 lua_pop(L, 2); /* remove both values */ in auxsort()
372 lua_pop(L, 1); /* remove a[lo] */ in auxsort()
377 lua_pop(L, 2); in auxsort()
H A Dlauxlib.c65 lua_pop(L, 1); /* remove value (but keep name) */ in findfield()
76 lua_pop(L, 1); /* remove value */ in findfield()
324 lua_pop(L, 1); in luaL_newmetatable()
347 lua_pop(L, 2); /* remove both metatables */ in luaL_testudata()
638 lua_pop(L, 1); /* pop string */ in luaL_addvalue()
676 lua_pop(L, 1); /* remove from stack */ in luaL_ref()
689 lua_pop(L, 1); /* remove element from stack */ in luaL_ref()
873 lua_pop(L, 2); /* remove metatable and metafield */ in luaL_getmetafield()
898 lua_pop(L, 1); /* remove object */ in luaL_len()
964 lua_pop(L, nup); /* remove upvalues */ in luaL_setfuncs()
[all …]
H A Dlua.c127 lua_pop(L, 1); /* remove message */ in report()
487 lua_pop(L, 1); in incomplete()
506 lua_pop(L, 1); /* remove prompt */ in pushline()
533 lua_pop(L, 2); /* pop result from 'luaL_loadbuffer' and modified line */ in addreturn()
H A Dlinit.c72 lua_pop(L, 1); /* remove lib */ in luaL_openlibs()
H A Dlbaselib.c37 lua_pop(L, 1); /* pop result */ in luaB_print()
332 lua_pop(L, 1); /* remove 'env' if not used by previous call */ in load_aux()
382 lua_pop(L, 1); /* pop result */ in generic_reader()
H A Dlua.h399 #define lua_pop(L,n) lua_settop(L, -(n)-1) macro
426 #define lua_remove(L,idx) (lua_rotate(L, (idx), -1), lua_pop(L, 1))
428 #define lua_replace(L,idx) (lua_copy(L, -1, (idx)), lua_pop(L, 1))
H A Dloslib.c248 lua_pop(L, 1); in getboolfield()
269 lua_pop(L, 1); in getfield()
H A Dlcorolib.c46 lua_pop(co, nres); /* remove results anyway */ in auxresume()
H A Dliolib.c611 lua_pop(L, 1); /* remove last result */ in g_read()
792 lua_pop(L, 1); /* pop metatable */ in createmeta()
H A Dlstrlib.c936 lua_pop(L, 1); /* remove value */ in add_value()
1379 lua_pop(L, 1); /* remove result from 'luaL_tolstring' */ in str_format()
1889 lua_pop(L, 1); /* pop dummy string */ in createmetatable()
1892 lua_pop(L, 1); /* pop metatable */ in createmetatable()
H A Dldblib.c253 lua_pop(L1, 1); /* pop value (if not popped by 'lua_setlocal') */ in db_setlocal()
H A Dlmathlib.c647 lua_pop(L, 2); /* remove pushed seeds */ in setrandfunc()
/netbsd-src/sys/modules/examples/luareadhappy/
H A Dluareadhappy.c102 lua_pop(sc.kL->L, 1); in check_happy()
109 lua_pop(sc.kL->L, 2); in check_happy()
115 lua_pop(sc.kL->L, 1); in check_happy()
122 lua_pop(sc.kL->L, 1); in check_happy()
/netbsd-src/libexec/httpd/
H A Dlua-bozo.c62 lua_pop(L, 1); in httpd_instance()
119 lua_pop(L, 1); in lua_register_handler()
213 lua_pop(map->L, 2); in bozo_add_lua_map()
430 lua_pop(map->L, 1); in bozo_process_lua()
/netbsd-src/lib/lua/sqlite/
H A Dsqlite.c480 lua_pop(L, 1); in luaopen_sqlite()
498 lua_pop(L, 1); in luaopen_sqlite()
/netbsd-src/lib/lua/gpio/
H A Dgpio.c311 lua_pop(L, 1); in luaopen_gpio()