Searched refs:matcherResults (Results 1 – 8 of 8) sorted by relevance
/packages/modules/StatsD/statsd/src/matchers/ |
D | CombinationAtomMatchingTracker.cpp | 144 vector<MatchingState>& matcherResults, in onLogEvent() argument 147 if (matcherResults[matcherIndex] != MatchingState::kNotComputed) { in onLogEvent() 152 matcherResults[matcherIndex] = MatchingState::kNotMatched; in onLogEvent() 158 if (matcherResults[childIndex] == MatchingState::kNotComputed) { in onLogEvent() 160 child->onLogEvent(event, childIndex, allAtomMatchingTrackers, matcherResults, in onLogEvent() 165 bool matched = combinationMatch(mChildren, mLogicalOperation, matcherResults); in onLogEvent() 166 matcherResults[matcherIndex] = matched ? MatchingState::kMatched : MatchingState::kNotMatched; in onLogEvent()
|
D | SimpleAtomMatchingTracker.cpp | 81 vector<MatchingState>& matcherResults, in onLogEvent() argument 83 if (matcherResults[matcherIndex] != MatchingState::kNotComputed) { in onLogEvent() 89 matcherResults[matcherIndex] = MatchingState::kNotMatched; in onLogEvent() 94 matcherResults[matcherIndex] = matched ? MatchingState::kMatched : MatchingState::kNotMatched; in onLogEvent()
|
D | matcher_util.cpp | 38 const vector<MatchingState>& matcherResults) { in combinationMatch() argument 44 if (matcherResults[childIndex] != MatchingState::kMatched) { in combinationMatch() 54 if (matcherResults[childIndex] == MatchingState::kMatched) { in combinationMatch() 62 matched = matcherResults[children[0]] == MatchingState::kNotMatched; in combinationMatch() 67 if (matcherResults[childIndex] != MatchingState::kMatched) { in combinationMatch() 76 if (matcherResults[childIndex] == MatchingState::kMatched) { in combinationMatch()
|
D | matcher_util.h | 42 const std::vector<MatchingState>& matcherResults);
|
D | CombinationAtomMatchingTracker.h | 47 std::vector<MatchingState>& matcherResults,
|
D | SimpleAtomMatchingTracker.h | 49 std::vector<MatchingState>& matcherResults,
|
D | AtomMatchingTracker.h | 81 std::vector<MatchingState>& matcherResults,
|
/packages/modules/StatsD/statsd/tests/ |
D | LogEntryMatcher_test.cpp | 1102 vector<MatchingState> matcherResults; in TEST() local 1103 matcherResults.push_back(MatchingState::kMatched); in TEST() 1104 matcherResults.push_back(MatchingState::kNotMatched); in TEST() 1105 matcherResults.push_back(MatchingState::kMatched); in TEST() 1107 EXPECT_FALSE(combinationMatch(children, operation, matcherResults)); in TEST() 1109 matcherResults.clear(); in TEST() 1110 matcherResults.push_back(MatchingState::kMatched); in TEST() 1111 matcherResults.push_back(MatchingState::kMatched); in TEST() 1112 matcherResults.push_back(MatchingState::kMatched); in TEST() 1114 EXPECT_TRUE(combinationMatch(children, operation, matcherResults)); in TEST() [all …]
|