Lines Matching refs:level
174 int level; /* total number of captures (finished or unfinished) */ member
188 if (l < 0 || l >= ms->level || ms->capture[l].len == CAP_UNFINISHED) in check_capture()
195 int level = ms->level; in capture_to_close() local
196 for (level--; level>=0; level--) in capture_to_close()
197 if (ms->capture[level].len == CAP_UNFINISHED) return level; in capture_to_close()
332 int level = ms->level; in start_capture() local
333 if (level >= LUA_MAXCAPTURES) luaL_error(ms->L, "too many captures"); in start_capture()
334 ms->capture[level].init = s; in start_capture()
335 ms->capture[level].len = what; in start_capture()
336 ms->level = level+1; in start_capture()
338 ms->level--; /* undo capture */ in start_capture()
468 if (i >= ms->level) { in push_onecapture()
487 int nlevels = (ms->level == 0 && s) ? 1 : ms->level; in push_captures()
521 ms.level = 0; in str_find_aux()
561 ms.level = 0; in gmatch_aux()
663 ms.level = 0; in str_gsub()