Home
last modified time | relevance | path

Searched refs:currentline (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/lua/src/
H A Dldebug.c282 static int nextline (const Proto *p, int currentline, int pc) { in nextline() argument
284 return currentline + p->lineinfo[pc]; in nextline()
299 int currentline = p->linedefined; in collectvalidlines() local
308 currentline = nextline(p, currentline, 0); in collectvalidlines()
312 currentline = nextline(p, currentline, i); /* get its line */ in collectvalidlines()
313 luaH_setint(L, t, currentline, &v); /* table[line] = true */ in collectvalidlines()
337 ar->currentline = (ci && isLua(ci)) ? getcurrentline(ci) : -1; in auxgetinfo()
H A Dldblib.c179 settabsi(L, "currentline", ar.currentline); in db_getinfo()
330 if (ar->currentline >= 0) in hookf()
331 lua_pushinteger(L, ar->currentline); /* push current line */ in hookf()
H A Dlauxlib.c152 if (ar.currentline <= 0) in luaL_traceback()
155 lua_pushfstring(L, "\n\t%s:%d: in ", ar.short_src, ar.currentline); in luaL_traceback()
220 if (ar.currentline > 0) { /* is there info? */ in luaL_where()
221 lua_pushfstring(L, "%s:%d: ", ar.short_src, ar.currentline); in luaL_where()
H A Dlua.h482 int currentline; /* (l) */ member
H A Dldo.c338 ar.currentline = line; in luaD_hook()
H A Dltests.c1845 lua_pushinteger(L, ar->currentline); /* may be used by script */ in Chook()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dldebug.c40 static int currentline (CallInfo *ci) { in currentline() function
236 ar->currentline = (ci && isLua(ci)) ? currentline(ci) : -1; in auxgetinfo()
574 int line = currentline(ci); in addinfo()
H A Dlauxlib.c125 if (ar.currentline > 0) in luaL_traceback()
126 lua_pushfstring(L, "%d:", ar.currentline); in luaL_traceback()
180 if (ar.currentline > 0) { /* is there info? */ in luaL_where()
181 lua_pushfstring(L, "%s:%d: ", ar.short_src, ar.currentline); in luaL_where()
H A Dldo.c308 ar.currentline = line; in luaD_hook()
/freebsd/contrib/lutok/
H A Ddebug.cpp149 return _pimpl->lua_debug.currentline; in current_line()
/freebsd/sys/contrib/openzfs/include/sys/lua/
H A Dlua.h404 int currentline; /* (l) */ member