Home
last modified time | relevance | path

Searched refs:luaL_fileresult (Results 1 – 4 of 4) sorted by relevance

/external/lua/src/
Dliolib.c236 return luaL_fileresult(L, (res == 0), NULL); in io_fclose()
263 return (p->f == NULL) ? luaL_fileresult(L, 0, filename) : 1; in io_open()
282 return (p->f == NULL) ? luaL_fileresult(L, 0, filename) : 1; in io_popen()
289 return (p->f == NULL) ? luaL_fileresult(L, 0, NULL) : 1; in io_tmpfile()
570 return luaL_fileresult(L, 0, NULL); in g_read()
640 else return luaL_fileresult(L, status, NULL); in g_write()
667 return luaL_fileresult(L, 0, NULL); /* error */ in f_seek()
682 return luaL_fileresult(L, res == 0, NULL); in f_setvbuf()
688 return luaL_fileresult(L, fflush(getiofile(L, IO_OUTPUT)) == 0, NULL); in io_flush()
693 return luaL_fileresult(L, fflush(tofile(L)) == 0, NULL); in f_flush()
Dloslib.c155 return luaL_fileresult(L, remove(filename) == 0, filename); in os_remove()
162 return luaL_fileresult(L, rename(fromname, toname) == 0, NULL); in os_rename()
Dlauxlib.h73 LUALIB_API int (luaL_fileresult) (lua_State *L, int stat, const char *fname); variable
Dlauxlib.c234 LUALIB_API int luaL_fileresult (lua_State *L, int stat, const char *fname) { in luaL_fileresult() function
277 return luaL_fileresult(L, 0, NULL); in luaL_execresult()