Home
last modified time | relevance | path

Searched refs:capture (Results 1 – 5 of 5) sorted by relevance

/civetweb-2.7.6/src/third_party/lua-5.1.5/src/
Dlstrlib.c178 } capture[LUA_MAXCAPTURES]; member
188 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 …]
/civetweb-2.7.6/src/third_party/lua-5.2.4/src/
Dlstrlib.c208 } capture[LUA_MAXCAPTURES]; member
228 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 …]
/civetweb-2.7.6/src/third_party/lua-5.3.5/src/
Dlstrlib.c224 } capture[LUA_MAXCAPTURES]; member
244 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 …]
/civetweb-2.7.6/ci/test/01_basic/
Dbasic_spec.lua18 function capture(str) function
24 :setopt_writefunction(capture)
/civetweb-2.7.6/src/third_party/lua-5.1.5/
DHISTORY72 + position capture in string.find.