Home
last modified time | relevance | path

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

/external/libchrome/base/test/
Dtrace_event_analyzer_unittest.cc828 size_t bam_index = num_events/2; in TEST_F() local
829 events[bam_index].name = "bam"; in TEST_F()
830 Query query_bam = Query::EventName() == Query::String(events[bam_index].name); in TEST_F()
839 EXPECT_FALSE(FindFirstOf(event_ptrs, query_bam, bam_index + 1, &index)); in TEST_F()
841 EXPECT_EQ(bam_index, index); in TEST_F()
842 EXPECT_TRUE(FindFirstOf(event_ptrs, query_bam, bam_index, &index)); in TEST_F()
843 EXPECT_EQ(bam_index, index); in TEST_F()
853 EXPECT_FALSE(FindLastOf(event_ptrs, query_bam, bam_index - 1, &index)); in TEST_F()
855 EXPECT_EQ(bam_index, index); in TEST_F()
856 EXPECT_TRUE(FindLastOf(event_ptrs, query_bam, bam_index, &index)); in TEST_F()
[all …]