Home
last modified time | relevance | path

Searched refs:CountMatches (Results 1 – 4 of 4) 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.h797 size_t CountMatches(const TraceEventVector& events,
803 static inline size_t CountMatches(const TraceEventVector& events, in CountMatches() function
805 return CountMatches(events, query, 0u, events.size()); in CountMatches()
Dtrace_event_analyzer.cc1012 size_t CountMatches(const TraceEventVector& events, in CountMatches() function
/external/libchrome/base/trace_event/
Dmemory_dump_manager_unittest.cc1163 ASSERT_EQ(1u, trace_analyzer::CountMatches(events, Query::EventPidIs(123))); in TEST_F()
1164 ASSERT_EQ(1u, trace_analyzer::CountMatches(events, Query::EventPidIs(456))); in TEST_F()
1165 ASSERT_EQ(1u, trace_analyzer::CountMatches( in TEST_F()