Home
last modified time | relevance | path

Searched refs:startsWith (Results 1 – 10 of 10) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Format/
H A DTokenAnnotator.h118 template <typename... Ts> bool startsWith(Ts... Tokens) const { in startsWith() function
149 return startsWith(tok::kw_namespace) || startsWith(TT_NamespaceMacro) || in startsWithNamespace()
150 startsWith(tok::kw_inline, tok::kw_namespace) || in startsWithNamespace()
151 startsWith(tok::kw_export, tok::kw_namespace); in startsWithNamespace()
H A DTokenAnnotator.cpp44 return Line.startsWith(tok::kw_for) || Line.startsWith(tok::kw_if) || in startsWithInitStatement()
45 Line.startsWith(tok::kw_switch); in startsWithInitStatement()
246 !Line.startsWith(tok::kw_template)) { in parseAngle()
1866 if (!Line.startsWith(TT_UnaryOperator)) { in modifyContext()
3267 if (Line.startsWith(TT_ObjCMethodSpecifier)) in annotate()
3269 else if (Line.startsWith(TT_ObjCDecl)) in annotate()
3271 else if (Line.startsWith(TT_ObjCProperty)) in annotate()
3831 if (Line.startsWith(TT_ObjCMethodSpecifier)) in splitPenalty()
5033 (Line.startsWith(tok::kw_enum) || in mustBreakBefore()
5256 if (Line.startsWith(tok::kw_enum) || in mustBreakBefore()
[all …]
H A DUnwrappedLineFormatter.cpp26 return Line.startsWith(tok::kw_extern) && Next && Next->isStringLiteral() && in startsExternCBlock()
190 if (!Line->startsWith(tok::r_brace)) in getMatchingNamespaceToken()
648 if (I + 2 != E && Line.startsWith(tok::kw_if) && in tryMergeSimpleControlStatement()
1361 PreviousLine && PreviousLine->startsWith(tok::r_brace); in format()
1365 !TheLine.startsWith(tok::r_brace)); in format()
1480 PreviousLine->startsWith(tok::l_brace)) && in computeNewlines()
H A DUsingDeclarationsSorter.cpp221 if (Line->InPPDirective || !Line->startsWith(tok::kw_using) || in analyze()
H A DNamespaceEndCommentsFixer.cpp250 if (!Line->Affected || Line->InPPDirective || !Line->startsWith(tok::r_brace)) in getNamespaceToken()
H A DFormat.cpp2670 if (!AnnotatedLines[++CurrentLine]->startsWith(tok::l_brace)) { in checkEmptyNamespace()
2678 if (AnnotatedLines[CurrentLine]->startsWith(tok::r_brace)) in checkEmptyNamespace()
H A DContinuationIndenter.cpp448 State.Line->startsWith(TT_ObjCMethodSpecifier)) { in mustBreak()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DUnicodeNameToCodepoint.cpp120 static bool startsWith(StringRef Name, StringRef Needle, bool Strict, in startsWith() function
184 bool DoesStartWith = N.IsRoot || startsWith(Name, N.Name, Strict, Consummed, in compareNode()
272 startsWith(Name, Syllable, Strict, Consummed, PreviousInNameCopy); in findSyllable()
292 startsWith(Name, "HANGUL SYLLABLE ", Strict, Consummed, NameStart); in nameToHangulCodePoint()
350 bool DoesStartWith = startsWith(Name, Item.Prefix, Strict, Consummed, in nameToGeneratedCodePoint()
/freebsd-14.2/crypto/openssh/.github/workflows/
H A Dc-cpp.yml106 if: ${{ startsWith(matrix.target, 'windows') }}
109 if: ${{ startsWith(matrix.target, 'windows') }}
/freebsd-14.2/contrib/bsnmp/tests/
H A Dcatch.hpp3155 bool startsWith( std::string const& s, char prefix );
9647 if( !startsWith( line, '"' ) ) in makeCommandLineParser()
9661 if( startsWith( "declared", order ) ) in makeCommandLineParser()
9663 else if( startsWith( "lexical", order ) ) in makeCommandLineParser()
9665 else if( startsWith( "random", order ) ) in makeCommandLineParser()
11124 if( startsWith( testCaseInfo.name, '#' ) ) in listTestsNamesOnly()
13583 bool startsWith( std::string const& s, char prefix ) { in startsWith() function
13788 if( startsWith( tag, '.' ) || in parseSpecialTag()
14041 if( startsWith( className, '&' ) ) in extractClassName()
14577 if (startsWith(token, "exclude:")) { in preprocessPattern()
[all …]