tools/metrics/histograms/split_xml.py
def _ParseMergedXML():
  """Parses merged xml into different types of nodes"""
  merged_histograms = merge_xml.MergeFiles(histogram_paths.HISTOGRAMS_XMLS +
                                           [histogram_paths.OBSOLETE_XML])
  histogram_nodes = merged_histograms.getElementsByTagName('histogram')
  variants_nodes = merged_histograms.getElementsByTagName('variants')
  histogram_suffixes_nodes = merged_histograms.getElementsByTagName(
      'histogram_suffixes')
  return histogram_nodes, variants_nodes, histogram_suffixes_nodes
Parses merged xml into different types of nodes
Parses merged xml into different types of nodes
Parses merged xml into different types of nodes
def _ParseMergedXML():
  merged_histograms = merge_xml.MergeFiles(histogram_paths.HISTOGRAMS_XMLS +
                                           [histogram_paths.OBSOLETE_XML])
  histogram_nodes = merged_histograms.getElementsByTagName('histogram')
  variants_nodes = merged_histograms.getElementsByTagName('variants')
  histogram_suffixes_nodes = merged_histograms.getElementsByTagName(
      'histogram_suffixes')
  return histogram_nodes, variants_nodes, histogram_suffixes_nodes
def _ParseMergedXML ( ) : merged_histograms = merge_xml . MergeFiles ( histogram_paths . HISTOGRAMS_XMLS + [ histogram_paths . OBSOLETE_XML ] ) histogram_nodes = merged_histograms . getElementsByTagName ( 'histogram' ) variants_nodes = merged_histograms . getElementsByTagName ( 'variants' ) histogram_suffixes_nodes = merged_histograms . getElementsByTagName ( 'histogram_suffixes' ) return histogram_nodes , variants_nodes , histogram_suffixes_nodes
Parses merged xml into different types of nodes
Parses merged xml into different types of nodes
"""Parses merged xml into different types of nodes"""