Searched refs:fieldMatchers (Results 1 – 11 of 11) sorted by relevance
/packages/modules/StatsD/statsd/tests/ |
D | FieldValue_test.cpp | 556 vector<Matcher> fieldMatchers; in TEST() local 557 translateFieldMatcher(matcher1, &fieldMatchers); in TEST() 558 ASSERT_EQ(3, fieldMatchers.size()); in TEST() 561 std::vector<Matcher> dedupedFieldMatchers = dedupFieldMatchers(fieldMatchers); in TEST() 563 EXPECT_EQ(fieldMatchers[0], dedupedFieldMatchers[0]); in TEST() 564 EXPECT_EQ(fieldMatchers[1], dedupedFieldMatchers[1]); in TEST() 565 EXPECT_EQ(fieldMatchers[2], dedupedFieldMatchers[2]); in TEST() 579 vector<Matcher> fieldMatchers; in TEST() local 580 translateFieldMatcher(matcher1, &fieldMatchers); in TEST() 581 ASSERT_EQ(3, fieldMatchers.size()); in TEST() [all …]
|
D | statsd_test_util.cpp | 1482 vector<Matcher> fieldMatchers; in createNumericValueMetricProducer() local 1483 translateFieldMatcher(metric.value_field(), &fieldMatchers); in createNumericValueMetricProducer() 1517 eventMatcherWizard, metric.dimensions_in_what(), fieldMatchers, aggregationTypes}, in createNumericValueMetricProducer()
|
/packages/modules/StatsD/statsd/src/ |
D | stats_log_util.cpp | 233 void writeDimensionPathToProtoHelper(const std::vector<Matcher>& fieldMatchers, in writeDimensionPathToProtoHelper() argument 236 size_t count = fieldMatchers.size(); in writeDimensionPathToProtoHelper() 238 const Field& field = fieldMatchers[*index].mMatcher; in writeDimensionPathToProtoHelper() 262 writeDimensionPathToProtoHelper(fieldMatchers, index, valueDepth, in writeDimensionPathToProtoHelper() 300 void writeDimensionPathToProto(const std::vector<Matcher>& fieldMatchers, in writeDimensionPathToProto() argument 302 if (fieldMatchers.size() == 0) { in writeDimensionPathToProto() 306 fieldMatchers[0].mMatcher.getTag()); in writeDimensionPathToProto() 309 writeDimensionPathToProtoHelper(fieldMatchers, &index, 0, 0, protoOutput); in writeDimensionPathToProto()
|
D | FieldValue.cpp | 63 std::vector<Matcher> dedupFieldMatchers(const std::vector<Matcher>& fieldMatchers) { in dedupFieldMatchers() argument 65 for (size_t i = 0; i < fieldMatchers.size(); i++) { in dedupFieldMatchers() 66 if (std::find(dedupedFieldMatchers.begin(), dedupedFieldMatchers.end(), fieldMatchers[i]) == in dedupFieldMatchers() 68 dedupedFieldMatchers.push_back(fieldMatchers[i]); in dedupFieldMatchers()
|
D | stats_log_util.h | 44 void writeDimensionPathToProto(const std::vector<Matcher>& fieldMatchers,
|
D | FieldValue.h | 470 std::vector<Matcher> dedupFieldMatchers(const std::vector<Matcher>& fieldMatchers);
|
/packages/modules/StatsD/statsd/tests/metrics/ |
D | KllMetricProducer_test.cpp | 127 vector<Matcher> fieldMatchers; local 128 translateFieldMatcher(metric.kll_field(), &fieldMatchers); 147 /*eventMatcherWizard=*/nullptr, metric.dimensions_in_what(), fieldMatchers},
|
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/ |
D | metrics_manager_util.cpp | 920 std::vector<Matcher> fieldMatchers; in createNumericValueMetricProducerAndUpdateMetadata() local 921 translateFieldMatcher(metric.value_field(), &fieldMatchers); in createNumericValueMetricProducerAndUpdateMetadata() 922 if (fieldMatchers.size() < 1) { in createNumericValueMetricProducerAndUpdateMetadata() 937 if (metric.aggregation_types_size() != (int)fieldMatchers.size()) { in createNumericValueMetricProducerAndUpdateMetadata() 1047 matcherWizard, metric.dimensions_in_what(), fieldMatchers, aggregationTypes}, in createNumericValueMetricProducerAndUpdateMetadata() 1104 std::vector<Matcher> fieldMatchers; in createKllMetricProducerAndUpdateMetadata() local 1105 translateFieldMatcher(metric.kll_field(), &fieldMatchers); in createKllMetricProducerAndUpdateMetadata() 1106 if (fieldMatchers.empty()) { in createKllMetricProducerAndUpdateMetadata() 1206 fieldMatchers, in createKllMetricProducerAndUpdateMetadata()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | ValueMetricProducer.h | 90 const vector<Matcher>& fieldMatchers; member
|
D | NumericValueMetricProducer.cpp | 87 mDedupedFieldMatchers(dedupFieldMatchers(whatOptions.fieldMatchers)) { in NumericValueMetricProducer()
|
D | ValueMetricProducer.cpp | 91 mFieldMatchers(whatOptions.fieldMatchers), in ValueMetricProducer()
|