Home
last modified time | relevance | path

Searched refs:IsLineTerminator (Results 1 – 6 of 6) sorted by relevance

/external/v8/src/parsing/
Dscanner.cc211 AdvanceUntil([](uc32 c0_) { return unibrow::IsLineTerminator(c0_); }); in SkipSingleLineComment()
218 if (unibrow::IsLineTerminator(c0_) || c0_ == kEndOfInput) { in SkipSourceURLComment()
255 while (c0_ != kEndOfInput && !unibrow::IsLineTerminator(c0_)) { in TryToParseSourceURLComment()
268 while (c0_ != kEndOfInput && !unibrow::IsLineTerminator(c0_)) { in TryToParseSourceURLComment()
285 return unibrow::IsLineTerminator(c0); in SkipMultiLineComment()
299 if (unibrow::IsLineTerminator(c0_)) { in SkipMultiLineComment()
380 DCHECK(!unibrow::IsLineTerminator(kEndOfInput)); in ScanEscape()
381 if (!capture_raw && unibrow::IsLineTerminator(c)) { in ScanEscape()
549 DCHECK(!unibrow::IsLineTerminator(kEndOfInput)); in ScanTemplateSpan()
551 if (unibrow::IsLineTerminator(c0_)) { in ScanTemplateSpan()
[all …]
Dscanner-inl.h328 if (!next().after_line_terminator && unibrow::IsLineTerminator(c0_)) { in SkipWhiteSpace()
/external/v8/src/objects/
Djs-regexp.cc304 bool IsLineTerminator(int c) { in IsLineTerminator() function
306 return unibrow::IsLineTerminator(static_cast<unibrow::uchar>(c)); in IsLineTerminator()
322 if (i + 1 < src.length() && IsLineTerminator(src[i + 1])) { in CountAdditionalEscapeChars()
350 DCHECK(!IsLineTerminator(c)); in CountAdditionalEscapeChars()
378 if (s + 1 < src.length() && IsLineTerminator(src[s + 1])) { in WriteEscapedRegExpSource()
411 DCHECK(!IsLineTerminator(c)); in WriteEscapedRegExpSource()
/external/v8/src/strings/
Dchar-predicates.h82 return IsWhiteSpaceSlow(c) || unibrow::IsLineTerminator(c); in IsWhiteSpaceOrLineTerminatorSlow()
Dunicode.h224 V8_INLINE bool IsLineTerminator(uchar c) { in IsLineTerminator() function
/external/v8/src/regexp/experimental/
Dexperimental-interpreter.cc35 return unibrow::IsLineTerminator(context[position - 1]); in SatisfiesAssertion()
38 return unibrow::IsLineTerminator(context[position]); in SatisfiesAssertion()