Lines Matching refs:LStream
142 typedef luaL_Stream LStream; typedef
145 #define tolstream(L) ((LStream *)luaL_checkudata(L, 1, LUA_FILEHANDLE))
151 LStream *p; in io_type()
153 p = (LStream *)luaL_testudata(L, 1, LUA_FILEHANDLE); in io_type()
165 LStream *p = tolstream(L); in f_tostring()
175 LStream *p = tolstream(L); in tofile()
188 static LStream *newprefile (lua_State *L) { in newprefile()
189 LStream *p = (LStream *)lua_newuserdata(L, sizeof(LStream)); in newprefile()
202 LStream *p = tolstream(L); in aux_close()
223 LStream *p = tolstream(L); in f_gc()
234 LStream *p = tolstream(L); in io_fclose()
240 static LStream *newfile (lua_State *L) { in newfile()
241 LStream *p = newprefile(L); in newfile()
249 LStream *p = newfile(L); in opencheck()
259 LStream *p = newfile(L); in io_open()
271 LStream *p = tolstream(L); in io_pclose()
279 LStream *p = newprefile(L); in io_popen()
287 LStream *p = newfile(L); in io_tmpfile()
294 LStream *p; in getiofile()
296 p = (LStream *)lua_touserdata(L, -1); in getiofile()
590 LStream *p = (LStream *)lua_touserdata(L, lua_upvalueindex(1)); in io_readline()
746 LStream *p = tolstream(L); in io_noclose()
756 LStream *p = newprefile(L); in createstdfile()