Home
last modified time | relevance | path

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

/external/libchrome/base/test/
Dtrace_event_analyzer_unittest.cc861 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()
Dtrace_event_analyzer.h822 bool FindClosest(const TraceEventVector& events,
Dtrace_event_analyzer.cc1017 bool FindClosest(const TraceEventVector& events, in FindClosest() function