Lines Matching refs:p1

112 void luaT_callTM (lua_State *L, const TValue *f, const TValue *p1,  in luaT_callTM()  argument
116 setobj2s(L, func + 1, p1); /* 1st argument */ in luaT_callTM()
128 void luaT_callTMres (lua_State *L, const TValue *f, const TValue *p1, in luaT_callTMres() argument
133 setobj2s(L, func + 1, p1); /* 1st argument */ in luaT_callTMres()
146 static int callbinTM (lua_State *L, const TValue *p1, const TValue *p2, in callbinTM() argument
148 const TValue *tm = luaT_gettmbyobj(L, p1, event); /* try first operand */ in callbinTM()
152 luaT_callTMres(L, tm, p1, p2, res); in callbinTM()
157 void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2, in luaT_trybinTM() argument
159 if (l_unlikely(!callbinTM(L, p1, p2, res, event))) { in luaT_trybinTM()
163 if (ttisnumber(p1) && ttisnumber(p2)) in luaT_trybinTM()
164 luaG_tointerror(L, p1, p2); in luaT_trybinTM()
166 luaG_opinterror(L, p1, p2, "perform bitwise operation on"); in luaT_trybinTM()
170 luaG_opinterror(L, p1, p2, "perform arithmetic on"); in luaT_trybinTM()
184 void luaT_trybinassocTM (lua_State *L, const TValue *p1, const TValue *p2, in luaT_trybinassocTM() argument
187 luaT_trybinTM(L, p2, p1, res, event); in luaT_trybinassocTM()
189 luaT_trybinTM(L, p1, p2, res, event); in luaT_trybinassocTM()
193 void luaT_trybiniTM (lua_State *L, const TValue *p1, lua_Integer i2, in luaT_trybiniTM() argument
197 luaT_trybinassocTM(L, p1, &aux, flip, res, event); in luaT_trybiniTM()
210 int luaT_callorderTM (lua_State *L, const TValue *p1, const TValue *p2, in luaT_callorderTM() argument
212 if (callbinTM(L, p1, p2, L->top.p, event)) /* try original event */ in luaT_callorderTM()
218 if (callbinTM(L, p2, p1, L->top.p, TM_LT)) { in luaT_callorderTM()
225 luaG_ordererror(L, p1, p2); /* no metamethod found */ in luaT_callorderTM()
230 int luaT_callorderiTM (lua_State *L, const TValue *p1, int v2, in luaT_callorderiTM() argument
241 p2 = p1; p1 = &aux; /* correct them */ in luaT_callorderiTM()
245 return luaT_callorderTM(L, p1, p2, event); in luaT_callorderiTM()