Searched refs:Udata (Results 1 - 11 of 11) sorted by relevance

/freebsd-13-stable/sys/contrib/openzfs/module/lua/
H A Dlstring.h18 #define sizeudata(u) (sizeof(union Udata)+(u)->len)
42 LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s, Table *e);
H A Dlstring.c176 Udata *luaS_newudata (lua_State *L, size_t s, Table *e) {
177 Udata *u;
178 if (s > MAX_SIZET - sizeof(Udata))
180 u = &luaC_newobj(L, LUA_TUSERDATA, sizeof(Udata) + s, NULL, 0)->u;
H A Dlstate.h190 union Udata u;
H A Dlobject.h429 typedef union Udata { union
437 } Udata; typedef in typeref:union:Udata
H A Dlapi.c1173 Udata *u;
/freebsd-13-stable/contrib/lua/src/
H A Dlstring.h51 LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s, int nuvalue);
H A Dlobject.h423 { TValue *io = (obj); Udata *x_ = (x); \
439 typedef struct Udata { struct
446 } Udata; typedef in typeref:struct:Udata
452 ** To simplify, the code always use 'Udata' for both kinds of userdata,
470 : offsetof(Udata, uv) + (sizeof(UValue) * (nuv)))
472 /* get the address of the memory block inside 'Udata' */
H A Dlstring.c258 Udata *luaS_newudata (lua_State *L, size_t s, int nuvalue) {
259 Udata *u;
H A Dlstate.h313 struct Udata u;
H A Dlgc.c133 Udata *u = gco2u(o);
308 Udata *u = gco2u(o);
557 static int traverseudata (global_State *g, Udata *u) {
789 Udata *u = gco2u(o);
H A Dlapi.c1312 Udata *u;

Completed in 131 milliseconds