Lines Matching refs:stat
414 int stat = lookforfunc(L, path, init); in ll_loadlib() local
415 if (l_likely(stat == 0)) /* no errors? */ in ll_loadlib()
420 lua_pushstring(L, (stat == ERRLIB) ? LIB_FAIL : "init"); in ll_loadlib()
534 static int checkload (lua_State *L, int stat, const char *filename) { in checkload() argument
535 if (l_likely(stat)) { /* module loaded successfully? */ in checkload()
568 int stat; in loadfunc() local
571 stat = lookforfunc(L, filename, openfunc); in loadfunc()
572 if (stat != ERRFUNC) return stat; in loadfunc()
592 int stat; in searcher_Croot() local
597 if ((stat = loadfunc(L, filename, name)) != 0) { in searcher_Croot()
598 if (stat != ERRFUNC) in searcher_Croot()