Lines Matching refs:arg
696 static void addquoted (lua_State *L, luaL_Buffer *b, int arg) { in addquoted() argument
698 const char *s = luaL_checklstring(L, arg, &l); in addquoted()
758 int arg = 1; in str_format() local
760 const char *strfrmt = luaL_checklstring(L, arg, &sfl); in str_format()
772 if (++arg > top) in str_format()
773 luaL_argerror(L, arg, "no value"); in str_format()
777 sprintf(buff, form, (int)luaL_checknumber(L, arg)); in str_format()
782 sprintf(buff, form, (LUA_INTFRM_T)luaL_checknumber(L, arg)); in str_format()
787 sprintf(buff, form, (unsigned LUA_INTFRM_T)luaL_checknumber(L, arg)); in str_format()
792 sprintf(buff, form, (double)luaL_checknumber(L, arg)); in str_format()
796 addquoted(L, &b, arg); in str_format()
801 const char *s = luaL_checklstring(L, arg, &l); in str_format()
805 lua_pushvalue(L, arg); in str_format()