Lines Matching defs:L
58 #define lua_popen(L,c,m) ((void)L, fflush(NULL), popen(c,m)) argument
59 #define lua_pclose(L,file) ((void)L, pclose(file)) argument
63 #define lua_popen(L,c,m) ((void)L, _popen(c,m)) argument
64 #define lua_pclose(L,file) ((void)L, _pclose(file)) argument
69 #define lua_popen(L,c,m) ((void)((void)c, m), \ argument
71 #define lua_pclose(L,file) ((void)((void)L, file), -1) argument
125 #define tolstream(L) ((LStream *)luaL_checkudata(L, 1, LUA_FILEHANDLE)) argument
130 static int io_type (lua_State *L) { in io_type()
144 static int f_tostring (lua_State *L) { in f_tostring()
154 static FILE *tofile (lua_State *L) { in tofile()
168 static LStream *newprefile (lua_State *L) { in newprefile()
176 static int aux_close (lua_State *L) { in aux_close()
184 static int io_close (lua_State *L) { in io_close()
192 static int f_gc (lua_State *L) { in f_gc()
203 static int io_fclose (lua_State *L) { in io_fclose()
210 static LStream *newfile (lua_State *L) { in newfile()
218 static void opencheck (lua_State *L, const char *fname, const char *mode) { in opencheck()
226 static int io_open (lua_State *L) { in io_open()
240 static int io_pclose (lua_State *L) { in io_pclose()
246 static int io_popen (lua_State *L) { in io_popen()
257 static int io_tmpfile (lua_State *L) { in io_tmpfile()
265 static FILE *getiofile (lua_State *L, const char *findex) { in getiofile()
275 static int g_iofile (lua_State *L, const char *f, const char *mode) { in g_iofile()
292 static int io_input (lua_State *L) { in io_input()
297 static int io_output (lua_State *L) { in io_output()
305 static void aux_lines (lua_State *L, int toclose) { in aux_lines()
318 static int f_lines (lua_State *L) { in f_lines()
325 static int io_lines (lua_State *L) { in io_lines()
353 static int read_number (lua_State *L, FILE *f) { in read_number()
366 static int test_eof (lua_State *L, FILE *f) { in test_eof()
373 static int test_eof (lua_State *L, FILE *f) { in test_eof()
381 static int read_line (lua_State *L, FILE *f, int chop) { in read_line()
405 static void read_all (lua_State *L, FILE *f) { in read_all()
421 static int read_chars (lua_State *L, FILE *f, size_t n) { in read_chars()
434 static int g_read (lua_State *L, FILE *f, int first) { in g_read()
488 static int io_read (lua_State *L) { in io_read()
493 static int f_read (lua_State *L) { in f_read()
498 static int io_readline (lua_State *L) { in io_readline()
528 static int g_write (lua_State *L, FILE *f, int arg) { in g_write()
548 static int io_write (lua_State *L) { in io_write()
553 static int f_write (lua_State *L) { in f_write()
561 static int f_seek (lua_State *L) { in f_seek()
580 static int f_setvbuf (lua_State *L) { in f_setvbuf()
593 static int io_flush (lua_State *L) { in io_flush()
598 static int f_flush (lua_State *L) { in f_flush()
643 static void createmeta (lua_State *L) { in createmeta()
655 static int io_noclose (lua_State *L) { in io_noclose()
664 static void createstdfile (lua_State *L, FILE *f, const char *k, in createstdfile()
677 LUAMOD_API int luaopen_io (lua_State *L) { in luaopen_io()