parameters: ()
return_statement: return (enabled_count, total_count)
docstring: Return a 2-tuble of the enabled state and total number of all printers.
      This includes subprinters.
docstring_summary: Return a 2-tuble of the enabled state and total number of all printers.
      This includes subprinters.
docstring_tokens: Return a 2 - tuble of the enabled state and total number of all printers . This includes subprinters .
function: def count_all_enabled_printers():
      """Return a 2-tuble of the enabled state and total number of all printers.
      This includes subprinters.
      """
      enabled_count = 0
      total_count = 0
      (t_enabled, t_total) = count_enabled_printers(gdb.pretty_printers)
      enabled_count += t_enabled
      total_count += t_total
      (t_enabled, t_total) = count_enabled_printers(gdb.current_progspace().pretty_printers)
      enabled_count += t_enabled
      total_count += t_total
      for objfile in gdb.objfiles():
          (t_enabled, t_total) = count_enabled_printers(objfile.pretty_printers)
          enabled_count += t_enabled
          total_count += t_total
      return (enabled_count, total_count)
function_tokens: def count_all_enabled_printers ( ) : enabled_count = 0 total_count = 0 ( t_enabled , t_total ) = count_enabled_printers ( gdb . pretty_printers ) enabled_count += t_enabled total_count += t_total ( t_enabled , t_total ) = count_enabled_printers ( gdb . current_progspace ( ) . pretty_printers ) enabled_count += t_enabled total_count += t_total for objfile in gdb . objfiles ( ) : ( t_enabled , t_total ) = count_enabled_printers ( objfile . pretty_printers ) enabled_count += t_enabled total_count += t_total return ( enabled_count , total_count )