Home
last modified time | relevance | path

Searched refs:LUAI_FUNC (Results 1 – 25 of 41) sorted by relevance

12

/freebsd/contrib/lua/src/
H A Dlcode.h62 LUAI_FUNC int luaK_code (FuncState *fs, Instruction i);
63 LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx);
64 LUAI_FUNC int luaK_codeAsBx (FuncState *fs, OpCode o, int A, int Bx);
65 LUAI_FUNC int luaK_codeABCk (FuncState *fs, OpCode o, int A,
67 LUAI_FUNC int luaK_isKint (expdesc *e);
68 LUAI_FUNC int luaK_exp2const (FuncState *fs, const expdesc *e, TValue *v);
69 LUAI_FUNC void luaK_fixline (FuncState *fs, int line);
70 LUAI_FUNC void luaK_nil (FuncState *fs, int from, int n);
71 LUAI_FUNC void luaK_reserveregs (FuncState *fs, int n);
72 LUAI_FUNC void luaK_checkstack (FuncState *fs, int n);
[all …]
H A Dltable.h38 LUAI_FUNC const TValue *luaH_getint (Table *t, lua_Integer key);
39 LUAI_FUNC void luaH_setint (lua_State *L, Table *t, lua_Integer key,
41 LUAI_FUNC const TValue *luaH_getshortstr (Table *t, TString *key);
42 LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key);
43 LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key);
44 LUAI_FUNC void luaH_newkey (lua_State *L, Table *t, const TValue *key,
46 LUAI_FUNC void luaH_set (lua_State *L, Table *t, const TValue *key,
48 LUAI_FUNC void luaH_finishset (lua_State *L, Table *t, const TValue *key,
50 LUAI_FUNC Table *luaH_new (lua_State *L);
51 LUAI_FUNC void luaH_resize (lua_State *L, Table *t, unsigned int nasize,
[all …]
H A Dldo.h63 LUAI_FUNC void luaD_seterrorobj (lua_State *L, int errcode, StkId oldtop);
64 LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name,
66 LUAI_FUNC void luaD_hook (lua_State *L, int event, int line,
68 LUAI_FUNC void luaD_hookcall (lua_State *L, CallInfo *ci);
69 LUAI_FUNC int luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func,
71 LUAI_FUNC CallInfo *luaD_precall (lua_State *L, StkId func, int nResults);
72 LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults);
73 LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults);
74 LUAI_FUNC StkId luaD_tryfuncTM (lua_State *L, StkId func);
75 LUAI_FUNC int luaD_closeprotected (lua_State *L, ptrdiff_t level, int status);
[all …]
H A Dldebug.h39 LUAI_FUNC int luaG_getfuncline (const Proto *f, int pc);
40 LUAI_FUNC const char *luaG_findlocal (lua_State *L, CallInfo *ci, int n,
42 LUAI_FUNC l_noret luaG_typeerror (lua_State *L, const TValue *o,
44 LUAI_FUNC l_noret luaG_callerror (lua_State *L, const TValue *o);
45 LUAI_FUNC l_noret luaG_forerror (lua_State *L, const TValue *o,
47 LUAI_FUNC l_noret luaG_concaterror (lua_State *L, const TValue *p1,
49 LUAI_FUNC l_noret luaG_opinterror (lua_State *L, const TValue *p1,
52 LUAI_FUNC l_noret luaG_tointerror (lua_State *L, const TValue *p1,
54 LUAI_FUNC l_noret luaG_ordererror (lua_State *L, const TValue *p1,
56 LUAI_FUNC l_noret luaG_runerror (lua_State *L, const char *fmt, ...);
[all …]
H A Dlvm.h120 LUAI_FUNC int luaV_equalobj (lua_State *L, const TValue *t1, const TValue *t2);
121 LUAI_FUNC int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r);
122 LUAI_FUNC int luaV_lessequal (lua_State *L, const TValue *l, const TValue *r);
123 LUAI_FUNC int luaV_tonumber_ (const TValue *obj, lua_Number *n);
124 LUAI_FUNC int luaV_tointeger (const TValue *obj, lua_Integer *p, F2Imod mode);
125 LUAI_FUNC int luaV_tointegerns (const TValue *obj, lua_Integer *p,
127 LUAI_FUNC int luaV_flttointeger (lua_Number n, lua_Integer *p, F2Imod mode);
128 LUAI_FUNC void luaV_finishget (lua_State *L, const TValue *t, TValue *key,
130 LUAI_FUNC void luaV_finishset (lua_State *L, const TValue *t, TValue *key,
132 LUAI_FUNC void luaV_finishOp (lua_State *L);
[all …]
H A Dlstring.h44 LUAI_FUNC unsigned int luaS_hash (const char *str, size_t l, unsigned int seed);
45 LUAI_FUNC unsigned int luaS_hashlongstr (TString *ts);
46 LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b);
47 LUAI_FUNC void luaS_resize (lua_State *L, int newsize);
48 LUAI_FUNC void luaS_clearcache (global_State *g);
49 LUAI_FUNC void luaS_init (lua_State *L);
50 LUAI_FUNC void luaS_remove (lua_State *L, TString *ts);
51 LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s, int nuvalue);
52 LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l);
53 LUAI_FUNC TString *luaS_new (lua_State *L, const char *str);
[all …]
H A Dltm.h75 LUAI_FUNC const char *luaT_objtypename (lua_State *L, const TValue *o);
77 LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename);
78 LUAI_FUNC const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o,
80 LUAI_FUNC void luaT_init (lua_State *L);
82 LUAI_FUNC void luaT_callTM (lua_State *L, const TValue *f, const TValue *p1,
84 LUAI_FUNC void luaT_callTMres (lua_State *L, const TValue *f,
86 LUAI_FUNC void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2,
88 LUAI_FUNC void luaT_tryconcatTM (lua_State *L);
89 LUAI_FUNC void luaT_trybinassocTM (lua_State *L, const TValue *p1,
91 LUAI_FUNC void luaT_trybiniTM (lua_State *L, const TValue *p1, lua_Integer i2,
[all …]
H A Dlfunc.h50 LUAI_FUNC Proto *luaF_newproto (lua_State *L);
51 LUAI_FUNC CClosure *luaF_newCclosure (lua_State *L, int nupvals);
52 LUAI_FUNC LClosure *luaF_newLclosure (lua_State *L, int nupvals);
53 LUAI_FUNC void luaF_initupvals (lua_State *L, LClosure *cl);
54 LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level);
55 LUAI_FUNC void luaF_newtbcupval (lua_State *L, StkId level);
56 LUAI_FUNC void luaF_closeupval (lua_State *L, StkId level);
57 LUAI_FUNC StkId luaF_close (lua_State *L, StkId level, int status, int yy);
58 LUAI_FUNC void luaF_unlinkupval (UpVal *uv);
59 LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f);
[all …]
H A Dlgc.h188 LUAI_FUNC void luaC_fix (lua_State *L, GCObject *o);
189 LUAI_FUNC void luaC_freeallobjects (lua_State *L);
190 LUAI_FUNC void luaC_step (lua_State *L);
191 LUAI_FUNC void luaC_runtilstate (lua_State *L, int statesmask);
192 LUAI_FUNC void luaC_fullgc (lua_State *L, int isemergency);
193 LUAI_FUNC GCObject *luaC_newobj (lua_State *L, int tt, size_t sz);
194 LUAI_FUNC GCObject *luaC_newobjdt (lua_State *L, int tt, size_t sz,
196 LUAI_FUNC void luaC_barrier_ (lua_State *L, GCObject *o, GCObject *v);
197 LUAI_FUNC void luaC_barrierback_ (lua_State *L, GCObject *o);
198 LUAI_FUNC void luaC_checkfinalizer (lua_State *L, GCObject *o, Table *mt);
[all …]
H A Dllex.h81 LUAI_FUNC void luaX_init (lua_State *L);
82 LUAI_FUNC void luaX_setinput (lua_State *L, LexState *ls, ZIO *z,
84 LUAI_FUNC TString *luaX_newstring (LexState *ls, const char *str, size_t l);
85 LUAI_FUNC void luaX_next (LexState *ls);
86 LUAI_FUNC int luaX_lookahead (LexState *ls);
87 LUAI_FUNC l_noret luaX_syntaxerror (LexState *ls, const char *s);
88 LUAI_FUNC const char *luaX_token2str (LexState *ls, int token);
H A Dlmem.h77 LUAI_FUNC l_noret luaM_toobig (lua_State *L);
80 LUAI_FUNC void *luaM_realloc_ (lua_State *L, void *block, size_t oldsize,
82 LUAI_FUNC void *luaM_saferealloc_ (lua_State *L, void *block, size_t oldsize,
84 LUAI_FUNC void luaM_free_ (lua_State *L, void *block, size_t osize);
85 LUAI_FUNC void *luaM_growaux_ (lua_State *L, void *block, int nelems,
88 LUAI_FUNC void *luaM_shrinkvector_ (lua_State *L, void *block, int *nelem,
90 LUAI_FUNC void *luaM_malloc_ (lua_State *L, size_t size, int tag);
H A Dlstate.h396 LUAI_FUNC void luaE_setdebt (global_State *g, l_mem debt);
397 LUAI_FUNC void luaE_freethread (lua_State *L, lua_State *L1);
398 LUAI_FUNC CallInfo *luaE_extendCI (lua_State *L);
399 LUAI_FUNC void luaE_freeCI (lua_State *L);
400 LUAI_FUNC void luaE_shrinkCI (lua_State *L);
401 LUAI_FUNC void luaE_checkcstack (lua_State *L);
402 LUAI_FUNC void luaE_incCstack (lua_State *L);
403 LUAI_FUNC void luaE_warning (lua_State *L, const char *msg, int tocont);
404 LUAI_FUNC void luaE_warnerror (lua_State *L, const char *where);
405 LUAI_FUNC int luaE_resetthread (lua_State *L, int status);
H A Dlzio.h47 LUAI_FUNC void luaZ_init (lua_State *L, ZIO *z, lua_Reader reader,
49 LUAI_FUNC size_t luaZ_read (ZIO* z, void *b, size_t n); /* read next n bytes */
64 LUAI_FUNC int luaZ_fill (ZIO *z);
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlcode.h47 LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx);
48 LUAI_FUNC int luaK_codeABC (FuncState *fs, OpCode o, int A, int B, int C);
49 LUAI_FUNC int luaK_codek (FuncState *fs, int reg, int k);
50 LUAI_FUNC void luaK_fixline (FuncState *fs, int line);
51 LUAI_FUNC void luaK_nil (FuncState *fs, int from, int n);
52 LUAI_FUNC void luaK_reserveregs (FuncState *fs, int n);
53 LUAI_FUNC void luaK_checkstack (FuncState *fs, int n);
54 LUAI_FUNC int luaK_stringK (FuncState *fs, TString *s);
55 LUAI_FUNC int luaK_numberK (FuncState *fs, lua_Number r);
56 LUAI_FUNC void luaK_dischargevars (FuncState *fs, expdesc *e);
[all …]
H A Dltable.h25 LUAI_FUNC const TValue *luaH_getint (Table *t, int key);
26 LUAI_FUNC void luaH_setint (lua_State *L, Table *t, int key, TValue *value);
27 LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key);
28 LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key);
29 LUAI_FUNC TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key);
30 LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key);
31 LUAI_FUNC Table *luaH_new (lua_State *L);
32 LUAI_FUNC void luaH_resize (lua_State *L, Table *t, int nasize, int nhsize);
33 LUAI_FUNC void luaH_resizearray (lua_State *L, Table *t, int nasize);
34 LUAI_FUNC void luaH_free (lua_State *L, Table *t);
[all …]
H A Dlvm.h26 LUAI_FUNC int luaV_equalobj_ (lua_State *L, const TValue *t1, const TValue *t2);
29 LUAI_FUNC int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r);
30 LUAI_FUNC int luaV_lessequal (lua_State *L, const TValue *l, const TValue *r);
31 LUAI_FUNC const TValue *luaV_tonumber (const TValue *obj, TValue *n);
32 LUAI_FUNC int luaV_tostring (lua_State *L, StkId obj);
33 LUAI_FUNC void luaV_gettable (lua_State *L, const TValue *t, TValue *key,
35 LUAI_FUNC void luaV_settable (lua_State *L, const TValue *t, TValue *key,
37 LUAI_FUNC void luaV_finishOp (lua_State *L);
38 LUAI_FUNC void luaV_execute (lua_State *L);
39 LUAI_FUNC void luaV_concat (lua_State *L, int total);
[all …]
H A Dldo.h29 LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name,
31 LUAI_FUNC void luaD_hook (lua_State *L, int event, int line);
32 LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults);
33 LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults,
35 LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u,
37 LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult);
38 LUAI_FUNC void luaD_reallocstack (lua_State *L, int newsize);
39 LUAI_FUNC void luaD_growstack (lua_State *L, int n);
40 LUAI_FUNC void luaD_shrinkstack (lua_State *L);
42 LUAI_FUNC l_noret luaD_throw (lua_State *L, int errcode);
[all …]
H A Dlfunc.h21 LUAI_FUNC Proto *luaF_newproto (lua_State *L);
22 LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems);
23 LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems);
24 LUAI_FUNC UpVal *luaF_newupval (lua_State *L);
25 LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level);
26 LUAI_FUNC void luaF_close (lua_State *L, StkId level);
27 LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f);
28 LUAI_FUNC void luaF_freeupval (lua_State *L, UpVal *uv);
29 LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number,
H A Dlgc.h143 LUAI_FUNC void luaC_freeallobjects (lua_State *L);
144 LUAI_FUNC void luaC_step (lua_State *L);
145 LUAI_FUNC void luaC_forcestep (lua_State *L);
146 LUAI_FUNC void luaC_runtilstate (lua_State *L, int statesmask);
147 LUAI_FUNC void luaC_fullgc (lua_State *L, int isemergency);
148 LUAI_FUNC GCObject *luaC_newobj (lua_State *L, int tt, size_t sz,
150 LUAI_FUNC void luaC_barrier_ (lua_State *L, GCObject *o, GCObject *v);
151 LUAI_FUNC void luaC_barrierback_ (lua_State *L, GCObject *o);
152 LUAI_FUNC void luaC_barrierproto_ (lua_State *L, Proto *p, Closure *c);
153 LUAI_FUNC void luaC_checkfinalizer (lua_State *L, GCObject *o, Table *mt);
[all …]
H A Dlstring.h37 LUAI_FUNC unsigned int luaS_hash (const char *str, size_t l, unsigned int seed);
38 LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b);
39 LUAI_FUNC int luaS_eqstr (TString *a, TString *b);
40 LUAI_FUNC void luaS_resize (lua_State *L, int newsize);
41 LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s, Table *e);
42 LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l);
43 LUAI_FUNC TString *luaS_new (lua_State *L, const char *str);
H A Dllex.h71 LUAI_FUNC void luaX_init (lua_State *L);
72 LUAI_FUNC void luaX_setinput (lua_State *L, LexState *ls, ZIO *z,
74 LUAI_FUNC TString *luaX_newstring (LexState *ls, const char *str, size_t l);
75 LUAI_FUNC void luaX_next (LexState *ls);
76 LUAI_FUNC int luaX_lookahead (LexState *ls);
77 LUAI_FUNC l_noret luaX_syntaxerror (LexState *ls, const char *s);
78 LUAI_FUNC const char *luaX_token2str (LexState *ls, int token);
H A Dldebug.h24 LUAI_FUNC l_noret luaG_typeerror (lua_State *L, const TValue *o,
26 LUAI_FUNC l_noret luaG_concaterror (lua_State *L, StkId p1, StkId p2);
27 LUAI_FUNC l_noret luaG_aritherror (lua_State *L, const TValue *p1,
29 LUAI_FUNC l_noret luaG_ordererror (lua_State *L, const TValue *p1,
31 LUAI_FUNC l_noret luaG_runerror (lua_State *L, const char *fmt, ...);
32 LUAI_FUNC l_noret luaG_errormsg (lua_State *L);
H A Dlzio.h45 LUAI_FUNC char *luaZ_openspace (lua_State *L, Mbuffer *buff, size_t n);
46 LUAI_FUNC void luaZ_init (lua_State *L, ZIO *z, lua_Reader reader,
48 LUAI_FUNC size_t luaZ_read (ZIO* z, void* b, size_t n); /* read next n bytes */
63 LUAI_FUNC int luaZ_fill (ZIO *z);
H A Dltm.h52 LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename);
53 LUAI_FUNC const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o,
55 LUAI_FUNC void luaT_init (lua_State *L);
H A Dlmem.h45 LUAI_FUNC l_noret luaM_toobig (lua_State *L);
48 LUAI_FUNC void *luaM_realloc_ (lua_State *L, void *block, size_t oldsize,
50 LUAI_FUNC void *luaM_growaux_ (lua_State *L, void *block, int *size,

12