Lines Matching refs:ud
330 LUALIB_API void *luaL_testudata (lua_State *L, int ud, const char *tname) { in luaL_testudata() argument
331 void *p = lua_touserdata(L, ud); in luaL_testudata()
333 if (lua_getmetatable(L, ud)) { /* does it have a metatable? */ in luaL_testudata()
345 LUALIB_API void *luaL_checkudata (lua_State *L, int ud, const char *tname) { in luaL_checkudata() argument
346 void *p = luaL_testudata(L, ud, tname); in luaL_checkudata()
347 luaL_argexpected(L, p != NULL, ud, tname); in luaL_checkudata()
474 void *ud; in resizebox() local
475 lua_Alloc allocf = lua_getallocf(L, &ud); in resizebox()
477 void *temp = allocf(ud, box->box, box->bsize, newsize); in resizebox()
716 static const char *getF (lua_State *L, void *ud, size_t *size) { in getF() argument
717 LoadF *lf = (LoadF *)ud; in getF()
824 static const char *getS (lua_State *L, void *ud, size_t *size) { in getS() argument
825 LoadS *ls = (LoadS *)ud; in getS()
1017 static void *l_alloc (void *ud, void *ptr, size_t osize, size_t nsize) { in l_alloc() argument
1018 (void)ud; (void)osize; /* not used */ in l_alloc()
1043 static void warnfoff (void *ud, const char *message, int tocont);
1044 static void warnfon (void *ud, const char *message, int tocont);
1045 static void warnfcont (void *ud, const char *message, int tocont);
1065 static void warnfoff (void *ud, const char *message, int tocont) { in warnfoff() argument
1066 checkcontrol((lua_State *)ud, message, tocont); in warnfoff()
1074 static void warnfcont (void *ud, const char *message, int tocont) { in warnfcont() argument
1075 lua_State *L = (lua_State *)ud; in warnfcont()
1086 static void warnfon (void *ud, const char *message, int tocont) { in warnfon() argument
1087 if (checkcontrol((lua_State *)ud, message, tocont)) /* control message? */ in warnfon()
1090 warnfcont(ud, message, tocont); /* finish processing */ in warnfon()