Home
last modified time | relevance | path

Searched refs:match_info (Results 1 – 9 of 9) sorted by relevance

/external/v8/src/builtins/
Dbuiltins-regexp.cc111 Handle<RegExpMatchInfo> match_info = isolate->regexp_last_match_info(); in BUILTIN() local
112 const int length = match_info->NumberOfCaptureRegisters(); in BUILTIN()
123 return *RegExpUtils::GenericCaptureGetter(isolate, match_info, last_capture); in BUILTIN()
128 Handle<RegExpMatchInfo> match_info = isolate->regexp_last_match_info(); in BUILTIN() local
129 const int start_index = match_info->Capture(0); in BUILTIN()
130 Handle<String> last_subject(match_info->LastSubject(), isolate); in BUILTIN()
136 Handle<RegExpMatchInfo> match_info = isolate->regexp_last_match_info(); in BUILTIN() local
137 const int start_index = match_info->Capture(1); in BUILTIN()
138 Handle<String> last_subject(match_info->LastSubject(), isolate); in BUILTIN()
Dbuiltins-regexp-gen.cc163 TNode<RegExpMatchInfo> match_info, TNode<String> string) { in ConstructNewResultFromMatchInfo() argument
167 match_info, RegExpMatchInfo::kNumberOfCapturesIndex))); in ConstructNewResultFromMatchInfo()
170 LoadFixedArrayElement(match_info, RegExpMatchInfo::kFirstCaptureIndex)); in ConstructNewResultFromMatchInfo()
172 match_info, RegExpMatchInfo::kFirstCaptureIndex + 1)); in ConstructNewResultFromMatchInfo()
205 TNode<Smi> start = CAST(LoadFixedArrayElement(match_info, from_cursor)); in ConstructNewResultFromMatchInfo()
212 TNode<Smi> end = CAST(LoadFixedArrayElement(match_info, from_cursor_plus1)); in ConstructNewResultFromMatchInfo()
326 TNode<Number> last_index, TNode<RegExpMatchInfo> match_info) { in RegExpExecInternal() argument
332 last_index, match_info)); in RegExpExecInternal()
558 SmiSub(LoadFixedArrayBaseLength(match_info), in RegExpExecInternal()
569 StoreFixedArrayElement(match_info, RegExpMatchInfo::kNumberOfCapturesIndex, in RegExpExecInternal()
[all …]
Dbuiltins-regexp-gen.h70 TNode<RegExpMatchInfo> match_info);
74 TNode<RegExpMatchInfo> match_info, TNode<String> string);
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
Drc_test_helpers.c61 struct match_info { struct
116 struct match_info Negate;
117 struct match_info Abs;
118 struct match_info File;
119 struct match_info Index;
120 struct match_info Swizzle;
249 struct match_info File;
250 struct match_info Index;
251 struct match_info WriteMask;
351 struct match_info Opcode;
[all …]
/external/v8/src/regexp/
Dregexp-utils.cc17 Isolate* isolate, Handle<RegExpMatchInfo> match_info, int capture, in GenericCaptureGetter() argument
20 if (index >= match_info->NumberOfCaptureRegisters()) { in GenericCaptureGetter()
25 const int match_start = match_info->Capture(index); in GenericCaptureGetter()
26 const int match_end = match_info->Capture(index + 1); in GenericCaptureGetter()
33 Handle<String> last_subject(match_info->LastSubject(), isolate); in GenericCaptureGetter()
Dregexp-utils.h20 Handle<RegExpMatchInfo> match_info,
/external/v8/src/objects/
Dregexp-match-info.h50 Isolate* isolate, Handle<RegExpMatchInfo> match_info, int capture_count); in NON_EXPORTED_BASE()
/external/v8/src/runtime/
Druntime-regexp.cc935 Handle<RegExpMatchInfo> match_info) in MatchInfoBackedMatch() argument
936 : isolate_(isolate), match_info_(match_info) { in MatchInfoBackedMatch()
/external/v8/src/
Dobjects.cc10639 Isolate* isolate, Handle<RegExpMatchInfo> match_info, int capture_count) { in ReserveCaptures() argument
10640 DCHECK_GE(match_info->length(), kLastMatchOverhead); in ReserveCaptures()
10643 EnsureSpaceInFixedArray(isolate, match_info, required_length); in ReserveCaptures()