parameters: (self, page_set)
return_statement: return basename[:MAX_SKP_BASE_NAME_LEN] + '.skp'
docstring: Returns the SKP file name for Skia page sets.
docstring_summary: Returns the SKP file name for Skia page sets.
docstring_tokens: Returns the SKP file name for Skia page sets .
function: def _GetSkiaSkpFileName(self, page_set):
      """Returns the SKP file name for Skia page sets."""
      # /path/to/skia_yahooanswers_desktop.py -> skia_yahooanswers_desktop.py
      ps_filename = os.path.basename(page_set)
      # skia_yahooanswers_desktop.py -> skia_yahooanswers_desktop
      ps_basename, _ = os.path.splitext(ps_filename)
      # skia_yahooanswers_desktop -> skia, yahooanswers, desktop
      _, page_name, device = ps_basename.split('_')
      basename = '%s_%s' % (DEVICE_TO_PLATFORM_PREFIX[device], page_name)
      return basename[:MAX_SKP_BASE_NAME_LEN] + '.skp'
function_tokens: def _GetSkiaSkpFileName ( self , page_set ) : # /path/to/skia_yahooanswers_desktop.py -> skia_yahooanswers_desktop.py ps_filename = os . path . basename ( page_set ) # skia_yahooanswers_desktop.py -> skia_yahooanswers_desktop ps_basename , _ = os . path . splitext ( ps_filename ) # skia_yahooanswers_desktop -> skia, yahooanswers, desktop _ , page_name , device = ps_basename . split ( '_' ) basename = '%s_%s' % ( DEVICE_TO_PLATFORM_PREFIX [ device ] , page_name ) return basename [ : MAX_SKP_BASE_NAME_LEN ] + '.skp'