Lines Matching defs:stat
412 int stat = lookforfunc(L, path, init);
413 if (stat == 0) /* no errors? */
418 lua_pushstring(L, (stat == ERRLIB) ? LIB_FAIL : "init");
532 static int checkload (lua_State *L, int stat, const char *filename) {
533 if (stat) { /* module loaded successfully? */
566 int stat;
569 stat = lookforfunc(L, filename, openfunc);
570 if (stat != ERRFUNC) return stat;
590 int stat;
595 if ((stat = loadfunc(L, filename, name)) != 0) {
596 if (stat != ERRFUNC)