Home
last modified time | relevance | path

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

12

/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 …]
Dnumparse_affixes.cpp76 addMatcher(*fIgnorables); in consumeToken()
83 addMatcher(fWarehouse.minusSign()); in consumeToken()
86 addMatcher(fWarehouse.plusSign()); in consumeToken()
89 addMatcher(fWarehouse.percent()); in consumeToken()
92 addMatcher(fWarehouse.permille()); in consumeToken()
100 addMatcher(fWarehouse.currency(status)); in consumeToken()
112 addMatcher(fWarehouse.nextCodePointMatcher(cp)); in consumeToken()
117 void AffixPatternMatcherBuilder::addMatcher(NumberParseMatcher& matcher) { in addMatcher() function in AffixPatternMatcherBuilder
378 output.addMatcher(fAffixMatchers[i]); in createAffixMatchers()
Dnumparse_impl.h51 void addMatcher(NumberParseMatcher& matcher) override;
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DNumberParserImpl.java61 parser.addMatcher(ignorables); in createSimpleParser()
62 parser.addMatcher(DecimalMatcher.getInstance(symbols, grouper, parseFlags)); in createSimpleParser()
63 parser.addMatcher(MinusSignMatcher.getInstance(symbols, false)); in createSimpleParser()
64 parser.addMatcher(PlusSignMatcher.getInstance(symbols, false)); in createSimpleParser()
65 parser.addMatcher(PercentMatcher.getInstance(symbols)); in createSimpleParser()
66 parser.addMatcher(PermilleMatcher.getInstance(symbols)); in createSimpleParser()
67 parser.addMatcher(NanMatcher.getInstance(symbols, parseFlags)); in createSimpleParser()
68 parser.addMatcher(InfinityMatcher.getInstance(symbols)); in createSimpleParser()
69 parser.addMatcher(PaddingMatcher.getInstance("@")); in createSimpleParser()
70 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()
DSeriesMatcher.java23 public void addMatcher(NumberParseMatcher matcher) { in addMatcher() method in SeriesMatcher
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DNumberParserImpl.java59 parser.addMatcher(ignorables); in createSimpleParser()
60 parser.addMatcher(DecimalMatcher.getInstance(symbols, grouper, parseFlags)); in createSimpleParser()
61 parser.addMatcher(MinusSignMatcher.getInstance(symbols, false)); in createSimpleParser()
62 parser.addMatcher(PlusSignMatcher.getInstance(symbols, false)); in createSimpleParser()
63 parser.addMatcher(PercentMatcher.getInstance(symbols)); in createSimpleParser()
64 parser.addMatcher(PermilleMatcher.getInstance(symbols)); in createSimpleParser()
65 parser.addMatcher(NanMatcher.getInstance(symbols, parseFlags)); in createSimpleParser()
66 parser.addMatcher(InfinityMatcher.getInstance(symbols)); in createSimpleParser()
67 parser.addMatcher(PaddingMatcher.getInstance("@")); in createSimpleParser()
68 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()
DSeriesMatcher.java21 public void addMatcher(NumberParseMatcher matcher) { in addMatcher() method in SeriesMatcher
/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/v8/tools/clang/rewrite_to_chrome_style/
DRewriteToChromeStyle.cpp1586 match_finder.addMatcher(field_decl_matcher, &field_decl_rewriter); in main()
1589 match_finder.addMatcher(var_decl_matcher, &var_decl_rewriter); in main()
1590 match_finder.addMatcher(type_trait_decl_matcher, &var_decl_rewriter); in main()
1593 match_finder.addMatcher(enum_member_decl_matcher, &enum_member_decl_rewriter); in main()
1619 match_finder.addMatcher(member_matcher, &member_rewriter); in main()
1622 match_finder.addMatcher(decl_ref_matcher, &decl_ref_rewriter); in main()
1623 match_finder.addMatcher(type_trait_ref_matcher, &decl_ref_rewriter); in main()
1626 match_finder.addMatcher(enum_member_ref_matcher, &enum_member_ref_rewriter); in main()
1639 match_finder.addMatcher(member_ref_matcher, &member_ref_rewriter); in main()
1664 match_finder.addMatcher(function_decl_matcher, &function_decl_rewriter); in main()
[all …]
/external/v8/tools/clang/rewrite_scoped_refptr/
DRewriteScopedRefptr.cpp345 match_finder.addMatcher( in main()
363 match_finder.addMatcher( in main()
367 match_finder.addMatcher( in main()
376 match_finder.addMatcher(cxxMemberCallExpr(base_matcher, is_unsafe_return), in main()
388 match_finder.addMatcher( in main()
399 match_finder.addMatcher( in main()
415 match_finder.addMatcher( in main()
/external/v8/tools/clang/traffic_annotation_extractor/
Dtraffic_annotation_extractor.cpp305 match_finder.addMatcher( in RunMatchers()
314 match_finder.addMatcher( in RunMatchers()
324 match_finder.addMatcher( in RunMatchers()
333 match_finder.addMatcher( in RunMatchers()
345 match_finder.addMatcher( in RunMatchers()
356 match_finder.addMatcher( in RunMatchers()
374 match_finder.addMatcher( in RunMatchers()
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp901 void MatchFinder::addMatcher(const DeclarationMatcher &NodeMatch, in addMatcher() function in clang::ast_matchers::MatchFinder
907 void MatchFinder::addMatcher(const TypeMatcher &NodeMatch, in addMatcher() function in clang::ast_matchers::MatchFinder
913 void MatchFinder::addMatcher(const StatementMatcher &NodeMatch, in addMatcher() function in clang::ast_matchers::MatchFinder
919 void MatchFinder::addMatcher(const NestedNameSpecifierMatcher &NodeMatch, in addMatcher() function in clang::ast_matchers::MatchFinder
925 void MatchFinder::addMatcher(const NestedNameSpecifierLocMatcher &NodeMatch, in addMatcher() function in clang::ast_matchers::MatchFinder
931 void MatchFinder::addMatcher(const TypeLocMatcher &NodeMatch, in addMatcher() function in clang::ast_matchers::MatchFinder
940 addMatcher(NodeMatch.convertTo<Decl>(), Action); in addDynamicMatcher()
943 addMatcher(NodeMatch.convertTo<QualType>(), Action); in addDynamicMatcher()
946 addMatcher(NodeMatch.convertTo<Stmt>(), Action); in addDynamicMatcher()
949 addMatcher(NodeMatch.convertTo<NestedNameSpecifier>(), Action); in addDynamicMatcher()
[all …]
/external/v8/tools/clang/empty_string/
DEmptyStringConverter.cpp93 match_finder->addMatcher(varDecl(forEach(expr(has(constructor_call)))), in SetupMatchers()
95 match_finder->addMatcher(cxxNewExpr(has(constructor_call)), in SetupMatchers()
99 match_finder->addMatcher( in SetupMatchers()
105 match_finder->addMatcher(cxxConstructorDecl(forEachConstructorInitializer( in SetupMatchers()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberParserTest.java214 series.addMatcher(PlusSignMatcher.getInstance(symbols, false)); in testSeriesMatcher()
215 series.addMatcher(MinusSignMatcher.getInstance(symbols, false)); in testSeriesMatcher()
216 series.addMatcher(IgnorablesMatcher.DEFAULT); in testSeriesMatcher()
217 series.addMatcher(PercentMatcher.getInstance(symbols)); in testSeriesMatcher()
218 series.addMatcher(IgnorablesMatcher.DEFAULT); in testSeriesMatcher()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberParserTest.java211 series.addMatcher(PlusSignMatcher.getInstance(symbols, false)); in testSeriesMatcher()
212 series.addMatcher(MinusSignMatcher.getInstance(symbols, false)); in testSeriesMatcher()
213 series.addMatcher(IgnorablesMatcher.DEFAULT); in testSeriesMatcher()
214 series.addMatcher(PercentMatcher.getInstance(symbols)); in testSeriesMatcher()
215 series.addMatcher(IgnorablesMatcher.DEFAULT); in testSeriesMatcher()
/external/clang/unittests/ASTMatchers/
DASTMatchersInternalTest.cpp113 Finder.addMatcher(decl(), &Callback); in TEST()
135 Finder.addMatcher(decl(), &VerifyCallback); in TEST()
161 Finder.addMatcher(decl(), &VerifyCallback); in TEST()
DASTMatchersTest.h70 Finder.addMatcher(AMatcher, &VerifyFound);
181 Finder.addMatcher(AMatcher, &VerifyFound); in matchesConditionallyWithCuda()
233 Finder.addMatcher(AMatcher, &VerifyVerifiedResult); in matchAndVerifyResultConditionally()
/external/v8/tools/clang/base_bind_rewriters/
DBaseBindRewriters.cpp672 match_finder.addMatcher(passed_to_move->GetMatcher(), passed_to_move.get()); in main()
676 match_finder.addMatcher(bind_once->GetMatcher(), bind_once.get()); in main()
680 match_finder.addMatcher(pass_by_value->GetMatcher(), pass_by_value.get()); in main()
684 match_finder.addMatcher(add_std_move->GetMatcher(), add_std_move.get()); in main()
689 match_finder.addMatcher(remove_unneeded_adapt_callback->GetMatcher(), in main()
/external/clang/unittests/Analysis/
DCFGTest.cpp48 Finder.addMatcher(ast_matchers::functionDecl().bind("func"), &Callback); in TEST()
/external/v8/tools/clang/value_cleanup/
DValueRewriter.cpp47 match_finder->addMatcher( in RegisterMatchers()
/external/clang/unittests/AST/
DMatchVerifier.h94 Finder.addMatcher(AMatcher.bind(""), this); in match()
139 Finder.addMatcher(AMatcher.bind(""), this); in match()
DNamedDeclPrinterTest.cpp70 Finder.addMatcher(NodeMatch, &Printer); in PrintedNamedDeclMatches()
/external/v8/tools/clang/pass_to_move/
DPassToMove.cpp95 match_finder.addMatcher(pass_matcher, &callback); in main()

12