Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include <assert.h>
#include <math.h>
#include <stdarg.h>
#include <string.h>
#include "lua.h"
#include "lapi.h"
#include "ldebug.h"
#include "ldo.h"
#include "lfunc.h"
#include "lgc.h"
#include "lmem.h"
#include "lobject.h"
#include "lstate.h"
#include "lstring.h"
#include "ltable.h"
#include "ltm.h"
#include "lundump.h"
#include "lvm.h"
Go to the source code of this file.
Data Structures | |
struct | CallS |
struct | CCallS |
Macros | |
#define | lapi_c |
#define | LUA_CORE |
#define | api_checknelems(L, n) api_check(L, (n) <= (L->top - L->base)) |
#define | api_checkvalidindex(L, i) api_check(L, (i) != luaO_nilobject) |
#define | api_incr_top(L) {api_check(L, L->top < L->ci->top); L->top++;} |
#define | adjustresults(L, nres) { if (nres == LUA_MULTRET && L->top >= L->ci->top) L->ci->top = L->top; } |
#define | checkresults(L, na, nr) api_check(L, (nr) == LUA_MULTRET || (L->ci->top - L->top >= (nr) - (na))) |
Variables | |
const char | lua_ident [] |
#define adjustresults | ( | L, | |
nres ) { if (nres == LUA_MULTRET && L->top >= L->ci->top) L->ci->top = L->top; } |
Definition at line 768 of file lua-5.1.5/src/lapi.c.
Referenced by finishCcall(), finishCcall(), finishCcall(), lua_call(), lua_callk(), lua_callk(), lua_pcall(), lua_pcallk(), and lua_pcallk().
#define api_checknelems | ( | L, | |
n ) api_check(L, (n) <= (L->top - L->base)) |
Definition at line 41 of file lua-5.1.5/src/lapi.c.
Referenced by aux_rawset(), auxsetstr(), auxsetstr(), finishCcall(), finishCcall(), finishCcall(), lua_arith(), lua_call(), lua_callk(), lua_callk(), lua_concat(), lua_dump(), lua_dump(), lua_error(), lua_next(), lua_pcall(), lua_pcallk(), lua_pcallk(), lua_pushcclosure(), lua_rawget(), lua_rawset(), lua_rawseti(), lua_rawseti(), lua_rawsetp(), lua_replace(), lua_resume(), lua_resume(), lua_setfenv(), lua_setfield(), lua_setglobal(), lua_seti(), lua_setiuservalue(), lua_setmetatable(), lua_settable(), lua_setupvalue(), lua_setuservalue(), lua_xmove(), lua_yieldk(), lua_yieldk(), luaD_precall(), resume(), resume(), and resume().
#define api_checkvalidindex | ( | L, | |
i ) api_check(L, (i) != luaO_nilobject) |
Definition at line 43 of file lua-5.1.5/src/lapi.c.
Referenced by lua_getfenv(), lua_getfield(), lua_gettable(), lua_insert(), lua_pcall(), lua_remove(), lua_replace(), lua_setfenv(), lua_setfield(), lua_setmetatable(), and lua_settable().
#define api_incr_top | ( | L | ) | {api_check(L, L->top < L->ci->top); L->top++;} |
Definition at line 45 of file lua-5.1.5/src/lapi.c.
Referenced by auxgetstr(), auxgetstr(), auxsetstr(), auxsetstr(), collectvalidlines(), collectvalidlines(), collectvalidlines(), f_Ccall(), finishrawget(), lua_arith(), lua_concat(), lua_createtable(), lua_getfenv(), lua_getfield(), lua_geti(), lua_getinfo(), lua_getiuservalue(), lua_getlocal(), lua_getmetatable(), lua_getupvalue(), lua_getuservalue(), lua_len(), lua_newthread(), lua_newuserdata(), lua_newuserdatauv(), lua_next(), lua_pushboolean(), lua_pushcclosure(), lua_pushinteger(), lua_pushlightuserdata(), lua_pushlstring(), lua_pushnil(), lua_pushnumber(), lua_pushstring(), lua_pushthread(), lua_pushunsigned(), lua_pushvalue(), lua_rawgeti(), lua_rawgeti(), lua_rawgetp(), lua_seti(), lua_stringtonumber(), luaA_pushobject(), resume_error(), resume_error(), and resume_error().
#define checkresults | ( | L, | |
na, | |||
nr ) api_check(L, (nr) == LUA_MULTRET || (L->ci->top - L->top >= (nr) - (na))) |
Definition at line 772 of file lua-5.1.5/src/lapi.c.
Referenced by lua_call(), and lua_pcall().
#define lapi_c |
Definition at line 13 of file lua-5.1.5/src/lapi.c.
#define LUA_CORE |
Definition at line 14 of file lua-5.1.5/src/lapi.c.
Definition at line 1039 of file lua-5.1.5/src/lapi.c.
References Closure::c, clvalue, getstr, Closure::l, NULL, LClosure::p, ttisfunction, LClosure::upvals, CClosure::upvalue, Proto::upvalues, and UpVal::v.
Referenced by lua_getupvalue(), and lua_setupvalue().
|
static |
Definition at line 798 of file lua-5.1.5/src/lapi.c.
References cast, CallS::func, luaD_call(), and CallS::nresults.
Referenced by lua_pcall().
|
static |
Definition at line 837 of file lua-5.1.5/src/lapi.c.
References api_incr_top, Closure::c, cast, CClosure::f, CCallS::func, getcurrenv(), luaD_call(), luaF_newCclosure(), setclvalue, setpvalue, lua_State::top, and CCallS::ud.
Referenced by lua_cpcall().
Definition at line 79 of file lua-5.1.5/src/lapi.c.
References lua_State::base_ci, Closure::c, lua_State::ci, curr_func, gt, and hvalue.
Referenced by f_Ccall(), lua_newuserdata(), and lua_pushcclosure().
Definition at line 49 of file lua-5.1.5/src/lapi.c.
References api_check, lua_State::base, Closure::c, cast, curr_func, lua_State::env, gt, LUA_ENVIRONINDEX, LUA_GLOBALSINDEX, LUA_REGISTRYINDEX, luaO_nilobject, registry, sethvalue, lua_State::top, and CClosure::upvalue.
Referenced by lua_equal(), lua_getfenv(), lua_getfield(), lua_getmetatable(), lua_gettable(), lua_getupvalue(), lua_insert(), lua_iscfunction(), lua_isnumber(), lua_isuserdata(), lua_lessthan(), lua_next(), lua_objlen(), lua_pcall(), lua_pushvalue(), lua_rawequal(), lua_rawget(), lua_rawgeti(), lua_rawset(), lua_rawseti(), lua_remove(), lua_replace(), lua_setfenv(), lua_setfield(), lua_setmetatable(), lua_settable(), lua_setupvalue(), lua_toboolean(), lua_tocfunction(), lua_tointeger(), lua_tolstring(), lua_tonumber(), lua_topointer(), lua_tothread(), lua_touserdata(), and lua_type().
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().
Definition at line 776 of file lua-5.1.5/src/lapi.c.
References adjustresults, api_checknelems, checkresults, lua_lock, lua_unlock, luaD_call(), and lua_State::top.
Definition at line 95 of file lua-5.1.5/src/lapi.c.
References lua_State::base, lua_State::ci, lua_lock, lua_unlock, luaD_checkstack, LUAI_MAXCSTACK, 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 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().
LUA_API int lua_cpcall | ( | lua_State * | L, |
lua_CFunction | func, | ||
void * | ud ) |
Definition at line 850 of file lua-5.1.5/src/lapi.c.
References f_Ccall(), CCallS::func, lua_lock, lua_unlock, luaD_pcall(), savestack, lua_State::top, and CCallS::ud.
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(), sethvalue, 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 ) |
Definition at line 875 of file lua-5.1.5/src/lapi.c.
References api_checknelems, clvalue, isLfunction, lua_lock, lua_unlock, luaU_dump(), lua_State::top, and writer().
Referenced by str_dump(), str_dump(), str_dump(), and str_dump().
Definition at line 287 of file lua-5.1.5/src/lapi.c.
References equalobj, index2adr(), lua_lock, lua_unlock, and luaO_nilobject.
Referenced by Xml_iterate(), and Xml_match().
Definition at line 964 of file lua-5.1.5/src/lapi.c.
References api_checknelems, lua_lock, lua_unlock, and luaG_errormsg().
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 899 of file lua-5.1.5/src/lapi.c.
References cast, cast_int, G, global_State::gcpause, GCSpause, global_State::gcstate, global_State::gcstepmul, global_State::GCthreshold, LUA_GCCOLLECT, LUA_GCCOUNT, LUA_GCCOUNTB, LUA_GCRESTART, LUA_GCSETPAUSE, LUA_GCSETSTEPMUL, LUA_GCSTEP, LUA_GCSTOP, lua_lock, lua_unlock, luaC_fullgc(), luaC_step(), MAX_LUMEM, and global_State::totalbytes.
Referenced by docall(), luaB_collectgarbage(), luaB_collectgarbage(), luaB_collectgarbage(), luaB_collectgarbage(), pmain(), pmain(), pmain(), and report().
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 616 of file lua-5.1.5/src/lapi.c.
References api_checkvalidindex, api_incr_top, clvalue, gt, index2adr(), lua_lock, LUA_TFUNCTION, LUA_TTHREAD, LUA_TUSERDATA, lua_unlock, sethvalue, setnilvalue, setobj2s, thvalue, lua_State::top, ttype, and uvalue.
Referenced by aux_close(), db_getfenv(), and luaB_getfenv().
Definition at line 544 of file lua-5.1.5/src/lapi.c.
References api_checkvalidindex, api_incr_top, index2adr(), lua_lock, lua_unlock, luaS_new, luaV_gettable, setsvalue, 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 587 of file lua-5.1.5/src/lapi.c.
References api_incr_top, G, hvalue, index2adr(), lua_lock, LUA_TTABLE, LUA_TUSERDATA, lua_unlock, Table::metatable, NULL, sethvalue, lua_State::top, ttype, 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 534 of file lua-5.1.5/src/lapi.c.
References api_checkvalidindex, index2adr(), lua_lock, lua_unlock, luaV_gettable, and lua_State::top.
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, 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(), index2adr(), lua_lock, lua_unlock, name, setobj2s, and lua_State::top.
Referenced by auxupvalue(), auxupvalue(), auxupvalue(), auxupvalue(), and checkupval().
Definition at line 191 of file lua-5.1.5/src/lapi.c.
References api_checkvalidindex, index2adr(), lua_lock, lua_unlock, setobjs2s, and lua_State::top.
Definition at line 254 of file lua-5.1.5/src/lapi.c.
References index2adr(), and iscfunction.
Referenced by auxupvalue(), db_upvaluejoin(), db_upvaluejoin(), db_upvaluejoin(), luaB_cocreate(), luaB_getfenv(), luaB_setfenv(), and setfenv().
Definition at line 260 of file lua-5.1.5/src/lapi.c.
References index2adr(), 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 LUA_TNUMBER, LUA_TSTRING, and lua_type().
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 index2adr(), ttislightuserdata, and ttisuserdata.
Referenced by Xml_eval().
Definition at line 299 of file lua-5.1.5/src/lapi.c.
References index2adr(), lua_lock, lua_unlock, luaO_nilobject, and luaV_lessthan().
Referenced by sort_comp().
LUA_API int lua_load | ( | lua_State * | L, |
lua_Reader | reader, | ||
void * | data, | ||
const char * | chunkname ) |
Definition at line 862 of file lua-5.1.5/src/lapi.c.
References lua_lock, lua_unlock, luaD_protectedparser(), luaZ_init(), and reader().
Referenced by combine(), combine(), combine(), luaB_load(), luaB_load(), luaB_load(), luaB_load(), luaL_loadbuffer(), luaL_loadbufferx(), luaL_loadfile(), and luaL_loadfilex().
Definition at line 140 of file lua-5.1.5/src/lapi.c.
References api_incr_top, lua_lock, lua_unlock, luaC_checkGC, luaE_newthread(), luai_userstatethread, setthvalue, and lua_State::top.
Referenced by luaB_cocreate(), luaB_cocreate(), luaB_cocreate(), and luaB_cocreate().
Definition at line 1025 of file lua-5.1.5/src/lapi.c.
References api_incr_top, getcurrenv(), lua_lock, lua_unlock, luaC_checkGC, luaS_newudata(), setuvalue, and lua_State::top.
Definition at line 973 of file lua-5.1.5/src/lapi.c.
References api_check, api_incr_top, hvalue, 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().
Definition at line 361 of file lua-5.1.5/src/lapi.c.
References hvalue, index2adr(), lua_lock, LUA_TNUMBER, LUA_TSTRING, LUA_TTABLE, LUA_TUSERDATA, lua_unlock, luaH_getn(), luaV_tostring(), tsvalue, ttype, and uvalue.
Referenced by luaL_ref(), read_chars(), and read_line().
Definition at line 805 of file lua-5.1.5/src/lapi.c.
References adjustresults, api_checknelems, api_checkvalidindex, checkresults, f_call(), CallS::func, index2adr(), lua_lock, lua_unlock, luaD_pcall(), CallS::nresults, savestack, and lua_State::top.
Definition at line 503 of file lua-5.1.5/src/lapi.c.
References api_incr_top, lua_lock, lua_unlock, 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_checknelems, api_incr_top, Closure::c, CClosure::f, getcurrenv(), iswhite, lua_assert, lua_lock, lua_unlock, luaC_checkGC, luaF_newCclosure(), obj2gco, setclvalue, 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, 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, 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, lua_lock, lua_unlock, luaC_checkGC, 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, 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, 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 lua_pushlstring(), lua_pushnil(), NULL, and s.
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, 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, index2adr(), 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 index2adr(), luaO_nilobject, and luaO_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, hvalue, index2adr(), lua_lock, lua_unlock, luaH_get(), setobj2s, lua_State::top, and ttistable.
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().
Definition at line 567 of file lua-5.1.5/src/lapi.c.
References api_check, api_incr_top, hvalue, index2adr(), lua_lock, lua_unlock, luaH_getnum(), setobj2s, lua_State::top, and ttistable.
Referenced by addfield(), addfield(), auxsort(), auxsort(), collwrapper(), db_busy_callback(), db_commit_hook_callback(), db_progress_callback(), db_rollback_hook_callback(), db_sql_finalize_function(), db_sql_normal_function(), db_trace_callback(), db_update_hook_callback(), findloader(), findloader(), findloader(), foreachi(), g_iofile(), gctm(), gctm(), gctm(), getiofile(), io_close(), io_lines(), ipairsaux(), ipairsaux(), lcontext_get_aggregate_context(), lcontext_user_data(), ll_require(), lsqlite_make_context(), luaB_unpack(), luaL_ref(), luaL_unref(), pushargs(), pushargs(), tinsert(), tinsert(), tremove(), tremove(), unpack(), Xml_find(), Xml_iterate(), Xml_pushDecode(), Xml_pushEncode(), Xml_registerCode(), and Xml_str().
Definition at line 671 of file lua-5.1.5/src/lapi.c.
References api_check, api_checknelems, hvalue, index2adr(), lua_lock, lua_unlock, luaC_barriert, luaH_set(), 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().
Definition at line 684 of file lua-5.1.5/src/lapi.c.
References api_check, api_checknelems, hvalue, index2adr(), lua_lock, lua_unlock, luaC_barriert, luaH_setnum(), setobj2t, lua_State::top, and ttistable.
Referenced by addtoclib(), addtoclib(), createargtable(), createargtable(), createsearcherstable(), createsearcherstable(), createsearcherstable(), createstdfile(), db_do_next_row(), db_exec_callback(), dbvm_get_names(), dbvm_get_types(), dbvm_get_values(), find_on_match(), g_iofile(), getargs(), getargs(), ll_addtoclib(), lsqlite_backup_init(), luaL_ref(), luaL_unref(), luaopen_package(), pack(), set2(), set2(), tinsert(), tinsert(), tremove(), tremove(), Xml_append(), Xml_eval(), and Xml_str().
Definition at line 180 of file lua-5.1.5/src/lapi.c.
References api_checkvalidindex, index2adr(), lua_lock, lua_unlock, setobjs2s, and lua_State::top.
Definition at line 203 of file lua-5.1.5/src/lapi.c.
References api_check, api_checknelems, api_checkvalidindex, lua_State::base_ci, Closure::c, lua_State::ci, curr_func, hvalue, index2adr(), LUA_ENVIRONINDEX, LUA_GLOBALSINDEX, lua_lock, lua_unlock, luaC_barrier, luaG_runerror(), setobj, lua_State::top, and ttistable.
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 734 of file lua-5.1.5/src/lapi.c.
References api_check, api_checknelems, api_checkvalidindex, clvalue, gcvalue, gt, hvalue, index2adr(), lua_lock, LUA_TFUNCTION, LUA_TTHREAD, LUA_TUSERDATA, lua_unlock, luaC_objbarrier, sethvalue, thvalue, lua_State::top, ttistable, ttype, and uvalue.
Referenced by createstdfile(), db_setfenv(), luaB_setfenv(), luaopen_io(), and setfenv().
Definition at line 657 of file lua-5.1.5/src/lapi.c.
References api_checknelems, api_checkvalidindex, index2adr(), lua_lock, lua_unlock, luaS_new, luaV_settable, setsvalue, 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 125 of file lua-5.1.5/src/lapi.c.
References lua_State::nCcalls.
Referenced by auxresume().
Definition at line 697 of file lua-5.1.5/src/lapi.c.
References api_check, api_checknelems, api_checkvalidindex, G, hvalue, index2adr(), lua_lock, LUA_TTABLE, LUA_TUSERDATA, lua_unlock, luaC_objbarrier, luaC_objbarriert, NULL, rawuvalue, lua_State::top, ttisnil, ttistable, ttype, 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, index2adr(), lua_lock, lua_unlock, luaV_settable, 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_lock, lua_unlock, setnilvalue, 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(), clvalue, index2adr(), lua_lock, lua_unlock, luaC_barrier, name, setobj, and lua_State::top.
Referenced by auxupvalue(), auxupvalue(), auxupvalue(), auxupvalue(), load_aux(), load_aux(), and load_aux().
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.1.5/src/lapi.c.
References index2adr(), 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 clvalue, index2adr(), iscfunction, and NULL.
Referenced by aux_close().
LUA_API lua_Integer lua_tointeger | ( | lua_State * | L, |
int | idx ) |
Definition at line 323 of file lua-5.1.5/src/lapi.c.
References index2adr(), lua_number2integer, nvalue, and tonumber.
Definition at line 343 of file lua-5.1.5/src/lapi.c.
References index2adr(), lua_lock, lua_unlock, luaC_checkGC, luaV_tostring(), NULL, svalue, tsvalue, and ttisstring.
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_tonumber | ( | lua_State * | L, |
int | idx ) |
Definition at line 313 of file lua-5.1.5/src/lapi.c.
References index2adr(), nvalue, and tonumber.
Definition at line 401 of file lua-5.1.5/src/lapi.c.
References clvalue, hvalue, index2adr(), LUA_TFUNCTION, LUA_TLIGHTUSERDATA, lua_touserdata(), LUA_TTABLE, LUA_TTHREAD, LUA_TUSERDATA, NULL, thvalue, and ttype.
Referenced by luaB_tostring(), luaL_tolstring(), print(), and str_format().
Definition at line 395 of file lua-5.1.5/src/lapi.c.
References index2adr(), 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 index2adr(), LUA_TLIGHTUSERDATA, LUA_TUSERDATA, NULL, pvalue, rawuvalue, and ttype.
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 index2adr(), LUA_TNONE, luaO_nilobject, and ttype.
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 LUA_TNONE, luaT_typenames, 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 110 of file lua-5.1.5/src/lapi.c.
References api_check, api_checknelems, lua_State::ci, G, lua_lock, lua_unlock, setobj2s, 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().
Definition at line 89 of file lua-5.1.5/src/lapi.c.
References api_incr_top, setobj2s, and lua_State::top.
Referenced by lua_getlocal().
const char lua_ident[] |
Definition at line 34 of file lua-5.1.5/src/lapi.c.