Lines Matching refs:pas
109 def add_pass(self, pas):
110 self.passes.append(pas)
193 for pas in block:
194 yield (block, pas)
199 for pas in block:
201 if not len(pas):
202 yield (block, pas, None)
204 for candidate in pas:
205 yield (block, pas, candidate)
235 for pas in block:
237 if pas.target_hit and pas.partitions == 0:
238 return (pas, None)
240 for candidate in pas:
244 best_pass = pas
285 for pas in get_node(block, "pass", True):
287 skipped = get_attrib(pas, "skip", False, False)
291 prts = get_attrib(pas, "partition_count")
292 prti = get_attrib(pas, "partition_index", False, False)
293 plns = get_attrib(pas, "plane_count")
294 chan = get_attrib(pas, "plane_component", False, plns > 2)
295 mode = get_attrib(pas, "search_mode", False, False)
296 ehit = get_attrib(pas, "exit", False, False) == "quality hit"
305 for candidate in get_node(pas, "candidate", True):
333 for i, pas in rev_enumerate(block):
334 if pas != best_pass:
341 for j, candidate in rev_enumerate(pas):
343 del pas[j]
395 for _, pas in foreach_pass(data):
396 result_totals[pas.partitions] += 1
397 results[pas.partitions][pas.partition_index] += 1
413 for _, pas in foreach_pass(data):
414 result_count[pas.partitions][pas.planes] += 1
415 if (pas.planes > 1):
416 result_channel[pas.partitions][pas.plane2_component] += 1
443 for _, pas, can in foreach_candidate(data):
490 for block, pas, candidate in foreach_candidate(data):