Home
last modified time | relevance | path

Searched refs:SubjectChar (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/
Dstring-search.h56 template <typename PatternChar, typename SubjectChar>
63 if (sizeof(PatternChar) > sizeof(SubjectChar)) { in StringSearch()
81 int Search(Vector<const SubjectChar> subject, int index) { in Search()
98 StringSearch<PatternChar, SubjectChar>*,
99 Vector<const SubjectChar>,
102 static int FailSearch(StringSearch<PatternChar, SubjectChar>*, in FailSearch() argument
103 Vector<const SubjectChar>, in FailSearch() argument
108 static int SingleCharSearch(StringSearch<PatternChar, SubjectChar>* search,
109 Vector<const SubjectChar> subject,
112 static int LinearSearch(StringSearch<PatternChar, SubjectChar>* search,
[all …]
/external/v8/src/runtime/
Druntime-regexp.cc318 template <typename SubjectChar, typename PatternChar>
319 void FindStringIndices(Isolate* isolate, Vector<const SubjectChar> subject, in FindStringIndices()
327 StringSearch<PatternChar, SubjectChar> search(isolate, pattern); in FindStringIndices()