Searched refs:currentline (Results 1 – 11 of 11) sorted by relevance
/freebsd/contrib/lua/src/ |
H A D | ldebug.c | 282 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 D | ldblib.c | 179 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 D | lauxlib.c | 152 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 D | lua.h | 482 int currentline; /* (l) */ member
|
H A D | ldo.c | 338 ar.currentline = line; in luaD_hook()
|
H A D | ltests.c | 1845 lua_pushinteger(L, ar->currentline); /* may be used by script */ in Chook()
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | ldebug.c | 40 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 D | lauxlib.c | 125 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 D | ldo.c | 308 ar.currentline = line; in luaD_hook()
|
/freebsd/contrib/lutok/ |
H A D | debug.cpp | 149 return _pimpl->lua_debug.currentline; in current_line()
|
/freebsd/sys/contrib/openzfs/include/sys/lua/ |
H A D | lua.h | 404 int currentline; /* (l) */ member
|