Home
last modified time | relevance | path

Searched refs:CountMatches (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/test/
Dtrace_event_analyzer_unittest.cc903 TEST_F(TraceEventAnalyzerTest, CountMatches) { in TEST_F() argument
905 EXPECT_EQ(0u, CountMatches(event_ptrs, Query::Bool(true), 0, 10)); in TEST_F()
919 EXPECT_EQ(0u, CountMatches(event_ptrs, Query::Bool(false))); in TEST_F()
920 EXPECT_EQ(num_events, CountMatches(event_ptrs, Query::Bool(true))); in TEST_F()
921 EXPECT_EQ(num_events - 1, CountMatches(event_ptrs, Query::Bool(true), in TEST_F()
923 EXPECT_EQ(1u, CountMatches(event_ptrs, query_one)); in TEST_F()
924 EXPECT_EQ(num_events - 1, CountMatches(event_ptrs, !query_one)); in TEST_F()
925 EXPECT_EQ(num_named, CountMatches(event_ptrs, query_named)); in TEST_F()
Dtrace_event_analyzer.h829 size_t CountMatches(const TraceEventVector& events,
835 static inline size_t CountMatches(const TraceEventVector& events, in CountMatches() function
837 return CountMatches(events, query, 0u, events.size()); in CountMatches()
Dtrace_event_analyzer.cc1054 size_t CountMatches(const TraceEventVector& events, in CountMatches() function