Lines Matching refs:block_number
160 int block_number = last_block_added_ + 1;
163 if (block_number >= total_blocks) {
165 " with block number " << block_number
170 if (next_block_table_[block_number] != -1) {
172 "block number = " << block_number
174 << next_block_table_[block_number] << VCD_ENDL;
181 hash_table_[hash_table_index] = block_number;
182 last_block_table_[block_number] = block_number;
194 next_block_table_[last_matching_block] = block_number;
195 last_block_table_[first_matching_block] = block_number;
197 last_block_added_ = block_number;
298 inline int BlockHash::SkipNonMatchingBlocks(int block_number,
301 while ((block_number >= 0) &&
303 &source_data_[block_number * kBlockSize])) {
307 block_number = next_block_table_[block_number];
309 return block_number;
326 int BlockHash::NextMatchingBlock(int block_number,
328 if (static_cast<size_t>(block_number) >= GetNumberOfBlocks()) {
330 << block_number << VCD_ENDL;
333 return SkipNonMatchingBlocks(next_block_table_[block_number], block_ptr);
398 for (int block_number = FirstMatchingBlockInline(hash_value,
400 (block_number >= 0) && !TooManyMatches(&match_counter);
401 block_number = NextMatchingBlock(block_number, target_candidate_start)) {
402 int source_match_offset = block_number * kBlockSize;