Lines Matching full:closed
170 lua_pushliteral(L, "closed file"); in io_type()
180 lua_pushliteral(L, "file (closed)"); in f_tostring()
190 luaL_error(L, "attempt to use a closed file"); in tofile()
197 ** When creating file handles, always creates a 'closed' file handle
203 p->closef = NULL; /* mark file handle as 'closed' */ in newprefile()
217 p->closef = NULL; /* mark stream as closed */ in aux_close()
238 aux_close(L); /* ignore closed and incompletely open files */ in f_gc()
313 luaL_error(L, "default %s file is closed", findex + IOPREF_LEN); in getiofile()
360 ** 3) a boolean, true iff file has to be closed when finished ('toclose')
383 ** closed, also returns the file itself as a second result (to be
384 ** closed as the state at the exit of a generic for).
405 lua_pushvalue(L, 1); /* file is the to-be-closed variable (4th result) */ in io_lines()
633 if (isclosed(p)) /* file is already closed? */ in io_readline()
634 return luaL_error(L, "file is already closed"); in io_readline()