Home | History | Annotate | Download | only in x64

Lines Matching full:capture

27  *         Temporarily stores the index of capture start after a matching pass
60 * - capture array size (may fit multiple sets of matches)
70 * position -1). Used to initialize capture registers to a non-position.
221 ReadPositionFromRegister(rdx, start_reg); // Offset of start of capture
222 ReadPositionFromRegister(rbx, start_reg + 1); // Offset of end of capture
223 __ subp(rbx, rdx); // Length of capture.
226 // rdx = Start offset of capture.
227 // rbx = Length of capture
230 // illegal capture where start of capture after end of capture).
231 // This must not happen (no back-reference can reference a capture that wasn't
235 // If length is zero, either the capture is empty or it is nonparticipating.
240 // rdx - Start of capture
241 // rbx - length of capture
255 __ addp(rbx, r9); // End of capture
258 // r9 - current capture character address
259 // rbx - end of capture
266 // dl - capture character
274 __ orp(rdx, Immediate(0x20)); // Convert capture character to lower-case.
287 // Increment pointers into match and capture strings.
290 // Compare to end of capture, and loop if not done.
313 // size_t byte_length - length of capture in bytes(!)
316 // Compute and set byte_offset1 (start of capture).
327 // Compute and set byte_offset1 (start of capture).
356 // On success, increment position by length of capture.
369 // Find length of back-referenced capture.
370 ReadPositionFromRegister(rdx, start_reg); // Offset of start of capture
371 ReadPositionFromRegister(rax, start_reg + 1); // Offset of end of capture
374 // Fail on partial or illegal capture (start of capture after end of capture).
375 // This must not happen (no back-reference can reference a capture that wasn't
379 // Succeed on empty capture (including non-participating capture)
383 // rdx - Start of capture
384 // rax - length of capture
391 // Compute pointers to match string and capture string
393 __ addp(rdx, rsi); // Start of capture.
394 __ leap(r9, Operand(rdx, rax, times_1, 0)); // End of capture
397 // rbx - current capture character address.
399 // r9 - end of input to match (capture length after rbx).
412 // Increment pointers into capture and match string.
813 // Keep capture start in rdx for the zero-length check later.
828 // Capture results have been stored, so the number of remaining global
832 // Check whether we have enough room for another set of capture results.
846 // rdx: capture start index