Lines Matching refs:FirstMatchingBlock
49 int FirstMatchingBlock(const BlockHash& block_hash,
52 return block_hash.FirstMatchingBlock(hash_value, block_ptr);
544 EXPECT_EQ(-1, FirstMatchingBlock(*th_, hashed_y, test_string_y));
551 EXPECT_EQ(block_of_y_in_only, FirstMatchingBlock(*th_, hashed_y,
557 EXPECT_EQ(block_of_y_in_only, FirstMatchingBlock(*dh_, hashed_y,
563 EXPECT_EQ(-1, FirstMatchingBlock(*dh_, hashed_all_Qs, test_string_all_Qs));
575 EXPECT_EQ(-1, FirstMatchingBlock(*dh_, hashed_unaligned_e,
580 EXPECT_EQ(block_of_first_e, FirstMatchingBlock(*dh_, hashed_e,
595 EXPECT_EQ(block_of_first_e, FirstMatchingBlock(*dh_, hashed_e,
605 EXPECT_EQ(block_of_first_e, FirstMatchingBlock(*th_, hashed_e,
614 EXPECT_EQ(block_of_first_e, FirstMatchingBlock(*th_, hashed_e,
623 EXPECT_EQ(block_of_first_e, FirstMatchingBlock(*th_, hashed_e,
628 EXPECT_EQ(block_of_first_e, FirstMatchingBlock(*th_, hashed_e,
633 EXPECT_EQ(block_of_first_e, FirstMatchingBlock(*th_, hashed_e,
642 EXPECT_EQ(block_of_first_e, FirstMatchingBlock(*th_, hashed_e,
648 EXPECT_EQ(block_of_first_e, FirstMatchingBlock(*th_, hashed_e,
659 EXPECT_EQ(block_of_first_e, FirstMatchingBlock(*th_, hashed_e,
667 EXPECT_EQ(block_of_first_e, FirstMatchingBlock(*th_, hashed_e,
678 EXPECT_EQ(block_of_first_e, FirstMatchingBlock(*th_, hashed_e,
688 EXPECT_EQ(block_of_first_e, FirstMatchingBlock(*th_, hashed_e,
699 EXPECT_EQ(block_of_first_e, FirstMatchingBlock(*th_, hashed_e,
706 EXPECT_EQ(block_of_first_e, FirstMatchingBlock(*th_, hashed_e,
721 EXPECT_EQ(block_of_first_e, FirstMatchingBlock(*th_, hashed_e,
728 EXPECT_EQ(-1, FirstMatchingBlock(*th_, hashed_y, test_string_y));
757 EXPECT_EQ(-1, FirstMatchingBlock(*dh_, 0xFAFAFAFA, "FAFA"));