Github User Fetcher 1.0.0
C Application with Server and GUI
|
Go to the source code of this file.
Data Structures | |
struct | luaL_Reg |
struct | luaL_Buffer |
struct | luaL_Stream |
Macros | |
#define | LUA_GNAME "_G" |
#define | LUA_ERRFILE (LUA_ERRERR+1) |
#define | LUA_LOADED_TABLE "_LOADED" |
#define | LUA_PRELOAD_TABLE "_PRELOAD" |
#define | LUAL_NUMSIZES (sizeof(lua_Integer)*16 + sizeof(lua_Number)) |
#define | luaL_checkversion(L) luaL_checkversion_(L, LUA_VERSION_NUM, LUAL_NUMSIZES) |
#define | LUA_NOREF (-2) |
#define | LUA_REFNIL (-1) |
#define | luaL_loadfile(L, f) luaL_loadfilex(L,f,NULL) |
#define | luaL_newlibtable(L, l) lua_createtable(L, 0, sizeof(l)/sizeof((l)[0]) - 1) |
#define | luaL_newlib(L, l) (luaL_checkversion(L), luaL_newlibtable(L,l), luaL_setfuncs(L,l,0)) |
#define | luaL_argcheck(L, cond, arg, extramsg) ((void)(luai_likely(cond) || luaL_argerror(L, (arg), (extramsg)))) |
#define | luaL_argexpected(L, cond, arg, tname) ((void)(luai_likely(cond) || luaL_typeerror(L, (arg), (tname)))) |
#define | luaL_checkstring(L, n) (luaL_checklstring(L, (n), NULL)) |
#define | luaL_optstring(L, n, d) (luaL_optlstring(L, (n), (d), NULL)) |
#define | luaL_typename(L, i) lua_typename(L, lua_type(L,(i))) |
#define | luaL_dofile(L, fn) (luaL_loadfile(L, fn) || lua_pcall(L, 0, LUA_MULTRET, 0)) |
#define | luaL_dostring(L, s) (luaL_loadstring(L, s) || lua_pcall(L, 0, LUA_MULTRET, 0)) |
#define | luaL_getmetatable(L, n) (lua_getfield(L, LUA_REGISTRYINDEX, (n))) |
#define | luaL_opt(L, f, n, d) (lua_isnoneornil(L,(n)) ? (d) : f(L,(n))) |
#define | luaL_loadbuffer(L, s, sz, n) luaL_loadbufferx(L,s,sz,n,NULL) |
#define | luaL_pushfail(L) lua_pushnil(L) |
#define | lua_assert(c) ((void)0) |
#define | luaL_bufflen(bf) ((bf)->n) |
#define | luaL_buffaddr(bf) ((bf)->b) |
#define | luaL_addchar(B, c) |
#define | luaL_addsize(B, s) ((B)->n += (s)) |
#define | luaL_buffsub(B, s) ((B)->n -= (s)) |
#define | luaL_prepbuffer(B) luaL_prepbuffsize(B, LUAL_BUFFERSIZE) |
#define | LUA_FILEHANDLE "FILE*" |
#define | lua_writestring(s, l) fwrite((s), sizeof(char), (l), stdout) |
#define | lua_writeline() (lua_writestring("\n", 1), fflush(stdout)) |
#define | lua_writestringerror(s, p) (fprintf(stderr, (s), (p)), fflush(stderr)) |
Typedefs | |
typedef struct luaL_Buffer | luaL_Buffer |
typedef struct luaL_Reg | luaL_Reg |
typedef struct luaL_Stream | luaL_Stream |
#define lua_assert | ( | c | ) | ((void)0) |
Definition at line 170 of file lua-5.4.3/src/lauxlib.h.
#define LUA_ERRFILE (LUA_ERRERR+1) |
Definition at line 27 of file lua-5.4.3/src/lauxlib.h.
#define LUA_FILEHANDLE "FILE*" |
Definition at line 234 of file lua-5.4.3/src/lauxlib.h.
#define LUA_GNAME "_G" |
Definition at line 20 of file lua-5.4.3/src/lauxlib.h.
Referenced by luaopen_base(), and pushglobalfuncname().
#define LUA_LOADED_TABLE "_LOADED" |
Definition at line 31 of file lua-5.4.3/src/lauxlib.h.
#define LUA_NOREF (-2) |
Definition at line 86 of file lua-5.4.3/src/lauxlib.h.
#define LUA_PRELOAD_TABLE "_PRELOAD" |
Definition at line 35 of file lua-5.4.3/src/lauxlib.h.
#define LUA_REFNIL (-1) |
Definition at line 87 of file lua-5.4.3/src/lauxlib.h.
#define lua_writeline | ( | ) | (lua_writestring("\n", 1), fflush(stdout)) |
Definition at line 257 of file lua-5.4.3/src/lauxlib.h.
Definition at line 252 of file lua-5.4.3/src/lauxlib.h.
Definition at line 262 of file lua-5.4.3/src/lauxlib.h.
#define luaL_addchar | ( | B, | |
c ) |
Definition at line 199 of file lua-5.4.3/src/lauxlib.h.
Definition at line 203 of file lua-5.4.3/src/lauxlib.h.
#define luaL_argcheck | ( | L, | |
cond, | |||
arg, | |||
extramsg ) ((void)(luai_likely(cond) || luaL_argerror(L, (arg), (extramsg)))) |
Definition at line 133 of file lua-5.4.3/src/lauxlib.h.
#define luaL_argexpected | ( | L, | |
cond, | |||
arg, | |||
tname ) ((void)(luai_likely(cond) || luaL_typeerror(L, (arg), (tname)))) |
Definition at line 136 of file lua-5.4.3/src/lauxlib.h.
Referenced by db_setmetatable(), getco(), luaB_rawlen(), luaB_setmetatable(), luaL_checkudata(), and str_gsub().
#define luaL_buffaddr | ( | bf | ) | ((bf)->b) |
Definition at line 196 of file lua-5.4.3/src/lauxlib.h.
Referenced by searchpath().
#define luaL_bufflen | ( | bf | ) | ((bf)->n) |
Definition at line 195 of file lua-5.4.3/src/lauxlib.h.
Referenced by searchpath().
Definition at line 205 of file lua-5.4.3/src/lauxlib.h.
Referenced by findloader().
#define luaL_checkstring | ( | L, | |
n ) (luaL_checklstring(L, (n), NULL)) |
Definition at line 139 of file lua-5.4.3/src/lauxlib.h.
#define luaL_checkversion | ( | L | ) | luaL_checkversion_(L, LUA_VERSION_NUM, LUAL_NUMSIZES) |
Definition at line 47 of file lua-5.4.3/src/lauxlib.h.
#define luaL_dofile | ( | L, | |
fn ) (luaL_loadfile(L, fn) || lua_pcall(L, 0, LUA_MULTRET, 0)) |
Definition at line 144 of file lua-5.4.3/src/lauxlib.h.
#define luaL_dostring | ( | L, | |
s ) (luaL_loadstring(L, s) || lua_pcall(L, 0, LUA_MULTRET, 0)) |
Definition at line 147 of file lua-5.4.3/src/lauxlib.h.
#define luaL_getmetatable | ( | L, | |
n ) (lua_getfield(L, LUA_REGISTRYINDEX, (n))) |
Definition at line 150 of file lua-5.4.3/src/lauxlib.h.
#define luaL_loadbuffer | ( | L, | |
s, | |||
sz, | |||
n ) luaL_loadbufferx(L,s,sz,n,NULL) |
Definition at line 154 of file lua-5.4.3/src/lauxlib.h.
#define luaL_loadfile | ( | L, | |
f ) luaL_loadfilex(L,f,NULL) |
Definition at line 95 of file lua-5.4.3/src/lauxlib.h.
#define luaL_newlib | ( | L, | |
l ) (luaL_checkversion(L), luaL_newlibtable(L,l), luaL_setfuncs(L,l,0)) |
Definition at line 130 of file lua-5.4.3/src/lauxlib.h.
#define luaL_newlibtable | ( | L, | |
l ) lua_createtable(L, 0, sizeof(l)/sizeof((l)[0]) - 1) |
Definition at line 127 of file lua-5.4.3/src/lauxlib.h.
#define LUAL_NUMSIZES (sizeof(lua_Integer)*16 + sizeof(lua_Number)) |
Definition at line 44 of file lua-5.4.3/src/lauxlib.h.
#define luaL_opt | ( | L, | |
f, | |||
n, | |||
d ) (lua_isnoneornil(L,(n)) ? (d) : f(L,(n))) |
Definition at line 152 of file lua-5.4.3/src/lauxlib.h.
#define luaL_optstring | ( | L, | |
n, | |||
d ) (luaL_optlstring(L, (n), (d), NULL)) |
Definition at line 140 of file lua-5.4.3/src/lauxlib.h.
#define luaL_prepbuffer | ( | B | ) | luaL_prepbuffsize(B, LUAL_BUFFERSIZE) |
Definition at line 216 of file lua-5.4.3/src/lauxlib.h.
#define luaL_pushfail | ( | L | ) | lua_pushnil(L) |
Definition at line 158 of file lua-5.4.3/src/lauxlib.h.
Referenced by byteoffset(), db_gethook(), db_getinfo(), db_getlocal(), db_getuservalue(), db_setuservalue(), db_upvalueid(), g_read(), io_noclose(), io_type(), ll_loadlib(), ll_searchpath(), load_aux(), luaB_tonumber(), luaL_execresult(), luaL_fileresult(), math_toint(), math_type(), str_find_aux(), and utflen().
#define luaL_typename | ( | L, | |
i ) lua_typename(L, lua_type(L,(i))) |
Definition at line 142 of file lua-5.4.3/src/lauxlib.h.
typedef struct luaL_Buffer luaL_Buffer |
Definition at line 23 of file lua-5.4.3/src/lauxlib.h.
typedef struct luaL_Reg luaL_Reg |
typedef struct luaL_Stream luaL_Stream |
LUALIB_API void luaL_addgsub | ( | luaL_Buffer * | b, |
const char * | s, | ||
const char * | p, | ||
const char * | r ) |
Definition at line 987 of file lua-5.4.3/src/lauxlib.c.
References luaL_addlstring(), luaL_addstring(), NULL, and s.
Referenced by luaL_gsub(), pusherrornotfound(), and searchpath().
LUALIB_API void luaL_addlstring | ( | luaL_Buffer * | B, |
const char * | s, | ||
size_t | l ) |
Definition at line 436 of file lua-5.1.5/src/lauxlib.c.
References luaL_addchar, luaL_addsize, luaL_prepbuffsize(), prepbuffsize(), and s.
Referenced by add_s(), add_s(), add_s(), add_s(), add_value(), addquoted(), b_pack(), luaL_addgsub(), luaL_addstring(), luaL_addvalue(), luaL_gsub(), os_date(), os_date(), putinteger(), setpath(), str_format(), str_gsub(), str_gsub(), str_gsub(), str_gsub(), str_pack(), str_pack(), str_rep(), tconcat(), tconcat(), tconcat(), tconcat(), writer(), writer(), writer(), writer(), Xml_pushEncode(), and Xml_str().
LUALIB_API void luaL_addstring | ( | luaL_Buffer * | B, |
const char * | s ) |
Definition at line 442 of file lua-5.1.5/src/lauxlib.c.
References luaL_addlstring(), and s.
Referenced by addquoted(), addquoted(), addquoted(), findloader(), luaL_addgsub(), luaL_gsub(), luaL_traceback(), pusherrornotfound(), setpath(), and Xml_str().
LUALIB_API void luaL_addvalue | ( | luaL_Buffer * | B | ) |
Definition at line 454 of file lua-5.1.5/src/lauxlib.c.
References adjuststack(), bufffree, buffonstack, emptybuffer(), luaL_Buffer::L, lua_insert, lua_pop, lua_remove, lua_tolstring(), luaL_addlstring(), luaL_addsize, luaL_Buffer::lvl, luaL_Buffer::p, prepbuffsize(), and s.
Referenced by add_s(), add_s(), add_s(), add_s(), add_value(), add_value(), add_value(), add_value(), addfield(), addfield(), addfield(), addfield(), addliteral(), addliteral(), findloader(), findloader(), findloader(), luaL_traceback(), searchpath(), searchpath(), str_format(), str_format(), str_format(), str_format(), utfchar(), utfchar(), and Xml_str().
LUALIB_API int luaL_argerror | ( | lua_State * | L, |
int | arg, | ||
const char * | extramsg ) |
Definition at line 43 of file lua-5.1.5/src/lauxlib.c.
References arg, lua_getinfo(), lua_getstack(), LUA_QS, lua_tostring, luaL_error(), lua_Debug::name, lua_Debug::namewhat, NULL, pushglobalfuncname(), pushglobalfuncname(), and pushglobalfuncname().
Referenced by addliteral(), addliteral(), b_size(), checkoption(), checkoption(), checkoption(), controloptions(), db_getinfo(), db_getinfo(), db_getinfo(), db_getinfo(), db_getlocal(), db_getlocal(), db_getlocal(), db_getlocal(), db_setlocal(), db_setlocal(), db_setlocal(), db_setlocal(), db_setuservalue(), fileerror(), g_read(), g_read(), g_read(), g_read(), getdetails(), getdetails(), getfunc(), interror(), interror(), lsqlite_checkbu(), lsqlite_checkcontext(), lsqlite_checkdb(), lsqlite_checkvm(), lsqlite_getvm(), lsqlite_open_ptr(), luaL_checkany(), luaL_checkany(), luaL_checkoption(), luaL_checkoption(), luaL_typeerror(), luaL_typerror(), str_format(), str_format(), str_format(), str_format(), str_packsize(), str_unpack(), typeerror(), and typeerror().
LUALIB_API void luaL_buffinit | ( | lua_State * | L, |
luaL_Buffer * | B ) |
Definition at line 472 of file lua-5.1.5/src/lauxlib.c.
References luaL_Buffer::b, luaL_Buffer::buffer, luaL_Buffer::init, luaL_Buffer::initb, luaL_Buffer::L, lua_pushlightuserdata(), LUAL_BUFFERSIZE, luaL_Buffer::lvl, luaL_Buffer::n, luaL_Buffer::p, and luaL_Buffer::size.
Referenced by b_pack(), findloader(), findloader(), findloader(), luaL_buffinitsize(), luaL_gsub(), luaL_traceback(), os_date(), os_date(), os_date(), os_date(), push_indentStr(), pusherrornotfound(), read_all(), read_all(), read_all(), read_chars(), read_chars(), read_chars(), read_chars(), read_line(), read_line(), read_line(), read_line(), searchpath(), searchpath(), searchpath(), setpath(), str_char(), str_dump(), str_dump(), str_dump(), str_format(), str_format(), str_format(), str_format(), str_gsub(), str_gsub(), str_gsub(), str_gsub(), str_lower(), str_pack(), str_pack(), str_rep(), str_reverse(), str_upper(), tconcat(), tconcat(), tconcat(), tconcat(), utfchar(), utfchar(), writer(), Xml_pushEncode(), and Xml_str().
LUALIB_API char * luaL_buffinitsize | ( | lua_State * | L, |
luaL_Buffer * | B, | ||
size_t | sz ) |
Definition at line 504 of file lua-5.2.4/src/lauxlib.c.
References luaL_buffinit(), luaL_prepbuffsize(), and prepbuffsize().
Referenced by str_char(), str_char(), str_char(), str_lower(), str_lower(), str_lower(), str_rep(), str_rep(), str_rep(), str_reverse(), str_reverse(), str_reverse(), str_upper(), str_upper(), and str_upper().
LUALIB_API int luaL_callmeta | ( | lua_State * | L, |
int | obj, | ||
const char * | e ) |
Definition at line 219 of file lua-5.1.5/src/lauxlib.c.
References abs_index, lua_absindex(), lua_call, lua_pushvalue(), LUA_TNIL, and luaL_getmetafield().
Referenced by luaB_tostring(), luaL_tolstring(), msghandler(), msghandler(), and traceback().
LUALIB_API void luaL_checkany | ( | lua_State * | L, |
int | arg ) |
Definition at line 152 of file lua-5.1.5/src/lauxlib.c.
References arg, LUA_TNONE, lua_type(), luaL_argerror(), and luaL_argerror().
Referenced by db_getfenv(), db_getmetatable(), db_getmetatable(), db_getmetatable(), db_getmetatable(), db_setlocal(), db_setlocal(), db_setlocal(), db_setlocal(), db_setupvalue(), db_setupvalue(), db_setupvalue(), db_setupvalue(), db_setuservalue(), db_setuservalue(), io_type(), io_type(), io_type(), io_type(), luaB_assert(), luaB_assert(), luaB_assert(), luaB_getmetatable(), luaB_getmetatable(), luaB_getmetatable(), luaB_getmetatable(), luaB_ipairs(), luaB_ipairs(), luaB_pairs(), luaB_pcall(), luaB_pcall(), luaB_pcall(), luaB_pcall(), luaB_rawequal(), luaB_rawequal(), luaB_rawequal(), luaB_rawequal(), luaB_rawget(), luaB_rawget(), luaB_rawget(), luaB_rawget(), luaB_rawset(), luaB_rawset(), luaB_rawset(), luaB_rawset(), luaB_tonumber(), luaB_tonumber(), luaB_tonumber(), luaB_tonumber(), luaB_tostring(), luaB_tostring(), luaB_tostring(), luaB_tostring(), luaB_type(), luaB_type(), luaB_xpcall(), math_toint(), math_toint(), math_type(), math_type(), and pairsmeta().
LUALIB_API lua_Integer luaL_checkinteger | ( | lua_State * | L, |
int | arg ) |
Definition at line 189 of file lua-5.1.5/src/lauxlib.c.
References arg, interror(), interror(), lua_isnumber(), LUA_TNUMBER, lua_tointeger, lua_tointegerx(), tag_error(), and tag_error().
Referenced by auxupvalue(), auxupvalue(), byteoffset(), byteoffset(), checkupval(), checkupval(), db_getinfo(), db_getinfo(), db_getlocal(), db_getlocal(), db_setcstacklimit(), db_setlocal(), db_setlocal(), g_read(), g_read(), ipairsaux(), ipairsaux(), l_checktime(), lcontext_result(), luaB_select(), luaB_select(), luaB_tonumber(), luaB_tonumber(), luaL_optinteger(), luaL_optinteger(), math_random(), math_random(), math_randomseed(), math_ult(), math_ult(), pushutfchar(), pushutfchar(), str_char(), str_char(), str_format(), str_format(), str_pack(), str_pack(), str_rep(), str_rep(), str_sub(), str_sub(), str_sub(), str_sub(), tinsert(), tinsert(), tmove(), tmove(), tunpack(), and unpack().
LUALIB_API const char * luaL_checklstring | ( | lua_State * | L, |
int | arg, | ||
size_t * | l ) |
Definition at line 158 of file lua-5.1.5/src/lauxlib.c.
References arg, lua_tolstring(), LUA_TSTRING, s, tag_error(), tag_error(), tag_error(), and tag_error().
Referenced by addquoted(), addquoted(), b_pack(), b_unpack(), byteoffset(), byteoffset(), codepoint(), codepoint(), g_write(), g_write(), g_write(), g_write(), gmatch(), gmatch(), iter_aux(), iter_aux(), lfs_lock_dir(), luaB_loadstring(), luaB_tonumber(), luaL_optlstring(), luaL_optlstring(), str_byte(), str_byte(), str_byte(), str_byte(), str_find_aux(), str_find_aux(), str_find_aux(), str_find_aux(), str_format(), str_format(), str_format(), str_format(), str_gsub(), str_gsub(), str_gsub(), str_gsub(), str_len(), str_len(), str_len(), str_len(), str_lower(), str_lower(), str_lower(), str_lower(), str_pack(), str_pack(), str_rep(), str_rep(), str_rep(), str_rep(), str_reverse(), str_reverse(), str_reverse(), str_reverse(), str_sub(), str_sub(), str_sub(), str_sub(), str_unpack(), str_unpack(), str_upper(), str_upper(), str_upper(), str_upper(), utflen(), utflen(), Xml_decode(), and Xml_eval().
LUALIB_API lua_Number luaL_checknumber | ( | lua_State * | L, |
int | arg ) |
Definition at line 176 of file lua-5.1.5/src/lauxlib.c.
References arg, lua_isnumber(), LUA_TNUMBER, lua_tonumber, lua_tonumberx(), tag_error(), tag_error(), tag_error(), and tag_error().
Referenced by b_pack(), dbvm_bind_parameter_name(), dbvm_get_name(), dbvm_get_type(), lcontext_result(), lcontext_result_double(), luaL_optnumber(), luaL_optnumber(), math_abs(), math_abs(), math_abs(), math_abs(), math_acos(), math_acos(), math_acos(), math_acos(), math_asin(), math_asin(), math_asin(), math_asin(), math_atan(), math_atan(), math_atan(), math_atan(), math_atan2(), math_atan2(), math_ceil(), math_ceil(), math_ceil(), math_ceil(), math_cos(), math_cos(), math_cos(), math_cos(), math_cosh(), math_cosh(), math_deg(), math_deg(), math_deg(), math_deg(), math_exp(), math_exp(), math_exp(), math_exp(), math_floor(), math_floor(), math_floor(), math_floor(), math_fmod(), math_fmod(), math_fmod(), math_fmod(), math_frexp(), math_frexp(), math_ldexp(), math_ldexp(), math_log(), math_log(), math_log(), math_log(), math_log10(), math_max(), math_max(), math_min(), math_min(), math_modf(), math_modf(), math_modf(), math_modf(), math_pow(), math_pow(), math_rad(), math_rad(), math_rad(), math_rad(), math_random(), math_randomseed(), math_sin(), math_sin(), math_sin(), math_sin(), math_sinh(), math_sinh(), math_sqrt(), math_sqrt(), math_sqrt(), math_sqrt(), math_tan(), math_tan(), math_tan(), math_tan(), math_tanh(), math_tanh(), os_date(), os_date(), os_difftime(), os_difftime(), putinteger(), str_format(), str_format(), str_format(), str_format(), str_pack(), and str_pack().
LUALIB_API int luaL_checkoption | ( | lua_State * | L, |
int | arg, | ||
const char * | def, | ||
const char *const | lst[] ) |
Definition at line 99 of file lua-5.1.5/src/lauxlib.c.
References arg, lua_pushfstring(), LUA_QS, luaL_argerror(), luaL_argerror(), luaL_checkstring, luaL_optstring, and name.
Referenced by f_seek(), f_seek(), f_seek(), f_seek(), f_setvbuf(), f_setvbuf(), f_setvbuf(), f_setvbuf(), lfs_g_setmode(), luaB_collectgarbage(), luaB_collectgarbage(), luaB_collectgarbage(), luaB_collectgarbage(), os_setlocale(), os_setlocale(), os_setlocale(), and os_setlocale().
LUALIB_API void luaL_checkstack | ( | lua_State * | L, |
int | sz, | ||
const char * | msg ) |
Definition at line 140 of file lua-5.1.5/src/lauxlib.c.
References lua_checkstack(), LUA_MINSTACK, and luaL_error().
Referenced by b_unpack(), codepoint(), codepoint(), dotty(), g_read(), g_read(), g_read(), g_read(), generic_reader(), generic_reader(), generic_reader(), generic_reader(), getargs(), getargs(), io_readline(), io_readline(), l_print(), l_print(), luaL_setfuncs(), luaL_traceback(), push_captures(), push_captures(), push_captures(), push_captures(), pushargs(), pushargs(), sort(), sort(), str_byte(), str_byte(), str_byte(), str_byte(), str_unpack(), and str_unpack().
LUALIB_API void luaL_checktype | ( | lua_State * | L, |
int | arg, | ||
int | t ) |
Definition at line 146 of file lua-5.1.5/src/lauxlib.c.
References arg, lua_type(), tag_error(), tag_error(), tag_error(), and tag_error().
Referenced by auxupvalue(), auxupvalue(), auxupvalue(), auxupvalue(), checktab(), checktab(), checkupval(), checkupval(), checkupval(), db_busy_handler(), db_commit_hook(), db_exec(), db_progress_handler(), db_register_function(), db_rollback_hook(), db_setfenv(), db_sethook(), db_sethook(), db_sethook(), db_sethook(), db_setuservalue(), db_setuservalue(), db_setuservalue(), db_trace(), db_update_hook(), dbvm_bind_names(), foreach(), foreachi(), ipairsaux(), ipairsaux(), ll_seeall(), lsqlite_open_ptr(), luaB_cocreate(), luaB_cocreate(), luaB_cocreate(), luaB_ipairs(), luaB_load(), luaB_load(), luaB_load(), luaB_load(), luaB_next(), luaB_next(), luaB_next(), luaB_next(), luaB_pairs(), luaB_rawget(), luaB_rawget(), luaB_rawget(), luaB_rawget(), luaB_rawset(), luaB_rawset(), luaB_rawset(), luaB_rawset(), luaB_setfenv(), luaB_setmetatable(), luaB_setmetatable(), luaB_setmetatable(), luaB_setmetatable(), luaB_tonumber(), luaB_tonumber(), luaB_unpack(), luaB_xpcall(), luaB_xpcall(), maxn(), os_time(), os_time(), os_time(), os_time(), pairsmeta(), setn(), sort(), sort(), sort(), sort(), str_dump(), str_dump(), str_dump(), str_dump(), tconcat(), tconcat(), unpack(), and Xml_iterate().
LUALIB_API void * luaL_checkudata | ( | lua_State * | L, |
int | ud, | ||
const char * | tname ) |
Definition at line 124 of file lua-5.1.5/src/lauxlib.c.
References lua_getfield(), lua_getmetatable(), lua_pop, lua_rawequal(), LUA_REGISTRYINDEX, lua_touserdata(), luaL_argexpected, luaL_testudata(), luaL_typerror(), NULL, typeerror(), and typeerror().
Referenced by check_file(), dir_iter(), gctm(), lfs_unlock_dir(), lsqlite_getbu(), lsqlite_getcontext(), lsqlite_getdb(), and lsqlite_getvm().
LUALIB_API void luaL_checkversion_ | ( | lua_State * | L, |
lua_Number | ver, | ||
size_t | sz ) |
Definition at line 1038 of file lua-5.3.6/src/lauxlib.c.
References lua_version(), LUAI_UACNUMBER, luaL_error(), LUAL_NUMSIZES, and NULL.
LUALIB_API int luaL_error | ( | lua_State * | L, |
const char * | fmt, | ||
... ) |
Definition at line 86 of file lua-5.1.5/src/lauxlib.c.
References lua_concat(), lua_error(), lua_pushvfstring(), and luaL_where().
Referenced by _file_info_(), _file_lock(), add_s(), add_s(), add_s(), add_value(), add_value(), add_value(), add_value(), addfield(), addfield(), addfield(), addfield(), auxresume(), auxsort(), auxsort(), b_unpack(), byteoffset(), byteoffset(), capture_to_close(), capture_to_close(), capture_to_close(), capture_to_close(), check_capture(), check_capture(), check_capture(), check_capture(), check_file(), checkload(), checkload(), checkload(), checkstack(), checkstack(), checkstack(), classend(), classend(), classend(), classend(), codepoint(), codepoint(), controloptions(), db_create_collation(), db_register_function(), db_setfenv(), dbvm_bind_index(), dbvm_bind_values(), dbvm_check_bind_index(), dbvm_check_contents(), dbvm_check_index(), dir_iter_factory(), fieldargs(), findfile(), findfile(), findfile(), findfile(), findloader(), findloader(), findloader(), generic_reader(), generic_reader(), generic_reader(), generic_reader(), get_onecapture(), getfield(), getfield(), getfield(), getfield(), getfunc(), getiofile(), getiofile(), getiofile(), getiofile(), getnumlimit(), getnumlimit(), getoption(), getoption(), gfind_nodef(), io_readline(), io_readline(), io_readline(), io_readline(), iter_aux(), iter_aux(), lcontext_check_aggregate(), lcontext_result(), ll_module(), ll_require(), loader_preload(), loaderror(), lstop(), lstop(), lstop(), lstop(), luaB_assert(), luaB_assert(), luaB_close(), luaB_print(), luaB_print(), luaB_print(), luaB_setfenv(), luaB_setmetatable(), luaB_setmetatable(), luaB_setmetatable(), luaB_setmetatable(), luaB_unpack(), luaI_openlib(), luaL_argerror(), luaL_argerror(), luaL_checkstack(), luaL_checkstack(), luaL_checkversion_(), luaL_checkversion_(), luaL_len(), luaL_prepbuffsize(), luaL_tolstring(), luaopen_bit32(), make_xml_object(), match(), match(), match(), match(), matchbalance(), matchbalance(), matchbalance(), matchbalance(), math_random(), math_random(), math_random(), math_random(), newbuffsize(), opencheck(), opencheck(), opencheck(), optsize(), os_date(), os_date(), os_time(), os_time(), os_tmpname(), os_tmpname(), os_tmpname(), os_tmpname(), partition(), partition(), push_onecapture(), push_onecapture(), push_onecapture(), pushargs(), pushargs(), resizebox(), scanformat(), scanformat(), scanformat(), scanformat(), setfenv(), setfield(), setn(), start_capture(), start_capture(), start_capture(), start_capture(), str_byte(), str_byte(), str_byte(), str_byte(), str_dump(), str_dump(), str_dump(), str_dump(), str_format(), str_format(), str_format(), str_format(), str_rep(), str_rep(), str_rep(), tinsert(), tinsert(), tinsert(), tinsert(), tofile(), tofile(), tofile(), tofile(), trymt(), tunpack(), unpack(), unpack(), unpackint(), unpackint(), Xml_eval(), and Xml_load().
LUALIB_API int luaL_execresult | ( | lua_State * | L, |
int | stat ) |
Definition at line 247 of file lua-5.2.4/src/lauxlib.c.
References inspectstat, l_inspectstat, lua_pushboolean(), lua_pushinteger(), lua_pushnil(), lua_pushstring(), luaL_fileresult(), luaL_pushfail, and NULL.
Referenced by io_pclose(), io_pclose(), io_pclose(), os_execute(), os_execute(), and os_execute().
LUALIB_API int luaL_fileresult | ( | lua_State * | L, |
int | stat, | ||
const char * | fname ) |
Definition at line 207 of file lua-5.2.4/src/lauxlib.c.
References lua_pushboolean(), lua_pushfstring(), lua_pushinteger(), lua_pushnil(), lua_pushstring(), and luaL_pushfail.
Referenced by f_flush(), f_flush(), f_flush(), f_seek(), f_seek(), f_seek(), f_setvbuf(), f_setvbuf(), f_setvbuf(), g_read(), g_read(), g_read(), g_write(), g_write(), g_write(), io_fclose(), io_fclose(), io_fclose(), io_flush(), io_flush(), io_flush(), io_open(), io_open(), io_open(), io_popen(), io_popen(), io_popen(), io_tmpfile(), io_tmpfile(), io_tmpfile(), luaL_execresult(), os_remove(), os_remove(), os_remove(), os_rename(), os_rename(), and os_rename().
LUALIB_API int luaL_getmetafield | ( | lua_State * | L, |
int | obj, | ||
const char * | e ) |
Definition at line 203 of file lua-5.1.5/src/lauxlib.c.
References lua_getmetatable(), lua_isnil, lua_pop, lua_pushstring(), lua_rawget(), lua_remove, and LUA_TNIL.
Referenced by luaB_getmetatable(), luaB_getmetatable(), luaB_getmetatable(), luaB_getmetatable(), luaB_pairs(), luaB_setmetatable(), luaB_setmetatable(), luaB_setmetatable(), luaB_setmetatable(), luaL_callmeta(), luaL_tolstring(), luaL_typeerror(), pairsmeta(), pairsmeta(), trymt(), and typeerror().
LUALIB_API int luaL_getsubtable | ( | lua_State * | L, |
int | idx, | ||
const char * | fname ) |
Definition at line 866 of file lua-5.2.4/src/lauxlib.c.
References lua_absindex(), lua_getfield(), lua_istable, lua_newtable, lua_pop, lua_pushvalue(), lua_setfield(), and LUA_TTABLE.
Referenced by createclibstable(), db_sethook(), luaL_openlibs(), luaL_requiref(), and luaopen_package().
LUALIB_API const char * luaL_gsub | ( | lua_State * | L, |
const char * | s, | ||
const char * | p, | ||
const char * | r ) |
Definition at line 340 of file lua-5.1.5/src/lauxlib.c.
References lua_tostring, luaL_addgsub(), luaL_addlstring(), luaL_addstring(), luaL_buffinit(), luaL_pushresult(), NULL, and s.
Referenced by do_gsub(), findfile(), loadfunc(), loadfunc(), loadfunc(), mkfuncname(), searchpath(), searchpath(), searchpath(), setpath(), setpath(), and setpath().
LUALIB_API lua_Integer luaL_len | ( | lua_State * | L, |
int | idx ) |
Definition at line 725 of file lua-5.2.4/src/lauxlib.c.
References lua_len(), lua_pop, lua_tointegerx(), and luaL_error().
Referenced by addtoclib(), addtoclib(), gctm(), gctm(), gctm(), ll_addtoclib(), pushargs(), pushargs(), tconcat(), tunpack(), unpack(), and unpack().
LUALIB_API int luaL_loadbufferx | ( | lua_State * | L, |
const char * | buff, | ||
size_t | sz, | ||
const char * | name, | ||
const char * | mode ) |
Definition at line 682 of file lua-5.2.4/src/lauxlib.c.
References getS(), getS(), getS(), lua_load(), name, LoadS::s, and LoadS::size.
Referenced by luaB_load(), luaB_load(), and luaB_load().
LUALIB_API int luaL_loadfilex | ( | lua_State * | L, |
const char * | filename, | ||
const char * | mode ) |
Definition at line 630 of file lua-5.2.4/src/lauxlib.c.
References LoadF::buff, errfile(), errfile(), errfile(), LoadF::f, getF(), getF(), getF(), lua_gettop(), lua_load(), lua_pushfstring(), lua_pushliteral, lua_remove, lua_settop(), LUA_SIGNATURE, lua_tostring, LoadF::n, NULL, skipcomment(), skipcomment(), and skipcomment().
Referenced by luaB_loadfile(), luaB_loadfile(), and luaB_loadfile().
LUALIB_API int luaL_loadstring | ( | lua_State * | L, |
const char * | s ) |
Definition at line 618 of file lua-5.1.5/src/lauxlib.c.
References luaL_loadbuffer, and s.
LUALIB_API int luaL_newmetatable | ( | lua_State * | L, |
const char * | tname ) |
Definition at line 112 of file lua-5.1.5/src/lauxlib.c.
References lua_createtable(), lua_getfield(), lua_isnil, lua_newtable, lua_pop, lua_pushstring(), lua_pushvalue(), LUA_REGISTRYINDEX, lua_setfield(), LUA_TNIL, and luaL_getmetatable.
Referenced by create_meta(), createmeta(), createmeta(), createmeta(), createmeta(), dir_create_meta(), lock_create_meta(), luaopen_LuaXML_lib(), luaopen_package(), newbox(), and newbox().
LUALIB_API lua_State * luaL_newstate | ( | void | ) |
Definition at line 647 of file lua-5.1.5/src/lauxlib.c.
References l_alloc(), l_alloc(), l_alloc(), l_alloc(), lua_atpanic(), lua_newstate(), lua_setwarnf(), NULL, panic(), panic(), panic(), panic(), and warnfoff().
LUALIB_API lua_Integer luaL_optinteger | ( | lua_State * | L, |
int | arg, | ||
lua_Integer | def ) |
Definition at line 197 of file lua-5.1.5/src/lauxlib.c.
References arg, luaL_checkinteger(), luaL_checkinteger(), and luaL_opt.
Referenced by b_unpack(), byteoffset(), byteoffset(), codepoint(), codepoint(), db_getuservalue(), db_sethook(), db_sethook(), db_setuservalue(), db_traceback(), db_traceback(), f_seek(), f_seek(), f_setvbuf(), f_setvbuf(), f_setvbuf(), f_setvbuf(), file_lock(), file_unlock(), file_utime(), getendpos(), gmatch(), lsqlite_open(), luaB_collectgarbage(), luaB_collectgarbage(), luaB_error(), luaB_error(), math_randomseed(), os_exit(), os_exit(), str_byte(), str_byte(), str_byte(), str_byte(), str_find_aux(), str_find_aux(), str_find_aux(), str_find_aux(), str_gsub(), str_gsub(), str_gsub(), str_sub(), str_sub(), str_sub(), str_unpack(), str_unpack(), tconcat(), tconcat(), tremove(), tremove(), tunpack(), unpack(), utflen(), and utflen().
LUALIB_API const char * luaL_optlstring | ( | lua_State * | L, |
int | arg, | ||
const char * | def, | ||
size_t * | l ) |
Definition at line 165 of file lua-5.1.5/src/lauxlib.c.
References arg, lua_isnoneornil, luaL_checklstring(), and luaL_checklstring().
Referenced by os_date(), os_date(), str_rep(), str_rep(), str_rep(), tconcat(), tconcat(), tconcat(), and tconcat().
LUALIB_API lua_Number luaL_optnumber | ( | lua_State * | L, |
int | arg, | ||
lua_Number | def ) |
Definition at line 184 of file lua-5.1.5/src/lauxlib.c.
References arg, luaL_checknumber(), luaL_checknumber(), and luaL_opt.
Referenced by f_seek(), file_utime(), math_atan(), math_atan(), os_difftime(), and os_difftime().
LUALIB_API char * luaL_prepbuffsize | ( | luaL_Buffer * | B, |
size_t | sz ) |
Definition at line 437 of file lua-5.2.4/src/lauxlib.c.
References luaL_Buffer::b, buffonstack, luaL_Buffer::L, lua_newuserdata, lua_remove, luaL_error(), luaL_Buffer::n, newbox(), prepbuffsize(), resizebox(), and luaL_Buffer::size.
Referenced by addliteral(), addliteral(), luaL_addlstring(), luaL_buffinitsize(), os_date(), os_date(), packint(), packint(), read_all(), read_chars(), read_chars(), read_chars(), str_format(), str_format(), str_format(), str_pack(), and str_pack().
LUALIB_API void luaL_pushresult | ( | luaL_Buffer * | B | ) |
Definition at line 447 of file lua-5.1.5/src/lauxlib.c.
References luaL_Buffer::b, buffonstack, checkbufferlevel, emptybuffer(), luaL_Buffer::L, lua_closeslot(), lua_concat(), lua_pushlstring(), lua_remove, luaL_Buffer::lvl, luaL_Buffer::n, and resizebox().
Referenced by b_pack(), findloader(), findloader(), findloader(), luaL_gsub(), luaL_pushresultsize(), luaL_traceback(), os_date(), os_date(), os_date(), os_date(), push_indentStr(), pusherrornotfound(), read_all(), read_all(), read_all(), read_chars(), read_chars(), read_chars(), read_chars(), read_line(), read_line(), read_line(), read_line(), searchpath(), searchpath(), searchpath(), setpath(), str_char(), str_dump(), str_dump(), str_dump(), str_dump(), str_format(), str_format(), str_format(), str_format(), str_gsub(), str_gsub(), str_gsub(), str_gsub(), str_lower(), str_pack(), str_pack(), str_rep(), str_reverse(), str_upper(), tconcat(), tconcat(), tconcat(), tconcat(), utfchar(), utfchar(), Xml_pushEncode(), and Xml_str().
LUALIB_API void luaL_pushresultsize | ( | luaL_Buffer * | B, |
size_t | sz ) |
Definition at line 479 of file lua-5.2.4/src/lauxlib.c.
References luaL_addsize, and luaL_pushresult().
Referenced by str_char(), str_char(), str_char(), str_lower(), str_lower(), str_lower(), str_rep(), str_rep(), str_rep(), str_reverse(), str_reverse(), str_reverse(), str_upper(), str_upper(), and str_upper().
LUALIB_API int luaL_ref | ( | lua_State * | L, |
int | t ) |
Definition at line 481 of file lua-5.1.5/src/lauxlib.c.
References abs_index, freelist, FREELIST_REF, lua_absindex(), lua_assert, lua_isinteger(), lua_isnil, lua_objlen(), lua_pop, lua_pushinteger(), lua_rawgeti(), lua_rawlen, lua_rawseti(), LUA_REFNIL, LUA_TNIL, and lua_tointeger.
Referenced by db_busy_handler(), db_commit_hook(), db_create_collation(), db_progress_handler(), db_register_function(), db_rollback_hook(), db_trace(), db_update_hook(), lcontext_set_aggregate_context(), luaopen_lsqlite3(), and luaopen_LuaXML_lib().
LUALIB_API void luaL_requiref | ( | lua_State * | L, |
const char * | modname, | ||
lua_CFunction | openf, | ||
int | glb ) |
Definition at line 886 of file lua-5.2.4/src/lauxlib.c.
References lua_call, lua_getfield(), LUA_LOADED_TABLE, lua_pop, lua_pushcfunction, lua_pushstring(), lua_pushvalue(), LUA_REGISTRYINDEX, lua_remove, lua_setfield(), lua_setglobal, lua_toboolean(), and luaL_getsubtable().
Referenced by luaL_openlibs(), and luaopen_lsqlite3().
LUALIB_API void luaL_setfuncs | ( | lua_State * | L, |
const luaL_Reg * | l, | ||
int | nup ) |
Definition at line 848 of file lua-5.2.4/src/lauxlib.c.
References luaL_Reg::func, lua_pop, lua_pushboolean(), lua_pushcclosure(), lua_pushvalue(), lua_setfield(), luaL_checkstack(), luaL_checkversion, luaL_Reg::name, and NULL.
Referenced by createmeta(), createmeta(), createmeta(), createmetatable(), luaopen_base(), luaopen_package(), luaopen_sqlitelib(), newbox(), and setrandfunc().
LUALIB_API void luaL_setmetatable | ( | lua_State * | L, |
const char * | tname ) |
Definition at line 284 of file lua-5.2.4/src/lauxlib.c.
References lua_setmetatable(), and luaL_getmetatable.
Referenced by newprefile(), newprefile(), and newprefile().
LUALIB_API void * luaL_testudata | ( | lua_State * | L, |
int | ud, | ||
const char * | tname ) |
Definition at line 290 of file lua-5.2.4/src/lauxlib.c.
References lua_getmetatable(), lua_pop, lua_rawequal(), lua_touserdata(), luaL_getmetatable, and NULL.
Referenced by io_type(), io_type(), io_type(), and luaL_checkudata().
LUALIB_API const char * luaL_tolstring | ( | lua_State * | L, |
int | idx, | ||
size_t * | len ) |
Definition at line 737 of file lua-5.2.4/src/lauxlib.c.
References lua_isinteger(), lua_isstring(), lua_pushfstring(), lua_pushliteral, lua_pushstring(), lua_pushvalue(), lua_remove, LUA_TBOOLEAN, LUA_TNIL, LUA_TNUMBER, lua_toboolean(), lua_tointeger, lua_tolstring(), lua_tonumber, lua_topointer(), lua_tostring, LUA_TSTRING, lua_type(), LUAI_UACINT, LUAI_UACNUMBER, luaL_callmeta(), luaL_error(), luaL_getmetafield(), and luaL_typename.
Referenced by add_s(), addliteral(), addliteral(), db_debug(), get_prompt(), luaB_print(), luaB_tostring(), luaB_tostring(), luaB_tostring(), str_format(), str_format(), and str_format().
LUALIB_API void luaL_traceback | ( | lua_State * | L, |
lua_State * | L1, | ||
const char * | msg, | ||
int | level ) |
Definition at line 116 of file lua-5.2.4/src/lauxlib.c.
References countlevels(), lua_Debug::currentline, lua_Debug::istailcall, lastlevel(), lastlevel(), LEVELS1, LEVELS2, lua_concat(), lua_getinfo(), lua_getstack(), lua_gettop(), lua_pushfstring(), lua_pushliteral, luaL_addchar, luaL_addstring(), luaL_addvalue(), luaL_buffinit(), luaL_checkstack(), luaL_pushresult(), NULL, pushfuncname(), pushfuncname(), pushfuncname(), and lua_Debug::short_src.
Referenced by db_traceback(), db_traceback(), db_traceback(), msghandler(), msghandler(), and traceback().
LUALIB_API int luaL_typeerror | ( | lua_State * | L, |
int | arg, | ||
const char * | tname ) |
Definition at line 193 of file lua-5.4.3/src/lauxlib.c.
References arg, lua_pushfstring(), LUA_TLIGHTUSERDATA, lua_tostring, LUA_TSTRING, lua_type(), luaL_argerror(), luaL_getmetafield(), and luaL_typename.
Referenced by tag_error().
LUALIB_API void luaL_unref | ( | lua_State * | L, |
int | t, | ||
int | ref ) |
Definition at line 504 of file lua-5.1.5/src/lauxlib.c.
References abs_index, freelist, FREELIST_REF, lua_absindex(), lua_assert, lua_isinteger(), lua_pushinteger(), lua_rawgeti(), and lua_rawseti().
Referenced by cleanupdb(), collfree(), db_busy_handler(), db_busy_timeout(), db_commit_hook(), db_progress_handler(), db_rollback_hook(), db_sql_finalize_function(), db_sql_normal_function(), db_trace(), db_update_hook(), and lcontext_set_aggregate_context().
LUALIB_API void luaL_where | ( | lua_State * | L, |
int | lvl ) |
Definition at line 73 of file lua-5.1.5/src/lauxlib.c.
References lua_Debug::currentline, lua_getinfo(), lua_getstack(), lua_pushfstring(), lua_pushliteral, and lua_Debug::short_src.
Referenced by luaB_auxwrap(), luaB_auxwrap(), luaB_auxwrap(), luaB_auxwrap(), luaB_error(), luaB_error(), luaB_error(), luaB_error(), and luaL_error().