Home
last modified time | relevance | path

Searched refs:narg (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlauxlib.c153 LUALIB_API int luaL_argerror (lua_State *L, int narg, const char *extramsg) { in luaL_argerror() argument
156 return luaL_error(L, "bad argument #%d (%s)", narg, extramsg); in luaL_argerror()
159 narg--; /* do not count `self' */ in luaL_argerror()
160 if (narg == 0) /* error is in the self argument itself? */ in luaL_argerror()
167 narg, ar.name, extramsg); in luaL_argerror()
171 static int typeerror (lua_State *L, int narg, const char *tname) { in typeerror() argument
173 tname, luaL_typename(L, narg)); in typeerror()
174 return luaL_argerror(L, narg, msg); in typeerror()
178 static void tag_error (lua_State *L, int narg, int tag) { in tag_error() argument
179 typeerror(L, narg, lua_typename(L, tag)); in tag_error()
[all …]
Dlua.c172 static int docall (lua_State *L, int narg, int nres) { in docall() argument
174 int base = lua_gettop(L) - narg; /* function index */ in docall()
179 status = lua_pcall(L, narg, nres, base); in docall()
193 int narg; in getargs() local
197 narg = argc - (n + 1); /* number of arguments to the script */ in getargs()
198 luaL_checkstack(L, narg + 3, "too many arguments to script"); in getargs()
201 lua_createtable(L, narg, n + 1); in getargs()
206 return narg; in getargs()
329 int narg = getargs(L, argv, n); /* collect arguments */ in handle_script() local
335 lua_insert(L, -(narg+1)); in handle_script()
[all …]
Dlcorolib.c20 static int auxresume (lua_State *L, lua_State *co, int narg) { in auxresume() argument
22 if (!lua_checkstack(co, narg)) { in auxresume()
30 lua_xmove(L, co, narg); in auxresume()
31 status = lua_resume(co, L, narg); in auxresume()
/device/linaro/bootloader/edk2/StdLib/Include/Lua/
Dlauxlib.h51 LUALIB_API void (luaL_checktype) (lua_State *L, int narg, int t);
52 LUALIB_API void (luaL_checkany) (lua_State *L, int narg);
62 LUALIB_API int (luaL_checkoption) (lua_State *L, int narg, const char *def,
Dlua.h274 LUA_API int (lua_resume) (lua_State *L, lua_State *from, int narg);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
Dconnection.c854 int narg; in pysqlite_connection_create_function() local
862 &name, &narg, &func)) in pysqlite_connection_create_function()
867 …rc = sqlite3_create_function(self->db, name, narg, SQLITE_UTF8, (void*)func, _pysqlite_func_callba… in pysqlite_connection_create_function()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
Dregparse.c529 INamesArg narg; in onig_foreach_name() local
532 narg.ret = 0; in onig_foreach_name()
534 narg.func = func; in onig_foreach_name()
535 narg.reg = reg; in onig_foreach_name()
536 narg.arg = arg; in onig_foreach_name()
537 narg.enc = reg->enc; /* should be pattern encoding. */ in onig_foreach_name()
538 onig_st_foreach(t, i_names, (HashDataType )(UINTN)&narg); in onig_foreach_name()
540 return narg.ret; in onig_foreach_name()