Home
last modified time | relevance | path

Searched refs:lua_newuserdata (Results 1 – 13 of 13) sorted by relevance

/freebsd-13.1/contrib/lutok/
H A Dstate.cpp540 return lua_newuserdata(_pimpl->lua_state, size); in new_userdata_voidp()
683 lua_newuserdata(_pimpl->lua_state, sizeof(cxx_function))); in push_cxx_closure()
699 lua_newuserdata(_pimpl->lua_state, sizeof(cxx_function))); in push_cxx_function()
H A Dstate.ipp37 /// Wrapper around lua_newuserdata.
H A Dstate_test.cpp511 lua_newuserdata(raw(state), 543); in ATF_TEST_CASE_BODY()
1068 lua_newuserdata(raw(state), sizeof(int))); in ATF_TEST_CASE_BODY()
/freebsd-13.1/contrib/libucl/lua/
H A Dlua_ucl.c631 pparser = lua_newuserdata (L, sizeof (parser)); in lua_ucl_parser_init()
656 pobj = lua_newuserdata (L, sizeof (*pobj)); in lua_ucl_push_opaque()
1510 ucl_null = lua_newuserdata (L, 0); in luaopen_ucl()
/freebsd-13.1/libexec/flua/modules/
H A Dlfs.c205 *(DIR **)lua_newuserdata(L, sizeof(DIR **)) = dp; in lua_dir()
/freebsd-13.1/sys/contrib/openzfs/include/sys/lua/
H A Dlua.h230 LUA_API void *(lua_newuserdata) (lua_State *L, size_t sz); variable
/freebsd-13.1/stand/liblua/
H A Dlutils.c234 FILE ** ptr = (FILE**)lua_newuserdata(L, sizeof(FILE**)); in lua_openfile()
/freebsd-13.1/lib/flua/libjail/
H A Dlua_jail.c237 *(struct l_jail_iter **)lua_newuserdata(L, in l_list()
/freebsd-13.1/contrib/lua/src/
H A Dlua.h411 #define lua_newuserdata(L,s) lua_newuserdatauv(L,s,1) macro
/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Dzcp_iter.c406 nvlist_t **props = lua_newuserdata(state, sizeof (nvlist_t *)); in zcp_user_props_list()
/freebsd-13.1/sys/contrib/openzfs/module/lua/
H A Dlapi.c1172 LUA_API void *lua_newuserdata (lua_State *L, size_t size) { in lua_newuserdata() function
1318 EXPORT_SYMBOL(lua_newuserdata);
H A Dlauxlib.c407 newbuff = (char *)lua_newuserdata(L, newsize * sizeof(char)); in luaL_prepbuffsize()
/freebsd-13.1/lib/clang/liblldb/
H A DLLDBWrapLua.cpp2504 usr=(swig_lua_userdata*)lua_newuserdata(L,sizeof(swig_lua_userdata)); /* get data */ in SWIG_Lua_NewPointerObj()
2569 raw=(swig_lua_rawdata*)lua_newuserdata(L,sizeof(swig_lua_rawdata)-1+size); /* alloc data */ in SWIG_Lua_NewPackedObj()