Lines Matching full:capture
26 * index of capture start after a matching pass for a global regexp.
44 * - capture array size (may fit multiple sets of matches)
58 * position -1). Used to initialize capture registers to a non-position.
205 __ mov(edx, register_location(start_reg)); // Index of start of capture
206 __ mov(ebx, register_location(start_reg + 1)); // Index of end of capture
207 __ sub(ebx, edx); // Length of capture.
209 // The length of a capture should not be negative. This can only happen
210 // if the end of the capture is unrecorded, or at a point earlier than
211 // the start of the capture.
214 // If length is zero, either the capture is empty or it is completely
232 __ add(edx, esi); // Start of capture
233 __ add(edi, esi); // Start of text to match against capture.
234 __ add(ebx, edi); // End of text to match against capture.
255 // Also convert capture character.
263 // Increment pointers into match and capture strings.
298 // size_t byte_length - length of capture in bytes(!)
312 // Start of capture, where edx already holds string-end negative offset.
331 // On success, increment position by length of capture.
345 // Find length of back-referenced capture.
349 // Fail on partial or illegal capture (start of capture after end of capture).
351 // Succeed on empty capture (including no capture)
362 // Compute pointers to match string and capture string
364 __ add(edx, esi); // Start of capture.
378 // Increment pointers into capture and match string.
760 // Keep capture start in edx for the zero-length check later.
776 // Capture results have been stored, so the number of remaining global
780 // Check whether we have enough room for another set of capture results.
794 // edx: capture start index