w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

lapi.c File Reference
#include "lprefix.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"
Include dependency graph for lapi.c:

Go to the source code of this file.

Classes

struct  CallS
 

Macros

#define lapi_c
 
#define LUA_CORE
 
#define NONVALIDVALUE   cast(TValue *, luaO_nilobject)
 
#define isvalid(o)   ((o) != luaO_nilobject)
 
#define ispseudo(i)   ((i) <= LUA_REGISTRYINDEX)
 
#define isupvalue(i)   ((i) < LUA_REGISTRYINDEX)
 
#define isstackindex(i, o)   (isvalid(o) && !ispseudo(i))
 
#define api_checkvalidindex(l, o)   api_check(l, isvalid(o), "invalid index")
 
#define api_checkstackindex(l, i, o)    api_check(l, isstackindex(i, o), "index not in the stack")
 
#define checkresults(L, na, nr)
 

Functions

static TValueindex2addr (lua_State *L, int idx)
 
static void growstack (lua_State *L, void *ud)
 
int lua_checkstack (lua_State *L, int n)
 
void lua_xmove (lua_State *from, lua_State *to, int n)
 
lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf)
 
const lua_Numberlua_version (lua_State *L)
 
int lua_absindex (lua_State *L, int idx)
 
int lua_gettop (lua_State *L)
 
void lua_settop (lua_State *L, int idx)
 
static void reverse (lua_State *L, StkId from, StkId to)
 
void lua_rotate (lua_State *L, int idx, int n)
 
void lua_copy (lua_State *L, int fromidx, int toidx)
 
void lua_pushvalue (lua_State *L, int idx)
 
int lua_type (lua_State *L, int idx)
 
const char * lua_typename (lua_State *L, int t)
 
int lua_iscfunction (lua_State *L, int idx)
 
int lua_isinteger (lua_State *L, int idx)
 
int lua_isnumber (lua_State *L, int idx)
 
int lua_isstring (lua_State *L, int idx)
 
int lua_isuserdata (lua_State *L, int idx)
 
int lua_rawequal (lua_State *L, int index1, int index2)
 
void lua_arith (lua_State *L, int op)
 
int lua_compare (lua_State *L, int index1, int index2, int op)
 
size_t lua_stringtonumber (lua_State *L, const char *s)
 
lua_Number lua_tonumberx (lua_State *L, int idx, int *pisnum)
 
lua_Integer lua_tointegerx (lua_State *L, int idx, int *pisnum)
 
int lua_toboolean (lua_State *L, int idx)
 
const char * lua_tolstring (lua_State *L, int idx, size_t *len)
 
size_t lua_rawlen (lua_State *L, int idx)
 
lua_CFunction lua_tocfunction (lua_State *L, int idx)
 
voidlua_touserdata (lua_State *L, int idx)
 
lua_Statelua_tothread (lua_State *L, int idx)
 
const voidlua_topointer (lua_State *L, int idx)
 
void lua_pushnil (lua_State *L)
 
void lua_pushnumber (lua_State *L, lua_Number n)
 
void lua_pushinteger (lua_State *L, lua_Integer n)
 
const char * lua_pushlstring (lua_State *L, const char *s, size_t len)
 
const char * lua_pushstring (lua_State *L, const char *s)
 
const char * lua_pushvfstring (lua_State *L, const char *fmt, va_list argp)
 
const char * lua_pushfstring (lua_State *L, const char *fmt,...)
 
void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n)
 
void lua_pushboolean (lua_State *L, int b)
 
void lua_pushlightuserdata (lua_State *L, void *p)
 
int lua_pushthread (lua_State *L)
 
static int auxgetstr (lua_State *L, const TValue *t, const char *k)
 
int lua_getglobal (lua_State *L, const char *name)
 
int lua_gettable (lua_State *L, int idx)
 
int lua_getfield (lua_State *L, int idx, const char *k)
 
int lua_geti (lua_State *L, int idx, lua_Integer n)
 
int lua_rawget (lua_State *L, int idx)
 
int lua_rawgeti (lua_State *L, int idx, lua_Integer n)
 
int lua_rawgetp (lua_State *L, int idx, const void *p)
 
void lua_createtable (lua_State *L, int narray, int nrec)
 
int lua_getmetatable (lua_State *L, int objindex)
 
int lua_getuservalue (lua_State *L, int idx)
 
static void auxsetstr (lua_State *L, const TValue *t, const char *k)
 
void lua_setglobal (lua_State *L, const char *name)
 
void lua_settable (lua_State *L, int idx)
 
void lua_setfield (lua_State *L, int idx, const char *k)
 
void lua_seti (lua_State *L, int idx, lua_Integer n)
 
void lua_rawset (lua_State *L, int idx)
 
void lua_rawseti (lua_State *L, int idx, lua_Integer n)
 
void lua_rawsetp (lua_State *L, int idx, const void *p)
 
int lua_setmetatable (lua_State *L, int objindex)
 
void lua_setuservalue (lua_State *L, int idx)
 
void lua_callk (lua_State *L, int nargs, int nresults, lua_KContext ctx, lua_KFunction k)
 
static void f_call (lua_State *L, void *ud)
 
int lua_pcallk (lua_State *L, int nargs, int nresults, int errfunc, lua_KContext ctx, lua_KFunction k)
 
int lua_load (lua_State *L, lua_Reader reader, void *data, const char *chunkname, const char *mode)
 
int lua_dump (lua_State *L, lua_Writer writer, void *data, int strip)
 
int lua_status (lua_State *L)
 
int lua_gc (lua_State *L, int what, int data)
 
int lua_error (lua_State *L)
 
int lua_next (lua_State *L, int idx)
 
void lua_concat (lua_State *L, int n)
 
void lua_len (lua_State *L, int idx)
 
lua_Alloc lua_getallocf (lua_State *L, void **ud)
 
void lua_setallocf (lua_State *L, lua_Alloc f, void *ud)
 
voidlua_newuserdata (lua_State *L, size_t size)
 
static const char * aux_upvalue (StkId fi, int n, TValue **val, CClosure **owner, UpVal **uv)
 
const char * lua_getupvalue (lua_State *L, int funcindex, int n)
 
const char * lua_setupvalue (lua_State *L, int funcindex, int n)
 
static UpVal ** getupvalref (lua_State *L, int fidx, int n)
 
voidlua_upvalueid (lua_State *L, int fidx, int n)
 
void lua_upvaluejoin (lua_State *L, int fidx1, int n1, int fidx2, int n2)
 

Variables

const char lua_ident []
 

Macro Definition Documentation

◆ api_checkstackindex

#define api_checkstackindex (   l,
  i,
 
)     api_check(l, isstackindex(i, o), "index not in the stack")

Definition at line 56 of file lapi.c.

◆ api_checkvalidindex

#define api_checkvalidindex (   l,
 
)    api_check(l, isvalid(o), "invalid index")

Definition at line 54 of file lapi.c.

◆ checkresults

#define checkresults (   L,
  na,
  nr 
)
Value:
api_check(L, (nr) == LUA_MULTRET || (L->ci->top - L->top >= (nr) - (na)), \
"results from function overflow current stack size")
#define api_check(l, e, msg)
Definition: llimits.h:101
#define LUA_MULTRET
Definition: lua.h:33
@ L
Definition: ubidiimp.h:45

Definition at line 904 of file lapi.c.

◆ ispseudo

#define ispseudo (   i)    ((i) <= LUA_REGISTRYINDEX)

Definition at line 46 of file lapi.c.

◆ isstackindex

#define isstackindex (   i,
 
)    (isvalid(o) && !ispseudo(i))

Definition at line 52 of file lapi.c.

◆ isupvalue

#define isupvalue (   i)    ((i) < LUA_REGISTRYINDEX)

Definition at line 49 of file lapi.c.

◆ isvalid

#define isvalid (   o)    ((o) != luaO_nilobject)

Definition at line 43 of file lapi.c.

◆ lapi_c

#define lapi_c

Definition at line 7 of file lapi.c.

◆ LUA_CORE

#define LUA_CORE

Definition at line 8 of file lapi.c.

◆ NONVALIDVALUE

#define NONVALIDVALUE   cast(TValue *, luaO_nilobject)

Definition at line 40 of file lapi.c.

Function Documentation

◆ aux_upvalue()

static const char* aux_upvalue ( StkId  fi,
int  n,
TValue **  val,
CClosure **  owner,
UpVal **  uv 
)
static

Definition at line 1197 of file lapi.c.

References clCvalue, clLvalue, f, getstr, LUA_TCCL, LUA_TLCL, n, name, NULL, p, and ttype.

Referenced by lua_getupvalue(), and lua_setupvalue().

◆ auxgetstr()

static int auxgetstr ( lua_State L,
const TValue t,
const char *  k 
)
static

◆ auxsetstr()

static void auxsetstr ( lua_State L,
const TValue t,
const char *  k 
)
static

◆ f_call()

static void f_call ( lua_State L,
void ud 
)
static

Definition at line 941 of file lapi.c.

References c, cast, L, and luaD_callnoyield().

Referenced by lua_pcallk().

◆ getupvalref()

static UpVal** getupvalref ( lua_State L,
int  fidx,
int  n 
)
static

Definition at line 1257 of file lapi.c.

References api_check, clLvalue, f, index2addr(), L, n, p, and ttisLclosure.

Referenced by lua_upvalueid(), and lua_upvaluejoin().

◆ growstack()

static void growstack ( lua_State L,
void ud 
)
static

Definition at line 91 of file lapi.c.

References L, luaD_growstack(), and size.

Referenced by lua_checkstack().

◆ index2addr()

◆ lua_absindex()

int lua_absindex ( lua_State L,
int  idx 
)

Definition at line 160 of file lapi.c.

References cast_int, idx, ispseudo, and L.

◆ lua_arith()

void lua_arith ( lua_State L,
int  op 
)

Definition at line 302 of file lapi.c.

References api_checknelems, api_incr_top, L, lua_lock, LUA_OPBNOT, LUA_OPUNM, lua_unlock, luaO_arith(), and setobjs2s.

◆ lua_atpanic()

lua_CFunction lua_atpanic ( lua_State L,
lua_CFunction  panicf 
)

Definition at line 134 of file lapi.c.

References G, L, lua_lock, and lua_unlock.

Referenced by luainterpreter(), and luaL_newstate().

◆ lua_callk()

void lua_callk ( lua_State L,
int  nargs,
int  nresults,
lua_KContext  ctx,
lua_KFunction  k 
)

◆ lua_checkstack()

◆ lua_compare()

int lua_compare ( lua_State L,
int  index1,
int  index2,
int  op 
)

◆ lua_concat()

◆ lua_copy()

void lua_copy ( lua_State L,
int  fromidx,
int  toidx 
)

◆ lua_createtable()

static void lua_createtable ( lua_State L,
int  narray,
int  nrec 
)

Definition at line 684 of file lapi.c.

References api_incr_top, L, lua_lock, lua_unlock, luaC_checkGC, luaH_new(), luaH_resize(), sethvalue, and t.

Referenced by buffer_get_glyphs(), createargtable(), createclibstable(), createmetatable(), createsearcherstable(), db_sethook(), do_ff_info(), do_handle_enc(), do_handle_generic_fpst(), do_handle_generic_pst(), do_handle_kernclass(), do_handle_liglist(), do_handle_ttflangname(), do_new(), face_collect_unicodes(), face_get_table_tags(), face_ot_color_glyph_get_layers(), face_ot_color_palette_get_colors(), face_ot_layout_get_feature_tags(), face_ot_layout_get_language_tags(), face_ot_layout_get_script_tags(), ff_glyph_index(), ff_index(), ff_make_table(), font_char_to_lua(), font_commands_to_lua(), font_get_glyph_extents(), font_get_h_extents(), font_get_v_extents(), font_to_lua(), get_command_names(), get_etex_parshape(), get_parshape(), getargs(), handle_encmap(), handle_generic_fpst(), handle_generic_pst(), handle_mmset(), handle_pfminfo(), handle_splinechar(), handle_splinefont(), init_tex_table(), joinktables(), lib_create_table(), lj_cf_debug_getinfo(), lj_cf_ffi_typeinfo(), lj_cf_jit_util_funcinfo(), lj_cf_jit_util_traceinfo(), lj_cf_jit_util_tracesnap(), lj_cf_os_date(), lj_cf_package_seeall(), lj_cf_table_new(), lp_locale(), luainterpreter(), luaL_findtable(), luaL_newmetatable(), luaopen_package(), make_token_table(), mplib_get_path(), mplib_push_path(), mplib_push_transform(), new_table(), newktable(), os_date(), pack(), pdfelib_arraytotable(), pdfelib_dictionarytotable(), pdfelib_getbox(), pdfelib_pagestotable(), pdfelib_totable(), prepare_cmdline(), push_token(), pushpages(), readbytes_s(), readbytetable(), readbytetable_s(), readcardinaltable(), readcardinaltable_s(), readintegertable(), readintegertable_s(), str_bytetable(), tokenlist_to_lua(), and wrap().

◆ lua_dump()

int lua_dump ( lua_State L,
lua_Writer  writer,
void data,
int  strip 
)

Definition at line 1016 of file lapi.c.

References api_checknelems, data, getproto, isLfunction, L, lua_lock, lua_unlock, luaU_dump(), status, strip(), and writer().

Referenced by set_bytecode(), and str_dump().

◆ lua_error()

◆ lua_gc()

◆ lua_getallocf()

lua_Alloc lua_getallocf ( lua_State L,
void **  ud 
)

Definition at line 1166 of file lapi.c.

References f, G, L, lua_lock, and lua_unlock.

Referenced by realloccode(), and resizebox().

◆ lua_getfield()

int lua_getfield ( lua_State L,
int  idx,
const char *  k 
)

Definition at line 622 of file lapi.c.

References auxgetstr(), idx, index2addr(), k, L, and lua_lock.

Referenced by add_alias(), check_texconfig_init(), checkclib(), compat_socket_unix_call(), dojitcmd(), dojitopt(), doublestack(), findfile(), findloader(), g_iofile(), get_lua_boolean(), get_lua_number(), get_lua_string(), get_saved_lua_boolean(), get_saved_lua_number(), get_saved_lua_string(), getboolfield(), getfield(), getiofile(), handle_generic_pst(), hide_lua_value(), io_close(), io_lines(), lib_create_table(), lj_cf_package_loader_preload(), lj_cf_package_module(), lj_cf_package_require(), ll_require(), loadjitmodule(), lua_traceback(), luainterpreter(), luaL_getsubtable(), luaL_pushmodule(), luaL_requiref(), luaopen_luaharfbuzz(), luaopen_package(), luaopen_table(), luaopen_unicode(), luatex_kpse_clua_find(), mfluabeginprogram(), mfluaendprogram(), mfluainitialize(), mfluaPOSTfillenvelopelhs(), mfluaPOSTfillenveloperhs(), mfluaPOSTfillspeclhs(), mfluaPOSTfillspecrhs(), mfluaPOSTfinalcleanup(), mfluaPOSTmaincontrol(), mfluaPOSTmakechoices(), mfluaPOSTmakeellipse(), mfluaPOSTmakespeclhs(), mfluaPOSTmakespecrhs(), mfluaPOSTmovetoedges(), mfluaPOSToffsetprep(), mfluaPREfillenvelopelhs(), mfluaPREfillenveloperhs(), mfluaPREfillspeclhs(), mfluaPREfillspecrhs(), mfluaPREmaincontrol(), mfluaPREmakechoices(), mfluaPREmakeellipse(), mfluaPREmakespeclhs(), mfluaPREmakespecrhs(), mfluaPREmovetoedges(), mfluaPREoffsetprep(), mfluaPREstartofMF(), mfluaprintedges(), mfluaprintpath(), mfluaprintretrogradeline(), mfluaprinttransitionlinefrom(), mfluaprinttransitionlineto(), mplib_find_file(), mplib_make_text(), mplib_new(), mplib_run_script(), mplib_script_error(), noenv(), print_jit_status(), pushglobalfuncname(), reserve_code(), searcher_preload(), setup_lua_path(), and write_prompt().

◆ lua_getglobal()

int lua_getglobal ( lua_State L,
const char *  name 
)

Definition at line 605 of file lapi.c.

References auxgetstr(), G, hvalue, L, lua_lock, LUA_RIDX_GLOBALS, luaH_getint(), name, and reg.

◆ lua_geti()

◆ lua_getmetatable()

◆ lua_gettable()

◆ lua_gettop()

int lua_gettop ( lua_State L)

Definition at line 167 of file lapi.c.

References cast_int, and L.

Referenced by addcharacters(), andaux(), aux_lines(), auxresume(), b_or(), b_xor(), buffer_meth_receive(), buffer_meth_send(), calculate_constant1(), call_user_binop(), call_user_op(), cdata_add(), cdata_call(), cdata_index(), cdata_newindex(), characters_from_lua(), check_cfunction(), cmodule_index(), cmodule_newindex(), collectrules(), compat_socket_unix_call(), compile_callback(), compile_function(), copy_image(), ctype_call(), ctype_tostring(), deffont(), do_convert(), do_luacprint(), do_new(), do_texio_ini_print(), do_texio_print(), docall(), dofilecont(), dotty(), face_get_name(), ff_open(), ffi_number(), ffi_type(), file_utime(), finalize(), find_canonical_usr(), find_file(), finishpcall(), font_from_lua(), font_tex_direct_kerning(), font_tex_direct_ligaturing(), font_tex_kerning(), font_tex_ligaturing(), functioncap(), g_read(), g_write(), get_cfunction_address(), get_lua_boolean(), get_lua_number(), get_lua_string(), get_saved_lua_boolean(), get_saved_lua_number(), get_saved_lua_string(), get_stack_top(), getattribute(), getcatcode(), getcount(), getdimen(), getglue(), getlist(), getmark(), getmuglue(), getmuskip(), getnest(), getskip(), gettex(), gettoks(), global_select(), global_skip(), inet_pushresolved(), io_lines(), l_copy_image(), l_immediateobj(), l_new_image(), l_obj(), l_print(), l_refobj(), l_registerannot(), l_reserveobj(), l_scan_image(), lang_hyphenation(), lang_hyphenation_min(), lang_new(), lang_patterns(), lang_post_exhyphen_char(), lang_post_hyphen_char(), lang_pre_exhyphen_char(), lang_pre_hyphen_char(), language_new(), loadline(), lookup_global(), lp_constcapture(), lp_match(), lp_range(), lua_absindex2(), lua_appendtovlist_callback(), lua_glyph_not_found_callback(), lua_hpack_filter(), lua_kpathsea_find_file(), lua_linebreak_callback(), lua_math_random(), lua_node_filter(), lua_node_filter_s(), lua_nodelib_append(), lua_nodelib_copy_list(), lua_nodelib_count(), lua_nodelib_currentattr(), lua_nodelib_dimensions(), lua_nodelib_direct_append(), lua_nodelib_direct_dimensions(), lua_nodelib_direct_get_attribute(), lua_nodelib_direct_hpack(), lua_nodelib_direct_rangedimensions(), lua_nodelib_direct_set_attribute(), lua_nodelib_direct_set_glue(), lua_nodelib_direct_setbox(), lua_nodelib_direct_setdisc(), lua_nodelib_direct_setfield(), lua_nodelib_direct_setlink(), lua_nodelib_direct_setwhd(), lua_nodelib_direct_unset_attribute(), lua_nodelib_direct_vpack(), lua_nodelib_fast_setfield(), lua_nodelib_first_glyph(), lua_nodelib_flush_list(), lua_nodelib_flush_node(), lua_nodelib_free(), lua_nodelib_get_attribute(), lua_nodelib_hpack(), lua_nodelib_insert_after(), lua_nodelib_insert_before(), lua_nodelib_length(), lua_nodelib_make_extensible(), lua_nodelib_mfont(), lua_nodelib_protect_glyphs(), lua_nodelib_rangedimensions(), lua_nodelib_remove(), lua_nodelib_set_attribute(), lua_nodelib_set_glue(), lua_nodelib_unprotect_glyphs(), lua_nodelib_unset_attribute(), lua_nodelib_vpack(), lua_vpack_filter(), luaB_assert(), luaB_auxwrap(), luaB_coresume(), luaB_costatus(), luaB_pcall(), luaB_print(), luaB_select(), luaB_xpcall(), luaB_yield(), luabytecodecall(), luacall(), luacall_vf(), luaccprint(), luactprint(), luafunctioncall(), luaL_loadfilex(), luaL_traceback(), luaopen_socket_unix(), luapdfprint(), luatex_dofile(), luatokencall(), lzlib_adler32(), lzlib_crc32(), make_assoc(), make_local_par_node(), make_vf_table(), match(), math_max(), math_min(), math_random(), mplib_execute(), mplib_solve_path(), new_hyphenation(), new_script_from_string(), newgrammar(), nextfontid(), orig_obj(), os_exec(), os_spawn(), pack(), parse_argument(), parse_argument2(), parse_enum(), parse_function(), parse_function_arguments(), parse_record(), parse_root(), parse_struct(), parse_type(), parse_typedef(), pdfelib_getarray(), pdfelib_getboolean(), pdfelib_getbox(), pdfelib_getdictionary(), pdfelib_getinteger(), pdfelib_getname(), pdfelib_getnumber(), pdfelib_getstream(), pdfelib_getstring(), pdfelib_new(), pdfelib_openstream(), pdfelib_readwholestream(), pdfelib_unencrypt(), print_jit_status(), protected_(), protected_finish(), push_function_type_strings(), pushglobalfuncname(), removedyncap(), reserve_code(), run_and_save_callback(), run_callback(), run_lua_ligkern_callback(), run_mlist_to_hlist(), run_put_next(), run_saved_callback(), run_scan_code(), run_scan_dimen(), run_scan_glue(), run_scan_toks(), runtimecap(), scanner_scan(), scantoks(), set_bytecode(), set_char(), set_lua(), set_luaname(), set_macro(), set_value(), setattribute(), setbox(), setcatcode(), setcode(), setcount(), setdimen(), setfont(), setglue(), setmintop(), setmuglue(), setmuskip(), setskip(), settex(), settoks(), setup_upvals(), str_char(), str_character(), str_format(), tag_new(), tex_definefont(), tex_enableprimitives(), tex_extraprimitives(), tex_getmathparm(), tex_run_boot(), tex_run_linebreak(), tex_setmathparm(), texerror(), tinsert(), unic_char(), utfchar(), write_image_object(), and write_image_or_node().

◆ lua_getupvalue()

const char* lua_getupvalue ( lua_State L,
int  funcindex,
int  n 
)

◆ lua_getuservalue()

◆ lua_iscfunction()

int lua_iscfunction ( lua_State L,
int  idx 
)

Definition at line 264 of file lapi.c.

References idx, index2addr(), L, ttisCclosure, and ttislcf.

Referenced by db_upvaluejoin(), and setfenv().

◆ lua_isinteger()

int lua_isinteger ( lua_State L,
int  idx 
)

◆ lua_isnumber()

◆ lua_isstring()

◆ lua_isuserdata()

int lua_isuserdata ( lua_State L,
int  idx 
)

◆ lua_len()

void lua_len ( lua_State L,
int  idx 
)

Definition at line 1156 of file lapi.c.

References api_incr_top, idx, index2addr(), L, lua_lock, lua_unlock, luaV_objlen(), and t.

Referenced by luaL_len(), and priv_mflua_otf_dump().

◆ lua_load()

int lua_load ( lua_State L,
lua_Reader  reader,
void data,
const char *  chunkname,
const char *  mode 
)

◆ lua_newuserdata()

◆ lua_next()

◆ lua_pcallk()

◆ lua_pushboolean()

void lua_pushboolean ( lua_State L,
int  b 
)

Definition at line 557 of file lapi.c.

References api_incr_top, b, L, lua_lock, lua_unlock, and setbvalue.

Referenced by aux_lines(), auxiliar_add2group(), b_test(), base_open(), callback_listf(), cdata_eq(), cdata_index(), cdata_set(), change_dir(), check_cfunction(), cmodule_index(), direction_equals(), direction_is_forward(), direction_is_horizontal(), direction_is_valid(), direction_is_vertical(), do_getstat(), do_handle_lookup(), do_lang_hyphenate(), do_new(), do_run_callback(), except_open(), face_ot_color_has_layers(), face_ot_color_has_palettes(), face_ot_color_has_png(), face_ot_color_has_svg(), face_ot_layout_find_feature(), face_ot_layout_find_language(), face_ot_layout_find_script(), ff_make_table(), ffi_abi(), ffi_istype(), file_lock(), file_unlock(), finishpcall(), font_tex_direct_kerning(), font_tex_direct_ligaturing(), font_tex_kerning(), font_tex_ligaturing(), frozenfont(), get_code_page(), getglue(), getmuglue(), handle_splinefont(), isbox(), l_hasmatrix(), lang_tex_direct_hyphenating(), lang_tex_hyphenating(), language_equals(), lfs_g_setmode(), lj_cf_jit_util_funcinfo(), lj_cf_newproxy(), lj_cf_package_require(), ll_loadfunc(), ll_require(), lookforfunc(), lua_appendtovlist_callback(), lua_linebreak_callback(), lua_nest_getfield(), lua_nodelib_cp_skipable(), lua_nodelib_direct_cp_skipable(), lua_nodelib_direct_getdirection(), lua_nodelib_direct_has_field(), lua_nodelib_direct_is_char(), lua_nodelib_direct_is_direct(), lua_nodelib_direct_is_glyph(), lua_nodelib_direct_is_node(), lua_nodelib_direct_is_zero_glue(), lua_nodelib_direct_uses_font(), lua_nodelib_equal(), lua_nodelib_first_glyph(), lua_nodelib_has_field(), lua_nodelib_is_char(), lua_nodelib_is_glyph(), lua_nodelib_is_node(), lua_nodelib_is_zero_glue(), lua_nodelib_uses_font(), lua_tokenlib_equal(), lua_tokenlib_get_active(), lua_tokenlib_get_expandable(), lua_tokenlib_get_protected(), lua_tokenlib_is_defined(), lua_tokenlib_is_token(), luaB_collectgarbage(), luaB_coresume(), luaB_corunning(), luaB_pcall(), luaB_rawequal(), luaB_xpcall(), luaB_yieldable(), luaL_execresult(), luaL_fileresult(), m_img_get(), math_ult(), meth_dirty(), mplib_get_boolean(), mplib_get_path(), mplib_solve_path(), opt_get_linger(), opt_getboolean(), os_execute(), os_setenv(), pdfelib_getboolean(), pdfelib_getstring(), pdfelib_openstream(), pdfelib_pushvalue(), pmain(), push_token(), pushresult(), pushvalue(), reserve_code(), run_mlist_to_hlist(), run_scan_keyword(), run_scan_keyword_cs(), scanner_popsingular(), script_equals(), set_program_name(), setboolfield(), settabsb(), setup_mt(), setup_upvals(), shape_full(), tag_equals(), tex_run_boot(), update_on_definition(), and zip_close().

◆ lua_pushcclosure()

◆ lua_pushfstring()

◆ lua_pushinteger()

void lua_pushinteger ( lua_State L,
lua_Integer  n 
)

Definition at line 466 of file lapi.c.

References api_incr_top, L, lua_lock, lua_unlock, n, and setivalue.

Referenced by _file_info_(), aux_lines(), blob_get_length(), buffer_get_cluster_level(), buffer_get_flags(), buffer_get_glyphs(), buffer_get_invisible_glyph(), buffer_get_length(), buffer_get_replacement_codepoint(), byteoffset(), bytepairs_aux(), bytes_aux(), callback_register(), cdata_index(), characterpairs_aux(), characters_aux(), cmodule_index(), codepoint(), collectrules(), db_gethook(), deffont(), do_getstat(), do_handle_enc(), do_handle_generic_fpst(), do_handle_generic_pst(), do_handle_kernclass(), do_handle_scriptlanglist(), do_lua_nodelib_count(), do_run_callback(), do_scan_internal(), dump_intfield(), dump_uintfield(), f_seek(), face_get_glyph_count(), face_get_upem(), face_ot_color_glyph_get_layers(), face_ot_color_palette_get_colors(), face_ot_color_palette_get_count(), face_ot_layout_find_feature(), face_ot_layout_find_language(), face_ot_layout_find_script(), feature_index(), ff_glyph_index(), ff_index(), ff_seek(), ffi_alignof(), ffi_errno(), ffi_number(), ffi_offsetof(), ffi_sizeof(), font_char_to_lua(), font_commands_to_lua(), font_get_glyph_from_name(), font_get_glyph_h_advance(), font_get_glyph_v_advance(), font_get_nominal_glyph(), font_get_scale(), font_parameters_to_lua(), font_tex_direct_kerning(), font_tex_direct_ligaturing(), font_to_lua(), get_call_level(), get_code_page(), get_etex_parshape(), get_parshape(), get_stack_top(), getattribute(), getcaptures(), getcatcode(), getcount(), getdelcode(), getdelcodes(), getdimen(), getfirstrule(), getglue(), getlccode(), getlist(), getmark(), getmathcode(), getmathcodes(), getmuglue(), getnest(), getpdfdestmargin(), getpdffontname(), getpdffontobjnum(), getpdffontsize(), getpdfgentounicode(), getpdfignoreunknownimages(), getpdfimageresolution(), getpdfinclusionerrorlevel(), getpdflinkmargin(), getpdfmajorversion(), getpdfmaxobjnum(), getpdfminorversion(), getpdfnofobjects(), getpdfomitcharset(), getpdfomitcidset(), getpdforigin(), getpdfpageref(), getpdfthreadmargin(), getpdfxformmargin(), getpdfxformname(), getposition(), getsfcode(), gettex(), getuccode(), gmatch(), gmatch_aux(), handle_axismap(), handle_base(), handle_encmap(), handle_fpst_rule(), handle_generic_fpst(), handle_generic_pst(), handle_mmset(), handle_pfminfo(), handle_splinechar(), handle_splinecharlist(), handle_splinefont(), hookf(), inet_meth_getpeername(), ipairsaux(), iter_aux(), iter_codes(), l_get_compress_level(), l_get_decimal_digits(), l_get_lastannot(), l_get_lastlink(), l_get_lastobj(), l_get_obj_compress_level(), l_get_pk_resolution(), l_get_recompress(), l_get_retval(), l_get_suppress_optional_info(), l_gethpos(), l_getmatrix(), l_getpos(), l_getvpos(), l_immediateobj(), l_obj(), l_reserveobj(), lang_gethjcode(), lang_hyphenation_min(), lang_id(), lang_post_exhyphen_char(), lang_post_hyphen_char(), lang_pre_exhyphen_char(), lang_pre_hyphen_char(), lang_tex_direct_hyphenating(), lj_cf_debug_gethook(), lj_cf_os_execute(), lj_cf_string_gsub(), lua_appendtovlist_callback(), lua_get_local_level(), lua_get_page_state(), lua_get_synctex_line(), lua_get_synctex_mode(), lua_get_synctex_tag(), lua_glyph_not_found_callback(), lua_hpack_filter(), lua_nest_getfield(), lua_nodelib_count(), lua_nodelib_currentattr(), lua_nodelib_dimensions(), lua_nodelib_direct_copy(), lua_nodelib_direct_copy_list(), lua_nodelib_direct_currentattr(), lua_nodelib_direct_dimensions(), lua_nodelib_direct_effective_glue(), lua_nodelib_direct_end_of_math(), lua_nodelib_direct_find_attribute(), lua_nodelib_direct_first_glyph(), lua_nodelib_direct_flatten_discretionaries(), lua_nodelib_direct_free(), lua_nodelib_direct_get_attribute(), lua_nodelib_direct_get_glue(), lua_nodelib_direct_get_synctex_fields(), lua_nodelib_direct_getattributelist(), lua_nodelib_direct_getbox(), lua_nodelib_direct_getchar(), lua_nodelib_direct_getdata(), lua_nodelib_direct_getdepth(), lua_nodelib_direct_getexpansion(), lua_nodelib_direct_getfam(), lua_nodelib_direct_getfield(), lua_nodelib_direct_getfield_whatsit(), lua_nodelib_direct_getfont(), lua_nodelib_direct_getheight(), lua_nodelib_direct_getid(), lua_nodelib_direct_getkern(), lua_nodelib_direct_getlang(), lua_nodelib_direct_getoffsets(), lua_nodelib_direct_getpenalty(), lua_nodelib_direct_getshift(), lua_nodelib_direct_getsubtype(), lua_nodelib_direct_getwidth(), lua_nodelib_direct_has_attribute(), lua_nodelib_direct_hpack(), lua_nodelib_direct_insert_after(), lua_nodelib_direct_insert_before(), lua_nodelib_direct_is_char(), lua_nodelib_direct_is_glyph(), lua_nodelib_direct_last_node(), lua_nodelib_direct_length(), lua_nodelib_direct_new(), lua_nodelib_direct_prepend_prevdepth(), lua_nodelib_direct_rangedimensions(), lua_nodelib_direct_remove(), lua_nodelib_direct_setlink(), lua_nodelib_direct_slide(), lua_nodelib_direct_tail(), lua_nodelib_direct_todirect(), lua_nodelib_direct_traverse(), lua_nodelib_direct_traverse_char(), lua_nodelib_direct_traverse_filtered(), lua_nodelib_direct_traverse_glyph(), lua_nodelib_direct_traverse_list(), lua_nodelib_direct_unset_attribute(), lua_nodelib_direct_usedlist(), lua_nodelib_direct_vpack(), lua_nodelib_effective_glue(), lua_nodelib_fast_getfield(), lua_nodelib_find_attribute(), lua_nodelib_first_glyph(), lua_nodelib_flatten_discretionaries(), lua_nodelib_free(), lua_nodelib_get_attribute(), lua_nodelib_get_glue(), lua_nodelib_getchar(), lua_nodelib_getfield_whatsit(), lua_nodelib_getfont(), lua_nodelib_getid(), lua_nodelib_getsubtype(), lua_nodelib_has_attribute(), lua_nodelib_hpack(), lua_nodelib_id(), lua_nodelib_is_char(), lua_nodelib_is_glyph(), lua_nodelib_is_node(), lua_nodelib_last_node(), lua_nodelib_length(), lua_nodelib_mfont(), lua_nodelib_prepend_prevdepth(), lua_nodelib_rangedimensions(), lua_nodelib_remove(), lua_nodelib_subtype(), lua_nodelib_unset_attribute(), lua_nodelib_usedlist(), lua_nodelib_vpack(), lua_show_valid_keys(), lua_show_valid_list(), lua_to_image(), lua_tokenlib_get_command(), lua_tokenlib_get_id(), lua_tokenlib_get_index(), lua_tokenlib_get_mode(), lua_tokenlib_get_tok(), lua_traceback(), lua_vpack_filter(), luaB_collectgarbage(), luaB_ipairs(), luaB_rawlen(), luaB_select(), luaB_tonumber(), luabytecodecall(), luac_main(), luacall_vf(), luactprint(), luafunctioncall(), luaL_execresult(), luaL_fileresult(), luaL_unref(), luaopen_jit(), luaopen_math(), luaopen_unicode(), m_img_get(), main(), make_link(), make_token_table(), make_vf_table(), math_abs(), math_fmod(), math_random(), math_toint(), meth_receivefrom(), mplib_find_file(), mplib_make_text(), mplib_statistics(), mplib_wrapresults(), newpdfcolorstack(), nextfontid(), nodelib_aux_next(), nodelib_aux_next_char(), nodelib_aux_next_filtered(), nodelib_aux_next_glyph(), nodelib_aux_next_list(), nodelib_direct_aux_next(), nodelib_direct_aux_next_char(), nodelib_direct_aux_next_filtered(), nodelib_direct_aux_next_glyph(), nodelib_direct_aux_next_list(), nodelist_to_lua(), opt_get_linger(), os_exec(), os_execute(), os_spawn(), pack(), pairsmeta(), parse_constant_assignemnt(), parse_enum(), parse_record(), pdfelib_array_size(), pdfelib_dictionary_size(), pdfelib_getfromarray(), pdfelib_getfromdictionary(), pdfelib_getfromreference(), pdfelib_getfromstream(), pdfelib_getinteger(), pdfelib_getmemoryusage(), pdfelib_getnofobjects(), pdfelib_getnofpages(), pdfelib_getsize(), pdfelib_getstatus(), pdfelib_getversion(), pdfelib_pagestotable(), pdfelib_pushvalue(), pdfelib_readfromstream(), pdfelib_readwholestream(), pdfelib_totable(), pdfelib_unencrypt(), pdfincludeimage(), preset_environment(), push_int(), 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_uint(), pusharray(), pushcapture(), pushdictionary(), pusherror(), pushnumint(), pushreference(), pushresult(), pushvalue(), readbytes(), readbytes_s(), readbytetable(), readbytetable_s(), readcardinal1(), readcardinal1_s(), readcardinal2(), readcardinal2_le(), readcardinal2_s(), readcardinal2_s_le(), readcardinal3(), readcardinal3_le(), readcardinal3_s(), readcardinal3_s_le(), readcardinal4(), readcardinal4_le(), readcardinal4_s(), readcardinal4_s_le(), readcardinaltable(), readcardinaltable_s(), readinteger1(), readinteger1_s(), readinteger2(), readinteger2_le(), readinteger2_s(), readinteger2_s_le(), readinteger3(), readinteger3_le(), readinteger3_s(), readinteger3_s_le(), readinteger4(), readinteger4_le(), readinteger4_s(), readinteger4_s_le(), readintegertable(), readintegertable_s(), register_class(), reserve_code(), run_get_biggest_char(), run_get_command_id(), run_scan_code(), run_scan_dimen(), run_scan_int(), runtimecap(), select_open(), set_struct(), setfield(), setposition(), settabsi(), skipposition(), str_byte(), str_bytepairs(), str_bytes(), str_bytetable(), str_characterpairs(), str_characters(), str_find_aux(), str_gsub(), str_len(), str_packsize(), str_unpack(), str_utfcharacters(), str_utflength(), str_utfvalue(), str_utfvalues(), tex_badness(), tex_current_font(), tex_each_font(), tex_each_font_next(), tex_get_box_resource_dimensions(), tex_getmathparm(), tex_getmodevalues(), tex_max_font(), tex_norm_rand(), tex_roundnumber(), tex_run_linebreak(), tex_save_box_resource(), tex_scaledimen(), tex_scaletable(), tex_unif_rand(), tex_use_box_resource(), udp_open(), unic_byte(), unic_find_aux(), unic_gsub(), unic_len(), utf_failed(), utfcharacters_aux(), utflen(), utfvalues_aux(), write_image_object(), write_lua_math_parameters(), write_lua_parameters(), and zip_readfile().

◆ lua_pushlightuserdata()

◆ lua_pushlstring()

◆ lua_pushnil()

void lua_pushnil ( lua_State L)

Definition at line 450 of file lapi.c.

References api_incr_top, L, lua_lock, lua_unlock, and setnilvalue.

Referenced by _file_info_(), buffer_meth_receive(), buffer_meth_send(), byteoffset(), bytepairs_aux(), callback_find(), callback_register(), cdata_free(), cdata_gc(), change_dir(), characters_from_lua(), check_pointer(), collectrules(), copy_submembers(), db_gethook(), db_getinfo(), db_getlocal(), db_getmetatable(), db_getuservalue(), dir_iter(), do_convert(), do_getstat(), do_lastitem(), do_lua_kpathsea_lookup(), do_scan_internal(), ex_uname(), exception_strings(), f_open(), face_get_name(), face_get_table_tags(), face_new(), face_new_from_blob(), face_ot_color_glyph_get_layers(), face_ot_color_glyph_get_svg(), face_ot_color_palette_get_colors(), face_ot_layout_get_feature_tags(), face_ot_layout_get_language_tags(), face_ot_layout_get_script_tags(), feature_index(), feature_new(), ff_apply_afmfile(), ff_apply_featurefile(), ff_fields(), ff_glyph_index(), ff_glyphs_index(), ff_index(), ff_info(), ff_open(), file_lock(), file_unlock(), findfield(), font_char_from_lua(), font_from_lua(), font_get_glyph_extents(), font_get_glyph_from_name(), font_get_glyph_name(), font_get_h_extents(), font_get_nominal_glyph(), font_get_v_extents(), font_tex_direct_kerning(), font_tex_direct_ligaturing(), font_tex_kerning(), font_tex_ligaturing(), frozenfont(), g_read(), get_bytecode(), get_dir(), get_etex_parshape(), get_luaname(), get_parshape(), getcopy(), getfont(), getlist(), getmark(), getnest(), getpdffontname(), getpdffontobjnum(), getpdffontsize(), getpdfobjtype(), getpdfpageref(), getpdfxformname(), getposition(), gettex(), global_connect(), global_create(), handle_fpst_rule(), hide_lua_table(), hide_lua_value(), hookf(), inet_global_getaddrinfo(), inet_global_gethostname(), inet_global_getnameinfo(), inet_global_tohostname(), inet_global_toip(), inet_meth_getpeername(), inet_meth_getsockname(), io_lines(), io_noclose(), io_type(), l_new_image(), lang_hyphenation(), lang_patterns(), lfs_g_setmode(), lfs_lock_dir(), lj_cf_os_getenv(), lj_cf_os_time(), lj_cf_package_loadlib(), lj_cf_package_searchpath(), ll_loadlib(), ll_searchpath(), load_aux(), lp_match(), lp_type(), lua_ff_pushfont(), lua_ff_pushglyph(), lua_ff_pushsubfont(), lua_hpack_filter(), lua_nest_getfield(), lua_nodelib_currentattr(), lua_nodelib_dimensions(), lua_nodelib_direct_copy_list(), lua_nodelib_direct_cp_skipable(), lua_nodelib_direct_currentattr(), lua_nodelib_direct_effective_glue(), lua_nodelib_direct_first_glyph(), lua_nodelib_direct_free(), lua_nodelib_direct_get_attribute(), lua_nodelib_direct_get_property(), lua_nodelib_direct_getattributelist(), lua_nodelib_direct_getboth(), lua_nodelib_direct_getbox(), lua_nodelib_direct_getchar(), lua_nodelib_direct_getcomponents(), lua_nodelib_direct_getdata(), lua_nodelib_direct_getdepth(), lua_nodelib_direct_getdir(), lua_nodelib_direct_getdirection(), lua_nodelib_direct_getexpansion(), lua_nodelib_direct_getfam(), lua_nodelib_direct_getfield(), lua_nodelib_direct_getfield_whatsit(), lua_nodelib_direct_getfont(), lua_nodelib_direct_getheight(), lua_nodelib_direct_getid(), lua_nodelib_direct_getkern(), lua_nodelib_direct_getlang(), lua_nodelib_direct_getleader(), lua_nodelib_direct_getlist(), lua_nodelib_direct_getnext(), lua_nodelib_direct_getnucleus(), lua_nodelib_direct_getpenalty(), lua_nodelib_direct_getprev(), lua_nodelib_direct_getshift(), lua_nodelib_direct_getsub(), lua_nodelib_direct_getsubtype(), lua_nodelib_direct_getsup(), lua_nodelib_direct_getwidth(), lua_nodelib_direct_has_attribute(), lua_nodelib_direct_has_glyph(), lua_nodelib_direct_is_char(), lua_nodelib_direct_prepend_prevdepth(), lua_nodelib_direct_remove(), lua_nodelib_direct_setlink(), lua_nodelib_direct_slide(), lua_nodelib_direct_tail(), lua_nodelib_direct_todirect(), lua_nodelib_direct_tostring(), lua_nodelib_direct_traverse(), lua_nodelib_direct_traverse_char(), lua_nodelib_direct_traverse_filtered(), lua_nodelib_direct_traverse_glyph(), lua_nodelib_direct_traverse_list(), lua_nodelib_direct_unset_attribute(), lua_nodelib_effective_glue(), lua_nodelib_fast_getfield(), lua_nodelib_first_glyph(), lua_nodelib_free(), lua_nodelib_get_attribute(), lua_nodelib_get_property(), lua_nodelib_get_property_t(), lua_nodelib_getboth(), lua_nodelib_getchar(), lua_nodelib_getfield(), lua_nodelib_getfield_whatsit(), lua_nodelib_getfont(), lua_nodelib_getid(), lua_nodelib_getleader(), lua_nodelib_getlist(), lua_nodelib_getnext(), lua_nodelib_getprev(), lua_nodelib_getsubtype(), lua_nodelib_has_attribute(), lua_nodelib_has_glyph(), lua_nodelib_id(), lua_nodelib_is_char(), lua_nodelib_make_extensible(), lua_nodelib_next(), lua_nodelib_prepend_prevdepth(), lua_nodelib_prev(), lua_nodelib_properties_flush_table(), lua_nodelib_push(), lua_nodelib_push_fast(), lua_nodelib_subtype(), lua_nodelib_subtypes(), lua_nodelib_traverse(), lua_nodelib_traverse_char(), lua_nodelib_traverse_filtered(), lua_nodelib_traverse_glyph(), lua_nodelib_traverse_list(), lua_nodelib_type(), lua_nodelib_unset_attribute(), lua_nodelib_values(), lua_tokenlib_get_csname(), lua_tokenlib_get_index(), lua_tokenlib_getfield(), lua_tokenlib_type(), lua_vpack_filter(), luaB_getmetatable(), luaB_next(), luaB_tonumber(), luainterpreter(), luaL_execresult(), luaL_fileresult(), luaopen_lua(), luatex_dofile(), luatex_loadfile(), lzlib_compress(), lzlib_decompress(), m_img_get(), make_vf_table(), math_toint(), math_type(), meth_accept(), meth_bind(), meth_connect(), meth_getsockname(), meth_listen(), meth_receive(), meth_receivefrom(), meth_send(), meth_sendto(), meth_setpeername(), meth_setsockname(), mime_global_b64(), mime_global_dot(), mime_global_eol(), mime_global_qp(), mime_global_qpwrp(), mime_global_unb64(), mime_global_unqp(), mime_global_wrp(), mplib_execute(), mplib_fig_charcode(), mplib_fig_depth(), mplib_fig_filename(), mplib_fig_height(), mplib_fig_italcorr(), mplib_fig_png(), mplib_fig_postscript(), mplib_fig_svg(), mplib_fig_width(), mplib_fill(), mplib_finish(), mplib_gr_fields(), mplib_gr_peninfo(), mplib_new(), mplib_push_color(), mplib_push_dash(), mplib_push_path(), mplib_push_transform(), mplib_solve_path(), mplib_special(), mplib_start_bounds(), mplib_start_clip(), mplib_statistics(), mplib_stroked(), mplib_text(), nodelib_aux_next(), nodelib_aux_next_char(), nodelib_aux_next_filtered(), nodelib_aux_next_glyph(), nodelib_aux_next_list(), nodelib_aux_nil(), nodelib_direct_aux_next(), nodelib_direct_aux_next_char(), nodelib_direct_aux_next_filtered(), nodelib_direct_aux_next_glyph(), nodelib_direct_aux_next_list(), nodelib_toparshape(), nodelib_topenalties(), opt_get(), opt_get_error(), opt_get_ip_multicast_if(), opt_set(), os_exec(), os_execute(), os_spawn(), os_tmpdir(), pairsmeta(), pdfelib_pushvalue(), pdfincludeimage(), push_builtin(), push_token(), pusherror(), pushresult(), pushvalue(), read2dot14(), read2dot14_s(), read_lua_math_parameters(), read_lua_parameters(), read_number(), readbytetable_s(), readcardinal1(), readcardinal1_s(), readcardinal2(), readcardinal2_le(), readcardinal2_s(), readcardinal2_s_le(), readcardinal3(), readcardinal3_le(), readcardinal3_s(), readcardinal3_s_le(), readcardinal4(), readcardinal4_le(), readcardinal4_s(), readcardinal4_s_le(), readfixed2(), readfixed2_s(), readfixed4(), readfixed4_s(), readinteger1(), readinteger1_s(), readinteger2(), readinteger2_le(), readinteger2_s(), readinteger2_s_le(), readinteger3(), readinteger3_le(), readinteger3_s(), readinteger3_s_le(), readinteger4(), readinteger4_le(), readinteger4_s(), readinteger4_s_le(), readline(), reserve_code(), run_get_command_id(), run_lookup(), run_scan_argument(), run_scan_code(), run_scan_csname(), run_scan_float_indeed(), run_scan_string(), run_scan_word(), runcmdopt(), scanner_popany(), scanner_poparray(), scanner_popboolean(), scanner_popdictionary(), scanner_popname(), scanner_popnumber(), scanner_popstring(), set_bytecode(), set_defined(), set_struct(), setposition(), skipposition(), splitbox(), str_find_aux(), str_pack(), tcp_create(), tex_each_font_next(), tex_get_box_resource_dimensions(), tex_getmathparm(), tex_scaletable(), tex_use_box_resource(), to_cdata(), tremove(), udp_create(), unic_find_aux(), unwrap(), utflen(), zip_open(), zip_openfile(), and zip_type().

◆ lua_pushnumber()

void lua_pushnumber ( lua_State L,
lua_Number  n 
)

Definition at line 458 of file lapi.c.

References api_incr_top, L, lua_lock, lua_unlock, n, and setfltvalue.

Referenced by buffer_get_glyphs(), buffer_meth_getstats(), buffer_meth_receive(), buffer_meth_send(), buffer_meth_setstats(), cdata_index(), check_dirty(), cmodule_index(), collect_fd(), do_run_callback(), dump_floatfield(), dump_realfield(), face_collect_unicodes(), face_get_table_tags(), face_ot_color_glyph_get_layers(), face_ot_color_palette_get_colors(), face_ot_layout_get_feature_tags(), face_ot_layout_get_language_tags(), face_ot_layout_get_script_tags(), font_get_glyph_extents(), font_get_h_extents(), font_get_v_extents(), inet_global_getaddrinfo(), inet_global_getnameinfo(), inet_pushresolved(), l_getmatrix(), lj_cf_os_difftime(), lj_cf_os_time(), lua_math_random(), lua_nodelib_direct_effective_glue(), lua_nodelib_direct_get_glue(), lua_nodelib_direct_getfield(), lua_nodelib_direct_getkern(), lua_nodelib_direct_getwidth(), lua_nodelib_effective_glue(), lua_nodelib_fast_getfield(), lua_nodelib_get_glue(), luaB_collectgarbage(), luaopen_lpeg(), luaopen_math(), luaopen_unicode(), lzlib_adler32(), lzlib_compress(), lzlib_crc32(), lzlib_decompress(), lzstream_adler(), lzstream_reset(), make_assoc(), math_abs(), math_acos(), math_asin(), math_atan(), math_cos(), math_deg(), math_exp(), math_fmod(), math_log(), math_modf(), math_rad(), math_random(), math_sin(), math_sqrt(), math_tan(), meth_bind(), meth_close(), meth_connect(), meth_getfd(), meth_listen(), meth_send(), meth_sendto(), meth_setpeername(), meth_setsockname(), meth_shutdown(), mfluaPOSTfillenvelopelhs(), mfluaPOSTfillenveloperhs(), mfluaPOSTfillspeclhs(), mfluaPOSTfillspecrhs(), mfluaPOSTmakechoices(), mfluaPOSTmakeellipse(), mfluaPOSTmakespeclhs(), mfluaPOSTmakespecrhs(), mfluaPOSTmovetoedges(), mfluaPOSToffsetprep(), mfluaPREfillenvelopelhs(), mfluaPREfillenveloperhs(), mfluaPREfillspeclhs(), mfluaPREfillspecrhs(), mfluaPREmakechoices(), mfluaPREmakeellipse(), mfluaPREmakespeclhs(), mfluaPREmakespecrhs(), mfluaPREmovetoedges(), mfluaPREoffsetprep(), mfluaprintedges(), mfluaprintpath(), mfluaprintretrogradeline(), mfluaprinttransitionlinefrom(), mfluaprinttransitionlineto(), mime_global_dot(), mime_global_eol(), mime_global_qpwrp(), mime_global_wrp(), mplib_char_dimension(), mplib_fig_bb(), mplib_fig_charcode(), mplib_fig_depth(), mplib_fig_height(), mplib_fig_italcorr(), mplib_fig_width(), mplib_fill(), mplib_get_numeric(), mplib_gr_peninfo(), mplib_push_dash(), mplib_solve_path(), mplib_stroked(), opt_getint(), opt_set(), os_clock(), os_difftime(), os_gettimeofday(), os_times(), pdfelib_getbox(), pdfelib_getnumber(), pdfelib_pushvalue(), priv_mfweb_info(), priv_mfweb_left_type(), priv_mfweb_left_x(), priv_mfweb_left_y(), priv_mfweb_link(), priv_mfweb_LUAGLOBALGET_boundary_char(), priv_mfweb_LUAGLOBALGET_char_code(), priv_mfweb_LUAGLOBALGET_char_dp(), priv_mfweb_LUAGLOBALGET_char_dx(), priv_mfweb_LUAGLOBALGET_char_dy(), priv_mfweb_LUAGLOBALGET_char_ext(), priv_mfweb_LUAGLOBALGET_char_ht(), priv_mfweb_LUAGLOBALGET_char_ic(), priv_mfweb_LUAGLOBALGET_char_wd(), priv_mfweb_LUAGLOBALGET_cur_edges(), priv_mfweb_LUAGLOBALGET_cur_exp(), priv_mfweb_LUAGLOBALGET_cur_pen(), priv_mfweb_LUAGLOBALGET_designsize(), priv_mfweb_LUAGLOBALGET_fillin(), priv_mfweb_LUAGLOBALGET_granularity(), priv_mfweb_LUAGLOBALGET_hppp(), priv_mfweb_LUAGLOBALGET_mem_top(), priv_mfweb_LUAGLOBALGET_octant(), priv_mfweb_LUAGLOBALGET_turning_check(), priv_mfweb_LUAGLOBALGET_turning_number(), priv_mfweb_LUAGLOBALGET_vppp(), priv_mfweb_LUAGLOBALGET_x_offset(), priv_mfweb_LUAGLOBALGET_y_offset(), priv_mfweb_right_type(), priv_mfweb_right_x(), priv_mfweb_right_y(), priv_mfweb_x_coord(), priv_mfweb_y_coord(), push_float(), push_token(), pushnumint(), pushvalue(), read2dot14(), read2dot14_s(), readfixed2(), readfixed2_s(), readfixed4(), readfixed4_s(), reserve_code(), return_fd(), run_scan_float_indeed(), scanner_popsingular(), str_unpack(), timeout_lua_gettime(), timeout_meth_gettimeout(), and timeout_meth_settimeout().

◆ lua_pushstring()

const char* lua_pushstring ( lua_State L,
const char *  s 
)

Definition at line 491 of file lapi.c.

References api_incr_top, getstr, L, lua_lock, lua_unlock, luaC_checkGC, luaS_new, NULL, s, setnilvalue, and setsvalue2s.

Referenced by _file_info_(), auxiliar_add2group(), auxiliar_getgroupudata(), auxiliar_newclass(), auxiliar_tostring(), auxupvalue(), base_open(), buffer_meth_receive(), buffer_meth_send(), call_user_binop(), call_user_op(), callback_find(), callback_listf(), callback_register(), cdata_tostring(), checkfield(), checkload(), cmodule_index(), createargtable(), ctype_call(), db_gethook(), db_getlocal(), db_sethook(), db_setlocal(), debug_getupvalue(), dir_iter(), direction_to_string(), dirty(), do_convert(), do_getstat(), do_handle_anchorpoint(), do_handle_enc(), do_handle_generic_pst(), do_handle_kernclass(), do_handle_lookup(), do_handle_scriptlanglist(), do_handle_ttflangname(), do_lang_clean(), do_lua_kpathsea_lookup(), do_lua_nodelib_types(), do_run_callback(), do_scan_internal(), dobytecode(), dolibrary(), dump_char_ref(), dump_enumfield(), dump_floatfield(), dump_intfield(), dump_lstringfield(), dump_realfield(), dump_stringfield(), dump_subtable_name(), dump_tag(), dump_uintfield(), ex_uname(), expand_braces(), expand_path(), expand_var(), face_get_name(), feature_to_string(), ff_apply_afmfile(), ff_apply_featurefile(), ff_fields(), ff_glyph_index(), ff_glyphs_index(), ff_index(), ff_open(), ffi_type(), find_env(), find_file(), findloader(), font_commands_to_lua(), font_get_glyph_name(), font_to_lua(), get_dir(), get_luaname(), get_macro(), get_meaning(), get_pdf_table_string(), getargs(), getfd(), getmark(), getpdfcreationdate(), getpdfobjtype(), gettoks(), global_connect(), global_create(), global_select(), handle_base(), handle_encmap(), handle_fpst_rule(), handle_generic_fpst(), handle_mmset(), handle_psdict(), handle_splinecharlist(), handle_splinefont(), hookf(), hyphenation_exception(), inet_global_getaddrinfo(), inet_global_gethostname(), inet_global_getnameinfo(), inet_global_tohostname(), inet_global_toip(), inet_meth_getpeername(), inet_meth_getsockname(), inet_open(), inet_pushresolved(), lang_hyphenation(), lang_patterns(), language_to_string(), lfs_g_setmode(), lfs_lock_dir(), lj_cf_coroutine_status(), lj_cf_debug_gethook(), lj_cf_debug_getlocal(), lj_cf_debug_setlocal(), lj_cf_os_getenv(), lj_cf_os_setlocale(), lj_cf_os_tmpname(), lj_cf_package_loadlib(), lj_cf_package_require(), ll_loadlib(), ll_require(), load_hyphenation(), lp_version(), lua_initialize(), lua_kpathsea_expand_braces(), lua_kpathsea_expand_path(), lua_kpathsea_expand_var(), lua_kpathsea_find_file(), lua_kpathsea_readable_file(), lua_kpathsea_show_path(), lua_kpathsea_var_value(), lua_kpse_version(), lua_nodelib_direct_hpack(), lua_nodelib_direct_vpack(), lua_nodelib_do_tostring(), lua_nodelib_hpack(), lua_nodelib_vpack(), lua_show_valid_list(), lua_tokenlib_get_csname(), lua_tokenlib_tostring(), lua_tokenlib_type(), luaB_type(), luaL_execresult(), luaL_fileresult(), luaL_getmetafield(), luaL_newmetatable(), luaL_openlibs(), luaL_requiref(), luaL_tolstring(), luaopen_ff(), luaopen_lua(), luaopen_mime_core(), luaopen_node(), luaopen_pdf(), luaopen_stats(), luaopen_tex(), luatex_dofile(), luatex_kpse_clua_find(), luatex_loadfile(), lzlib_version(), lzstream_tostring(), m_img_get(), make_table(), make_vf_table(), meth_accept(), meth_bind(), meth_connect(), meth_getsockname(), meth_listen(), meth_receive(), meth_receivefrom(), meth_send(), meth_sendto(), meth_setpeername(), meth_setsockname(), mfluabeginprogram(), mfluaendprogram(), mfluainitialize(), mfluaPOSTfillenvelopelhs(), mfluaPOSTfillenveloperhs(), mfluaPOSTfillspeclhs(), mfluaPOSTfillspecrhs(), mfluaPOSTfinalcleanup(), mfluaPOSTmaincontrol(), mfluaPOSTmakechoices(), mfluaPOSTmakeellipse(), mfluaPOSTmakespeclhs(), mfluaPOSTmakespecrhs(), mfluaPOSTmovetoedges(), mfluaPOSToffsetprep(), mfluaPREfillenvelopelhs(), mfluaPREfillenveloperhs(), mfluaPREfillspeclhs(), mfluaPREfillspecrhs(), mfluaPREmaincontrol(), mfluaPREmakechoices(), mfluaPREmakeellipse(), mfluaPREmakespeclhs(), mfluaPREmakespecrhs(), mfluaPREmovetoedges(), mfluaPREoffsetprep(), mfluaPREstartofMF(), mfluaprintedges(), mfluaprintpath(), mfluaprintretrogradeline(), mfluaprinttransitionlinefrom(), mfluaprinttransitionlineto(), mime_global_qpwrp(), mime_global_wrp(), modinit(), mplib_fig_filename(), mplib_fig_postscript(), mplib_fig_svg(), mplib_fill(), mplib_find_file(), mplib_find_file_function(), mplib_get_string(), mplib_gr_fields(), mplib_make_text(), mplib_make_text_function(), mplib_push_path(), mplib_run_script(), mplib_run_script_function(), mplib_script_error(), mplib_script_error_function(), mplib_solve_path(), mplib_special(), mplib_stroked(), mplib_text(), mplib_version(), opt_get(), opt_get_error(), opt_get_ip_multicast_if(), opt_ip6_setmembership(), opt_set(), opt_set_linger(), opt_setmembership(), os_execute(), os_getenv(), os_setlocale(), os_tmpdir(), os_tmpname(), parse_type_name(), pdfelib_new(), prepare_cmdline(), preset_environment(), print_pdf_table_string(), priv_mflua_banner(), priv_mflua_version(), push_st_mode(), push_st_perm(), push_token(), pusherror(), pushglobalfuncname(), pushline(), read_char_packets(), readable_file(), run_saved_callback(), run_scan_csname(), runcmdopt(), scanner_scan(), script_to_string(), searcher_Croot(), select_open(), set_program_name(), setpath(), settabss(), show_path(), show_texmfcnf(), statslist(), tag_to_string(), tcp_create(), tex_extraprimitives(), tex_hashpairs(), tex_primitives(), udp_create(), var_value(), version(), zip_openfile(), and zip_readfile().

◆ lua_pushthread()

int lua_pushthread ( lua_State L)

◆ lua_pushvalue()

void lua_pushvalue ( lua_State L,
int  idx 
)

Definition at line 237 of file lapi.c.

References api_incr_top, idx, index2addr(), L, lua_lock, lua_unlock, and setobj2s.

Referenced by add_member(), add_value(), addtoclib(), addtoktable(), aux_lines(), auxsort(), buffer_meth_receive(), bytecode_register_shadow_set(), calculate_struct_offsets(), call_user_binop(), call_user_op(), callback_register(), cdata_call(), cdata_free(), cdata_gc(), cdata_index(), cdata_set(), check_dirty(), check_enum(), cmodule_index(), collect_fd(), collectrules(), compile_callback(), copy_submembers(), createmeta(), createmetatable(), createsearcherstable(), createstdfile(), db_getinfo(), db_getlocal(), db_getregistry(), db_sethook(), db_traceback(), dirty(), do_handle_anchorpoint(), do_new(), do_run_callback(), dojitcmd(), dooptions(), equals_upval(), f_write(), ff_index(), ffi_abi(), ffi_alignof(), ffi_gc(), ffi_metatype(), ffi_number(), ffi_offsetof(), ffi_type(), finalize(), find_canonical_usr(), finishpcall(), foldcap(), g_iofile(), generic_reader(), get_bytecode(), getfd(), getfirstrule(), global_newtry(), global_protect(), initialrulename(), io_readline(), iter_codes(), lj_cf_debug_getlocal(), lj_cf_debug_sethook(), lj_cf_error(), lj_cf_jit_attach(), lj_cf_newproxy(), lj_cf_package_module(), lj_cf_package_require(), lj_cf_package_seeall(), ll_register(), ll_require(), load_aux(), loadjitmodule(), lookup_cdata_index(), lookup_global(), lp_choice(), lp_seq(), lua_nodelib_direct_insert_after(), lua_nodelib_direct_insert_before(), lua_nodelib_insert_after(), lua_nodelib_insert_before(), lua_nodelib_properties_flush_table(), lua_nodelib_setfield_whatsit(), lua_traceback(), luaB_cocreate(), luaB_error(), luaB_ipairs(), luaB_print(), luaB_xpcall(), luactprint(), luaL_callmeta(), luaL_findtable(), luaL_getsubtable(), luaL_newmetatable(), luaL_pushmodule(), luaL_requiref(), luaL_setfuncs(), luaL_tolstring(), luaopen_base(), luaopen_gzip(), luaopen_kpse(), luaopen_lang(), luaopen_lfs(), luaopen_lpeg(), luaopen_luaharfbuzz(), luaopen_mplib(), luaopen_package(), luaopen_pdfscanner(), luaopen_socket_unix(), luaopen_unicode(), luaopen_zip(), luaopen_zlib(), luatex_kpse_clua_find(), luatex_kpse_lua_find(), luatex_loadfile(), make_assoc(), math_max(), math_min(), modinit(), mplib_find_file_function(), mplib_make_text_function(), mplib_run_script_function(), mplib_script_error_function(), newtree(), numcap(), pairsmeta(), parse_argument(), parse_enum(), parse_record(), protected_(), push_cdata(), push_ctype(), pushcapture(), register_class(), runtimecap(), runtoks(), scanner_scan(), set_struct(), setfenv(), sort_comp(), str_format(), str_split(), tex_save_box_resource(), tex_scaletable(), tmove(), treatstackoption(), update_on_definition(), wrap(), zip_openfile(), and zip_readline().

◆ lua_pushvfstring()

const char* lua_pushvfstring ( lua_State L,
const char *  fmt,
va_list  argp 
)

Definition at line 508 of file lapi.c.

References argp, fmt, L, lua_lock, lua_unlock, luaC_checkGC, luaO_pushvfstring(), and ret.

Referenced by check_token(), and luaL_error().

◆ lua_rawequal()

◆ lua_rawget()

◆ lua_rawgeti()

int lua_rawgeti ( lua_State L,
int  idx,
lua_Integer  n 
)

Definition at line 658 of file lapi.c.

References api_check, api_incr_top, hvalue, idx, index2addr(), L, lua_lock, lua_unlock, luaH_getint(), n, setobj2s, t, ttistable, and ttnov.

Referenced by auxsort(), bytecode_register_shadow_get(), calculate_struct_offsets(), callback_find(), callback_register(), characters_from_lua(), check_complex_double(), compile_callback(), compile_function(), concattable(), copy_image(), copy_late_lua(), copy_pdf_literal(), copy_submembers(), copy_user_lua(), count_char_packet_bytes(), do_define_font(), do_flatten_command(), do_luacprint(), exception_strings(), expand(), finalfix(), find_canonical_usr(), findloader(), fixonecall(), font_char_from_lua(), font_char_to_lua(), font_from_lua(), font_to_lua(), gctm(), get_callback(), get_command_names(), get_pdf_table_string(), get_saved_lua_boolean(), get_saved_lua_number(), get_saved_lua_string(), getfirstrule(), handle_script(), hyphenation_exception(), lj_cf_package_require(), load_hyphenation(), lua_nodelib_direct_get_property(), lua_nodelib_fields(), lua_nodelib_get_property(), lua_nodelib_get_property_t(), lua_nodelib_getfield_whatsit(), lua_nodelib_subtypes(), lua_nodelib_values(), lua_numeric_field_by_index(), lua_pdf_literal(), lua_show_valid_keys(), lua_to_image(), lua_unsigned_numeric_field_by_index(), luacall(), luacall_vf(), luaccprint(), luafunctioncall(), luaL_ref(), luaL_unref(), luatex_kpse_clua_find(), luatex_kpse_lua_find(), mplib_solve_path(), n_boolean_field(), n_enum_field(), n_some_field(), n_string_field(), n_string_field_copy(), nodelib_toparshape(), pdf_write_obj(), pdfincludechar(), print_pdf_table_string(), printktable(), push_func_ref(), push_function_type_strings(), pushargs(), read_char_packets(), read_lua_parameters(), reserve_code(), run_put_next(), run_saved_callback(), scanner_popsingular(), scanner_scan(), set_array(), set_struct(), setdelcode(), setmathcode(), setup_lua_path(), show_node_wrapup_pdf(), store_math_kerns(), tex_enableprimitives(), texerror(), token_from_lua(), tokenlist_from_lua(), unhide_lua_table(), unhide_lua_value(), unwrap(), verifyerror(), verifygrammar(), vf_out_image(), x86_return_size(), and zip_openfile().

◆ lua_rawgetp()

int lua_rawgetp ( lua_State L,
int  idx,
const void p 
)

◆ lua_rawlen()

size_t lua_rawlen ( lua_State L,
int  idx 
)

Definition at line 392 of file lapi.c.

References hvalue, idx, index2addr(), L, LUA_TLNGSTR, LUA_TSHRSTR, LUA_TTABLE, LUA_TUSERDATA, luaH_getn(), tsvalue, ttype, and uvalue.

◆ lua_rawset()

void lua_rawset ( lua_State L,
int  idx 
)

Definition at line 801 of file lapi.c.

References api_check, api_checknelems, hvalue, idx, index2addr(), invalidateTMcache, L, lua_lock, lua_unlock, luaC_barrierback, luaH_set(), setobj2t, slot, and ttistable.

Referenced by _file_info_(), add_member(), auxiliar_add2group(), auxiliar_newclass(), base_open(), callback_listf(), cdata_call(), cdata_free(), cdata_gc(), cdata_set(), check_cfunction(), cmodule_index(), copy_submembers(), createmeta(), db_sethook(), do_handle_anchorpoint(), do_handle_enc(), do_handle_generic_fpst(), do_handle_generic_pst(), do_handle_kernclass(), do_handle_lookup(), do_handle_scriptlanglist(), do_handle_ttflangname(), do_new(), dump_char_ref(), dump_enumfield(), dump_floatfield(), dump_intfield(), dump_lstringfield(), dump_realfield(), dump_stringfield(), dump_tag(), dump_uintfield(), face_collect_unicodes(), face_get_table_tags(), face_ot_layout_get_feature_tags(), face_ot_layout_get_language_tags(), face_ot_layout_get_script_tags(), ff_glyph_index(), ff_index(), ffi_gc(), ffi_metatype(), find_canonical_usr(), find_env(), font_char_to_lua(), font_commands_to_lua(), font_to_lua(), handle_base(), handle_encmap(), handle_fpst_rule(), handle_generic_fpst(), handle_generic_pst(), handle_psdict(), handle_splinechar(), handle_splinecharlist(), handle_splinefont(), lj_cf_debug_sethook(), lj_cf_newproxy(), lj_cf_rawset(), load_hyphenation(), luaB_rawset(), luaopen_ff(), luaopen_mime_core(), luaopen_node(), luaopen_zlib(), make_vf_table(), mplib_find_file_function(), mplib_get_path(), mplib_make_text_function(), mplib_push_dash(), mplib_push_path(), mplib_push_pentype(), mplib_run_script_function(), mplib_script_error_function(), mplib_solve_path(), mplib_statistics(), mplib_wrapresults(), parse_constant_assignemnt(), parse_enum(), parse_record(), parse_root(), parse_typedef(), pdfelib_dictionarytotable(), push_dict(), select_open(), set_defined(), set_program_name(), set_upval(), settex(), statslist(), tex_getmodevalues(), tex_scaletable(), udp_open(), update_on_definition(), write_lua_math_parameters(), and write_lua_parameters().

◆ lua_rawseti()

void lua_rawseti ( lua_State L,
int  idx,
lua_Integer  n 
)

Definition at line 817 of file lapi.c.

References api_check, api_checknelems, hvalue, idx, index2addr(), L, lua_lock, lua_unlock, luaC_barrierback, luaH_setint(), n, and ttistable.

Referenced by add_member(), addtoclib(), addtoktable(), bytecode_register_shadow_set(), callback_register(), cdata_set(), compile_callback(), concattable(), copy_submembers(), createargtable(), createsearcherstable(), do_handle_anchorpoint(), do_handle_generic_pst(), do_lua_nodelib_types(), do_new(), dump_math_kerns(), dump_subtable_name(), ff_apply_afmfile(), ff_apply_featurefile(), ff_fields(), ff_index(), ff_info(), ff_open(), find_canonical_usr(), font_char_to_lua(), font_commands_to_lua(), font_parameters_to_lua(), get_command_names(), get_etex_parshape(), get_parshape(), getargs(), getdelcode(), getmathcode(), handle_altuni(), handle_axismap(), handle_base(), handle_glyphvariants(), handle_mathkernvertex(), handle_mmset(), handle_pfminfo(), handle_splinefont(), initialrulename(), lj_cf_jit_attach(), lua_nodelib_direct_set_property(), lua_nodelib_fields(), lua_nodelib_set_property(), lua_nodelib_set_property_t(), lua_nodelib_subtypes(), lua_nodelib_values(), luaL_ref(), luaL_unref(), luaopen_package(), make_token_table(), make_vf_table(), mplib_fig_bb(), mplib_fig_body(), mplib_fig_copy_body(), mplib_get_path(), mplib_gr_fields(), mplib_push_color(), mplib_push_dash(), mplib_push_path(), mplib_push_transform(), mplib_wrapresults(), parse_function(), parse_function_arguments(), pdfelib_arraytotable(), pdfelib_getbox(), pdfelib_pagestotable(), pdfelib_totable(), prepare_cmdline(), push_array(), push_token(), pushpages(), readbytetable(), readbytetable_s(), readcardinaltable(), readcardinaltable_s(), readintegertable(), readintegertable_s(), run_scan_toks(), set2(), setup_lua_path(), str_bytetable(), str_split(), tablecap(), tex_extraprimitives(), tex_hashpairs(), tex_primitives(), tokenlist_to_lua(), wrap(), write_lua_math_parameters(), write_lua_parameters(), and zip_openfile().

◆ lua_rawsetp()

void lua_rawsetp ( lua_State L,
int  idx,
const void p 
)

◆ lua_rotate()

void lua_rotate ( lua_State L,
int  idx,
int  n 
)

Definition at line 207 of file lapi.c.

References api_check, api_checkstackindex, idx, index2addr(), L, lua_lock, lua_unlock, m, n, p, reverse(), and t.

Referenced by aux_lines(), db_getlocal(), luaB_xpcall(), and treatstackoption().

◆ lua_setallocf()

void lua_setallocf ( lua_State L,
lua_Alloc  f,
void ud 
)

Definition at line 1176 of file lapi.c.

References f, G, L, lua_lock, and lua_unlock.

◆ lua_setfield()

static void lua_setfield ( lua_State L,
int  idx,
const char *  k 
)

Definition at line 777 of file lapi.c.

References auxsetstr(), idx, index2addr(), k, L, and lua_lock.

Referenced by add_alias(), add_typedef(), addtoclib(), buffer_get_glyphs(), createcat(), createclibstable(), createmeta(), createmetatable(), createsearcherstable(), createstdfile(), db_sethook(), dir_create_meta(), do_ff_info(), do_handle_baselangextent(), do_handle_enc(), do_handle_featurescriptlanglist(), do_handle_generic_fpst(), do_handle_kernclass(), do_handle_liglist(), do_handle_lookup(), do_handle_lookup_subtable(), do_handle_scriptlanglist(), do_handle_ttflangname(), dump_subtable_name(), ex_uname(), except_open(), face_ot_color_glyph_get_layers(), face_ot_color_palette_get_colors(), ff_index(), ffi_debug(), font_get_glyph_extents(), font_get_h_extents(), font_get_v_extents(), g_iofile(), handle_axismap(), handle_base(), handle_encmap(), handle_fpst_rule(), handle_generic_pst(), handle_glyphvariants(), handle_mathkern(), handle_mmset(), handle_pfminfo(), handle_splinechar(), handle_splinefont(), hide_lua_value(), init_tex_table(), io_std_new(), lib_create_table(), link_info(), lj_cf_jit_util_funcinfo(), lj_cf_jit_util_traceinfo(), lj_cf_package_require(), lj_cf_package_seeall(), lj_lib_prereg(), ll_require(), lock_create_meta(), lp_setmax(), luainterpreter(), luaL_getsubtable(), luaL_newmetatable(), luaL_openlibs(), luaL_pushmodule(), luaL_requiref(), luaL_setfuncs(), luaopen_base(), luaopen_io(), luaopen_kpse(), luaopen_lang(), luaopen_lpeg(), luaopen_lua(), luaopen_luaharfbuzz(), luaopen_math(), luaopen_mplib(), luaopen_package(), luaopen_pdfscanner(), luaopen_socket_unix(), luaopen_table(), luaopen_unicode(), luaopen_utf8(), luatex_kpse_clua_find(), make_vf_table(), modinit(), mplib_gr_peninfo(), newbox(), open_oslibext(), open_strlibext(), opt_get_linger(), os_times(), pack(), pmain(), prepare_cmdline(), push_builtin(), push_builtin_undef(), register_class(), setboolfield(), setfield(), setpath(), settabsb(), settabsi(), settabss(), setup_mt(), setup_upvals(), treatstackoption(), unhide_lua_value(), update_on_definition(), and write_lua_math_parameters().

◆ lua_setglobal()

void lua_setglobal ( lua_State L,
const char *  name 
)

Definition at line 759 of file lapi.c.

References auxsetstr(), G, hvalue, L, lua_lock, LUA_RIDX_GLOBALS, luaH_getint(), name, and reg.

◆ lua_seti()

void lua_seti ( lua_State L,
int  idx,
lua_Integer  n 
)

◆ lua_setmetatable()

int lua_setmetatable ( lua_State L,
int  objindex 
)

Definition at line 846 of file lapi.c.

References api_check, api_checknelems, G, gcvalue, hvalue, index2addr(), L, lua_lock, LUA_TTABLE, LUA_TUSERDATA, lua_unlock, luaC_checkfinalizer(), luaC_objbarrier, mt, NULL, ttisnil, ttistable, ttnov, and uvalue.

Referenced by auxiliar_setclass(), blob_new(), blob_new_from_file(), buffer_get_direction(), buffer_get_language(), buffer_get_script(), buffer_new(), copy_image(), createclibstable(), createmetatable(), db_sethook(), db_setmetatable(), dir_iter_factory(), direction_new(), face_get_table(), face_get_table_tags(), face_new(), face_new_from_blob(), face_ot_color_glyph_get_svg(), face_ot_layout_get_feature_tags(), face_ot_layout_get_language_tags(), face_ot_layout_get_script_tags(), feature_index(), feature_new(), ff_index(), ffi_load(), font_new(), getnest(), l_new_image(), lang_new(), language_new(), lfs_lock_dir(), lj_cf_debug_setmetatable(), lj_cf_newproxy(), lj_cf_package_seeall(), lua_ff_pushfont(), lua_ff_pushglyph(), lua_ff_pushsubfont(), lua_kpathsea_new(), lua_nodelib_direct_tonode(), lua_nodelib_push(), lua_nodelib_push_fast(), luaB_setmetatable(), luaL_setmetatable(), luaopen_socket_unix(), luaopen_stats(), luaopen_tex(), lzstream_new(), make_new_token(), make_table(), mplib_fig_body(), mplib_fig_copy_body(), mplib_new(), mplib_wrapresults(), new_script_from_string(), new_script_from_tag(), newbox(), newfile(), newinternalfile(), newtree(), pdfelib_new(), pdfelib_open(), push_callback(), push_cdata(), push_ctype(), push_token(), register_class(), scanner_push(), script(), script_to_tag(), setup_upvals(), tag_new(), update_on_definition(), and wrap().

◆ lua_settable()

◆ lua_settop()

static void lua_settop ( lua_State L,
int  idx 
)

Definition at line 172 of file lapi.c.

References api_check, func, idx, L, lua_lock, lua_unlock, and setnilvalue.

Referenced by _file_info_(), calculate_constant1(), cdata_add(), cdata_concat(), cdata_free(), cdata_gc(), cdata_index(), cdata_ipairs(), cdata_len(), cdata_newindex(), cdata_pairs(), cdata_sub(), cdata_tostring(), cdata_unm(), characters_from_lua(), cmodule_index(), cmodule_newindex(), ctype_tostring(), db_debug(), db_sethook(), db_setlocal(), db_setmetatable(), db_setuservalue(), do64(), doREPL(), dotty(), ffi_alignof(), ffi_gc(), ffi_metatype(), ffi_offsetof(), ffi_string(), finalize(), font_from_lua(), get_lua_boolean(), get_lua_number(), get_lua_string(), get_saved_lua_boolean(), get_saved_lua_number(), get_saved_lua_string(), global_newtry(), global_protect(), global_select(), gmatch(), io_readline(), lj_cf_debug_debug(), lj_cf_debug_sethook(), lj_cf_error(), lj_cf_load(), lj_cf_loadfile(), lj_cf_newproxy(), lj_cf_os_time(), lj_cf_package_require(), lj_cf_table_sort(), ll_require(), loadline(), lp_locale(), lp_P(), lp_setmax(), lua_appendtovlist_callback(), lua_glyph_not_found_callback(), lua_hpack_filter(), lua_linebreak_callback(), lua_node_filter(), lua_node_filter_s(), lua_nodelib_direct_set_property(), lua_nodelib_getfield(), lua_nodelib_set_property(), lua_nodelib_setfield(), lua_vpack_filter(), luaB_assert(), luaB_dofile(), luaB_error(), luaB_load(), luaB_next(), luaB_rawget(), luaB_rawset(), luaB_setmetatable(), luaB_tonumber(), luabytecodecall(), luacall(), luacall_vf(), luafunctioncall(), luaL_loadfilex(), luatokencall(), make_local_par_node(), math_ceil(), math_floor(), math_modf(), mfluabeginprogram(), mfluaendprogram(), mfluainitialize(), mfluaPOSTfillenvelopelhs(), mfluaPOSTfillenveloperhs(), mfluaPOSTfillspeclhs(), mfluaPOSTfillspecrhs(), mfluaPOSTfinalcleanup(), mfluaPOSTmaincontrol(), mfluaPOSTmakechoices(), mfluaPOSTmakeellipse(), mfluaPOSTmakespeclhs(), mfluaPOSTmakespecrhs(), mfluaPOSTmovetoedges(), mfluaPOSToffsetprep(), mfluaPREfillenvelopelhs(), mfluaPREfillenveloperhs(), mfluaPREfillspeclhs(), mfluaPREfillspecrhs(), mfluaPREmaincontrol(), mfluaPREmakechoices(), mfluaPREmakeellipse(), mfluaPREmakespeclhs(), mfluaPREmakespecrhs(), mfluaPREmovetoedges(), mfluaPREoffsetprep(), mfluaPREstartofMF(), mfluaprintedges(), mfluaprintpath(), mfluaprintretrogradeline(), mfluaprinttransitionlinefrom(), mfluaprinttransitionlineto(), mime_global_b64(), mime_global_qp(), mime_global_unb64(), mime_global_unqp(), new_hyphenation(), nodelib_aux_next(), nodelib_aux_next_char(), nodelib_aux_next_filtered(), nodelib_aux_next_glyph(), nodelib_aux_next_list(), nodelib_direct_aux_next(), nodelib_direct_aux_next_char(), nodelib_direct_aux_next_filtered(), nodelib_direct_aux_next_glyph(), nodelib_direct_aux_next_list(), os_time(), push_function_type_strings(), pushglobalfuncname(), removedyncap(), resdyncaptures(), reserve_code(), run_and_save_callback(), run_callback(), run_lua_ligkern_callback(), run_mlist_to_hlist(), run_put_next(), run_saved_callback(), set_bytecode(), setmintop(), sort(), str_bytepairs(), str_bytes(), str_characterpairs(), str_characters(), str_dump(), str_utfcharacters(), str_utfvalues(), and zip_readline().

◆ lua_setupvalue()

const char* lua_setupvalue ( lua_State L,
int  funcindex,
int  n 
)

◆ lua_setuservalue()

◆ lua_status()

int lua_status ( lua_State L)

Definition at line 1031 of file lapi.c.

References L.

Referenced by auxresume(), and luaB_costatus().

◆ lua_stringtonumber()

size_t lua_stringtonumber ( lua_State L,
const char *  s 
)

Definition at line 337 of file lapi.c.

References api_incr_top, L, luaO_str2num(), s, and sz.

Referenced by luaB_tonumber(), and read_number().

◆ lua_toboolean()

int lua_toboolean ( lua_State L,
int  idx 
)

Definition at line 367 of file lapi.c.

References idx, index2addr(), L, and l_isfalse.

Referenced by add_value(), auxiliar_checkboolean(), callback_register(), dirty(), do_lua_kpathsea_lookup(), do_run_callback(), ffi_abi(), finalize(), find_file(), forcehmode(), get_lua_boolean(), get_saved_lua_boolean(), getboolfield(), getglue(), getmuglue(), getpatt(), gettex(), io_readline(), lj_cf_newproxy(), lj_cf_package_require(), ll_require(), lp_printtree(), lua_glyph_not_found_callback(), lua_hpack_filter(), lua_kpathsea_find_file(), lua_nest_setfield(), lua_node_filter(), lua_nodelib_direct_effective_glue(), lua_nodelib_direct_getdisc(), lua_nodelib_direct_getkern(), lua_nodelib_direct_getwhd(), lua_nodelib_direct_getwidth(), lua_nodelib_direct_setattributelist(), lua_nodelib_direct_setbox(), lua_nodelib_direct_setdirection(), lua_nodelib_effective_glue(), lua_nodelib_fix_node_lists(), lua_nodelib_getdisc(), lua_nodelib_getwhd(), lua_nodelib_make_extensible(), lua_nodelib_mlist_to_hlist(), lua_nodelib_properties_set_mode(), lua_to_image(), lua_tokenlib_is_defined(), lua_vpack_filter(), luaB_assert(), luaL_requiref(), luaL_tolstring(), luaopen_package(), main(), make_link(), mplib_new(), mplib_solve_path(), n_boolean_field(), newpdfcolorstack(), nextfontid(), noenv(), opt_set_linger(), os_exit(), pdfelib_getstring(), pdfelib_readwholestream(), print_jit_status(), resdyncaptures(), run_scan_argument(), run_scan_dimen(), run_scan_glue(), run_scan_toks(), runtoks(), set_bytecode(), setforcefile(), sort_comp(), str_dump(), str_find_aux(), table_obj(), tex_definefont(), tex_save_box_resource(), texio_setescape(), unic_find_aux(), unpack_vararg(), vsetbox(), and zip_readline().

◆ lua_tocfunction()

lua_CFunction lua_tocfunction ( lua_State L,
int  idx 
)

Definition at line 404 of file lapi.c.

References clCvalue, fvalue, idx, index2addr(), L, NULL, ttisCclosure, and ttislcf.

Referenced by reserve_code().

◆ lua_tointegerx()

lua_Integer lua_tointegerx ( lua_State L,
int  idx,
int pisnum 
)

Definition at line 356 of file lapi.c.

References idx, index2addr(), L, res, and tointeger.

Referenced by getfield(), luaL_checkinteger(), luaL_len(), and math_toint().

◆ lua_tolstring()

◆ lua_tonumberx()

lua_Number lua_tonumberx ( lua_State L,
int  idx,
int pisnum 
)

Definition at line 345 of file lapi.c.

References idx, index2addr(), L, n, and tonumber.

Referenced by luaL_checknumber(), and run_scan_float_indeed().

◆ lua_topointer()

const void* lua_topointer ( lua_State L,
int  idx 
)

◆ lua_tothread()

lua_State* lua_tothread ( lua_State L,
int  idx 
)

Definition at line 423 of file lapi.c.

References idx, index2addr(), L, NULL, thvalue, and ttisthread.

Referenced by getco(), getthread(), and luaB_auxwrap().

◆ lua_touserdata()

void* lua_touserdata ( lua_State L,
int  idx 
)

Definition at line 413 of file lapi.c.

References getudatamem, idx, index2addr(), L, LUA_TLIGHTUSERDATA, LUA_TUSERDATA, NULL, pvalue, ttnov, and uvalue.

Referenced by aux_close(), auxiliar_getgroupudata(), auxiliar_tostring(), calculate_struct_offsets(), callback_free(), check_cfunction(), check_ctype(), check_isarray(), check_isdictionary(), check_isdocument(), check_isreference(), check_isstream(), check_pointer(), checkclib(), compile_callback(), compile_function(), copy_submembers(), dir_close(), ff_glyphs_index(), ff_index(), ff_tostring(), find_canonical_usr(), find_symbol(), gctm(), get_cfunction_address(), get_jit(), get_member(), getcaptures(), getiofile(), gmatch_aux(), io_readline(), io_tostring(), lj_cf_package_require(), ll_register(), lookup_global(), lua_linebreak_callback(), lua_nest_getfield(), lua_nest_setfield(), lua_nodelib_direct_todirect(), lua_nodelib_effective_glue(), lua_nodelib_equal(), lua_nodelib_fast_getfield(), lua_nodelib_fast_setfield(), lua_nodelib_get_property(), lua_nodelib_get_property_t(), lua_nodelib_getboth(), lua_nodelib_getchar(), lua_nodelib_getdisc(), lua_nodelib_getfield(), lua_nodelib_getfont(), lua_nodelib_getid(), lua_nodelib_getleader(), lua_nodelib_getlist(), lua_nodelib_getnext(), lua_nodelib_getprev(), lua_nodelib_getsubtype(), lua_nodelib_getwhd(), lua_nodelib_set_property(), lua_nodelib_set_property_t(), lua_nodelib_setfield(), luac_store(), luaL_testudata(), maybe_isnode(), maybe_istoken(), parse_record(), parse_type(), pdfelib_access(), pdfelib_array_access(), pdfelib_array_size(), pdfelib_dictionary_access(), pdfelib_dictionary_size(), pdfelib_getfromstream(), pdfelib_new(), pdfelib_stream_access(), pdfelib_type(), pmain(), push_function_type_strings(), resizebox(), run_put_next(), set_defined(), testpattern(), tex_setmathparm(), to_cdata(), try_cast(), unpack_vararg(), userdata_toptr(), x86_return_size(), zip_close(), zip_readfile(), zip_readline(), and zip_tostring().

◆ lua_type()

static int lua_type ( lua_State L,
int  idx 
)

Definition at line 251 of file lapi.c.

References idx, index2addr(), isvalid, L, LUA_TNONE, and ttnov.

Referenced by add_value(), addliteral(), callback_find(), callback_register(), characters_from_lua(), check_cfunction(), check_complex_double(), check_enum(), check_pointer(), check_typed_pointer(), checktab(), copy_submembers(), count_char_packet_bytes(), ctype_tostring(), db_getuservalue(), db_setmetatable(), direct_get_box_id(), do_define_font(), do_lang_clean(), do_lua_kpathsea_lookup(), do_luacprint(), do_run_callback(), ff_glyph_index(), ff_index(), ff_open(), ffi_metatype(), find_file(), findfield(), font_char_from_lua(), font_char_to_lua(), font_from_lua(), font_read_tfm(), font_read_vf(), forcehmode(), g_read(), g_write(), get_box_id(), get_item_index(), get_lua_boolean(), get_lua_number(), get_lua_string(), get_macro(), get_meaning(), get_pdf_table_string(), get_saved_lua_boolean(), get_saved_lua_number(), get_saved_lua_string(), get_selector_value(), get_valid_node_subtype_id(), get_valid_node_type_id(), getcatcode(), getglue(), getlist(), getmark(), getmuglue(), getnest(), getpatt(), getpdffontname(), getpdffontobjnum(), getpdffontsize(), getpdfobjtype(), getpdfpageref(), getpdfxformname(), getstats(), gettex(), hyphenation_exception(), is_userdata(), l_immediateobj(), l_mapfile(), l_mapline(), l_reserveobj(), l_set_compress_level(), l_set_decimal_digits(), l_set_font_attributes(), l_set_obj_compress_level(), l_set_pk_resolution(), l_set_recompress(), l_set_suppress_optional_info(), lang_gethjcode(), lang_hyphenation(), lang_hyphenation_min(), lang_patterns(), lang_post_exhyphen_char(), lang_post_hyphen_char(), lang_pre_exhyphen_char(), lang_pre_hyphen_char(), lang_sethjcode(), lang_tex_direct_hyphenating(), link_info(), lj_cf_string_gsub(), lookup_cdata_index(), lp_divcapture(), lua_appendtovlist_callback(), lua_kpathsea_find_file(), lua_nodelib_dimensions(), lua_nodelib_direct_dimensions(), lua_nodelib_direct_getfield(), lua_nodelib_direct_hpack(), lua_nodelib_direct_is_char(), lua_nodelib_direct_is_direct(), lua_nodelib_direct_set_glue(), lua_nodelib_direct_setattributelist(), lua_nodelib_direct_setboth(), lua_nodelib_direct_setbox(), lua_nodelib_direct_setchar(), lua_nodelib_direct_setcomponents(), lua_nodelib_direct_setdata(), lua_nodelib_direct_setdepth(), lua_nodelib_direct_setdirection(), lua_nodelib_direct_setexpansion(), lua_nodelib_direct_setfam(), lua_nodelib_direct_setfield(), lua_nodelib_direct_setfont(), lua_nodelib_direct_setheight(), lua_nodelib_direct_setkern(), lua_nodelib_direct_setlang(), lua_nodelib_direct_setleader(), lua_nodelib_direct_setlink(), lua_nodelib_direct_setlist(), lua_nodelib_direct_setnext(), lua_nodelib_direct_setnucleus(), lua_nodelib_direct_setoffsets(), lua_nodelib_direct_setpenalty(), lua_nodelib_direct_setprev(), lua_nodelib_direct_setshift(), lua_nodelib_direct_setsplit(), lua_nodelib_direct_setsub(), lua_nodelib_direct_setsubtype(), lua_nodelib_direct_setsup(), lua_nodelib_direct_setwhd(), lua_nodelib_direct_setwidth(), lua_nodelib_direct_todirect(), lua_nodelib_direct_vpack(), lua_nodelib_fast_getfield(), lua_nodelib_fast_setfield(), lua_nodelib_fix_node_lists(), lua_nodelib_hpack(), lua_nodelib_id(), lua_nodelib_is_char(), lua_nodelib_new_node(), lua_nodelib_push(), lua_nodelib_set_glue(), lua_nodelib_subtype(), lua_nodelib_subtypes(), lua_nodelib_type(), lua_nodelib_values(), lua_nodelib_vpack(), lua_numeric_field_by_index(), lua_to_image(), lua_tokenlib_is_defined(), lua_unsigned_numeric_field_by_index(), luaB_auxwrap(), luaB_error(), luaB_rawlen(), luaB_select(), luaB_setmetatable(), luaB_tonumber(), luaB_type(), luac_store(), luaccprint(), luactprint(), luaL_checkany(), luaL_checktype(), luaL_tolstring(), luapdfprint(), luatex_error(), m_img_mul(), math_type(), mplib_new(), msghandler(), n_enum_field(), n_some_field(), n_string_field_copy(), newpdfcolorstack(), nodelib_getdir_par(), nodelib_getdirection(), nodelib_setdir_text(), nodelib_toparshape(), nodelib_topenalties(), orig_obj(), os_exec(), os_spawn(), pdf_write_obj(), pdfelib_access(), pdfelib_array_access(), pdfelib_dictionary_access(), pdfelib_getbox(), pdfelib_getfromdictionary(), pdfelib_getfromstream(), pdfelib_getstring(), pdfelib_new(), pdfelib_stream_access(), pdfelib_unencrypt(), pdfincludechar(), print_pdf_table_string(), printktable(), read_char_packets(), read_lua_math_parameters(), read_lua_parameters(), run_build(), run_get_command_id(), run_lookup(), run_put_next(), run_scan_argument(), runtoks(), scanner_scan(), scantoks(), set_array(), set_bytecode(), set_luaname(), set_macro(), set_struct(), setattribute(), setbox(), setcatcode(), setcode(), setcount(), setdelcode(), setdimen(), setforcefile(), setlist(), setmathcode(), setpdfdestmargin(), setpdfgentounicode(), setpdfignoreunknownimages(), setpdfimageresolution(), setpdfinclusionerrorlevel(), setpdflinkmargin(), setpdfmajorversion(), setpdfminorversion(), setpdfomitcharset(), setpdfomitcidset(), setpdforigin(), setpdfthreadmargin(), setpdfxformmargin(), settex(), settoks(), sha2_256(), sha2_384(), sha2_512(), should_pack(), splitbox(), str_gsub(), table_obj(), tex_enableprimitives(), tex_extraprimitives(), tex_get_box_resource_dimensions(), tex_init_rand(), tex_run_linebreak(), tex_save_box_resource(), tex_scaledimen(), tex_scaletable(), tex_setmathparm(), tex_unif_rand(), tex_use_box_resource(), texerror(), texio_setescape(), tokenlist_from_lua(), typeerror(), unpack_vararg(), unpack_varargs_float(), unpack_varargs_int(), unpack_varargs_stack_skip(), and vsetbox().

◆ lua_typename()

◆ lua_upvalueid()

void* lua_upvalueid ( lua_State L,
int  fidx,
int  n 
)

Definition at line 1267 of file lapi.c.

References api_check, clCvalue, f, getupvalref(), index2addr(), L, LUA_TCCL, LUA_TLCL, n, NULL, and ttype.

Referenced by db_upvalueid().

◆ lua_upvaluejoin()

void lua_upvaluejoin ( lua_State L,
int  fidx1,
int  n1,
int  fidx2,
int  n2 
)

Definition at line 1286 of file lapi.c.

References getupvalref(), L, luaC_upvalbarrier, luaC_upvdeccount(), UpVal::refcount, and upisopen.

Referenced by db_upvaluejoin().

◆ lua_version()

const lua_Number* lua_version ( lua_State L)

Definition at line 144 of file lapi.c.

References G, L, LUA_VERSION_NUM, NULL, and version.

Referenced by f_luaopen(), and luaL_checkversion_().

◆ lua_xmove()

◆ reverse()

static void reverse ( lua_State L,
StkId  from,
StkId  to 
)
static

Definition at line 193 of file lapi.c.

References L, setobj, setobj2s, setobjs2s, temp, and to.

Referenced by lua_rotate().

Variable Documentation

◆ lua_ident

const char lua_ident[]
Initial value:
=
"$LuaVersion: " "Lua " "5" "." "3" "." "6" " Copyright (C) 1994-2020 Lua.org, PUC-Rio" " $"
"$LuaAuthors: " "R. Ierusalimschy, L. H. de Figueiredo, W. Celes" " $"

Definition at line 34 of file lapi.c.