Lines Matching defs:tofile
181 static FILE *tofile (lua_State *L) {
217 tofile(L); /* make sure argument is an open stream */
318 tofile(L); /* check that it's a valid file handle */
369 tofile(L); /* check that it's a valid file handle */
386 tofile(L); /* check that it's a valid file handle */
616 return g_read(L, tofile(L), 2);
684 FILE *f = tofile(L);
693 FILE *f = tofile(L);
712 FILE *f = tofile(L);
727 return luaL_fileresult(L, fflush(tofile(L)) == 0, NULL);