Home
last modified time | relevance | path

Searched refs:Proto (Results 1 – 25 of 33) sorted by relevance

12

/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dlundump.h14 LUAI_FUNC Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name);
20 LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip);
24 LUAI_FUNC void luaU_print (const Proto* f, int full);
H A Dprint.c51 static void PrintConstant(const Proto* f, int i) in PrintConstant()
74 static void PrintCode(const Proto* f) in PrintCode()
161 static void PrintHeader(const Proto* f) in PrintHeader()
181 static void PrintConstants(const Proto* f) in PrintConstants()
193 static void PrintLocals(const Proto* f) in PrintLocals()
204 static void PrintUpvalues(const Proto* f) in PrintUpvalues()
215 void PrintFunction(const Proto* f, int full) in PrintFunction()
H A Dlundump.c90 static void LoadCode(LoadState* S, Proto* f) in LoadCode()
98 static Proto* LoadFunction(LoadState* S, TString* p);
100 static void LoadConstants(LoadState* S, Proto* f) in LoadConstants()
131 f->p=luaM_newvector(S->L,n,Proto*); in LoadConstants()
137 static void LoadDebug(LoadState* S, Proto* f) in LoadDebug()
161 static Proto* LoadFunction(LoadState* S, TString* p) in LoadFunction()
163 Proto* f; in LoadFunction()
195 Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name) in luaU_undump()
H A Dlfunc.h21 LUAI_FUNC Proto *luaF_newproto (lua_State *L);
27 LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f);
30 LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number,
H A Dldump.c78 static void DumpFunction(const Proto* f, const TString* p, DumpState* D);
80 static void DumpConstants(const Proto* f, DumpState* D) in DumpConstants()
111 static void DumpDebug(const Proto* f, DumpState* D) in DumpDebug()
129 static void DumpFunction(const Proto* f, const TString* p, DumpState* D) in DumpFunction()
153 int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip) in luaU_dump()
H A Dlfunc.c115 Proto *luaF_newproto (lua_State *L) { in luaF_newproto()
116 Proto *f = luaM_new(L, Proto); in luaF_newproto()
141 void luaF_freeproto (lua_State *L, Proto *f) { in luaF_freeproto()
143 luaM_freearray(L, f->p, f->sizep, Proto *); in luaF_freeproto()
163 const char *luaF_getlocalname (const Proto *f, int local_number, int pc) { in luaF_getlocalname()
H A Dluac.c119 static const Proto* combine(lua_State* L, int n) in combine()
126 Proto* f=luaF_newproto(L); in combine()
133 f->p=luaM_newvector(L,n,Proto*); in combine()
163 const Proto* f; in pmain()
H A Dlparser.h59 Proto *f; /* current function header */
78 LUAI_FUNC Proto *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff,
H A Dldebug.c107 static Proto *getluaproto (CallInfo *ci) { in getluaproto()
114 Proto *fp = getluaproto(ci); in findlocal()
276 static int precheck (const Proto *pt) { in precheck()
304 static int checkArgMode (const Proto *pt, int r, enum OpArgMask mode) { in checkArgMode()
317 static Instruction symbexec (const Proto *pt, int lastpc, int reg) { in symbexec()
484 int luaG_checkcode (const Proto *pt) { in luaG_checkcode()
489 static const char *kname (Proto *p, int c) { in kname()
500 Proto *p = ci_func(ci)->l.p; in getobjname()
H A Dlobject.h231 typedef struct Proto { struct
235 struct Proto **p; /* functions defined inside the function */ argument
253 } Proto; argument
304 struct Proto *p;
H A Dldebug.h30 LUAI_FUNC int luaG_checkcode (const Proto *pt);
H A Dlparser.c145 Proto *f = fs->f; in registerlocalvar()
185 Proto *f = fs->f; in indexupvalue()
312 Proto *f = fs->f; in pushclosure()
315 luaM_growvector(ls->L, f->p, fs->np, f->sizep, Proto *, in pushclosure()
330 Proto *f = luaF_newproto(L); in open_func()
359 Proto *f = fs->f; in close_func()
368 luaM_reallocvector(L, f->p, f->sizep, fs->np, Proto *); in close_func()
383 Proto *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff, const char *name) { in luaY_parser()
546 Proto *f = fs->f; in parlist()
H A Dlgc.c203 static void traverseproto (global_State *g, Proto *f) { in traverseproto()
308 Proto *p = gco2p(o); in propagatemark()
311 return sizeof(Proto) + sizeof(Instruction) * p->sizecode + in propagatemark()
312 sizeof(Proto *) * p->sizep + in propagatemark()
H A Dlstate.h142 struct Proto p;
H A Dldo.c208 static StkId adjust_varargs (lua_State *L, Proto *p, int actual) { in adjust_varargs()
276 Proto *p = cl->p; in luaD_precall()
493 Proto *tf; in f_parser()
/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dlfunc.h22 LUAI_FUNC Proto *luaF_newproto (lua_State *L);
28 LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f);
30 LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number,
H A Dlfunc.c109 Proto *luaF_newproto (lua_State *L) { in luaF_newproto()
110 Proto *f = &luaC_newobj(L, LUA_TPROTO, sizeof(Proto), NULL, 0)->p; in luaF_newproto()
134 void luaF_freeproto (lua_State *L, Proto *f) { in luaF_freeproto()
149 const char *luaF_getlocalname (const Proto *f, int local_number, int pc) { in luaF_getlocalname()
H A Dldebug.c106 static const char *upvalname (Proto *p, int uv) { in upvalname()
197 Proto *p = cl->l.p; in funcinfo()
316 static const char *getobjname (Proto *p, int lastpc, int reg,
323 static void kname (Proto *p, int pc, int c, const char **name) { in kname()
354 static int findsetreg (Proto *p, int lastpc, int reg) { in findsetreg()
405 static const char *getobjname (Proto *p, int lastpc, int reg, in getobjname()
461 Proto *p = ci_func(ci)->p; /* calling function */ in getfuncname()
H A Dlobject.h465 typedef struct Proto { struct
469 struct Proto **p; /* functions defined inside the function */ argument
487 } Proto; argument
523 struct Proto *p;
H A Dlparser.h98 Proto *f; /* current function header */
H A Dlparser.c165 Proto *f = fs->f; in registerlocalvar()
230 Proto *f = fs->f; in newupvalue()
496 static Proto *addprototype (LexState *ls) { in addprototype()
497 Proto *clp; in addprototype()
500 Proto *f = fs->f; /* prototype of current function */ in addprototype()
503 luaM_growvector(L, f->p, fs->np, f->sizep, Proto *, MAXARG_Bx, "functions"); in addprototype()
527 Proto *f; in open_func()
556 Proto *f = fs->f; in close_func()
565 luaM_reallocvector(L, f->p, f->sizep, fs->np, Proto *); in close_func()
766 Proto *f = fs->f; in parlist()
H A Dlgc.c171 LUAI_FUNC void luaC_barrierproto_ (lua_State *L, Proto *p, Closure *c) { in luaC_barrierproto_()
456 static int traverseproto (global_State *g, Proto *f) { in traverseproto()
469 return sizeof(Proto) + sizeof(Instruction) * f->sizecode + in traverseproto()
470 sizeof(Proto *) * f->sizep + in traverseproto()
554 Proto *p = gco2p(o); in propagatemark()
H A Dlgc.h153 LUAI_FUNC void luaC_barrierproto_ (lua_State *L, Proto *p, Closure *c);
H A Dlstate.h193 struct Proto p;
/f-stack/app/redis-5.0.5/deps/lua/etc/
H A Dnoparser.c25 LUAI_FUNC Proto *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff, const char *name) { in luaY_parser()
37 LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip) { in luaU_dump()

12