Lines Matching refs:all_blocks
203 def _align_matching_blocks(all_blocks, farthest_indexes): argument
230 for blocks in all_blocks.values():
242 for blocks in all_blocks.values():
293 all_blocks = {}
313 all_blocks[key] = [b.lstrip('\n').rstrip()
315 max_block_len = max(max_block_len, len(all_blocks[key]))
320 made_changes = _align_matching_blocks(all_blocks, farthest_indexes)
324 for key in all_blocks:
325 len_to_pad = max_block_len - len(all_blocks[key])
326 all_blocks[key] += [''] * len_to_pad
333 for block_num, block_text in enumerate(all_blocks[key]):