Lines Matching refs:p2

104                   const TValue *p2, const TValue *p3) {  in luaT_callTM()  argument
108 setobj2s(L, func + 2, p2); /* 2nd argument */ in luaT_callTM()
120 const TValue *p2, StkId res) { in luaT_callTMres() argument
125 setobj2s(L, func + 2, p2); /* 2nd argument */ in luaT_callTMres()
137 static int callbinTM (lua_State *L, const TValue *p1, const TValue *p2, in callbinTM() argument
141 tm = luaT_gettmbyobj(L, p2, event); /* try second operand */ in callbinTM()
143 luaT_callTMres(L, tm, p1, p2, res); in callbinTM()
148 void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2, in luaT_trybinTM() argument
150 if (l_unlikely(!callbinTM(L, p1, p2, res, event))) { in luaT_trybinTM()
154 if (ttisnumber(p1) && ttisnumber(p2)) in luaT_trybinTM()
155 luaG_tointerror(L, p1, p2); in luaT_trybinTM()
157 luaG_opinterror(L, p1, p2, "perform bitwise operation on"); in luaT_trybinTM()
161 luaG_opinterror(L, p1, p2, "perform arithmetic on"); in luaT_trybinTM()
175 void luaT_trybinassocTM (lua_State *L, const TValue *p1, const TValue *p2, in luaT_trybinassocTM() argument
178 luaT_trybinTM(L, p2, p1, res, event); in luaT_trybinassocTM()
180 luaT_trybinTM(L, p1, p2, res, event); in luaT_trybinassocTM()
201 int luaT_callorderTM (lua_State *L, const TValue *p1, const TValue *p2, in luaT_callorderTM() argument
203 if (callbinTM(L, p1, p2, L->top.p, event)) /* try original event */ in luaT_callorderTM()
209 if (callbinTM(L, p2, p1, L->top.p, TM_LT)) { in luaT_callorderTM()
216 luaG_ordererror(L, p1, p2); /* no metamethod found */ in luaT_callorderTM()
223 TValue aux; const TValue *p2; in luaT_callorderiTM() local
230 p2 = p1; p1 = &aux; /* correct them */ in luaT_callorderiTM()
233 p2 = &aux; in luaT_callorderiTM()
234 return luaT_callorderTM(L, p1, p2, event); in luaT_callorderiTM()