Lines Matching refs:index
20 const int index = capture * 2;
21 if (index >= match_info->NumberOfCaptureRegisters()) {
26 const int match_start = match_info->Capture(index);
27 const int match_end = match_info->Capture(index + 1);
146 // Check that the index refers to "exec" method (this has to be consistent
171 uint64_t RegExpUtils::AdvanceStringIndex(Handle<String> string, uint64_t index,
173 DCHECK_LE(static_cast<double>(index), kMaxSafeInteger);
175 if (unicode && index < string_length) {
176 const uint16_t first = string->Get(static_cast<uint32_t>(index));
177 if (first >= 0xD800 && first <= 0xDBFF && index + 1 < string_length) {
178 DCHECK_LT(index, std::numeric_limits<uint64_t>::max());
179 const uint16_t second = string->Get(static_cast<uint32_t>(index + 1));
181 return index + 2;
186 return index + 1;