Searched refs:lua_newuserdata (Results 1 – 17 of 17) sorted by relevance
/freebsd/contrib/lutok/ |
H A D | state.cpp | 540 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 D | state.ipp | 37 /// Wrapper around lua_newuserdata.
|
H A D | state_test.cpp | 511 lua_newuserdata(raw(state), 543); in ATF_TEST_CASE_BODY() 1068 lua_newuserdata(raw(state), sizeof(int))); in ATF_TEST_CASE_BODY()
|
/freebsd/libexec/flua/modules/ |
H A D | lfbsd.c | 52 ret = lua_newuserdata(L, (n+1)*sizeof(char*)); in luaL_checkarraystrings()
|
H A D | lfs.c | 203 *(DIR **)lua_newuserdata(L, sizeof(DIR **)) = dp; in lua_dir()
|
/freebsd/libexec/flua/libhash/ |
H A D | lhash.c | 122 ctx = lua_newuserdata(L, sizeof(*ctx)); // data -- data ctx in lua_sha256()
|
/freebsd/contrib/libucl/lua/ |
H A D | lua_ucl.c | 631 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/stand/liblua/ |
H A D | lutils.c | 271 FILE ** ptr = (FILE**)lua_newuserdata(L, sizeof(FILE**)); in lua_openfile()
|
/freebsd/sys/contrib/openzfs/include/sys/lua/ |
H A D | lua.h | 230 LUA_API void *(lua_newuserdata) (lua_State *L, size_t sz); variable
|
/freebsd/contrib/lua/src/ |
H A D | lua.h | 423 #define lua_newuserdata(L,s) lua_newuserdatauv(L,s,1) macro
|
H A D | ltests.c | 1539 lua_newuserdata(L1, getnum); in runC()
|
/freebsd/libexec/flua/libjail/ |
H A D | lua_jail.c | 232 *(struct l_jail_iter **)lua_newuserdata(L, in l_list()
|
/freebsd/contrib/llvm-project/lldb/bindings/lua/ |
H A D | lua-typemaps.swig | 252 luaL_Stream *p = (luaL_Stream *)lua_newuserdata(L, sizeof(luaL_Stream));
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zcp_iter.c | 410 nvlist_t **props = lua_newuserdata(state, sizeof (nvlist_t *)); in zcp_user_props_list()
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lapi.c | 1174 LUA_API void *lua_newuserdata (lua_State *L, size_t size) { in lua_newuserdata() function 1296 EXPORT_SYMBOL(lua_newuserdata);
|
H A D | lauxlib.c | 407 newbuff = (char *)lua_newuserdata(L, newsize * sizeof(char)); in luaL_prepbuffsize()
|
/freebsd/lib/clang/liblldb/ |
H A D | LLDBWrapLua.cpp | 2529 usr=(swig_lua_userdata*)lua_newuserdata(L,sizeof(swig_lua_userdata)); /* get data */ in SWIG_Lua_NewPointerObj() 2606 raw=(swig_lua_rawdata*)lua_newuserdata(L,sizeof(swig_lua_rawdata)-1+size); /* alloc data */ in SWIG_Lua_NewPackedObj() 23909 luaL_Stream *p = (luaL_Stream *)lua_newuserdata(L, sizeof(luaL_Stream)); in _wrap_SBDebugger_GetInputFileHandle() 23942 luaL_Stream *p = (luaL_Stream *)lua_newuserdata(L, sizeof(luaL_Stream)); in _wrap_SBDebugger_GetOutputFileHandle() 23975 luaL_Stream *p = (luaL_Stream *)lua_newuserdata(L, sizeof(luaL_Stream)); in _wrap_SBDebugger_GetErrorFileHandle() 28905 luaL_Stream *p = (luaL_Stream *)lua_newuserdata(L, sizeof(luaL_Stream)); in _wrap_SBFile_GetFile()
|