Searched refs:capture (Results 1 – 5 of 5) sorted by relevance
178 } capture[LUA_MAXCAPTURES]; member188 if (l < 0 || l >= ms->level || ms->capture[l].len == CAP_UNFINISHED) in check_capture()197 if (ms->capture[level].len == CAP_UNFINISHED) return level; in capture_to_close()334 ms->capture[level].init = s; in start_capture()335 ms->capture[level].len = what; in start_capture()347 ms->capture[l].len = s - ms->capture[l].init; /* close capture */ in end_capture()349 ms->capture[l].len = CAP_UNFINISHED; /* undo capture */ in end_capture()357 len = ms->capture[l].len; in match_capture()359 memcmp(ms->capture[l].init, s, len) == 0) in match_capture()475 ptrdiff_t l = ms->capture[i].len; in push_onecapture()[all …]
208 } capture[LUA_MAXCAPTURES]; member228 if (l < 0 || l >= ms->level || ms->capture[l].len == CAP_UNFINISHED) in check_capture()237 if (ms->capture[level].len == CAP_UNFINISHED) return level; in capture_to_close()379 ms->capture[level].init = s; in start_capture()380 ms->capture[level].len = what; in start_capture()392 ms->capture[l].len = s - ms->capture[l].init; /* close capture */ in end_capture()394 ms->capture[l].len = CAP_UNFINISHED; /* undo capture */ in end_capture()402 len = ms->capture[l].len; in match_capture()404 memcmp(ms->capture[l].init, s, len) == 0) in match_capture()545 ptrdiff_t l = ms->capture[i].len; in push_onecapture()[all …]
224 } capture[LUA_MAXCAPTURES]; member244 if (l < 0 || l >= ms->level || ms->capture[l].len == CAP_UNFINISHED) in check_capture()253 if (ms->capture[level].len == CAP_UNFINISHED) return level; in capture_to_close()394 ms->capture[level].init = s; in start_capture()395 ms->capture[level].len = what; in start_capture()407 ms->capture[l].len = s - ms->capture[l].init; /* close capture */ in end_capture()409 ms->capture[l].len = CAP_UNFINISHED; /* undo capture */ in end_capture()417 len = ms->capture[l].len; in match_capture()419 memcmp(ms->capture[l].init, s, len) == 0) in match_capture()559 ptrdiff_t l = ms->capture[i].len; in push_onecapture()[all …]
18 function capture(str) function24 :setopt_writefunction(capture)
72 + position capture in string.find.