Lines Matching refs:String16
16 String16 findMagicComment(const String16& content, const String16& name, in findMagicComment()
18 DCHECK_EQ(String16::kNotFound, name.find("=")); in findMagicComment()
27 if (pos == String16::kNotFound) return String16(); in findMagicComment()
30 if (pos < 4) return String16(); in findMagicComment()
42 if (closingCommentPos == String16::kNotFound) return String16(); in findMagicComment()
51 String16 match = multiline in findMagicComment()
56 if (newLine != String16::kNotFound) match = match.substring(0, newLine); in findMagicComment()
67 String16 createSearchRegexSource(const String16& text) { in createSearchRegexSource()
83 std::unique_ptr<std::vector<size_t>> lineEndings(const String16& text) { in lineEndings()
86 const String16 lineEndString = "\n"; in lineEndings()
90 if (lineEnd == String16::kNotFound) break; in lineEndings()
100 std::vector<std::pair<int, String16>> scriptRegexpMatchesByLines( in scriptRegexpMatchesByLines()
101 const V8Regex& regex, const String16& text) { in scriptRegexpMatchesByLines()
102 std::vector<std::pair<int, String16>> result; in scriptRegexpMatchesByLines()
110 String16 line = text.substring(start, lineEnd - start); in scriptRegexpMatchesByLines()
116 result.push_back(std::pair<int, String16>(lineNumber, line)); in scriptRegexpMatchesByLines()
124 int lineNumber, const String16& lineContent) { in buildObjectForSearchMatch()
132 const String16& query, in createSearchRegex()
134 String16 regexSource = isRegex ? query : createSearchRegexSource(query); in createSearchRegex()
142 searchInTextByLinesImpl(V8InspectorSession* session, const String16& text, in searchInTextByLinesImpl()
143 const String16& query, const bool caseSensitive, in searchInTextByLinesImpl()
148 std::vector<std::pair<int, String16>> matches = in searchInTextByLinesImpl()
157 String16 findSourceURL(const String16& content, bool multiline) { in findSourceURL()
161 String16 findSourceMapURL(const String16& content, bool multiline) { in findSourceMapURL()