Home
last modified time | relevance | path

Searched refs:lua_touserdata (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/contrib/lutok/
H A Dstate.ipp52 /// Wrapper around lua_touserdata.
54 /// \param index The second parameter to lua_touserdata.
56 /// \return The return value of lua_touserdata.
H A Dstate.cpp858 return lua_touserdata(_pimpl->lua_state, index); in to_userdata_voidp()
/freebsd/stand/liblua/
H A Dlutils.c287 f = (FILE**)lua_touserdata(L, 1); in lua_closefile()
310 f = (FILE**)lua_touserdata(L, 1); in lua_readfile()
357 f = (FILE**)lua_touserdata(L, 1); in lua_writefile()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzcp_iter.c331 nvlist_t **props = lua_touserdata(state, 1); in zcp_user_props_list_gc()
342 nvlist_t **props = lua_touserdata(state, lua_upvalueindex(1)); in zcp_user_props_iter()
343 nvpair_t *pair = lua_touserdata(state, lua_upvalueindex(2)); in zcp_user_props_iter()
713 zcp_list_info_t *info = lua_touserdata(state, lua_upvalueindex(1)); in zcp_list_func()
H A Dzcp.c434 nvlist_t *nv = (nvlist_t *)lua_touserdata(state, 2); in zcp_lua_to_nvlist_helper()
435 const char *key = (const char *)lua_touserdata(state, 1); in zcp_lua_to_nvlist_helper()
778 zcp_run_info_t *ri = lua_touserdata(state, -1); in zcp_lua_counthook()
1194 ri = lua_touserdata(state, -1); in zcp_run_info()
H A Dzcp_synctask.c558 zcp_synctask_info_t *info = lua_touserdata(state, lua_upvalueindex(1)); in zcp_synctask_wrapper()
/freebsd/contrib/lyaml/ext/yaml/
H A Dscanner.c232 lyaml_scanner *scanner = (lyaml_scanner *)lua_touserdata(L, lua_upvalueindex(1)); in token_iter()
294 lyaml_scanner *scanner = (lyaml_scanner *) lua_touserdata (L, 1); in scanner_gc()
H A Dparser.c313 lyaml_parser *parser = (lyaml_parser *)lua_touserdata(L, lua_upvalueindex(1)); in event_iter()
364 lyaml_parser *parser = (lyaml_parser *) lua_touserdata (L, 1); in parser_gc()
H A Demitter.c317 emitter = (lyaml_emitter *) lua_touserdata (L, lua_upvalueindex (1)); in emit()
404 lyaml_emitter *emitter = (lyaml_emitter *) lua_touserdata (L, 1); in emitter_gc()
/freebsd/contrib/lua/src/
H A Dlauxlib.c334 void *p = lua_touserdata(L, ud); in luaL_testudata()
479 UBox *box = (UBox *)lua_touserdata(L, idx); in resizebox()
526 lua_assert(buffonstack(B) ? lua_touserdata(B->L, idx) != NULL \
527 : lua_touserdata(B->L, idx) == (void*)B)
H A Dloadlib.c330 plib = lua_touserdata(L, -1); /* plib = CLIBS[path] */ in checkclib()
358 lsys_unloadlib(lua_touserdata(L, -1)); in gctm()
H A Dlmathlib.c577 RanState *state = (RanState *)lua_touserdata(L, lua_upvalueindex(1)); in math_random()
636 RanState *state = (RanState *)lua_touserdata(L, lua_upvalueindex(1)); in math_randomseed()
H A Dliolib.c314 p = (LStream *)lua_touserdata(L, -1); in getiofile()
634 LStream *p = (LStream *)lua_touserdata(L, lua_upvalueindex(1)); in io_readline()
H A Dltests.c1114 lua_pushinteger(L, cast(long, lua_touserdata(L, 1))); in udataval()
1165 lua_State *L1 = cast(lua_State *, lua_touserdata(L, 1)); in getstate()
1247 b = (struct Aux *)lua_touserdata(L, -1); in panicback()
1738 lua_pushlightuserdata(L1, lua_touserdata(L1, getindex)); in runC()
H A Dlua.c627 char **argv = (char **)lua_touserdata(L, 2); in pmain()
H A Dlua.h207 LUA_API void *(lua_touserdata) (lua_State *L, int idx); variable
H A Dluac.c171 char** argv=(char**)lua_touserdata(L,2); in pmain()
H A Dlstrlib.c839 GMatchState *gm = (GMatchState *)lua_touserdata(L, lua_upvalueindex(3)); in gmatch_aux()
H A Dlapi.c456 LUA_API void *lua_touserdata (lua_State *L, int idx) { in lua_touserdata() function
/freebsd/libexec/flua/lfs/
H A Dlfs.c175 dpp = (DIR **)lua_touserdata(L, 1); in lua_dir_iter_close()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlapi.c426 LUA_API void *lua_touserdata (lua_State *L, int idx) { in lua_touserdata() function
452 return lua_touserdata(L, idx); in lua_topointer()
1321 EXPORT_SYMBOL(lua_touserdata);
H A Dlauxlib.c251 void *p = lua_touserdata(L, ud); in luaL_testudata()
/freebsd/contrib/libucl/lua/
H A Dlua_ucl.c521 struct _rspamd_lua_text *t = lua_touserdata (L, idx); in ucl_object_lua_fromelt()
887 t = lua_touserdata (L, 2); in lua_ucl_parser_parse_text()
/freebsd/sys/contrib/openzfs/include/sys/lua/
H A Dlua.h175 LUA_API void *(lua_touserdata) (lua_State *L, int idx); variable
/freebsd/libexec/flua/libjail/
H A Dlua_jail.c158 iterp = (struct l_jail_iter **)lua_touserdata(L, 1); in l_jail_iter_close()

12