Home
last modified time | relevance | path

Searched refs:fieldMatchers (Results 1 – 11 of 11) sorted by relevance

/packages/modules/StatsD/statsd/tests/
DFieldValue_test.cpp556 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 …]
Dstatsd_test_util.cpp1482 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/
Dstats_log_util.cpp233 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()
DFieldValue.cpp63 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()
Dstats_log_util.h44 void writeDimensionPathToProto(const std::vector<Matcher>& fieldMatchers,
DFieldValue.h470 std::vector<Matcher> dedupFieldMatchers(const std::vector<Matcher>& fieldMatchers);
/packages/modules/StatsD/statsd/tests/metrics/
DKllMetricProducer_test.cpp127 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/
Dmetrics_manager_util.cpp920 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/
DValueMetricProducer.h90 const vector<Matcher>& fieldMatchers; member
DNumericValueMetricProducer.cpp87 mDedupedFieldMatchers(dedupFieldMatchers(whatOptions.fieldMatchers)) { in NumericValueMetricProducer()
DValueMetricProducer.cpp91 mFieldMatchers(whatOptions.fieldMatchers), in ValueMetricProducer()