Github User Fetcher 1.0.0
C Application with Server and GUI
|
Go to the source code of this file.
Data Structures | |
struct | lua_Debug |
Typedefs | |
typedef struct lua_State | lua_State |
typedef LUA_NUMBER | lua_Number |
typedef LUA_INTEGER | lua_Integer |
typedef LUA_UNSIGNED | lua_Unsigned |
typedef LUA_KCONTEXT | lua_KContext |
typedef int(* | lua_CFunction) (lua_State *L) |
typedef int(* | lua_KFunction) (lua_State *L, int status, lua_KContext ctx) |
typedef const char *(* | lua_Reader) (lua_State *L, void *ud, size_t *sz) |
typedef int(* | lua_Writer) (lua_State *L, const void *p, size_t sz, void *ud) |
typedef void *(* | lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize) |
typedef void(* | lua_WarnFunction) (void *ud, const char *msg, int tocont) |
typedef struct lua_Debug | lua_Debug |
typedef void(* | lua_Hook) (lua_State *L, lua_Debug *ar) |
Variables | |
const char | lua_ident [] |
#define LUA_AUTHORS "R. Ierusalimschy, L. H. de Figueiredo, W. Celes" |
Definition at line 29 of file lua-5.4.3/src/lua.h.
Definition at line 283 of file lua-5.4.3/src/lua.h.
#define LUA_COPYRIGHT LUA_RELEASE " Copyright (C) 1994-2021 Lua.org, PUC-Rio" |
Definition at line 28 of file lua-5.4.3/src/lua.h.
#define LUA_ERRERR 5 |
Definition at line 54 of file lua-5.4.3/src/lua.h.
#define LUA_ERRMEM 4 |
Definition at line 53 of file lua-5.4.3/src/lua.h.
#define LUA_ERRRUN 2 |
Definition at line 51 of file lua-5.4.3/src/lua.h.
#define LUA_ERRSYNTAX 3 |
Definition at line 52 of file lua-5.4.3/src/lua.h.
#define LUA_GCCOLLECT 2 |
Definition at line 321 of file lua-5.4.3/src/lua.h.
#define LUA_GCCOUNT 3 |
Definition at line 322 of file lua-5.4.3/src/lua.h.
#define LUA_GCCOUNTB 4 |
Definition at line 323 of file lua-5.4.3/src/lua.h.
#define LUA_GCGEN 10 |
Definition at line 328 of file lua-5.4.3/src/lua.h.
#define LUA_GCINC 11 |
Definition at line 329 of file lua-5.4.3/src/lua.h.
#define LUA_GCISRUNNING 9 |
Definition at line 327 of file lua-5.4.3/src/lua.h.
#define LUA_GCRESTART 1 |
Definition at line 320 of file lua-5.4.3/src/lua.h.
#define LUA_GCSETPAUSE 6 |
Definition at line 325 of file lua-5.4.3/src/lua.h.
#define LUA_GCSETSTEPMUL 7 |
Definition at line 326 of file lua-5.4.3/src/lua.h.
#define LUA_GCSTEP 5 |
Definition at line 324 of file lua-5.4.3/src/lua.h.
#define LUA_GCSTOP 0 |
Definition at line 319 of file lua-5.4.3/src/lua.h.
#define lua_getextraspace | ( | L | ) | ((void *)((char *)(L) - LUA_EXTRASPACE)) |
Definition at line 360 of file lua-5.4.3/src/lua.h.
#define lua_getuservalue | ( | L, | |
idx ) lua_getiuservalue(L,idx,1) |
Definition at line 413 of file lua-5.4.3/src/lua.h.
Referenced by db_getuservalue(), and db_getuservalue().
#define LUA_HOOKCALL 0 |
Definition at line 430 of file lua-5.4.3/src/lua.h.
#define LUA_HOOKCOUNT 3 |
Definition at line 433 of file lua-5.4.3/src/lua.h.
#define LUA_HOOKLINE 2 |
Definition at line 432 of file lua-5.4.3/src/lua.h.
#define LUA_HOOKRET 1 |
Definition at line 431 of file lua-5.4.3/src/lua.h.
#define LUA_HOOKTAILCALL 4 |
Definition at line 434 of file lua-5.4.3/src/lua.h.
#define lua_insert | ( | L, | |
idx ) lua_rotate(L, (idx), 1) |
Definition at line 390 of file lua-5.4.3/src/lua.h.
#define lua_isboolean | ( | L, | |
n ) (lua_type(L, (n)) == LUA_TBOOLEAN) |
Definition at line 377 of file lua-5.4.3/src/lua.h.
#define lua_isfunction | ( | L, | |
n ) (lua_type(L, (n)) == LUA_TFUNCTION) |
Definition at line 373 of file lua-5.4.3/src/lua.h.
#define lua_islightuserdata | ( | L, | |
n ) (lua_type(L, (n)) == LUA_TLIGHTUSERDATA) |
Definition at line 375 of file lua-5.4.3/src/lua.h.
Definition at line 376 of file lua-5.4.3/src/lua.h.
Definition at line 379 of file lua-5.4.3/src/lua.h.
#define lua_isnoneornil | ( | L, | |
n ) (lua_type(L, (n)) <= 0) |
Definition at line 380 of file lua-5.4.3/src/lua.h.
#define lua_istable | ( | L, | |
n ) (lua_type(L, (n)) == LUA_TTABLE) |
Definition at line 374 of file lua-5.4.3/src/lua.h.
#define lua_isthread | ( | L, | |
n ) (lua_type(L, (n)) == LUA_TTHREAD) |
Definition at line 378 of file lua-5.4.3/src/lua.h.
#define LUA_MASKCALL (1 << LUA_HOOKCALL) |
Definition at line 440 of file lua-5.4.3/src/lua.h.
#define LUA_MASKCOUNT (1 << LUA_HOOKCOUNT) |
Definition at line 443 of file lua-5.4.3/src/lua.h.
#define LUA_MASKLINE (1 << LUA_HOOKLINE) |
Definition at line 442 of file lua-5.4.3/src/lua.h.
#define LUA_MASKRET (1 << LUA_HOOKRET) |
Definition at line 441 of file lua-5.4.3/src/lua.h.
#define LUA_MINSTACK 20 |
Definition at line 80 of file lua-5.4.3/src/lua.h.
#define LUA_MULTRET (-1) |
Definition at line 36 of file lua-5.4.3/src/lua.h.
#define lua_newtable | ( | L | ) | lua_createtable(L, 0, 0) |
Definition at line 367 of file lua-5.4.3/src/lua.h.
#define lua_newuserdata | ( | L, | |
s ) lua_newuserdatauv(L,s,1) |
Definition at line 412 of file lua-5.4.3/src/lua.h.
Referenced by dir_iter_factory(), gmatch(), lfs_lock_dir(), ll_register(), lsqlite_backup_init(), lsqlite_make_context(), luaB_newproxy(), luaL_prepbuffsize(), newbox(), newdb(), newfile(), newprefile(), newprefile(), and newvm().
#define LUA_NUMTAGS LUA_NUMTYPES |
Definition at line 416 of file lua-5.4.3/src/lua.h.
#define LUA_NUMTYPES 9 |
Definition at line 75 of file lua-5.4.3/src/lua.h.
Referenced by lua_typename().
#define LUA_OK 0 |
Definition at line 49 of file lua-5.4.3/src/lua.h.
#define LUA_OPADD 0 /* ORDER TM, ORDER OP */ |
Definition at line 205 of file lua-5.4.3/src/lua.h.
#define LUA_OPBAND 7 |
Definition at line 212 of file lua-5.4.3/src/lua.h.
#define LUA_OPBNOT 13 |
Definition at line 218 of file lua-5.4.3/src/lua.h.
#define LUA_OPBOR 8 |
Definition at line 213 of file lua-5.4.3/src/lua.h.
#define LUA_OPBXOR 9 |
Definition at line 214 of file lua-5.4.3/src/lua.h.
#define LUA_OPDIV 5 |
Definition at line 210 of file lua-5.4.3/src/lua.h.
#define LUA_OPEQ 0 |
Definition at line 222 of file lua-5.4.3/src/lua.h.
#define LUA_OPIDIV 6 |
Definition at line 211 of file lua-5.4.3/src/lua.h.
#define LUA_OPLE 2 |
Definition at line 224 of file lua-5.4.3/src/lua.h.
#define LUA_OPLT 1 |
Definition at line 223 of file lua-5.4.3/src/lua.h.
#define LUA_OPMOD 3 |
Definition at line 208 of file lua-5.4.3/src/lua.h.
#define LUA_OPMUL 2 |
Definition at line 207 of file lua-5.4.3/src/lua.h.
#define LUA_OPPOW 4 |
Definition at line 209 of file lua-5.4.3/src/lua.h.
#define LUA_OPSHL 10 |
Definition at line 215 of file lua-5.4.3/src/lua.h.
#define LUA_OPSHR 11 |
Definition at line 216 of file lua-5.4.3/src/lua.h.
#define LUA_OPSUB 1 |
Definition at line 206 of file lua-5.4.3/src/lua.h.
#define LUA_OPUNM 12 |
Definition at line 217 of file lua-5.4.3/src/lua.h.
#define lua_pcall | ( | L, | |
n, | |||
r, | |||
f ) lua_pcallk(L, (n), (r), (f), 0, NULL) |
Definition at line 287 of file lua-5.4.3/src/lua.h.
#define lua_pop | ( | L, | |
n ) lua_settop(L, -(n)-1) |
Definition at line 365 of file lua-5.4.3/src/lua.h.
#define lua_pushcfunction | ( | L, | |
f ) lua_pushcclosure(L, (f), 0) |
Definition at line 371 of file lua-5.4.3/src/lua.h.
#define lua_pushglobaltable | ( | L | ) | ((void)lua_rawgeti(L, LUA_REGISTRYINDEX, LUA_RIDX_GLOBALS)) |
Definition at line 384 of file lua-5.4.3/src/lua.h.
#define lua_pushliteral | ( | L, | |
s ) lua_pushstring(L, "" s) |
Definition at line 382 of file lua-5.4.3/src/lua.h.
#define lua_register | ( | L, | |
n, | |||
f ) (lua_pushcfunction(L, (f)), lua_setglobal(L, (n))) |
Definition at line 369 of file lua-5.4.3/src/lua.h.
#define LUA_REGISTRYINDEX (-LUAI_MAXSTACK - 1000) |
Definition at line 44 of file lua-5.4.3/src/lua.h.
#define LUA_RELEASE LUA_VERSION "." LUA_VERSION_RELEASE |
Definition at line 27 of file lua-5.4.3/src/lua.h.
#define lua_remove | ( | L, | |
idx ) (lua_rotate(L, (idx), -1), lua_pop(L, 1)) |
Definition at line 392 of file lua-5.4.3/src/lua.h.
Definition at line 394 of file lua-5.4.3/src/lua.h.
#define LUA_RIDX_GLOBALS 2 |
Definition at line 85 of file lua-5.4.3/src/lua.h.
#define LUA_RIDX_LAST LUA_RIDX_GLOBALS |
Definition at line 86 of file lua-5.4.3/src/lua.h.
#define LUA_RIDX_MAINTHREAD 1 |
Definition at line 84 of file lua-5.4.3/src/lua.h.
#define lua_setuservalue | ( | L, | |
idx ) lua_setiuservalue(L,idx,1) |
Definition at line 414 of file lua-5.4.3/src/lua.h.
Referenced by db_setuservalue(), and db_setuservalue().
#define LUA_SIGNATURE "\x1bLua" |
Definition at line 33 of file lua-5.4.3/src/lua.h.
#define LUA_TBOOLEAN 1 |
Definition at line 66 of file lua-5.4.3/src/lua.h.
#define LUA_TFUNCTION 6 |
Definition at line 71 of file lua-5.4.3/src/lua.h.
#define LUA_TLIGHTUSERDATA 2 |
Definition at line 67 of file lua-5.4.3/src/lua.h.
#define LUA_TNIL 0 |
Definition at line 65 of file lua-5.4.3/src/lua.h.
#define LUA_TNONE (-1) |
Definition at line 63 of file lua-5.4.3/src/lua.h.
#define LUA_TNUMBER 3 |
Definition at line 68 of file lua-5.4.3/src/lua.h.
#define lua_tointeger | ( | L, | |
i ) lua_tointegerx(L,(i),NULL) |
Definition at line 363 of file lua-5.4.3/src/lua.h.
#define lua_tonumber | ( | L, | |
i ) lua_tonumberx(L,(i),NULL) |
Definition at line 362 of file lua-5.4.3/src/lua.h.
#define lua_tostring | ( | L, | |
i ) lua_tolstring(L, (i), NULL) |
Definition at line 387 of file lua-5.4.3/src/lua.h.
#define LUA_TSTRING 4 |
Definition at line 69 of file lua-5.4.3/src/lua.h.
#define LUA_TTABLE 5 |
Definition at line 70 of file lua-5.4.3/src/lua.h.
#define LUA_TTHREAD 8 |
Definition at line 73 of file lua-5.4.3/src/lua.h.
#define LUA_TUSERDATA 7 |
Definition at line 72 of file lua-5.4.3/src/lua.h.
#define lua_upvalueindex | ( | i | ) | (LUA_REGISTRYINDEX - (i)) |
Definition at line 45 of file lua-5.4.3/src/lua.h.
#define LUA_VERSION "Lua " LUA_VERSION_MAJOR "." LUA_VERSION_MINOR |
Definition at line 26 of file lua-5.4.3/src/lua.h.
#define LUA_VERSION_MAJOR "5" |
Definition at line 19 of file lua-5.4.3/src/lua.h.
#define LUA_VERSION_MINOR "4" |
Definition at line 20 of file lua-5.4.3/src/lua.h.
#define LUA_VERSION_NUM 504 |
Definition at line 23 of file lua-5.4.3/src/lua.h.
#define LUA_VERSION_RELEASE "3" |
Definition at line 21 of file lua-5.4.3/src/lua.h.
#define LUA_VERSION_RELEASE_NUM (LUA_VERSION_NUM * 100 + 0) |
Definition at line 24 of file lua-5.4.3/src/lua.h.
#define LUA_YIELD 1 |
Definition at line 50 of file lua-5.4.3/src/lua.h.
#define lua_yield | ( | L, | |
n ) lua_yieldk(L, (n), 0, NULL) |
Definition at line 305 of file lua-5.4.3/src/lua.h.
typedef void *(* lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize) |
Definition at line 125 of file lua-5.4.3/src/lua.h.
typedef int(* lua_CFunction) (lua_State *L) |
Definition at line 106 of file lua-5.4.3/src/lua.h.
typedef struct lua_Debug lua_Debug |
Definition at line 445 of file lua-5.4.3/src/lua.h.
Definition at line 449 of file lua-5.4.3/src/lua.h.
typedef LUA_INTEGER lua_Integer |
Definition at line 94 of file lua-5.4.3/src/lua.h.
typedef LUA_KCONTEXT lua_KContext |
Definition at line 100 of file lua-5.4.3/src/lua.h.
typedef int(* lua_KFunction) (lua_State *L, int status, lua_KContext ctx) |
Definition at line 111 of file lua-5.4.3/src/lua.h.
typedef LUA_NUMBER lua_Number |
Definition at line 90 of file lua-5.4.3/src/lua.h.
typedef const char *(* lua_Reader) (lua_State *L, void *ud, size_t *sz) |
Definition at line 117 of file lua-5.4.3/src/lua.h.
typedef struct lua_State lua_State |
Definition at line 57 of file lua-5.4.3/src/lua.h.
typedef LUA_UNSIGNED lua_Unsigned |
Definition at line 97 of file lua-5.4.3/src/lua.h.
typedef void(* lua_WarnFunction) (void *ud, const char *msg, int tocont) |
Definition at line 131 of file lua-5.4.3/src/lua.h.
typedef int(* lua_Writer) (lua_State *L, const void *p, size_t sz, void *ud) |
Definition at line 119 of file lua-5.4.3/src/lua.h.
Definition at line 153 of file lua-5.2.4/src/lapi.c.
References cast_int, lua_State::ci, CallInfo::func, ispseudo, and lua_State::top.
Referenced by luaL_callmeta(), luaL_getsubtable(), luaL_ref(), and luaL_unref().
Definition at line 293 of file lua-5.2.4/src/lapi.c.
References api_checknelems, api_incr_top, cast, lua_lock, LUA_OPADD, LUA_OPBNOT, LUA_OPUNM, lua_unlock, luaO_arith(), luaV_arith(), nvalue, s2v, setnvalue, setobjs2s, TM_ADD, lua_State::top, and ttisnumber.
Referenced by arith().
LUA_API lua_CFunction lua_atpanic | ( | lua_State * | L, |
lua_CFunction | panicf ) |
Definition at line 130 of file lua-5.1.5/src/lapi.c.
References G, lua_lock, and lua_unlock.
Referenced by luaL_newstate().
LUA_API void lua_callk | ( | lua_State * | L, |
int | nargs, | ||
int | nresults, | ||
lua_KContext | ctx, | ||
lua_KFunction | k ) |
Definition at line 909 of file lua-5.3.6/src/lapi.c.
References adjustresults, api_check, api_checknelems, CallInfo::c, checkresults, lua_State::ci, CallInfo::ctx, isLua, CallInfo::k, lua_lock, LUA_OK, lua_unlock, luaD_call(), luaD_callnoyield(), lua_State::nny, NULL, lua_State::status, lua_State::top, CallInfo::u, and yieldable.
Definition at line 95 of file lua-5.1.5/src/lapi.c.
References api_check, lua_State::base, cast_int, lua_State::ci, EXTRA_STACK, growstack(), growstack(), lua_lock, LUA_OK, lua_unlock, luaD_checkstack, luaD_growstack(), luaD_rawrunprotected(), LUAI_MAXCSTACK, LUAI_MAXSTACK, lua_State::stack, lua_State::stack_last, CallInfo::top, and lua_State::top.
Referenced by auxresume(), auxresume(), auxresume(), auxresume(), checkstack(), checkstack(), checkstack(), db_do_next_row(), db_sql_normal_function(), dbvm_get_unames(), dbvm_get_utypes(), dbvm_get_uvalues(), finishpcall(), luaB_unpack(), luaL_checkstack(), luaL_checkstack(), pmain(), pmain(), pmain(), pmain(), tunpack(), unpack(), and unpack().
Definition at line 199 of file lua-5.1.5/src/lstate.c.
References CallInfo::base, lua_State::base, lua_State::base_ci, lua_State::baseCcalls, callallgcTM(), lua_State::ci, close_state(), close_state(), close_state(), close_state(), lua_State::errfunc, G, lua_assert, lua_lock, luaC_separateudata(), luaD_rawrunprotected(), luaF_close(), luai_userstateclose, lua_State::nCcalls, NULL, lua_State::stack, and lua_State::top.
Referenced by main(), main(), main(), master_thread_run(), os_exit(), os_exit(), and os_exit().
Definition at line 202 of file lua-5.4.3/src/lapi.c.
References api_check, lua_State::ci, CLOSEKTOP, hastocloseCfunc, index2stack(), lua_lock, lua_unlock, luaF_close(), CallInfo::nresults, s2v, setnilvalue, and lua_State::tbclist.
Referenced by luaL_pushresult().
Definition at line 316 of file lua-5.2.4/src/lapi.c.
References api_check, equalobj, index2addr(), index2addr(), index2value(), isvalid, lua_lock, LUA_OPEQ, LUA_OPLE, LUA_OPLT, lua_unlock, luaV_equalobj(), luaV_lessequal(), and luaV_lessthan().
Referenced by math_max(), math_max(), math_min(), math_min(), sort_comp(), sort_comp(), sort_comp(), tmove(), and tmove().
Definition at line 990 of file lua-5.1.5/src/lapi.c.
References api_checknelems, api_incr_top, lua_State::base, cast_int, lua_lock, lua_unlock, luaC_checkGC, luaS_newlstr(), luaV_concat(), setsvalue2s, and lua_State::top.
Referenced by adjuststack(), db_errorfb(), findfield(), findfield(), findfield(), findfile(), ll_require(), loadline(), loadline(), luaB_auxwrap(), luaB_auxwrap(), luaB_auxwrap(), luaB_auxwrap(), luaB_error(), luaB_error(), luaB_error(), luaB_error(), luaL_error(), luaL_pushresult(), luaL_traceback(), multiline(), multiline(), and Xml_str().
Definition at line 226 of file lua-5.2.4/src/lapi.c.
References api_check, api_checkvalidindex, lua_State::ci, clCvalue, CallInfo::func, index2addr(), index2addr(), index2value(), isupvalue, isvalid, lua_lock, lua_unlock, luaC_barrier, moveto(), s2v, and setobj.
Referenced by ll_require(), luaB_xpcall(), pushglobalfuncname(), pushglobalfuncname(), and pushglobalfuncname().
Definition at line 578 of file lua-5.1.5/src/lapi.c.
References api_incr_top, lua_lock, lua_unlock, luaC_checkGC, luaH_new(), luaH_resize(), sethvalue, sethvalue2s, and lua_State::top.
Referenced by base_open(), createargtable(), createargtable(), createclibstable(), createclibstable(), createmetatable(), createmetatable(), createmetatable(), createsearcherstable(), createsearcherstable(), createsearcherstable(), db_do_next_row(), db_exec_callback(), db_getinfo(), db_getinfo(), db_sethook(), dbvm_get_named_types(), dbvm_get_named_values(), dbvm_get_names(), dbvm_get_types(), dbvm_get_values(), getargs(), getargs(), gethooktable(), ll_seeall(), lsqlite_backup_init(), luaL_findtable(), luaL_newmetatable(), luaopen_package(), newfenv(), os_date(), os_date(), os_date(), os_date(), pack(), pack(), and tpack().
LUA_API int lua_dump | ( | lua_State * | L, |
lua_Writer | writer, | ||
void * | data, | ||
int | strip ) |
Definition at line 1016 of file lua-5.3.6/src/lapi.c.
References api_checknelems, getproto, isLfunction, lua_lock, lua_unlock, luaU_dump(), s2v, lua_State::top, and writer().
Definition at line 964 of file lua-5.1.5/src/lapi.c.
References api_checknelems, eqshrstr, G, lua_lock, lua_unlock, luaG_errormsg(), luaM_error, s2v, lua_State::top, tsvalue, and ttisshrstring.
Referenced by db_do_next_row(), db_do_rows(), lsqlite_newindex(), luaB_auxwrap(), luaB_auxwrap(), luaB_auxwrap(), luaB_auxwrap(), luaB_dofile(), luaB_dofile(), luaB_dofile(), luaB_dofile(), luaB_error(), luaB_error(), luaB_error(), luaB_error(), luaL_error(), luaY_parser(), and resizebox().
Definition at line 1126 of file lua-5.4.3/src/lapi.c.
References cast, cast_int, G, global_State::GCdebt, global_State::gcpause, global_State::gcrunning, GCSpause, global_State::gcstate, global_State::gcstepmul, global_State::gcstepsize, global_State::genmajormul, global_State::genminormul, getgcparam, gettotalbytes, isdecGCmodegen, KGC_GEN, KGC_INC, LUA_GCCOLLECT, LUA_GCCOUNT, LUA_GCCOUNTB, LUA_GCGEN, LUA_GCINC, LUA_GCISRUNNING, LUA_GCRESTART, LUA_GCSETPAUSE, LUA_GCSETSTEPMUL, LUA_GCSTEP, LUA_GCSTOP, lua_lock, lua_unlock, luaC_changemode(), luaC_checkGC, luaC_fullgc(), luaC_step(), luaE_setdebt(), and setgcparam.
Definition at line 1007 of file lua-5.1.5/src/lapi.c.
References G, lua_lock, lua_unlock, and CCallS::ud.
Referenced by resizebox(), and resizebox().
Definition at line 544 of file lua-5.1.5/src/lapi.c.
References api_checkvalidindex, api_incr_top, auxgetstr(), auxgetstr(), index2addr(), index2addr(), index2adr(), index2value(), lua_lock, lua_unlock, luaS_new, luaV_gettable, setsvalue, setsvalue2s, and lua_State::top.
Referenced by addtoclib(), aux_close(), checkclib(), checkclib(), db_gethook(), findfile(), findfile(), findfile(), findfile(), findloader(), findloader(), findloader(), g_iofile(), g_iofile(), g_iofile(), get_prompt(), getboolfield(), getboolfield(), getboolfield(), getboolfield(), getfield(), getfield(), getfield(), getfield(), getiofile(), getiofile(), getiofile(), hookf(), io_close(), io_close(), io_close(), io_lines(), io_lines(), io_lines(), io_type(), ll_addtoclib(), ll_checkclib(), ll_module(), ll_require(), ll_require(), ll_require(), ll_require(), loader_preload(), luaI_openlib(), luaL_checkudata(), luaL_getsubtable(), luaL_newmetatable(), luaL_requiref(), luaopen_io(), luaopen_math(), luaopen_package(), luaopen_string(), luaopen_table(), noenv(), noenv(), noenv(), pushglobalfuncname(), pushglobalfuncname(), searcher_preload(), searcher_preload(), searcher_preload(), and traceback().
Definition at line 608 of file lua-5.2.4/src/lapi.c.
References auxgetstr(), auxgetstr(), G, getGtable, gt, hvalue, lua_lock, LUA_RIDX_GLOBALS, lua_unlock, luaH_getint(), luaS_new, luaV_gettable, name, setsvalue2s, and lua_State::top.
Definition at line 69 of file lua-5.1.5/src/ldebug.c.
References lua_State::hook.
Referenced by db_gethook(), db_gethook(), db_gethook(), and db_gethook().
Definition at line 79 of file lua-5.1.5/src/ldebug.c.
References lua_State::basehookcount.
Referenced by db_gethook(), db_gethook(), db_gethook(), and db_gethook().
Definition at line 74 of file lua-5.1.5/src/ldebug.c.
References lua_State::hookmask.
Referenced by db_gethook(), db_gethook(), db_gethook(), and db_gethook().
LUA_API int lua_geti | ( | lua_State * | L, |
int | idx, | ||
lua_Integer | n ) |
Definition at line 628 of file lua-5.3.6/src/lapi.c.
References api_incr_top, index2addr(), index2value(), lua_lock, lua_unlock, luaH_getint(), luaV_fastget, luaV_fastgeti, luaV_finishget(), s2v, setivalue, setobj2s, lua_State::top, ttnov, and ttype.
Referenced by addfield(), addfield(), auxsort(), auxsort(), ipairsaux(), ipairsaux(), partition(), partition(), tinsert(), tinsert(), tmove(), tmove(), tremove(), tremove(), tunpack(), and unpack().
Definition at line 232 of file lua-5.1.5/src/ldebug.c.
References api_check, api_incr_top, auxgetinfo(), auxgetinfo(), auxgetinfo(), auxgetinfo(), lua_State::base_ci, clvalue, collectvalidlines(), collectvalidlines(), collectvalidlines(), collectvalidlines(), CallInfo::func, lua_Debug::i_ci, incr_top, lua_assert, lua_lock, lua_unlock, luai_apicheck, NULL, s2v, setclvalue, setnilvalue, setobj2s, setobjs2s, swapextra(), swapextra(), lua_State::top, ttisclosure, and ttisfunction.
Referenced by checkupval(), db_errorfb(), db_getinfo(), db_getinfo(), db_getinfo(), db_getinfo(), getfunc(), hookf(), hookf(), hookf(), hookf(), luaL_argerror(), luaL_argerror(), luaL_traceback(), luaL_where(), pushglobalfuncname(), pushglobalfuncname(), pushglobalfuncname(), and setfenv().
Definition at line 796 of file lua-5.4.3/src/lapi.c.
References api_check, api_incr_top, index2value(), lua_lock, LUA_TNONE, lua_unlock, s2v, setnilvalue, setobj2s, lua_State::top, ttisfulluserdata, ttype, and uvalue.
Referenced by db_getuservalue().
Definition at line 127 of file lua-5.1.5/src/ldebug.c.
References api_incr_top, CallInfo::base, lua_State::base_ci, clLvalue, findlocal(), findlocal(), findlocal(), lua_Debug::i_ci, isLfunction, lua_lock, lua_unlock, luaA_pushobject(), luaF_getlocalname(), luaG_findlocal(), name, NULL, s2v, setobj2s, setobjs2s, swapextra(), swapextra(), and lua_State::top.
Referenced by db_getlocal(), db_getlocal(), db_getlocal(), and db_getlocal().
Definition at line 587 of file lua-5.1.5/src/lapi.c.
References api_incr_top, G, hvalue, index2addr(), index2addr(), index2adr(), index2value(), lua_lock, LUA_TTABLE, LUA_TUSERDATA, lua_unlock, Table::metatable, NULL, sethvalue, sethvalue2s, lua_State::top, ttnov, ttype, ttypenv, and uvalue.
Referenced by checktab(), checktab(), db_getmetatable(), db_getmetatable(), db_getmetatable(), db_getmetatable(), io_type(), ll_seeall(), luaB_getmetatable(), luaB_getmetatable(), luaB_getmetatable(), luaB_getmetatable(), luaB_newproxy(), luaL_checkudata(), luaL_getmetafield(), and luaL_testudata().
Definition at line 84 of file lua-5.1.5/src/ldebug.c.
References lua_State::base_ci, cast_int, lua_State::ci, f_isLua, lua_Debug::i_ci, lua_lock, lua_unlock, CallInfo::previous, and CallInfo::tailcalls.
Referenced by auxstatus(), costatus(), countlevels(), db_errorfb(), db_getinfo(), db_getinfo(), db_getinfo(), db_getinfo(), db_getlocal(), db_getlocal(), db_getlocal(), db_getlocal(), db_setlocal(), db_setlocal(), db_setlocal(), db_setlocal(), getfunc(), lastlevel(), lastlevel(), luaB_costatus(), luaB_costatus(), luaL_argerror(), luaL_argerror(), luaL_traceback(), luaL_where(), and setfenv().
Definition at line 534 of file lua-5.1.5/src/lapi.c.
References api_checkvalidindex, index2addr(), index2addr(), index2adr(), index2value(), lua_lock, lua_unlock, luaH_get(), luaV_fastget, luaV_finishget(), luaV_gettable, s2v, setobj2s, lua_State::top, ttnov, and ttype.
Referenced by add_value(), add_value(), add_value(), add_value(), dbvm_bind_names(), ll_register(), and Xml_pushDecode().
Definition at line 159 of file lua-5.1.5/src/lapi.c.
References lua_State::base, cast_int, lua_State::ci, CallInfo::func, and lua_State::top.
Referenced by andaux(), aux_lines(), aux_lines(), aux_lines(), auxresume(), auxresume(), auxresume(), auxstatus(), b_or(), b_xor(), cleanupdb(), costatus(), db_busy_callback(), db_busy_handler(), db_commit_hook(), db_commit_hook_callback(), db_errorfb(), db_exec_callback(), db_progress_callback(), db_progress_handler(), db_rollback_hook(), db_rollback_hook_callback(), db_sql_finalize_function(), db_sql_normal_function(), db_trace(), db_trace_callback(), db_update_hook(), db_update_hook_callback(), dbvm_bind_values(), do_gsub(), docall(), docall(), docall(), docall(), dofilecont(), dofilecont(), dofilecont(), dotty(), dotty(), file_utime(), finishpcall(), finishpcall(), finishpcall(), g_read(), g_read(), g_read(), g_read(), g_write(), g_write(), g_write(), g_write(), io_lines(), l_print(), l_print(), ll_module(), loadline(), loadline(), luaB_assert(), luaB_assert(), luaB_assert(), luaB_assert(), luaB_auxwrap(), luaB_auxwrap(), luaB_auxwrap(), luaB_auxwrap(), luaB_coresume(), luaB_coresume(), luaB_coresume(), luaB_coresume(), luaB_costatus(), luaB_costatus(), luaB_dofile(), luaB_pcall(), luaB_pcall(), luaB_pcall(), luaB_pcall(), luaB_print(), luaB_print(), luaB_print(), luaB_print(), luaB_select(), luaB_select(), luaB_select(), luaB_select(), luaB_warn(), luaB_xpcall(), luaB_xpcall(), luaB_xpcall(), luaB_xpcall(), luaB_yield(), luaB_yield(), luaB_yield(), luaB_yield(), luaL_loadfile(), luaL_loadfilex(), luaL_traceback(), make_xml_object(), math_max(), math_max(), math_max(), math_max(), math_min(), math_min(), math_min(), math_min(), math_random(), math_random(), math_random(), math_random(), pack(), pack(), print(), pushglobalfuncname(), pushglobalfuncname(), pushglobalfuncname(), str_char(), str_char(), str_char(), str_char(), str_format(), str_format(), str_format(), str_format(), tinsert(), tinsert(), tinsert(), tinsert(), tpack(), utfchar(), utfchar(), Xml_eval(), and Xml_pushEncode().
Definition at line 1057 of file lua-5.1.5/src/lapi.c.
References api_incr_top, aux_upvalue(), aux_upvalue(), aux_upvalue(), aux_upvalue(), index2addr(), index2addr(), index2adr(), index2value(), lua_lock, lua_unlock, name, NULL, setobj2s, and lua_State::top.
Referenced by auxupvalue(), auxupvalue(), auxupvalue(), auxupvalue(), and checkupval().
Definition at line 254 of file lua-5.1.5/src/lapi.c.
References index2addr(), index2addr(), index2adr(), index2value(), iscfunction, ttisCclosure, and ttislcf.
Referenced by auxupvalue(), db_upvaluejoin(), db_upvaluejoin(), db_upvaluejoin(), luaB_cocreate(), luaB_getfenv(), luaB_setfenv(), and setfenv().
Definition at line 270 of file lua-5.3.6/src/lapi.c.
References index2addr(), index2value(), and ttisinteger.
Referenced by addliteral(), addliteral(), db_exec_callback(), dbvm_bind_index(), g_write(), g_write(), lcontext_result(), luaL_ref(), luaL_tolstring(), luaL_unref(), math_abs(), math_abs(), math_ceil(), math_ceil(), math_floor(), math_floor(), math_fmod(), math_fmod(), math_modf(), math_modf(), math_type(), and math_type().
Definition at line 260 of file lua-5.1.5/src/lapi.c.
References index2addr(), index2addr(), index2adr(), index2value(), and tonumber.
Referenced by b_unpack(), db_errorfb(), db_exec_callback(), db_getinfo(), db_getinfo(), getfield(), interror(), interror(), luaB_setfenv(), luaB_tonumber(), luaL_checkinteger(), and luaL_checknumber().
Definition at line 267 of file lua-5.1.5/src/lapi.c.
References cvt2str, index2addr(), index2value(), LUA_TNUMBER, LUA_TSTRING, lua_type(), and ttisstring.
Referenced by _file_info_(), add_value(), add_value(), add_value(), add_value(), addfield(), addfield(), addfield(), addfield(), db_errorfb(), findloader(), findloader(), findloader(), generic_reader(), generic_reader(), generic_reader(), generic_reader(), link_info(), ll_require(), luaB_auxwrap(), luaB_auxwrap(), luaB_error(), luaB_error(), luaL_tolstring(), print(), and traceback().
Definition at line 273 of file lua-5.1.5/src/lapi.c.
References index2addr(), index2addr(), index2adr(), index2value(), ttisfulluserdata, ttislightuserdata, and ttisuserdata.
Referenced by Xml_eval().
Definition at line 687 of file lua-5.3.6/src/ldo.c.
References lua_State::nny, and yieldable.
Referenced by luaB_yieldable(), and luaB_yieldable().
Definition at line 1147 of file lua-5.2.4/src/lapi.c.
References api_incr_top, index2addr(), index2addr(), index2value(), lua_lock, lua_unlock, luaV_objlen(), and lua_State::top.
Referenced by luaL_len().
LUA_API int lua_load | ( | lua_State * | L, |
lua_Reader | reader, | ||
void * | dt, | ||
const char * | chunkname, | ||
const char * | mode ) |
Definition at line 973 of file lua-5.2.4/src/lapi.c.
References clLvalue, G, getGtable, gt, hvalue, lua_lock, LUA_OK, LUA_RIDX_GLOBALS, lua_unlock, luaC_barrier, luaC_upvalbarrier, luaD_protectedparser(), luaH_getint(), luaZ_init(), reader(), s2v, setobj, lua_State::top, LClosure::upvals, and UpVal::v.
Definition at line 143 of file lua-5.1.5/src/lstate.c.
References global_State::allgc, global_State::allweak, bit2mask, bitmask, global_State::buff, cast, close_state(), close_state(), close_state(), close_state(), global_State::currentwhite, global_State::ephemeron, f_luaopen(), f_luaopen(), f_luaopen(), f_luaopen(), global_State::finobj, global_State::finobjold1, global_State::finobjrold, global_State::finobjsur, global_State::firstold1, FIXEDBIT, global_State::fixedgc, global_State::frealloc, LG::g, global_State::GCdebt, global_State::gcdept, global_State::gcemergency, global_State::GCestimate, global_State::gcfinnum, global_State::gckind, global_State::gcmajorinc, global_State::gcpause, global_State::gcrunning, GCSpause, global_State::gcstate, global_State::gcstepmul, global_State::gcstepsize, global_State::gcstopem, global_State::GCthreshold, global_State::genmajormul, global_State::genminormul, global_State::gray, global_State::grayagain, stringtable::hash, incnny, KGC_INC, KGC_NORMAL, UpVal::l, LG::l, global_State::l_registry, global_State::lastatomic, LUA_NUMTAGS, LUA_OK, LUA_TTHREAD, LUA_VTHREAD, luaC_white, luaD_rawrunprotected(), LUAI_GCMAJOR, LUAI_GCMUL, LUAI_GCPAUSE, LUAI_GCSTEPSIZE, LUAI_GENMAJORMUL, LUAI_GENMINORMUL, luai_makeseed, luai_userstateopen, luaZ_initbuffer, global_State::mainthread, makeseed(), makeseed(), global_State::mt, UpVal::next, global_State::nilvalue, NULL, NUM_TAGS, stringtable::nuse, obj2gco, global_State::old1, global_State::panic, preinit_state(), preinit_state(), preinit_thread(), preinit_thread(), UpVal::prev, global_State::reallyold, registry, global_State::rootgc, global_State::seed, set2bits, setgcparam, setivalue, setnilvalue, SFIXEDBIT, stringtable::size, state_size, global_State::strt, global_State::survival, global_State::sweepfin, global_State::sweepgc, global_State::sweepstrgc, global_State::tmudata, global_State::tobefnz, tostate, global_State::totalbytes, global_State::twups, UpVal::u, global_State::ud, global_State::ud_warn, global_State::uvhead, global_State::version, global_State::warnf, global_State::weak, and WHITE0BIT.
Referenced by luai_makeseed(), luaL_newstate(), makeseed(), and makeseed().
Definition at line 140 of file lua-5.1.5/src/lapi.c.
References global_State::allgc, api_incr_top, lua_State::basehookcount, cast, G, lua_State::hook, lua_State::hookmask, LUA_EXTRASPACE, lua_getextraspace, lua_lock, LUA_TTHREAD, lua_unlock, LUA_VTHREAD, luaC_checkGC, luaC_newobj(), luaC_white, luaE_newthread(), luai_userstatethread, luaM_newobject, global_State::mainthread, NULL, obj2gco, offsetof, preinit_state(), preinit_thread(), preinit_thread(), resethookcount, setthvalue, setthvalue2s, stack_init(), stack_init(), stack_init(), GCObject::th, and lua_State::top.
Referenced by luaB_cocreate(), luaB_cocreate(), luaB_cocreate(), and luaB_cocreate().
Definition at line 1335 of file lua-5.4.3/src/lapi.c.
References api_check, api_incr_top, getudatamem, lua_lock, lua_unlock, luaC_checkGC, luaS_newudata(), s2v, setuvalue, and lua_State::top.
Referenced by gmatch(), newbox(), newprefile(), and setrandfunc().
Definition at line 973 of file lua-5.1.5/src/lapi.c.
References api_check, api_checknelems, api_incr_top, gettable(), hvalue, index2addr(), index2addr(), index2adr(), lua_lock, lua_unlock, luaH_next(), lua_State::top, and ttistable.
Referenced by cleanupdb(), db_close_vm(), findfield(), findfield(), findfield(), foreach(), luaB_next(), luaB_next(), luaB_next(), luaB_next(), maxn(), Xml_pushDecode(), Xml_pushEncode(), and Xml_str().
LUA_API int lua_pcallk | ( | lua_State * | L, |
int | nargs, | ||
int | nresults, | ||
int | errfunc, | ||
lua_KContext | ctx, | ||
lua_KFunction | k ) |
Definition at line 948 of file lua-5.3.6/src/lapi.c.
References adjustresults, lua_State::allowhook, api_check, api_checknelems, api_checkstackindex, CallInfo::c, CallInfo::callstatus, cast_int, checkresults, lua_State::ci, CIST_YPCALL, CallInfo::ctx, lua_State::errfunc, CallInfo::extra, f_call(), f_call(), CallS::func, CallInfo::funcidx, index2addr(), index2stack(), isLua, CallInfo::k, lua_lock, LUA_OK, lua_unlock, luaD_call(), luaD_pcall(), lua_State::nny, CallS::nresults, NULL, CallInfo::old_errfunc, s2v, savestack, setoah, lua_State::status, lua_State::top, ttisfunction, CallInfo::u, CallInfo::u2, and yieldable.
Definition at line 503 of file lua-5.1.5/src/lapi.c.
References api_incr_top, lua_lock, lua_unlock, s2v, setbfvalue, setbtvalue, setbvalue, and lua_State::top.
Referenced by aux_lines(), aux_lines(), aux_lines(), aux_lines(), b_test(), change_dir(), db_getuservalue(), db_isopen(), db_load_extension(), db_register_function(), db_setmetatable(), dbvm_isopen(), file_lock(), file_unlock(), find_on_match(), finishpcall(), finishpcall(), finishpcall(), lfs_g_setmode(), ll_loadfunc(), ll_require(), ll_require(), ll_require(), ll_require(), lookforfunc(), lookforfunc(), lsqlite_complete(), luaB_close(), luaB_collectgarbage(), luaB_collectgarbage(), luaB_collectgarbage(), luaB_collectgarbage(), luaB_coresume(), luaB_coresume(), luaB_coresume(), luaB_coresume(), luaB_corunning(), luaB_corunning(), luaB_corunning(), luaB_newproxy(), luaB_pcall(), luaB_pcall(), luaB_pcall(), luaB_rawequal(), luaB_rawequal(), luaB_rawequal(), luaB_rawequal(), luaB_xpcall(), luaB_xpcall(), luaB_xpcall(), luaB_yieldable(), luaB_yieldable(), luaL_execresult(), luaL_fileresult(), luaL_setfuncs(), math_ult(), math_ult(), os_execute(), os_execute(), os_execute(), os_pushresult(), pmain(), pmain(), pmain(), pushresult(), pushresult(), setboolfield(), setboolfield(), setboolfield(), setboolfield(), settabsb(), settabsb(), settabsb(), Xml_find(), and Xml_iterate().
LUA_API void lua_pushcclosure | ( | lua_State * | L, |
lua_CFunction | fn, | ||
int | n ) |
Definition at line 486 of file lua-5.1.5/src/lapi.c.
References api_check, api_checknelems, api_incr_top, Closure::c, CClosure::f, getcurrenv(), iswhite, lua_assert, lua_lock, lua_unlock, luaC_checkGC, luaF_newCclosure(), MAXUPVAL, obj2gco, s2v, setclCvalue, setclvalue, setfvalue, setobj2n, lua_State::top, and CClosure::upvalue.
Referenced by aux_lines(), aux_lines(), aux_lines(), aux_lines(), auxopen(), base_open(), createsearcherstable(), createsearcherstable(), createsearcherstable(), gmatch(), gmatch(), gmatch(), gmatch(), luaB_cowrap(), luaB_cowrap(), luaB_cowrap(), luaB_cowrap(), luaI_openlib(), luaL_setfuncs(), and Xml_find().
Definition at line 473 of file lua-5.1.5/src/lapi.c.
References lua_lock, lua_unlock, luaC_checkGC, and luaO_pushvfstring().
Referenced by _file_info_(), addreturn(), addreturn(), auxresume(), change_dir(), checkoption(), checkoption(), checkoption(), controloptions(), db_errorfb(), db_getinfo(), db_getinfo(), db_getinfo(), db_getinfo(), db_last_insert_rowid(), db_tostring(), db_update_hook_callback(), dbvm_last_insert_rowid(), dbvm_tostring(), dotty(), dotty(), errfile(), errfile(), errfile(), errfile(), f_tostring(), f_tostring(), f_tostring(), file_lock(), file_unlock(), fileerror(), findfile(), io_tostring(), l_print(), l_print(), lcontext_tostring(), ll_register(), loader_Croot(), loader_preload(), loadfunc(), loadfunc(), loadfunc(), luaB_tostring(), luaL_checkoption(), luaL_checkoption(), luaL_fileresult(), luaL_loadfile(), luaL_loadfilex(), luaL_tolstring(), luaL_traceback(), luaL_typeerror(), luaL_typerror(), luaL_where(), mkfuncname(), msghandler(), msghandler(), os_pushresult(), pusherror(), pushfuncname(), pushfuncname(), pushfuncname(), pushline(), pushline(), pushline(), pushline(), pushresult(), pushutfchar(), pushutfchar(), searcher_Croot(), searcher_Croot(), searcher_Croot(), searcher_preload(), searcher_preload(), searcher_preload(), searchpath(), searchpath(), setpath(), setpath(), typeerror(), typeerror(), and Xml_str().
LUA_API void lua_pushinteger | ( | lua_State * | L, |
lua_Integer | n ) |
Definition at line 437 of file lua-5.1.5/src/lapi.c.
References api_incr_top, cast_num, lua_lock, lua_unlock, s2v, setivalue, setnvalue, and lua_State::top.
Referenced by _file_info_(), aux_lines(), aux_lines(), aux_lines(), b_size(), b_unpack(), byteoffset(), byteoffset(), cleanupbu(), cleanupvm(), codepoint(), codepoint(), db_busy_callback(), db_changes(), db_close(), db_errcode(), db_exec(), db_exec_callback(), db_gethook(), db_gethook(), db_gethook(), db_gethook(), db_prepare(), db_setcstacklimit(), db_total_changes(), db_update_hook_callback(), dbbu_pagecount(), dbbu_remaining(), dbbu_step(), dbvm_bind(), dbvm_bind_blob(), dbvm_bind_names(), dbvm_bind_parameter_count(), dbvm_bind_values(), dbvm_columns(), dbvm_reset(), dbvm_step(), f_seek(), f_seek(), f_seek(), foreachi(), get_onecapture(), getn(), gmatch(), gmatch(), gmatch_aux(), gmatch_aux(), hookf(), hookf(), hookf(), hookf(), ipairsaux(), ipairsaux(), ipairsaux(), ipairsaux(), iter_aux(), iter_aux(), iter_codes(), iter_codes(), lcontext_aggregate_count(), lsqlite_do_open(), luaB_collectgarbage(), luaB_collectgarbage(), luaB_collectgarbage(), luaB_gcinfo(), luaB_ipairs(), luaB_ipairs(), luaB_ipairs(), luaB_rawlen(), luaB_rawlen(), luaB_rawlen(), luaB_select(), luaB_select(), luaB_select(), luaB_select(), luaB_tonumber(), luaB_tonumber(), luaL_execresult(), luaL_fileresult(), luaL_ref(), luaL_unref(), luaopen_lsqlite3(), luaopen_LuaXML_lib(), luaopen_math(), main(), main(), math_abs(), math_abs(), math_fmod(), math_fmod(), math_frexp(), math_frexp(), math_random(), math_random(), math_toint(), math_toint(), os_execute(), os_pushresult(), pack(), pack(), pairsmeta(), pairsmeta(), push_onecapture(), push_onecapture(), push_onecapture(), push_st_atime(), push_st_blksize(), push_st_blocks(), push_st_ctime(), push_st_dev(), push_st_gid(), push_st_ino(), push_st_mtime(), push_st_nlink(), push_st_rdev(), push_st_size(), push_st_uid(), push_TAG_key(), pusherror(), pushnumint(), pushnumint(), pushresult(), setfield(), setfield(), setfield(), setfield(), setseed(), settabsi(), settabsi(), settabsi(), settabsi(), 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_gsub(), str_len(), str_len(), str_len(), str_len(), str_packsize(), str_packsize(), str_unpack(), str_unpack(), tpack(), traceback(), utflen(), utflen(), Xml_iterate(), and Xml_str().
Definition at line 511 of file lua-5.1.5/src/lapi.c.
References api_incr_top, lua_lock, lua_unlock, s2v, setpvalue, and lua_State::top.
Referenced by addtoclib(), addtoclib(), cleanupbu(), cleanupdb(), cleanupvm(), db_close_vm(), db_get_ptr(), db_gethook(), db_sethook(), db_sql_finalize_function(), db_sql_normal_function(), db_upvalueid(), db_upvalueid(), db_upvalueid(), gethooktable(), hookf(), ll_addtoclib(), ll_require(), lsqlite_backup_init(), luaL_buffinit(), main(), main(), newdb(), newvm(), and Xml_load().
Definition at line 445 of file lua-5.1.5/src/lapi.c.
References api_incr_top, getstr, lua_lock, lua_unlock, luaC_checkGC, luaS_new, luaS_newlstr(), s, setsvalue2s, and lua_State::top.
Referenced by add_value(), add_value(), add_value(), b_unpack(), collwrapper(), db_getinfo(), db_push_value(), emptybuffer(), loader_Croot(), loadfunc(), loadfunc(), loadfunc(), lua_pushstring(), luaL_findtable(), luaL_pushresult(), luaopen_utf8(), modinit(), push_link_target(), push_onecapture(), push_onecapture(), push_onecapture(), push_onecapture(), pushline(), pushline(), pushnexttemplate(), pushnexttemplate(), pushnexttemplate(), searcher_Croot(), searcher_Croot(), searcher_Croot(), str_sub(), str_sub(), str_sub(), str_sub(), str_unpack(), str_unpack(), test_eof(), test_eof(), vm_push_column(), Xml_eval(), Xml_pushDecode(), and XMLencoding_replacement().
Definition at line 421 of file lua-5.1.5/src/lapi.c.
References api_incr_top, lua_lock, lua_unlock, s2v, setnilvalue, and lua_State::top.
Referenced by _file_info_(), b_pack(), byteoffset(), change_dir(), cleanupbu(), cleanupdb(), cleanupvm(), db_close_vm(), db_exec(), db_gethook(), db_getinfo(), db_getinfo(), db_getinfo(), db_getlocal(), db_getlocal(), db_getlocal(), db_getmetatable(), db_getmetatable(), db_getmetatable(), db_getmetatable(), db_getuservalue(), db_getuservalue(), db_prepare(), db_push_value(), db_sql_finalize_function(), dir_iter(), dir_iter_factory(), file_lock(), file_unlock(), findfield(), findfield(), findfield(), foreach(), g_read(), g_read(), g_read(), get_dir(), hookf(), hookf(), hookf(), hookf(), io_lines(), io_lines(), io_lines(), io_noclose(), io_noclose(), io_noclose(), io_type(), io_type(), io_type(), lfs_g_setmode(), lfs_lock_dir(), ll_loadlib(), ll_loadlib(), ll_loadlib(), ll_searchpath(), ll_searchpath(), load_aux(), load_aux(), load_aux(), lsqlite_do_open(), lua_pushstring(), luaB_corunning(), luaB_getmetatable(), luaB_getmetatable(), luaB_getmetatable(), luaB_getmetatable(), luaB_next(), luaB_next(), luaB_next(), luaB_next(), luaB_pairs(), luaB_pairs(), luaB_pcall(), luaB_tonumber(), luaB_tonumber(), luaB_tonumber(), luaL_execresult(), luaL_fileresult(), make_link(), math_toint(), math_type(), maxn(), os_date(), os_date(), os_pushresult(), os_time(), os_time(), pairsmeta(), pairsmeta(), pusherror(), pushresult(), read_number(), read_number(), read_number(), read_number(), str_find_aux(), str_find_aux(), str_find_aux(), str_pack(), str_pack(), tremove(), tremove(), tremove(), tremove(), utflen(), vm_push_column(), Xml_pushDecode(), Xml_pushEncode(), and Xml_str().
LUA_API void lua_pushnumber | ( | lua_State * | L, |
lua_Number | n ) |
Definition at line 429 of file lua-5.1.5/src/lapi.c.
References api_incr_top, lua_lock, lua_unlock, luaG_runerror(), luai_checknum, s2v, setfltvalue, setnvalue, and lua_State::top.
Referenced by b_unpack(), db_push_value(), f_seek(), luaB_collectgarbage(), luaB_collectgarbage(), luaB_collectgarbage(), luaB_collectgarbage(), luaB_tonumber(), luaB_tonumber(), luaL_checkversion_(), luaopen_math(), 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_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_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_random(), math_random(), math_random(), 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(), maxn(), os_clock(), os_clock(), os_clock(), os_clock(), os_difftime(), os_difftime(), os_difftime(), os_difftime(), os_time(), os_time(), pushnumint(), pushnumint(), read_number(), read_number(), str_unpack(), str_unpack(), and vm_push_column().
Definition at line 454 of file lua-5.1.5/src/lapi.c.
References api_incr_top, getstr, lua_lock, lua_pushlstring(), lua_pushnil(), lua_unlock, luaC_checkGC, luaS_new, NULL, s, s2v, setnilvalue, setsvalue2s, and lua_State::top.
Referenced by _file_info_(), auxupvalue(), auxupvalue(), auxupvalue(), auxupvalue(), checkfield(), checkfield(), checkload(), checkload(), checkload(), create_meta(), createargtable(), createargtable(), db_db_filename(), db_do_next_row(), db_do_rows(), db_errmsg(), db_exec_callback(), db_gethook(), db_gethook(), db_gethook(), db_gethook(), db_getlocal(), db_getlocal(), db_getlocal(), db_getlocal(), db_load_extension(), db_prepare(), db_sethook(), db_sethook(), db_setlocal(), db_setlocal(), db_setlocal(), db_setlocal(), db_trace_callback(), db_update_hook_callback(), dbvm_bind_names(), dbvm_bind_parameter_name(), dbvm_get_name(), dbvm_get_named_types(), dbvm_get_named_values(), dbvm_get_names(), dbvm_get_type(), dbvm_get_types(), dbvm_get_unames(), dbvm_get_utypes(), dir_iter(), dolibrary(), dolibrary(), dolibrary(), dolibrary(), findloader(), findloader(), findloader(), finishpcall(), get_dir(), getargs(), getargs(), hookf(), hookf(), hookf(), hookf(), lfs_g_setmode(), lfs_lock_dir(), ll_loadlib(), ll_loadlib(), ll_loadlib(), ll_loadlib(), ll_require(), ll_require(), ll_require(), lsqlite_do_open(), lsqlite_lversion(), lsqlite_temp_directory(), lsqlite_version(), luaB_costatus(), luaB_costatus(), luaB_tostring(), luaB_type(), luaB_type(), luaB_type(), luaB_type(), luaL_execresult(), luaL_fileresult(), luaL_getmetafield(), luaL_newmetatable(), luaL_openlibs(), luaL_requiref(), luaL_tolstring(), luaopen_lsqlite3(), make_link(), math_type(), mg_start2(), modinit(), os_getenv(), os_getenv(), os_getenv(), os_getenv(), os_setlocale(), os_setlocale(), os_setlocale(), os_setlocale(), os_tmpname(), os_tmpname(), os_tmpname(), os_tmpname(), push_st_mode(), push_st_perm(), pusherror(), pushglobalfuncname(), pushglobalfuncname(), pushline(), pushline(), pushmode(), searcher_Croot(), searcher_Croot(), searcher_Croot(), searchpath(), setpath(), setpath(), setpath(), setpath(), settabss(), settabss(), settabss(), settabss(), and Xml_eval().
Definition at line 519 of file lua-5.1.5/src/lapi.c.
References api_incr_top, G, lua_lock, lua_unlock, s2v, setthvalue, and lua_State::top.
Referenced by db_gethook(), db_gethook(), db_gethook(), db_sethook(), db_sethook(), db_sethook(), hookf(), hookf(), hookf(), luaB_corunning(), luaB_corunning(), luaB_corunning(), luaB_corunning(), and luaB_setfenv().
Definition at line 228 of file lua-5.1.5/src/lapi.c.
References api_incr_top, index2addr(), index2addr(), index2adr(), index2value(), lua_lock, lua_unlock, setobj2s, and lua_State::top.
Referenced by add_value(), add_value(), add_value(), add_value(), addtoclib(), addtoclib(), aux_lines(), aux_lines(), aux_lines(), auxsort(), auxsort(), auxsort(), auxsort(), base_open(), checkupval(), create_meta(), createmeta(), createmeta(), createmeta(), createmetatable(), createmetatable(), createmetatable(), createmetatable(), createsearcherstable(), createsearcherstable(), createsearcherstable(), createstdfile(), createstdfile(), createstdfile(), createstdfile(), db_exec_callback(), db_getinfo(), db_getinfo(), db_getinfo(), db_getinfo(), db_getlocal(), db_getlocal(), db_getlocal(), db_getlocal(), db_getregistry(), db_getregistry(), db_getregistry(), db_getregistry(), db_register_function(), db_sethook(), db_sethook(), db_sethook(), db_sethook(), db_sql_finalize_function(), db_sql_normal_function(), db_traceback(), db_traceback(), db_traceback(), dbvm_do_rows(), dir_iter_factory(), dooptions(), f_write(), f_write(), f_write(), finishpcall(), finishpcall(), foreach(), foreachi(), g_iofile(), g_iofile(), g_iofile(), g_iofile(), generic_reader(), generic_reader(), generic_reader(), generic_reader(), getfunc(), gethooktable(), io_lines(), io_readline(), io_readline(), io_readline(), io_readline(), iter_codes(), iter_codes(), ll_addtoclib(), ll_module(), ll_register(), ll_require(), ll_require(), ll_require(), ll_require(), ll_seeall(), load_aux(), load_aux(), load_aux(), lsqlite_backup_init(), luaB_cocreate(), luaB_cocreate(), luaB_cocreate(), luaB_cocreate(), luaB_error(), luaB_error(), luaB_error(), luaB_error(), luaB_getfenv(), luaB_ipairs(), luaB_ipairs(), luaB_ipairs(), luaB_newproxy(), luaB_pairs(), luaB_pairs(), luaB_print(), luaB_print(), luaB_print(), luaB_setfenv(), luaB_tostring(), luaB_xpcall(), luaB_xpcall(), luaB_xpcall(), luaI_openlib(), luaL_callmeta(), luaL_findtable(), luaL_getsubtable(), luaL_newmetatable(), luaL_requiref(), luaL_setfuncs(), luaL_tolstring(), luaopen_base(), luaopen_lfs(), luaopen_lsqlite3(), luaopen_LuaXML_lib(), luaopen_package(), luaopen_struct(), math_max(), math_max(), math_min(), math_min(), modinit(), newvm(), pack(), pairsmeta(), pairsmeta(), setfenv(), setn(), sort_comp(), sort_comp(), sort_comp(), sort_comp(), str_format(), str_gsub(), tmove(), tmove(), tonum(), traceback(), treatstackoption(), treatstackoption(), Xml_append(), Xml_eval(), Xml_find(), Xml_iterate(), Xml_match(), Xml_new(), Xml_pushEncode(), Xml_str(), and Xml_tag().
Definition at line 462 of file lua-5.1.5/src/lapi.c.
References lua_lock, lua_unlock, luaC_checkGC, and luaO_pushvfstring().
Referenced by luaL_error().
Definition at line 279 of file lua-5.1.5/src/lapi.c.
References index2addr(), index2addr(), index2adr(), index2value(), isvalid, luaO_nilobject, luaO_rawequalObj(), and luaV_rawequalobj.
Referenced by findfield(), findfield(), findfield(), io_type(), luaB_rawequal(), luaB_rawequal(), luaB_rawequal(), luaB_rawequal(), luaL_checkudata(), and luaL_testudata().
Definition at line 557 of file lua-5.1.5/src/lapi.c.
References api_check, api_checknelems, finishrawget(), gettable(), hvalue, index2addr(), index2addr(), index2adr(), lua_lock, lua_unlock, luaH_get(), s2v, setobj2s, lua_State::top, ttistable, and ttnov.
Referenced by checkfield(), checkfield(), cleanupdb(), cleanupvm(), db_close_vm(), db_gethook(), db_gethook(), db_gethook(), db_gethook(), db_sql_finalize_function(), db_sql_normal_function(), gethooktable(), hookf(), hookf(), hookf(), hookf(), luaB_newproxy(), luaB_rawget(), luaB_rawget(), luaB_rawget(), luaB_rawget(), luaL_findtable(), luaL_getmetafield(), newvm(), Xml_match(), Xml_str(), and Xml_tag().
LUA_API int lua_rawgeti | ( | lua_State * | L, |
int | idx, | ||
lua_Integer | n ) |
Definition at line 658 of file lua-5.3.6/src/lapi.c.
References api_check, api_incr_top, finishrawget(), gettable(), hvalue, index2addr(), lua_lock, lua_unlock, luaH_getint(), setobj2s, lua_State::top, ttistable, and ttnov.
Definition at line 660 of file lua-5.2.4/src/lapi.c.
References api_check, api_incr_top, cast, cast_voidp, finishrawget(), gettable(), hvalue, index2addr(), index2addr(), lua_lock, lua_unlock, luaH_get(), setobj2s, setpvalue, lua_State::top, ttistable, and ttnov.
Referenced by addtoclib(), checkclib(), db_gethook(), db_sethook(), and hookf().
LUA_API lua_Unsigned lua_rawlen | ( | lua_State * | L, |
int | idx ) |
Definition at line 407 of file lua-5.2.4/src/lapi.c.
References hvalue, index2addr(), index2addr(), index2value(), LUA_TLNGSTR, LUA_TSHRSTR, LUA_TSTRING, LUA_TTABLE, LUA_TUSERDATA, LUA_VLNGSTR, LUA_VSHRSTR, LUA_VTABLE, LUA_VUSERDATA, luaH_getn(), tsvalue, ttype, ttypenv, ttypetag, and uvalue.
Definition at line 671 of file lua-5.1.5/src/lapi.c.
References api_check, api_checknelems, aux_rawset(), gcvalue, hvalue, index2addr(), index2addr(), index2adr(), invalidateTMcache, lua_lock, lua_unlock, luaC_barrierback, luaC_barriert, luaH_set(), s2v, setobj2t, lua_State::top, and ttistable.
Referenced by _file_info_(), cleanupbu(), cleanupdb(), cleanupvm(), create_meta(), db_do_next_row(), db_sethook(), db_sethook(), db_sethook(), db_sethook(), db_sql_finalize_function(), db_sql_normal_function(), dbvm_get_named_types(), dbvm_get_named_values(), gethooktable(), lsqlite_backup_init(), luaB_newproxy(), luaB_rawset(), luaB_rawset(), luaB_rawset(), luaB_rawset(), luaopen_lsqlite3(), luaopen_LuaXML_lib(), mg_start2(), newdb(), newvm(), Xml_eval(), Xml_registerCode(), and Xml_tag().
LUA_API void lua_rawseti | ( | lua_State * | L, |
int | idx, | ||
lua_Integer | n ) |
Definition at line 817 of file lua-5.3.6/src/lapi.c.
References api_check, api_checknelems, gettable(), hvalue, index2addr(), lua_lock, lua_unlock, luaC_barrierback, luaH_setint(), obj2gco, s2v, lua_State::top, and ttistable.
Definition at line 797 of file lua-5.2.4/src/lapi.c.
References api_check, api_checknelems, aux_rawset(), cast, cast_voidp, gcvalue, hvalue, index2addr(), index2addr(), lua_lock, lua_unlock, luaC_barrierback, luaH_set(), setobj2t, setpvalue, lua_State::top, and ttistable.
Referenced by createclibstable(), and db_sethook().
Definition at line 345 of file lua-5.4.3/src/lstate.c.
References lua_lock, lua_unlock, luaE_resetthread(), and lua_State::status.
Referenced by luaB_auxwrap(), and luaB_close().
Definition at line 773 of file lua-5.4.3/src/ldo.c.
References api_checknelems, lua_State::base_ci, cast_byte, cast_int, lua_State::ci, errorstatus, CallInfo::func, getCcalls, lua_assert, lua_lock, LUA_OK, lua_unlock, LUA_YIELD, luaD_rawrunprotected(), luaD_seterrorobj(), luai_userstateresume, lua_State::nCcalls, CallInfo::nyield, precover(), resume(), resume_error(), lua_longjmp::status, lua_State::status, CallInfo::top, lua_State::top, and CallInfo::u2.
Definition at line 207 of file lua-5.3.6/src/lapi.c.
References api_check, api_checkstackindex, index2addr(), index2stack(), lua_lock, lua_unlock, reverse(), reverse(), and lua_State::top.
Referenced by aux_lines(), aux_lines(), db_getlocal(), db_getlocal(), ll_require(), luaB_xpcall(), luaB_xpcall(), treatstackoption(), and treatstackoption().
Definition at line 1017 of file lua-5.1.5/src/lapi.c.
References G, lua_lock, lua_unlock, and CCallS::ud.
Definition at line 99 of file lua-5.4.3/src/lstate.c.
References LUAI_MAXCCALLS, and UNUSED.
Referenced by db_setcstacklimit().
Definition at line 657 of file lua-5.1.5/src/lapi.c.
References api_checknelems, api_checkvalidindex, auxsetstr(), auxsetstr(), index2addr(), index2addr(), index2adr(), index2value(), lua_lock, lua_unlock, luaS_new, luaV_settable, setsvalue, setsvalue2s, and lua_State::top.
Referenced by addtoclib(), addtoclib(), auxopen(), base_open(), createclibstable(), createclibstable(), createmeta(), createmeta(), createmeta(), createmeta(), createmetatable(), createmetatable(), createmetatable(), createmetatable(), createsearcherstable(), createsearcherstable(), createstdfile(), createstdfile(), createstdfile(), createstdfile(), db_getinfo(), db_sethook(), db_sethook(), db_sethook(), dir_create_meta(), g_iofile(), g_iofile(), g_iofile(), link_info(), ll_addtoclib(), ll_module(), ll_require(), ll_require(), ll_require(), ll_require(), ll_seeall(), lock_create_meta(), luaI_openlib(), luaL_getsubtable(), luaL_newmetatable(), luaL_openlibs(), luaL_requiref(), luaL_setfuncs(), luaopen_base(), luaopen_LuaXML_lib(), luaopen_math(), luaopen_package(), luaopen_string(), luaopen_utf8(), modinit(), newbox(), newfenv(), pack(), pack(), pmain(), pmain(), pmain(), set_info(), setboolfield(), setboolfield(), setboolfield(), setboolfield(), setfield(), setfield(), setfield(), setfield(), setpath(), setpath(), setpath(), setpath(), settabsb(), settabsb(), settabsb(), settabsi(), settabsi(), settabsi(), settabsi(), settabss(), settabss(), settabss(), settabss(), tpack(), treatstackoption(), treatstackoption(), treatstackoption(), and treatstackoption().
Definition at line 734 of file lua-5.2.4/src/lapi.c.
References api_checknelems, auxsetstr(), auxsetstr(), G, getGtable, gt, hvalue, lua_lock, LUA_RIDX_GLOBALS, lua_unlock, luaH_getint(), luaS_new, luaV_settable, name, setsvalue2s, and lua_State::top.
Definition at line 56 of file lua-5.1.5/src/ldebug.c.
References lua_State::basehookcount, cast_byte, lua_State::ci, lua_State::hook, lua_State::hookmask, isLua, CallInfo::l, mask, NULL, lua_State::oldpc, resethookcount, CallInfo::savedpc, settraps(), and CallInfo::u.
Referenced by db_sethook(), db_sethook(), db_sethook(), db_sethook(), laction(), laction(), laction(), laction(), lstop(), lstop(), lstop(), and lstop().
LUA_API void lua_seti | ( | lua_State * | L, |
int | idx, | ||
lua_Integer | n ) |
Definition at line 783 of file lua-5.3.6/src/lapi.c.
References api_checknelems, api_incr_top, index2addr(), index2value(), lua_lock, lua_unlock, luaH_getint(), luaV_fastgeti, luaV_fastset, luaV_finishfastset, luaV_finishset(), s2v, setivalue, and lua_State::top.
Referenced by pack(), set2(), set2(), tinsert(), tinsert(), tmove(), tmove(), tpack(), tremove(), and tremove().
Definition at line 967 of file lua-5.4.3/src/lapi.c.
References api_check, api_checknelems, cast_uint, gcvalue, index2value(), lua_lock, lua_unlock, luaC_barrierback, s2v, setobj, lua_State::top, ttisfulluserdata, and uvalue.
Referenced by db_setuservalue().
Definition at line 138 of file lua-5.1.5/src/ldebug.c.
References CallInfo::base, lua_State::base_ci, findlocal(), findlocal(), findlocal(), lua_Debug::i_ci, lua_lock, lua_unlock, luaG_findlocal(), name, NULL, setobjs2s, swapextra(), swapextra(), and lua_State::top.
Referenced by db_setlocal(), db_setlocal(), db_setlocal(), and db_setlocal().
Definition at line 697 of file lua-5.1.5/src/lapi.c.
References api_check, api_checknelems, api_checkvalidindex, G, gcvalue, hvalue, index2addr(), index2addr(), index2adr(), index2value(), lua_lock, LUA_TTABLE, LUA_TUSERDATA, lua_unlock, luaC_checkfinalizer(), luaC_objbarrier, luaC_objbarrierback, luaC_objbarriert, NULL, rawuvalue, s2v, lua_State::top, ttisnil, ttistable, ttnov, ttype, ttypenv, and uvalue.
Referenced by base_open(), createclibstable(), createclibstable(), createmetatable(), createmetatable(), createmetatable(), createmetatable(), db_sethook(), db_sethook(), db_sethook(), db_setmetatable(), db_setmetatable(), db_setmetatable(), db_setmetatable(), dir_iter_factory(), lfs_lock_dir(), ll_register(), ll_seeall(), lsqlite_backup_init(), lsqlite_make_context(), luaB_newproxy(), luaB_setmetatable(), luaB_setmetatable(), luaB_setmetatable(), luaB_setmetatable(), luaL_setmetatable(), luaopen_lsqlite3(), luaopen_package(), make_xml_object(), newbox(), newbox(), newdb(), newfile(), and newvm().
Definition at line 645 of file lua-5.1.5/src/lapi.c.
References api_checknelems, api_checkvalidindex, index2addr(), index2addr(), index2adr(), index2value(), lua_lock, lua_unlock, luaH_get(), luaV_fastget, luaV_finishfastset, luaV_finishset(), luaV_settable, s2v, and lua_State::top.
Referenced by ll_register(), and luaL_findtable().
Definition at line 164 of file lua-5.1.5/src/lapi.c.
References api_check, lua_State::base, lua_State::ci, CLOSEKTOP, CallInfo::func, hastocloseCfunc, lua_assert, lua_lock, lua_unlock, luaF_close(), CallInfo::nresults, s2v, setnilvalue, lua_State::tbclist, and lua_State::top.
Referenced by _file_info_(), cleanupdb(), db_busy_callback(), db_busy_handler(), db_commit_hook(), db_commit_hook_callback(), db_create_collation(), db_debug(), db_debug(), db_debug(), db_debug(), db_do_rows(), db_exec(), db_exec_callback(), db_prepare(), db_progress_callback(), db_progress_handler(), db_register_function(), db_rollback_hook(), db_rollback_hook_callback(), db_setfenv(), db_sethook(), db_sethook(), db_sethook(), db_sethook(), db_setlocal(), db_setlocal(), db_setlocal(), db_setlocal(), db_setmetatable(), db_setmetatable(), db_setmetatable(), db_setmetatable(), db_setuservalue(), db_setuservalue(), db_setuservalue(), db_sql_finalize_function(), db_sql_normal_function(), db_trace(), db_trace_callback(), db_update_hook(), db_update_hook_callback(), doREPL(), doREPL(), dotty(), dotty(), find_on_match(), finishpcall(), gmatch(), gmatch(), gmatch(), gmatch(), io_readline(), io_readline(), io_readline(), io_readline(), lcontext_set_aggregate_context(), ll_require(), ll_require(), ll_require(), ll_require(), loadline(), loadline(), loadline(), loadline(), luaB_assert(), luaB_assert(), luaB_dofile(), luaB_dofile(), luaB_dofile(), luaB_error(), luaB_error(), luaB_error(), luaB_error(), luaB_load(), luaB_load(), luaB_load(), luaB_load(), luaB_newproxy(), luaB_next(), luaB_next(), luaB_next(), luaB_next(), luaB_rawget(), luaB_rawget(), luaB_rawget(), luaB_rawget(), luaB_rawset(), luaB_rawset(), luaB_rawset(), luaB_rawset(), luaB_setmetatable(), luaB_setmetatable(), luaB_setmetatable(), luaB_setmetatable(), luaB_tonumber(), luaB_tonumber(), luaB_xpcall(), luaL_loadfile(), luaL_loadfilex(), math_ceil(), math_ceil(), math_floor(), math_floor(), math_modf(), math_modf(), os_time(), os_time(), os_time(), os_time(), pushglobalfuncname(), pushglobalfuncname(), pushglobalfuncname(), sort(), sort(), sort(), sort(), str_dump(), str_dump(), str_dump(), str_dump(), trymt(), Xml_append(), Xml_eval(), Xml_find(), Xml_iterate(), Xml_match(), Xml_new(), Xml_registerCode(), Xml_str(), and Xml_tag().
Definition at line 1071 of file lua-5.1.5/src/lapi.c.
References api_checknelems, aux_upvalue(), aux_upvalue(), aux_upvalue(), aux_upvalue(), clvalue, index2addr(), index2addr(), index2adr(), index2value(), lua_lock, lua_unlock, luaC_barrier, luaC_upvalbarrier, name, NULL, owner, s2v, setobj, and lua_State::top.
Referenced by auxupvalue(), auxupvalue(), auxupvalue(), auxupvalue(), load_aux(), load_aux(), and load_aux().
LUA_API void lua_setwarnf | ( | lua_State * | L, |
lua_WarnFunction | f, | ||
void * | ud ) |
Definition at line 1319 of file lua-5.4.3/src/lapi.c.
References G, lua_lock, and lua_unlock.
Referenced by checkcontrol(), luaL_newstate(), and warnfcont().
Definition at line 890 of file lua-5.1.5/src/lapi.c.
References lua_State::status.
Referenced by auxresume(), auxresume(), auxstatus(), costatus(), luaB_auxwrap(), luaB_costatus(), and luaB_costatus().
Definition at line 337 of file lua-5.3.6/src/lapi.c.
References api_incr_top, luaO_str2num(), s, s2v, and lua_State::top.
Referenced by luaB_tonumber(), luaB_tonumber(), read_number(), read_number(), and tonum().
Definition at line 337 of file lua-5.1.5/src/lapi.c.
References index2addr(), index2addr(), index2adr(), index2value(), and l_isfalse.
Referenced by add_value(), add_value(), add_value(), add_value(), codepoint(), db_busy_callback(), db_close_vm(), db_commit_hook_callback(), db_progress_callback(), dbvm_bind_index(), getboolfield(), getboolfield(), getboolfield(), getboolfield(), io_readline(), io_readline(), io_readline(), io_readline(), iter_codes(), ll_require(), ll_require(), ll_require(), ll_require(), log_access(), luaB_assert(), luaB_assert(), luaB_assert(), luaB_assert(), luaB_newproxy(), luaB_tostring(), luaL_requiref(), luaL_tolstring(), main(), make_link(), noenv(), noenv(), noenv(), os_exit(), os_exit(), os_exit(), print(), sort_comp(), sort_comp(), sort_comp(), sort_comp(), str_dump(), str_dump(), str_find_aux(), str_find_aux(), str_find_aux(), str_find_aux(), utflen(), and Xml_iterate().
LUA_API lua_CFunction lua_tocfunction | ( | lua_State * | L, |
int | idx ) |
Definition at line 379 of file lua-5.1.5/src/lapi.c.
References clCvalue, clvalue, fvalue, index2addr(), index2addr(), index2adr(), index2value(), iscfunction, NULL, ttisCclosure, and ttislcf.
Referenced by aux_close().
Definition at line 1262 of file lua-5.4.3/src/lapi.c.
References api_check, lua_State::ci, codeNresults, hastocloseCfunc, index2stack(), lua_assert, lua_lock, lua_unlock, luaF_newtbcupval(), CallS::nresults, CallInfo::nresults, and lua_State::tbclist.
Referenced by prepbuffsize().
LUA_API lua_Integer lua_tointegerx | ( | lua_State * | L, |
int | idx, | ||
int * | isnum ) |
Definition at line 349 of file lua-5.2.4/src/lapi.c.
References index2addr(), index2addr(), index2value(), lua_number2integer, nvalue, tointeger, and tonumber.
Referenced by getfield(), getfield(), getfield(), luaL_checkinteger(), luaL_checkinteger(), luaL_len(), math_toint(), and math_toint().
Definition at line 343 of file lua-5.1.5/src/lapi.c.
References cvt2str, index2addr(), index2addr(), index2adr(), index2value(), lua_lock, lua_unlock, luaC_checkGC, luaO_tostring(), luaV_tostring(), NULL, svalue, tsvalue, ttisstring, and vslen.
Referenced by add_s(), add_s(), add_s(), add_s(), addliteral(), addliteral(), generic_reader(), generic_reader(), generic_reader(), generic_reader(), gmatch_aux(), gmatch_aux(), incomplete(), incomplete(), incomplete(), incomplete(), loadline(), log_access(), luaB_load(), luaB_load(), luaB_load(), luaB_print(), luaB_print(), luaB_tonumber(), luaB_tonumber(), luaL_addvalue(), luaL_checklstring(), luaL_checklstring(), luaL_tolstring(), multiline(), multiline(), and tonum().
LUA_API lua_Number lua_tonumberx | ( | lua_State * | L, |
int | idx, | ||
int * | isnum ) |
Definition at line 335 of file lua-5.2.4/src/lapi.c.
References index2addr(), index2addr(), index2value(), nvalue, and tonumber.
Referenced by luaB_tonumber(), luaL_checknumber(), and luaL_checknumber().
Definition at line 401 of file lua-5.1.5/src/lapi.c.
References cast, cast_sizet, cast_voidp, clCvalue, clLvalue, clvalue, fvalue, gcvalue, getudatamem, hvalue, index2addr(), index2addr(), index2adr(), index2value(), iscollectable, LUA_TCCL, LUA_TFUNCTION, LUA_TLCF, LUA_TLCL, LUA_TLIGHTUSERDATA, lua_touserdata(), LUA_TTABLE, LUA_TTHREAD, LUA_TUSERDATA, LUA_VLCF, LUA_VLIGHTUSERDATA, LUA_VUSERDATA, NULL, pvalue, thvalue, touserdata(), ttype, ttypetag, and uvalue.
Referenced by luaB_tostring(), luaL_tolstring(), print(), and str_format().
Definition at line 395 of file lua-5.1.5/src/lapi.c.
References index2addr(), index2addr(), index2adr(), index2value(), NULL, thvalue, and ttisthread.
Referenced by getco(), getco(), getthread(), getthread(), getthread(), getthread(), luaB_auxwrap(), luaB_auxwrap(), luaB_auxwrap(), luaB_auxwrap(), luaB_coresume(), luaB_coresume(), luaB_costatus(), and luaB_costatus().
Definition at line 385 of file lua-5.1.5/src/lapi.c.
References getudatamem, index2addr(), index2addr(), index2adr(), index2value(), LUA_TLIGHTUSERDATA, LUA_TUSERDATA, NULL, pvalue, rawuvalue, touserdata(), ttnov, ttype, ttypenv, and uvalue.
Referenced by checkclib(), checkclib(), cleanupdb(), db_close_vm(), db_tostring(), dir_close(), gctm(), gctm(), gctm(), getiofile(), getiofile(), getiofile(), getiofile(), gmatch_aux(), gmatch_aux(), io_readline(), io_readline(), io_readline(), io_readline(), io_type(), ll_checkclib(), ll_register(), ll_require(), lsqlite_open_ptr(), lua_topointer(), luaL_checkudata(), luaL_testudata(), math_random(), math_randomseed(), pmain(), pmain(), pmain(), pmain(), pmain(), pmain(), pmain(), pmain(), resizebox(), resizebox(), and Xml_eval().
Definition at line 242 of file lua-5.1.5/src/lapi.c.
References index2addr(), index2addr(), index2adr(), index2value(), isvalid, LUA_TNONE, luaO_nilobject, ttnov, ttype, and ttypenv.
Referenced by add_value(), addliteral(), addliteral(), checktab(), checktab(), db_getuservalue(), db_getuservalue(), db_getuservalue(), db_setmetatable(), db_setmetatable(), db_setmetatable(), db_setmetatable(), db_setuservalue(), dbvm_bind_index(), finalreport(), findfield(), findfield(), findfield(), g_read(), g_read(), g_read(), g_read(), g_write(), g_write(), g_write(), g_write(), lcontext_result(), link_info(), log_access(), lua_isstring(), luaB_auxwrap(), luaB_auxwrap(), luaB_error(), luaB_error(), luaB_rawlen(), luaB_rawlen(), luaB_rawlen(), luaB_select(), luaB_select(), luaB_select(), luaB_select(), luaB_setmetatable(), luaB_setmetatable(), luaB_setmetatable(), luaB_setmetatable(), luaB_tonumber(), luaB_tonumber(), luaB_tostring(), luaB_type(), luaB_type(), luaL_checkany(), luaL_checkany(), luaL_checktype(), luaL_checktype(), luaL_tolstring(), luaL_typeerror(), master_thread_run(), math_type(), math_type(), maxn(), msghandler(), msghandler(), str_gsub(), str_gsub(), str_gsub(), str_gsub(), tonum(), trymt(), typeerror(), Xml_append(), Xml_iterate(), Xml_match(), Xml_new(), Xml_pushEncode(), Xml_str(), and Xml_tag().
Definition at line 248 of file lua-5.1.5/src/lapi.c.
References api_check, LUA_NUMTAGS, LUA_NUMTYPES, LUA_TNONE, luaT_typenames, ttypename, and UNUSED.
Referenced by dbvm_bind_index(), lcontext_result(), luaB_type(), luaB_type(), tag_error(), tag_error(), tag_error(), tag_error(), and Xml_str().
Definition at line 1257 of file lua-5.2.4/src/lapi.c.
References api_check, clCvalue, getupvalref(), getupvalref(), getupvalref(), index2addr(), index2addr(), index2value(), LUA_TCCL, LUA_TLCL, LUA_VCCL, LUA_VLCF, LUA_VLCL, NULL, ttype, ttypetag, and CClosure::upvalue.
Referenced by checkupval(), db_upvalueid(), and db_upvalueid().
Definition at line 1276 of file lua-5.2.4/src/lapi.c.
References api_check, getupvalref(), getupvalref(), getupvalref(), luaC_objbarrier, luaC_upvalbarrier, luaC_upvdeccount(), NULL, UpVal::refcount, and upisopen.
Referenced by db_upvaluejoin(), db_upvaluejoin(), and db_upvaluejoin().
LUA_API lua_Number lua_version | ( | lua_State * | L | ) |
Definition at line 137 of file lua-5.2.4/src/lapi.c.
References G, LUA_VERSION_NUM, NULL, and UNUSED.
Referenced by f_luaopen(), f_luaopen(), luaL_checkversion_(), and luaL_checkversion_().
Definition at line 1327 of file lua-5.4.3/src/lapi.c.
References lua_lock, lua_unlock, and luaE_warning().
Referenced by luaB_warn(), and runargs().
Definition at line 110 of file lua-5.1.5/src/lapi.c.
References api_check, api_checknelems, lua_State::ci, G, lua_lock, lua_unlock, setobj2s, setobjs2s, CallInfo::top, and lua_State::top.
Referenced by auxresume(), auxresume(), auxresume(), auxresume(), db_gethook(), db_gethook(), db_gethook(), db_getinfo(), db_getinfo(), db_getinfo(), db_getinfo(), db_getlocal(), db_getlocal(), db_getlocal(), db_getlocal(), db_sethook(), db_sethook(), db_sethook(), db_setlocal(), db_setlocal(), db_setlocal(), db_setlocal(), luaB_auxwrap(), luaB_close(), luaB_cocreate(), luaB_cocreate(), luaB_cocreate(), luaB_cocreate(), treatstackoption(), treatstackoption(), treatstackoption(), and treatstackoption().
LUA_API int lua_yieldk | ( | lua_State * | L, |
int | nresults, | ||
lua_KContext | ctx, | ||
lua_KFunction | k ) |
Definition at line 692 of file lua-5.3.6/src/ldo.c.
References api_check, api_checknelems, CallInfo::c, CallInfo::callstatus, lua_State::ci, CIST_HOOKED, CallInfo::ctx, CallInfo::extra, CallInfo::func, G, isLua, isLuacode, CallInfo::k, lua_assert, lua_lock, lua_unlock, LUA_YIELD, luaD_throw(), luaG_runerror(), luai_userstateyield, lua_State::nny, NULL, CallInfo::nyield, savestack, lua_State::status, lua_State::top, CallInfo::u, CallInfo::u2, and yieldable.
|
extern |
Definition at line 34 of file lua-5.1.5/src/lapi.c.