tools/metrics/histograms/suffixes_to_variants.py
def _AreAllAffectedHistogramsFound(affected_histograms, histograms):
  """Checks that are all affected histograms found in |histograms|."""
  histogram_names = [histogram.getAttribute('name') for histogram in histograms]
  return all(
      affected_histogram.getAttribute('name') in histogram_names
      for affected_histogram in affected_histograms)
Checks that are all affected histograms found in |histograms|.
Checks that are all affected histograms found in |histograms|.
Checks that are all affected histograms found in |histograms| .
def _AreAllAffectedHistogramsFound(affected_histograms, histograms):
  histogram_names = [histogram.getAttribute('name') for histogram in histograms]
  return all(
      affected_histogram.getAttribute('name') in histogram_names
      for affected_histogram in affected_histograms)
def _AreAllAffectedHistogramsFound ( affected_histograms , histograms ) : histogram_names = [ histogram . getAttribute ( 'name' ) for histogram in histograms ] return all ( affected_histogram . getAttribute ( 'name' ) in histogram_names for affected_histogram in affected_histograms )
Checks that are all affected histograms found in |histograms|.
Checks that are all affected histograms found in |histograms| .
"""Checks that are all affected histograms found in |histograms|."""
affected_histograms
histograms