Lines Matching refs:buff
51 Mbuffer *b = ls->buff; in save()
95 return luaO_pushfstring(ls->L, LUA_QS, luaZ_buffer(ls->buff)); in txtToken()
103 char buff[LUA_IDSIZE]; in lexerror() local
104 luaO_chunkid(buff, getstr(ls->source), LUA_IDSIZE); in lexerror()
105 msg = luaO_pushfstring(ls->L, "%s:%d: %s", buff, ls->linenumber, msg); in lexerror()
170 luaZ_resizebuffer(ls->L, ls->buff, LUA_MINBUFFER); /* initialize buffer */ in luaX_setinput()
195 size_t n = luaZ_bufflen(ls->buff); in buffreplace()
196 char *p = luaZ_buffer(ls->buff); in buffreplace()
217 if (!buff2d(ls->buff, &seminfo->r)) { in trydecpoint()
246 if (!buff2d(ls->buff, &seminfo->r)) /* format error? */ in read_numeral()
288 if (!seminfo) luaZ_resetbuffer(ls->buff); /* avoid wasting space */ in read_long_string()
298 seminfo->ts = luaX_newstring(ls, luaZ_buffer(ls->buff) + (2 + sep), in read_long_string()
299 luaZ_bufflen(ls->buff) - 2*(2 + sep)); in read_long_string()
305 luaZ_resetbuffer(ls->buff); /* prepare error message */ in escerror()
394 seminfo->ts = luaX_newstring(ls, luaZ_buffer(ls->buff) + 1, in read_string()
395 luaZ_bufflen(ls->buff) - 2); in read_string()
400 luaZ_resetbuffer(ls->buff); in llex()
418 luaZ_resetbuffer(ls->buff); /* `skip_sep' may dirty the buffer */ in llex()
421 luaZ_resetbuffer(ls->buff); /* previous call may dirty the buff. */ in llex()
493 ts = luaX_newstring(ls, luaZ_buffer(ls->buff), in llex()
494 luaZ_bufflen(ls->buff)); in llex()