Searched refs:NextMatchingBlock (Results 1 - 6 of 6) sorted by relevance

/external/chromium/sdch/open-vcdiff/src/
H A Dblockhash_test.cc55 int NextMatchingBlock(const BlockHash& block_hash, function in class:open_vcdiff::BlockHashTest
58 return block_hash.NextMatchingBlock(block_number, block_ptr);
553 EXPECT_EQ(-1, NextMatchingBlock(*th_, block_of_y_in_only, test_string_y));
559 EXPECT_EQ(-1, NextMatchingBlock(*dh_, block_of_y_in_only, test_string_y));
582 EXPECT_EQ(block_of_second_e, NextMatchingBlock(*dh_, block_of_first_e,
584 EXPECT_EQ(block_of_third_e, NextMatchingBlock(*dh_, block_of_second_e,
586 EXPECT_EQ(block_of_fourth_e, NextMatchingBlock(*dh_, block_of_third_e,
588 EXPECT_EQ(block_of_fifth_e, NextMatchingBlock(*dh_, block_of_fourth_e,
590 EXPECT_EQ(block_of_sixth_e, NextMatchingBlock(*dh_, block_of_fifth_e,
592 EXPECT_EQ(-1, NextMatchingBlock(*dh
[all...]
H A Dblockhash.h397 // FirstMatchingBlock or NextMatchingBlock. No check is performed
407 // or by a previous call to NextMatchingBlock(), returns
410 int NextMatchingBlock(int block_number, const char* block_ptr) const;
443 // NextMatchingBlock, MatchingBytesToLeft, and MatchingBytesToRight
H A Dblockhash.cc312 // FirstMatchingBlock or NextMatchingBlock. No check is performed
325 int BlockHash::NextMatchingBlock(int block_number, function in class:open_vcdiff::BlockHash
328 LOG(DFATAL) << "NextMatchingBlock called for invalid block number "
400 block_number = NextMatchingBlock(block_number, target_candidate_start)) {
/external/open-vcdiff/src/
H A Dblockhash_test.cc55 int NextMatchingBlock(const BlockHash& block_hash, function in class:open_vcdiff::BlockHashTest
58 return block_hash.NextMatchingBlock(block_number, block_ptr);
553 EXPECT_EQ(-1, NextMatchingBlock(*th_, block_of_y_in_only, test_string_y));
559 EXPECT_EQ(-1, NextMatchingBlock(*dh_, block_of_y_in_only, test_string_y));
582 EXPECT_EQ(block_of_second_e, NextMatchingBlock(*dh_, block_of_first_e,
584 EXPECT_EQ(block_of_third_e, NextMatchingBlock(*dh_, block_of_second_e,
586 EXPECT_EQ(block_of_fourth_e, NextMatchingBlock(*dh_, block_of_third_e,
588 EXPECT_EQ(block_of_fifth_e, NextMatchingBlock(*dh_, block_of_fourth_e,
590 EXPECT_EQ(block_of_sixth_e, NextMatchingBlock(*dh_, block_of_fifth_e,
592 EXPECT_EQ(-1, NextMatchingBlock(*dh
[all...]
H A Dblockhash.h397 // FirstMatchingBlock or NextMatchingBlock. No check is performed
407 // or by a previous call to NextMatchingBlock(), returns
410 int NextMatchingBlock(int block_number, const char* block_ptr) const;
443 // NextMatchingBlock, MatchingBytesToLeft, and MatchingBytesToRight
H A Dblockhash.cc313 // FirstMatchingBlock or NextMatchingBlock. No check is performed
326 int BlockHash::NextMatchingBlock(int block_number, function in class:open_vcdiff::BlockHash
329 VCD_DFATAL << "NextMatchingBlock called for invalid block number "
401 block_number = NextMatchingBlock(block_number, target_candidate_start)) {

Completed in 47 milliseconds