Home
last modified time | relevance | path

Searched refs:addMatcher (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/external/icu/icu4c/source/i18n/
Dnumparse_impl.cpp64 parser->addMatcher(parser->fLocalMatchers.ignorables); in createSimpleParser()
65 parser->addMatcher(parser->fLocalMatchers.decimal = {symbols, grouper, parseFlags}); in createSimpleParser()
66 parser->addMatcher(parser->fLocalMatchers.minusSign = {symbols, false}); in createSimpleParser()
67 parser->addMatcher(parser->fLocalMatchers.plusSign = {symbols, false}); in createSimpleParser()
68 parser->addMatcher(parser->fLocalMatchers.percent = {symbols}); in createSimpleParser()
69 parser->addMatcher(parser->fLocalMatchers.permille = {symbols}); in createSimpleParser()
70 parser->addMatcher(parser->fLocalMatchers.nan = {symbols}); in createSimpleParser()
71 parser->addMatcher(parser->fLocalMatchers.infinity = {symbols}); in createSimpleParser()
72 parser->addMatcher(parser->fLocalMatchers.padding = {u"@"}); in createSimpleParser()
73 parser->addMatcher(parser->fLocalMatchers.scientific = {symbols, grouper}); in createSimpleParser()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DNumberParserImpl.java60 parser.addMatcher(ignorables); in createSimpleParser()
61 parser.addMatcher(DecimalMatcher.getInstance(symbols, grouper, parseFlags)); in createSimpleParser()
62 parser.addMatcher(MinusSignMatcher.getInstance(symbols, false)); in createSimpleParser()
63 parser.addMatcher(PlusSignMatcher.getInstance(symbols, false)); in createSimpleParser()
64 parser.addMatcher(PercentMatcher.getInstance(symbols)); in createSimpleParser()
65 parser.addMatcher(PermilleMatcher.getInstance(symbols)); in createSimpleParser()
66 parser.addMatcher(NanMatcher.getInstance(symbols, parseFlags)); in createSimpleParser()
67 parser.addMatcher(InfinityMatcher.getInstance(symbols)); in createSimpleParser()
68 parser.addMatcher(PaddingMatcher.getInstance("@")); in createSimpleParser()
69 parser.addMatcher(ScientificMatcher.getInstance(symbols, grouper)); in createSimpleParser()
[all …]
DAffixPatternMatcher.java69 addMatcher(ignorables); in consumeToken()
76 addMatcher(factory.minusSign()); in consumeToken()
79 addMatcher(factory.plusSign()); in consumeToken()
82 addMatcher(factory.percent()); in consumeToken()
85 addMatcher(factory.permille()); in consumeToken()
93 addMatcher(factory.currency()); in consumeToken()
105 addMatcher(CodePointMatcher.getInstance(typeOrCp)); in consumeToken()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DNumberParserImpl.java58 parser.addMatcher(ignorables); in createSimpleParser()
59 parser.addMatcher(DecimalMatcher.getInstance(symbols, grouper, parseFlags)); in createSimpleParser()
60 parser.addMatcher(MinusSignMatcher.getInstance(symbols, false)); in createSimpleParser()
61 parser.addMatcher(PlusSignMatcher.getInstance(symbols, false)); in createSimpleParser()
62 parser.addMatcher(PercentMatcher.getInstance(symbols)); in createSimpleParser()
63 parser.addMatcher(PermilleMatcher.getInstance(symbols)); in createSimpleParser()
64 parser.addMatcher(NanMatcher.getInstance(symbols, parseFlags)); in createSimpleParser()
65 parser.addMatcher(InfinityMatcher.getInstance(symbols)); in createSimpleParser()
66 parser.addMatcher(PaddingMatcher.getInstance("@")); in createSimpleParser()
67 parser.addMatcher(ScientificMatcher.getInstance(symbols, grouper)); in createSimpleParser()
[all …]
DAffixPatternMatcher.java67 addMatcher(ignorables); in consumeToken()
74 addMatcher(factory.minusSign()); in consumeToken()
77 addMatcher(factory.plusSign()); in consumeToken()
80 addMatcher(factory.percent()); in consumeToken()
83 addMatcher(factory.permille()); in consumeToken()
91 addMatcher(factory.currency()); in consumeToken()
103 addMatcher(CodePointMatcher.getInstance(typeOrCp)); in consumeToken()
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DTypePromotionInMathFnCheck.cpp70 Finder->addMatcher( in registerMatchers()
81 Finder->addMatcher( in registerMatchers()
90 Finder->addMatcher( in registerMatchers()
101 Finder->addMatcher( in registerMatchers()
113 Finder->addMatcher( in registerMatchers()
123 Finder->addMatcher( in registerMatchers()
135 Finder->addMatcher( in registerMatchers()
144 Finder->addMatcher( in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DRedundantStringCStrCheck.cpp100 Finder->addMatcher( in registerMatchers()
110 Finder->addMatcher( in registerMatchers()
121 Finder->addMatcher( in registerMatchers()
128 Finder->addMatcher( in registerMatchers()
135 Finder->addMatcher( in registerMatchers()
142 Finder->addMatcher( in registerMatchers()
152 Finder->addMatcher( in registerMatchers()
159 Finder->addMatcher( in registerMatchers()
DRedundantSmartptrGetCheck.cpp50 Finder->addMatcher( in registerMatchersForGetArrowStart()
56 Finder->addMatcher( in registerMatchersForGetArrowStart()
63 Finder->addMatcher( in registerMatchersForGetArrowStart()
68 Finder->addMatcher(ifStmt(hasCondition(CallToGetAsBool)), Callback); in registerMatchersForGetArrowStart()
71 Finder->addMatcher(conditionalOperator(hasCondition(CallToGetAsBool)), in registerMatchersForGetArrowStart()
83 Finder->addMatcher( in registerMatchersForGetEquals()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DUnusedUsingDeclsCheck.cpp61 Finder->addMatcher(usingDecl(isExpansionInMainFile()).bind("using"), this); in registerMatchers()
63 Finder->addMatcher(loc(enumType(DeclMatcher)), this); in registerMatchers()
64 Finder->addMatcher(loc(recordType(DeclMatcher)), this); in registerMatchers()
65 Finder->addMatcher(loc(templateSpecializationType(DeclMatcher)), this); in registerMatchers()
66 Finder->addMatcher(loc(deducedTemplateSpecializationType( in registerMatchers()
69 Finder->addMatcher(declRefExpr().bind("used"), this); in registerMatchers()
70 Finder->addMatcher(callExpr(callee(unresolvedLookupExpr().bind("used"))), in registerMatchers()
72 Finder->addMatcher( in registerMatchers()
76 Finder->addMatcher(loc(templateSpecializationType(forEachTemplateArgument( in registerMatchers()
DUnconventionalAssignOperatorCheck.cpp36 Finder->addMatcher( in registerMatchers()
44 Finder->addMatcher( in registerMatchers()
50 Finder->addMatcher( in registerMatchers()
66 Finder->addMatcher(returnStmt(IsBadReturnStatement, forFunction(IsGoodAssign)) in registerMatchers()
DNonCopyableObjects.cpp44 Finder->addMatcher( in registerMatchers()
48 Finder->addMatcher(parmVarDecl(BadPOSIXType).bind("decl"), this); in registerMatchers()
49 Finder->addMatcher( in registerMatchers()
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchFinder.h148 void addMatcher(const DeclarationMatcher &NodeMatch,
150 void addMatcher(const TypeMatcher &NodeMatch,
152 void addMatcher(const StatementMatcher &NodeMatch,
154 void addMatcher(const NestedNameSpecifierMatcher &NodeMatch,
156 void addMatcher(const NestedNameSpecifierLocMatcher &NodeMatch,
158 void addMatcher(const TypeLocMatcher &NodeMatch,
160 void addMatcher(const CXXCtorInitializerMatcher &NodeMatch,
162 void addMatcher(const TemplateArgumentLocMatcher &NodeMatch,
292 Finder.addMatcher(Matcher, &Callback); in match()
308 Finder.addMatcher(Matcher, &Callback); in match()
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DOwningMemoryCheck.cpp71 Finder->addMatcher( in registerMatchers()
85 Finder->addMatcher( in registerMatchers()
96 Finder->addMatcher( in registerMatchers()
104 Finder->addMatcher( in registerMatchers()
123 Finder->addMatcher(traverse(ast_type_traits::TK_AsIs, in registerMatchers()
129 Finder->addMatcher(binaryOperator(isAssignmentOperator(), in registerMatchers()
137 Finder->addMatcher( in registerMatchers()
150 Finder->addMatcher( in registerMatchers()
158 Finder->addMatcher(callExpr(forEachArgumentWithParam( in registerMatchers()
166 Finder->addMatcher( in registerMatchers()
[all …]
DProBoundsPointerArithmeticCheck.cpp28 Finder->addMatcher( in registerMatchers()
35 Finder->addMatcher( in registerMatchers()
41 Finder->addMatcher( in registerMatchers()
DAvoidNonConstGlobalVariablesCheck.cpp40 Finder->addMatcher(GlobalVariable.bind("non-const_variable"), this); in registerMatchers()
41 Finder->addMatcher(GlobalReferenceToNonConst.bind("indirection_to_non-const"), in registerMatchers()
43 Finder->addMatcher(GlobalPointerToNonConst.bind("indirection_to_non-const"), in registerMatchers()
/external/clang/include/clang/ASTMatchers/
DASTMatchFinder.h149 void addMatcher(const DeclarationMatcher &NodeMatch,
151 void addMatcher(const TypeMatcher &NodeMatch,
153 void addMatcher(const StatementMatcher &NodeMatch,
155 void addMatcher(const NestedNameSpecifierMatcher &NodeMatch,
157 void addMatcher(const NestedNameSpecifierLocMatcher &NodeMatch,
159 void addMatcher(const TypeLocMatcher &NodeMatch,
285 Finder.addMatcher(Matcher, &Callback); in match()
301 Finder.addMatcher(Matcher, &Callback); in match()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DSizeofExpressionCheck.cpp103 Finder->addMatcher( in registerMatchers()
112 Finder->addMatcher( in registerMatchers()
120 Finder->addMatcher( in registerMatchers()
131 Finder->addMatcher(expr(sizeOfExpr(has(ignoringParenImpCasts(expr( in registerMatchers()
177 Finder->addMatcher(expr(anyOf(sizeOfExpr(has(expr(ignoringParenImpCasts(anyOf( in registerMatchers()
187 Finder->addMatcher( in registerMatchers()
198 Finder->addMatcher(expr(sizeOfExpr(has(expr(ignoringParenImpCasts( in registerMatchers()
217 Finder->addMatcher( in registerMatchers()
229 Finder->addMatcher(binaryOperator(hasOperatorName("*"), in registerMatchers()
235 Finder->addMatcher( in registerMatchers()
[all …]
DDanglingHandleCheck.cpp110 Finder->addMatcher( in registerMatchersForVariables()
119 Finder->addMatcher( in registerMatchersForVariables()
130 Finder->addMatcher( in registerMatchersForVariables()
139 Finder->addMatcher(traverse(ast_type_traits::TK_AsIs, in registerMatchersForVariables()
146 Finder->addMatcher( in registerMatchersForReturn()
171 Finder->addMatcher( in registerMatchersForReturn()
DSuspiciousStringCompareCheck.cpp115 Finder->addMatcher( in registerMatchers()
129 Finder->addMatcher(unaryOperator(hasOperatorName("!"), in registerMatchers()
137 Finder->addMatcher( in registerMatchers()
145 Finder->addMatcher( in registerMatchers()
160 Finder->addMatcher( in registerMatchers()
DSignedCharMisuseCheck.cpp92 Finder->addMatcher(AssignmentOperatorExpr, this); in registerMatchers()
98 Finder->addMatcher(Declaration, this); in registerMatchers()
110 Finder->addMatcher(CompareOperator, this); in registerMatchers()
118 Finder->addMatcher(CArraySubscript, this); in registerMatchers()
128 Finder->addMatcher(STDArraySubscript, this); in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DRedundantVoidArgCheck.cpp47 Finder->addMatcher(functionDecl(parameterCountIs(0), unless(isImplicit()), in registerMatchers()
51 Finder->addMatcher(typedefNameDecl().bind(TypedefId), this); in registerMatchers()
57 Finder->addMatcher(fieldDecl(FunctionOrMemberPointer).bind(FieldId), this); in registerMatchers()
58 Finder->addMatcher(varDecl(FunctionOrMemberPointer).bind(VarId), this); in registerMatchers()
61 Finder->addMatcher( in registerMatchers()
63 Finder->addMatcher( in registerMatchers()
65 Finder->addMatcher( in registerMatchers()
68 Finder->addMatcher( in registerMatchers()
70 Finder->addMatcher(lambdaExpr().bind(LambdaId), this); in registerMatchers()
DUseUncaughtExceptionsCheck.cpp24 Finder->addMatcher( in registerMatchers()
30 Finder->addMatcher( in registerMatchers()
39 Finder->addMatcher(callExpr(DirectCallToUncaughtException, in registerMatchers()
45 Finder->addMatcher(callExpr(DirectCallToUncaughtException, in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/
DUpgradeDurationConversionsCheck.cpp32 Finder->addMatcher( in registerMatchers()
47 Finder->addMatcher( in registerMatchers()
61 Finder->addMatcher( in registerMatchers()
75 Finder->addMatcher( in registerMatchers()
102 Finder->addMatcher( in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/hicpp/
DNoAssemblerCheck.cpp27 Finder->addMatcher(asmStmt().bind("asm-stmt"), this); in registerMatchers()
28 Finder->addMatcher(fileScopeAsmDecl().bind("asm-file-scope"), this); in registerMatchers()
29 Finder->addMatcher(varDecl(isAsm()).bind("asm-var"), this); in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/
DFindAllSymbols.cpp202 MatchFinder->addMatcher(Decls.bind("decl"), this); in registerMatchers()
206 MatchFinder->addMatcher( in registerMatchers()
209 MatchFinder->addMatcher( in registerMatchers()
216 MatchFinder->addMatcher( in registerMatchers()
222 MatchFinder->addMatcher( in registerMatchers()
229 MatchFinder->addMatcher( in registerMatchers()

12345678910>>...13