Searched refs:CountMatches (Results 1 – 4 of 4) sorted by relevance
/external/libchrome/base/test/ |
D | trace_event_analyzer_unittest.cc | 903 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()
|
D | trace_event_analyzer.h | 797 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()
|
D | trace_event_analyzer.cc | 1012 size_t CountMatches(const TraceEventVector& events, in CountMatches() function
|
/external/libchrome/base/trace_event/ |
D | memory_dump_manager_unittest.cc | 1040 ASSERT_EQ(1u, trace_analyzer::CountMatches(events, Query::EventPidIs(123))); in TEST_F() 1041 ASSERT_EQ(1u, trace_analyzer::CountMatches(events, Query::EventPidIs(456))); in TEST_F() 1042 ASSERT_EQ(1u, trace_analyzer::CountMatches( in TEST_F()
|