Lines Matching defs:event
59 const TValue *luaT_gettm (Table *events, TMS event, TString *ename) {
61 lua_assert(event <= TM_EQ);
63 events->flags |= cast_byte(1u<<event); /* cache this fact */
70 const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o, TMS event) {
82 return (mt ? luaH_getshortstr(mt, G(L)->tmname[event]) : luaO_nilobject);
125 StkId res, TMS event) {
126 const TValue *tm = luaT_gettmbyobj(L, p1, event); /* try first operand */
128 tm = luaT_gettmbyobj(L, p2, event); /* try second operand */
136 StkId res, TMS event) {
137 if (!luaT_callbinTM(L, p1, p2, res, event)) {
138 switch (event) {
159 TMS event) {
160 if (!luaT_callbinTM(L, p1, p2, L->top, event))