Searched refs:FindClosest (Results 1 – 3 of 3) sorted by relevance
/external/libchrome/base/test/ |
D | trace_event_analyzer_unittest.cc | 861 TEST_F(TraceEventAnalyzerTest, FindClosest) { in TEST_F() argument 865 EXPECT_FALSE(FindClosest(event_ptrs, Query::Bool(true), 0, in TEST_F() 884 EXPECT_FALSE(FindClosest(event_ptrs, query_one, 0, &index_1, &index_2)); in TEST_F() 886 EXPECT_TRUE(FindClosest(event_ptrs, query_one, 3, &index_1, nullptr)); in TEST_F() 889 EXPECT_TRUE(FindClosest(event_ptrs, query_named, 1, &index_1, &index_2)); in TEST_F() 893 EXPECT_TRUE(FindClosest(event_ptrs, query_named, 4, &index_1, &index_2)); in TEST_F() 897 EXPECT_TRUE(FindClosest(event_ptrs, query_named, 3, &index_1, &index_2)); in TEST_F()
|
D | trace_event_analyzer.h | 822 bool FindClosest(const TraceEventVector& events,
|
D | trace_event_analyzer.cc | 1017 bool FindClosest(const TraceEventVector& events, in FindClosest() function
|