Home
last modified time | relevance | path

Searched refs:FuncState (Results 1 – 10 of 10) sorted by relevance

/src/sys/contrib/openzfs/module/lua/
H A Dlcode.h48 LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx);
49 LUAI_FUNC int luaK_codeABC (FuncState *fs, OpCode o, int A, int B, int C);
50 LUAI_FUNC int luaK_codek (FuncState *fs, int reg, int k);
51 LUAI_FUNC void luaK_fixline (FuncState *fs, int line);
52 LUAI_FUNC void luaK_nil (FuncState *fs, int from, int n);
53 LUAI_FUNC void luaK_reserveregs (FuncState *fs, int n);
54 LUAI_FUNC void luaK_checkstack (FuncState *fs, int n);
55 LUAI_FUNC int luaK_stringK (FuncState *fs, TString *s);
56 LUAI_FUNC int luaK_numberK (FuncState *fs, lua_Number r);
57 LUAI_FUNC void luaK_dischargevars (FuncState *fs, expdesc *e);
[all …]
H A Dlcode.c39 void luaK_nil (FuncState *fs, int from, int n) { in luaK_nil()
61 int luaK_jump (FuncState *fs) { in luaK_jump()
71 void luaK_ret (FuncState *fs, int first, int nret) { in luaK_ret()
76 static int condjump (FuncState *fs, OpCode op, int A, int B, int C) { in condjump()
82 static void fixjump (FuncState *fs, int pc, int dest) { in fixjump()
96 int luaK_getlabel (FuncState *fs) { in luaK_getlabel()
102 static int getjump (FuncState *fs, int pc) { in getjump()
111 static Instruction *getjumpcontrol (FuncState *fs, int pc) { in getjumpcontrol()
124 static int need_value (FuncState *fs, int list) { in need_value()
133 static int patchtestreg (FuncState *fs, int node, int reg) { in patchtestreg()
[all …]
H A Dlparser.c81 static l_noret errorlimit (FuncState *fs, int limit, const char *what) { in errorlimit()
94 static void checklimit (FuncState *fs, int v, int l, const char *what) { in checklimit()
164 FuncState *fs = ls->fs; in registerlocalvar()
177 FuncState *fs = ls->fs; in new_localvar()
196 static LocVar *getlocvar (FuncState *fs, int i) { in getlocvar()
204 FuncState *fs = ls->fs; in adjustlocalvars()
212 static void removevars (FuncState *fs, int tolevel) { in removevars()
219 static int searchupvalue (FuncState *fs, TString *name) { in searchupvalue()
229 static int newupvalue (FuncState *fs, TString *name, expdesc *v) { in newupvalue()
244 static int searchvar (FuncState *fs, TString *n) { in searchvar()
[all …]
H A Dlparser.h97 typedef struct FuncState { struct
100 struct FuncState *prev; /* enclosing function */ argument
113 } FuncState; argument
H A Dllex.h61 struct FuncState *fs; /* current function (parser) */
/src/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_codeABCk (FuncState *fs, OpCode o, int A,
66 LUAI_FUNC int luaK_exp2const (FuncState *fs, const expdesc *e, TValue *v);
67 LUAI_FUNC void luaK_fixline (FuncState *fs, int line);
68 LUAI_FUNC void luaK_nil (FuncState *fs, int from, int n);
69 LUAI_FUNC void luaK_reserveregs (FuncState *fs, int n);
70 LUAI_FUNC void luaK_checkstack (FuncState *fs, int n);
71 LUAI_FUNC void luaK_int (FuncState *fs, int reg, lua_Integer n);
72 LUAI_FUNC void luaK_dischargevars (FuncState *fs, expdesc *e);
[all …]
H A Dlcode.c42 static int codesJ (FuncState *fs, OpCode o, int sj, int k);
75 static TValue *const2val (FuncState *fs, const expdesc *e) { in const2val()
85 int luaK_exp2const (FuncState *fs, const expdesc *e, TValue *v) { in luaK_exp2const()
117 static Instruction *previousinstruction (FuncState *fs) { in previousinstruction()
132 void luaK_nil (FuncState *fs, int from, int n) { in luaK_nil()
155 static int getjump (FuncState *fs, int pc) { in getjump()
168 static void fixjump (FuncState *fs, int pc, int dest) { in fixjump()
182 void luaK_concat (FuncState *fs, int *l1, int l2) { in luaK_concat()
200 int luaK_jump (FuncState *fs) { in luaK_jump()
208 void luaK_ret (FuncState *fs, int first, int nret) { in luaK_ret()
[all …]
H A Dlparser.c74 static l_noret errorlimit (FuncState *fs, int limit, const char *what) { in errorlimit()
87 static void checklimit (FuncState *fs, int v, int l, const char *what) { in checklimit()
175 static int registerlocalvar (LexState *ls, FuncState *fs, TString *varname) { in registerlocalvar()
195 FuncState *fs = ls->fs; in new_localvar()
219 static Vardesc *getlocalvardesc (FuncState *fs, int vidx) { in getlocalvardesc()
229 static int reglevel (FuncState *fs, int nvar) { in reglevel()
243 int luaY_nvarstack (FuncState *fs) { in luaY_nvarstack()
251 static LocVar *localdebuginfo (FuncState *fs, int vidx) { in localdebuginfo()
266 static void init_var (FuncState *fs, expdesc *e, int vidx) { in init_var()
278 FuncState *fs = ls->fs; in check_readonly()
[all …]
H A Dlparser.h144 typedef struct FuncState { struct
146 struct FuncState *prev; /* enclosing function */ argument
163 } FuncState; typedef
166 LUAI_FUNC int luaY_nvarstack (FuncState *fs);
H A Dllex.h70 struct FuncState *fs; /* current function (parser) */