Searched refs:match_indices (Results 1 - 6 of 6) sorted by relevance
/third_party/node/deps/v8/src/runtime/ |
H A D | runtime-regexp.cc | 616 int32_t match_indices[] = {indices->back(), indices->back() + pattern_len}; in StringReplaceGlobalAtomRegExpWithString() local 617 RegExp::SetLastMatchInfo(isolate, last_match_info, subject, 0, match_indices); in StringReplaceGlobalAtomRegExpWithString() 1393 auto match_indices = Handle<RegExpMatchInfo>::cast(match_indices_obj); in RegExpReplace() local 1395 const int start_index = match_indices->Capture(0); in RegExpReplace() 1396 const int end_index = match_indices->Capture(1); in RegExpReplace() 1406 MatchInfoBackedMatch m(isolate, regexp, string, match_indices); in RegExpReplace() 1535 Handle<RegExpMatchInfo> match_indices = in RUNTIME_FUNCTION() local 1538 const int index = match_indices->Capture(0); in RUNTIME_FUNCTION() 1539 const int end_of_match = match_indices->Capture(1); in RUNTIME_FUNCTION() 1553 const int m = match_indices in RUNTIME_FUNCTION() [all...] |
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-regexp-gen.cc | 1555 const TNode<Object> match_indices = in RegExpPrototypeSplitBody() local 1560 Branch(IsNull(match_indices), &return_singleton_array, in RegExpPrototypeSplitBody() 1622 TNode<FixedArray> match_indices = CAST(match_indices_ho); in RegExpPrototypeSplitBody() local 1624 match_indices, RegExpMatchInfo::kFirstCaptureIndex)); in RegExpPrototypeSplitBody() 1626 match_indices, RegExpMatchInfo::kFirstCaptureIndex + 1)); in RegExpPrototypeSplitBody() 1657 match_indices, RegExpMatchInfo::kNumberOfCapturesIndex)); in RegExpPrototypeSplitBody() 1672 match_indices, reg, in RegExpPrototypeSplitBody() 1675 match_indices, reg, in RegExpPrototypeSplitBody()
|
/third_party/rust/crates/codespan/codespan/src/ |
H A D | file.rs | 386 std::iter::once(0).chain(source.match_indices('\n').map(|(i, _)| i + 1)) in line_starts()
|
/third_party/rust/crates/codespan/codespan-reporting/tests/ |
H A D | term.rs | 744 .match_indices("hello")
|
/third_party/rust/crates/rust-openssl/openssl/src/ssl/ |
H A D | connector.rs | 533 let mut dot_idxs = pattern.match_indices('.').map(|(l, _)| l); in matches_wildcard()
|
/third_party/rust/crates/memchr/bench/data/code/ |
H A D | rust-library.rs | 346 make_test!(match_indices_a_str, s, s.match_indices("a").count()); 4986 let vec: Vec<_> = data.match_indices("").collect(); in test_empty_match_indices() 5444 with str::match_indices, str::rmatch_indices; 15243 for (start, part) in self.match_indices(from) { 15282 for (start, part) in self.match_indices(pat).take(count) { [all...] |
Completed in 55 milliseconds