Lines Matching full:capture
25 * index of capture start after a matching pass for a global regexp.
43 * - capture array size (may fit multiple sets of matches)
57 * position -1). Used to initialize capture registers to a non-position.
204 __ mov(edx, register_location(start_reg)); // Index of start of capture
205 __ mov(ebx, register_location(start_reg + 1)); // Index of end of capture
206 __ sub(ebx, edx); // Length of capture.
208 // The length of a capture should not be negative. This can only happen
209 // if the end of the capture is unrecorded, or at a point earlier than
210 // the start of the capture.
213 // If length is zero, either the capture is empty or it is completely
231 __ add(edx, esi); // Start of capture
232 __ add(edi, esi); // Start of text to match against capture.
233 __ add(ebx, edi); // End of text to match against capture.
254 // Also convert capture character.
262 // Increment pointers into match and capture strings.
297 // size_t byte_length - length of capture in bytes(!)
311 // Start of capture, where edx already holds string-end negative offset.
330 // On success, increment position by length of capture.
344 // Find length of back-referenced capture.
348 // Fail on partial or illegal capture (start of capture after end of capture).
350 // Succeed on empty capture (including no capture)
361 // Compute pointers to match string and capture string
363 __ add(edx, esi); // Start of capture.
377 // Increment pointers into capture and match string.
759 // Keep capture start in edx for the zero-length check later.
775 // Capture results have been stored, so the number of remaining global
779 // Check whether we have enough room for another set of capture results.
793 // edx: capture start index