Searched refs:luaL_fileresult (Results 1 – 8 of 8) sorted by relevance
/external/skia/third_party/lua/src/ |
D | liolib.c | 205 return luaL_fileresult(L, (res == 0), NULL); in io_fclose() 232 return (p->f == NULL) ? luaL_fileresult(L, 0, filename) : 1; in io_open() 251 return (p->f == NULL) ? luaL_fileresult(L, 0, filename) : 1; in io_popen() 258 return (p->f == NULL) ? luaL_fileresult(L, 0, NULL) : 1; in io_tmpfile() 464 return luaL_fileresult(L, 0, NULL); in g_read() 529 else return luaL_fileresult(L, status, NULL); in g_write() 556 return luaL_fileresult(L, 0, NULL); /* error */ in f_seek() 571 return luaL_fileresult(L, res == 0, NULL); in f_setvbuf() 577 return luaL_fileresult(L, fflush(getiofile(L, IO_OUTPUT)) == 0, NULL); in io_flush() 582 return luaL_fileresult(L, fflush(tofile(L)) == 0, NULL); in f_flush()
|
D | loslib.c | 94 return luaL_fileresult(L, remove(filename) == 0, filename); in os_remove() 101 return luaL_fileresult(L, rename(fromname, toname) == 0, NULL); in os_rename()
|
D | lauxlib.h | 65 LUALIB_API int (luaL_fileresult) (lua_State *L, int stat, const char *fname); variable
|
D | lauxlib.c | 207 LUALIB_API int luaL_fileresult (lua_State *L, int stat, const char *fname) { in luaL_fileresult() function 250 return luaL_fileresult(L, 0, NULL); in luaL_execresult()
|
/external/syslinux/com32/lua/src/ |
D | liolib.c | 206 return luaL_fileresult(L, (res == 0), NULL); in io_fclose() 233 return (p->f == NULL) ? luaL_fileresult(L, 0, filename) : 1; in io_open() 252 return (p->f == NULL) ? luaL_fileresult(L, 0, filename) : 1; in io_popen() 260 return (p->f == NULL) ? luaL_fileresult(L, 0, NULL) : 1; in io_tmpfile() 479 return luaL_fileresult(L, 0, NULL); in g_read() 544 else return luaL_fileresult(L, status, NULL); in g_write() 572 return luaL_fileresult(L, 0, NULL); /* error */ in f_seek() 587 return luaL_fileresult(L, res == 0, NULL); in f_setvbuf() 594 return luaL_fileresult(L, fflush(getiofile(L, IO_OUTPUT)) == 0, NULL); in io_flush() 599 return luaL_fileresult(L, fflush(tofile(L)) == 0, NULL); in f_flush()
|
D | loslib.c | 97 return luaL_fileresult(L, remove(filename) == 0, filename); in os_remove() 104 return luaL_fileresult(L, rename(fromname, toname) == 0, NULL); in os_rename()
|
D | lauxlib.h | 65 LUALIB_API int (luaL_fileresult) (lua_State *L, int stat, const char *fname); variable
|
D | lauxlib.c | 207 LUALIB_API int luaL_fileresult (lua_State *L, int stat, const char *fname) { in luaL_fileresult() function 250 return luaL_fileresult(L, 0, NULL); in luaL_execresult()
|