Searched refs:matchersToUpdate (Results 1 – 3 of 3) sorted by relevance
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/ |
D | config_update_utils.cpp | 40 vector<UpdateStatus>& matchersToUpdate, vector<uint8_t>& cycleTracker) { in determineMatcherUpdateStatus() argument 42 if (matchersToUpdate[matcherIdx] != UPDATE_UNKNOWN) { in determineMatcherUpdateStatus() 51 matchersToUpdate[matcherIdx] = UPDATE_NEW; in determineMatcherUpdateStatus() 64 matchersToUpdate[matcherIdx] = UPDATE_REPLACE; in determineMatcherUpdateStatus() 71 matchersToUpdate[matcherIdx] = UPDATE_PRESERVE; in determineMatcherUpdateStatus() 97 newAtomMatchingTrackerMap, matchersToUpdate, cycleTracker); in determineMatcherUpdateStatus() 103 if (matchersToUpdate[childIdx] == UPDATE_REPLACE) { in determineMatcherUpdateStatus() 108 matchersToUpdate[matcherIdx] = status; in determineMatcherUpdateStatus() 147 vector<UpdateStatus> matchersToUpdate(atomMatcherCount, UPDATE_UNKNOWN); in updateAtomMatchingTrackers() local 152 newAtomMatchingTrackerMap, matchersToUpdate, cycleTracker); in updateAtomMatchingTrackers() [all …]
|
D | config_update_utils.h | 54 std::vector<UpdateStatus>& matchersToUpdate, std::vector<uint8_t>& cycleTracker);
|
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/ |
D | config_update_utils_test.cpp | 173 vector<UpdateStatus> matchersToUpdate(1, UPDATE_UNKNOWN); in TEST_F() local 179 matchersToUpdate, cycleTracker), in TEST_F() 181 EXPECT_EQ(matchersToUpdate[0], UPDATE_PRESERVE); in TEST_F() 198 vector<UpdateStatus> matchersToUpdate(1, UPDATE_UNKNOWN); in TEST_F() local 204 matchersToUpdate, cycleTracker), in TEST_F() 206 EXPECT_EQ(matchersToUpdate[0], UPDATE_REPLACE); in TEST_F() 223 vector<UpdateStatus> matchersToUpdate(1, UPDATE_UNKNOWN); in TEST_F() local 229 matchersToUpdate, cycleTracker), in TEST_F() 231 EXPECT_EQ(matchersToUpdate[0], UPDATE_NEW); in TEST_F() 265 vector<UpdateStatus> matchersToUpdate(3, UPDATE_UNKNOWN); in TEST_F() local [all …]
|